@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
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/supporting-pane/index.d.ts
|
|
4
3
|
type SupportingPaneProps = Omit<ViewProps, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The primary content. Takes whatever width the supporting pane leaves from
|
|
@@ -39,6 +38,5 @@ type SupportingPaneProps = Omit<ViewProps, 'children'> & {
|
|
|
39
38
|
* applies over the layout's own.
|
|
40
39
|
*/
|
|
41
40
|
declare function SupportingPane({ main, placement, style, supporting, ...props }: SupportingPaneProps): import("react").JSX.Element;
|
|
42
|
-
//#endregion
|
|
43
41
|
export { SupportingPane, type SupportingPaneProps };
|
|
44
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { useWindowSizeClass } from "../../hooks/useWindowSizeClass.js";
|
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { StyleSheet, View } from "react-native";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/supporting-pane/index.tsx
|
|
8
8
|
const SUPPORTING_PANE = 360;
|
|
9
9
|
const BESIDE = /* @__PURE__ */ new Set([
|
|
10
10
|
"expanded",
|
|
@@ -103,7 +103,6 @@ function SupportingPane(t0) {
|
|
|
103
103
|
} else t7 = $[17];
|
|
104
104
|
return t7;
|
|
105
105
|
}
|
|
106
|
-
//#endregion
|
|
107
106
|
export { SupportingPane };
|
|
108
107
|
|
|
109
108
|
//# 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/switch/index.d.ts
|
|
4
3
|
type SwitchProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The label, beside the switch. A switch that a row labels some other way
|
|
@@ -71,6 +70,5 @@ type SwitchProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
|
71
70
|
* `<testID>-drag`, which its `getByGestureTestId` finds in a test.
|
|
72
71
|
*/
|
|
73
72
|
declare function Switch({ 'aria-label': ariaLabel, children, defaultSelected, description, error, icon, isDisabled, isReadOnly, isSelected, onChange, style, testID, ...props }: SwitchProps): import("react").JSX.Element;
|
|
74
|
-
//#endregion
|
|
75
73
|
export { Switch, type SwitchProps };
|
|
76
74
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { useId, useState } from "react";
|
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useToggleState } from "react-stately/useToggleState";
|
|
14
14
|
import { Gesture, GestureDetector, GestureHandlerRootView } from "react-native-gesture-handler";
|
|
15
|
-
|
|
15
|
+
// src/components/switch/index.tsx
|
|
16
16
|
const TRACK_WIDTH = 52;
|
|
17
17
|
const TRACK_HEIGHT = 32;
|
|
18
18
|
const TRACK_RULE = 2;
|
|
@@ -585,7 +585,6 @@ function useSwitchMotion(t0, t1) {
|
|
|
585
585
|
} else t2 = $[3];
|
|
586
586
|
return t2;
|
|
587
587
|
}
|
|
588
|
-
//#endregion
|
|
589
588
|
export { Switch };
|
|
590
589
|
|
|
591
590
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,6 @@ import { FlatList, HostInstance, PressableProps, ScrollViewProps, StyleProp, Vie
|
|
|
3
3
|
import { ReactElement, ReactNode, Ref } from "react";
|
|
4
4
|
import { DisabledBehavior, Key, Node, Selection, SelectionMode, SortDescriptor } from "react-stately";
|
|
5
5
|
import { ColumnSize, ColumnStaticSize } from "react-stately/useTableState";
|
|
6
|
-
//#region src/components/table/index.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* What a part's entry is built with: the columns the header has given so
|
|
9
8
|
* far, which a row reads its cells against.
|
|
@@ -386,6 +385,5 @@ declare function TableRow<T extends object = object>(_props: TableRowProps<T>):
|
|
|
386
385
|
declare namespace TableRow {
|
|
387
386
|
var getCollectionNode: typeof rowNode;
|
|
388
387
|
}
|
|
389
|
-
//#endregion
|
|
390
388
|
export { Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableFooter, type TableFooterProps, TableHeader, type TableHeaderProps, TableLoadMore, type TableLoadMoreProps, type TableProps, TableRow, type TableRowProps };
|
|
391
389
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -19,7 +19,7 @@ import { Children, createContext, isValidElement, use, useState } from "react";
|
|
|
19
19
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
import { Gesture, GestureDetector, GestureHandlerRootView } from "react-native-gesture-handler";
|
|
21
21
|
import { useTableColumnResizeState, useTableState } from "react-stately/useTableState";
|
|
22
|
-
|
|
22
|
+
// src/components/table/index.tsx
|
|
23
23
|
const ROW_HEIGHT = 52;
|
|
24
24
|
const ARROW_SIZE = 18;
|
|
25
25
|
const HANDLE = 24;
|
|
@@ -1702,7 +1702,6 @@ Table.Footer = TableFooter;
|
|
|
1702
1702
|
Table.Header = TableHeader;
|
|
1703
1703
|
Table.LoadMore = TableLoadMore;
|
|
1704
1704
|
Table.Row = TableRow;
|
|
1705
|
-
//#endregion
|
|
1706
1705
|
export { Table, TableBody, TableCell, TableColumn, TableFooter, TableHeader, TableLoadMore, TableRow };
|
|
1707
1706
|
|
|
1708
1707
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactElement, ReactNode, Ref } from "react";
|
|
3
3
|
import { Key, Orientation } from "react-stately";
|
|
4
|
-
//#region src/components/tabs/index.d.ts
|
|
5
4
|
/** How the bar shares its room among the tabs. */
|
|
6
5
|
type TabsLayout = 'fixed' | 'scrollable';
|
|
7
6
|
type TabsListProps<T extends object = object> = {
|
|
@@ -191,6 +190,5 @@ declare function TabsPanel({ children, id, ref, style, testID }: TabsPanelProps)
|
|
|
191
190
|
* `style`, `ref` and `testID` land on the box.
|
|
192
191
|
*/
|
|
193
192
|
declare function TabsPanels({ children, ref, style, testID }: TabsPanelsProps): import("react").JSX.Element;
|
|
194
|
-
//#endregion
|
|
195
193
|
export { Tabs, type TabsLayout, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsPanels, type TabsPanelsProps, type TabsProps, TabsTab, type TabsTabProps, type TabsVariant };
|
|
196
194
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
12
12
|
import { Children, createContext, isValidElement, use, useEffect, useId, useRef, useState } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useTabListState } from "react-stately/useTabListState";
|
|
15
|
-
|
|
15
|
+
// src/components/tabs/index.tsx
|
|
16
16
|
const PRIMARY_THICKNESS = 3;
|
|
17
17
|
const SECONDARY_THICKNESS = 2;
|
|
18
18
|
const LEAST_INDICATOR = 24;
|
|
@@ -1131,7 +1131,6 @@ Tabs.List = TabsList;
|
|
|
1131
1131
|
Tabs.Panel = TabsPanel;
|
|
1132
1132
|
Tabs.Panels = TabsPanels;
|
|
1133
1133
|
Tabs.Tab = TabsTab;
|
|
1134
|
-
//#endregion
|
|
1135
1134
|
export { Tabs, TabsList, TabsPanel, TabsPanels, TabsTab };
|
|
1136
1135
|
|
|
1137
1136
|
//# 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/tag/index.d.ts
|
|
4
3
|
type TagProps = ViewProps & {
|
|
5
4
|
/**
|
|
6
5
|
* What the tag says. A string or a number is drawn as its label, and runs
|
|
@@ -53,6 +52,5 @@ type TagVariant = 'filled' | 'outlined';
|
|
|
53
52
|
* over the tag's own.
|
|
54
53
|
*/
|
|
55
54
|
declare function Tag({ children, style, tone, variant, ...props }: TagProps): import("react").JSX.Element;
|
|
56
|
-
//#endregion
|
|
57
55
|
export { Tag, type TagProps, type TagTone, type TagVariant };
|
|
58
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { c } from "react/compiler-runtime";
|
|
|
6
6
|
import { StyleSheet, Text, View } from "react-native";
|
|
7
7
|
import { Children } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/components/tag/index.tsx
|
|
10
10
|
const styles = StyleSheet.create({ label: {
|
|
11
11
|
flexShrink: 0,
|
|
12
12
|
fontVariant: ["tabular-nums"]
|
|
@@ -199,7 +199,6 @@ function toneOf(background, border, content) {
|
|
|
199
199
|
})
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
//#endregion
|
|
203
202
|
export { Tag };
|
|
204
203
|
|
|
205
204
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TypeRole } from "../../typography/roles.js";
|
|
2
2
|
import { Text, TextProps } from "react-native";
|
|
3
3
|
import { ComponentRef, Ref } from "react";
|
|
4
|
-
//#region src/components/text/index.d.ts
|
|
5
4
|
type TextProps$1 = TextProps & {
|
|
6
5
|
readonly ref?: Ref<ComponentRef<typeof Text>>;
|
|
7
6
|
/**
|
|
@@ -39,6 +38,5 @@ type TextProps$1 = TextProps & {
|
|
|
39
38
|
* own Text.
|
|
40
39
|
*/
|
|
41
40
|
declare function Text$1({ children, style, tone, variant, ...props }: TextProps$1): import("react").JSX.Element;
|
|
42
|
-
//#endregion
|
|
43
41
|
export { Text$1 as Text, type TextProps$1 as TextProps };
|
|
44
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { sentenceLabel } from "../keycap/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { StyleSheet, Text } from "react-native";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/components/text/index.tsx
|
|
10
10
|
const stylesOf = themedStyles(({ colors }) => StyleSheet.create({
|
|
11
11
|
error: { color: colors.error },
|
|
12
12
|
inherit: {},
|
|
@@ -100,7 +100,6 @@ function Text$1(t0) {
|
|
|
100
100
|
} else t5 = $[17];
|
|
101
101
|
return t5;
|
|
102
102
|
}
|
|
103
|
-
//#endregion
|
|
104
103
|
export { Text$1 as Text };
|
|
105
104
|
|
|
106
105
|
//# 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, ReactNode, Ref } from "react";
|
|
5
|
-
//#region src/components/text-area/index.d.ts
|
|
6
5
|
type TextAreaProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLabel' | 'aria-disabled' | 'aria-label' | 'children' | 'cursorColor' | 'defaultValue' | 'editable' | 'multiline' | 'numberOfLines' | 'onChange' | 'onChangeText' | 'placeholder' | 'placeholderTextColor' | 'readOnly' | 'rows' | 'selectionColor' | 'style' | 'underlineColorAndroid' | 'value'> & {
|
|
7
6
|
/**
|
|
8
7
|
* Whether the field grows with the text it holds, from `rows` up. `false`
|
|
@@ -140,6 +139,5 @@ type TextAreaProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLa
|
|
|
140
139
|
* ```
|
|
141
140
|
*/
|
|
142
141
|
declare function TextArea({ autosize, characterCount, characterLimitLabel, defaultValue, description, error, floatingLabel, inputRef, isDisabled, isReadOnly, isRequired, label, leadingIcon, name, onBlur, onChange, onFocus, ref, rows, style, trailingIcon, validate, value, variant, ...props }: TextAreaProps): import("react").JSX.Element;
|
|
143
|
-
//#endregion
|
|
144
142
|
export { TextArea, type TextAreaProps };
|
|
145
143
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import { View } from "react-native";
|
|
6
6
|
import { useId, useImperativeHandle, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/text-area/index.tsx
|
|
9
9
|
function blurThen(onBlur, then) {
|
|
10
10
|
return (event) => {
|
|
11
11
|
onBlur();
|
|
@@ -225,7 +225,6 @@ function TextArea(t0) {
|
|
|
225
225
|
} else t26 = $[58];
|
|
226
226
|
return t26;
|
|
227
227
|
}
|
|
228
|
-
//#endregion
|
|
229
228
|
export { TextArea };
|
|
230
229
|
|
|
231
230
|
//# 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, ReactNode, Ref } from "react";
|
|
5
|
-
//#region src/components/text-field/index.d.ts
|
|
6
5
|
type TextFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLabel' | 'aria-disabled' | 'aria-label' | 'children' | 'cursorColor' | 'defaultValue' | 'editable' | 'multiline' | 'numberOfLines' | 'onChange' | 'onChangeText' | 'placeholder' | 'placeholderTextColor' | 'readOnly' | 'selectionColor' | 'style' | 'underlineColorAndroid' | 'value'> & {
|
|
7
6
|
/**
|
|
8
7
|
* Counts the characters the field holds at the end of the supporting line,
|
|
@@ -144,6 +143,5 @@ type TextFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityL
|
|
|
144
143
|
* ```
|
|
145
144
|
*/
|
|
146
145
|
declare function TextField({ characterCount, characterLimitLabel, defaultValue, description, error, floatingLabel, inputRef, isDisabled, isReadOnly, isRequired, label, leadingIcon, name, numeric, onBlur, onChange, onFocus, prefix, ref, style, suffix, trailingIcon, validate, value, variant, ...props }: TextFieldProps): import("react").JSX.Element;
|
|
147
|
-
//#endregion
|
|
148
146
|
export { TextField, type TextFieldProps };
|
|
149
147
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import { View } from "react-native";
|
|
6
6
|
import { useId, useImperativeHandle, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/text-field/index.tsx
|
|
9
9
|
function blurThen(onBlur, then) {
|
|
10
10
|
return (event) => {
|
|
11
11
|
onBlur();
|
|
@@ -225,7 +225,6 @@ function TextField(t0) {
|
|
|
225
225
|
} else t25 = $[59];
|
|
226
226
|
return t25;
|
|
227
227
|
}
|
|
228
|
-
//#endregion
|
|
229
228
|
export { TextField };
|
|
230
229
|
|
|
231
230
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateFieldProps } from "../date-field/index.js";
|
|
2
2
|
import { TimeFieldStateOptions, TimeValue } from "react-stately/useTimeFieldState";
|
|
3
|
-
//#region src/components/time-field/index.d.ts
|
|
4
3
|
type TimeFieldProps<T extends TimeValue = TimeValue> = Omit<DateFieldProps, 'defaultValue' | 'granularity' | 'hideTimeZone' | 'hourCycle' | 'isDateUnavailable' | 'locale' | 'maxValue' | 'minValue' | 'name' | 'onChange' | 'placeholderValue' | 'shouldForceLeadingZeros' | 'validate' | 'value'> & Pick<TimeFieldStateOptions<T>, 'defaultValue' | 'granularity' | 'hideTimeZone' | 'hourCycle' | 'maxValue' | 'minValue' | 'onChange' | 'placeholderValue' | 'shouldForceLeadingZeros' | 'validate' | 'value'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The BCP 47 locale the time is written and typed in: whether it has a
|
|
@@ -38,6 +37,5 @@ type TimeFieldProps<T extends TimeValue = TimeValue> = Omit<DateFieldProps, 'def
|
|
|
38
37
|
* `style`, `ref` and `testID` land on the field as a whole.
|
|
39
38
|
*/
|
|
40
39
|
declare function TimeField<T extends TimeValue = TimeValue>({ isDisabled, isReadOnly, isRequired, locale, ...props }: TimeFieldProps<T>): import("react").JSX.Element;
|
|
41
|
-
//#endregion
|
|
42
40
|
export { TimeField, type TimeFieldProps };
|
|
43
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { SegmentedField } from "../../segments/field.js";
|
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useTimeFieldState } from "react-stately/useTimeFieldState";
|
|
6
|
-
|
|
6
|
+
// src/components/time-field/index.tsx
|
|
7
7
|
/**
|
|
8
8
|
* A time typed rather than picked: one segment per part, typed into a digit
|
|
9
9
|
* at a time. The value is an `@internationalized/date` `Time`, as on web:
|
|
@@ -101,7 +101,6 @@ function TimeField(t0) {
|
|
|
101
101
|
} else t7 = $[23];
|
|
102
102
|
return t7;
|
|
103
103
|
}
|
|
104
|
-
//#endregion
|
|
105
104
|
export { TimeField };
|
|
106
105
|
|
|
107
106
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TimeFieldProps } from "../time-field/index.js";
|
|
2
2
|
import { TimeValue } from "react-stately/useTimeFieldState";
|
|
3
|
-
//#region src/components/time-picker/index.d.ts
|
|
4
3
|
/** Which of the time pickers page's two variants the modal shows. */
|
|
5
4
|
type TimePickerMode = 'dial' | 'input';
|
|
6
5
|
type TimePickerProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>, 'trailingIcon'> & {
|
|
@@ -60,6 +59,5 @@ type TimePickerProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>,
|
|
|
60
59
|
* `style`, `ref` and `testID` land on the field as a whole.
|
|
61
60
|
*/
|
|
62
61
|
declare function TimePicker<T extends TimeValue = TimeValue>({ cancelLabel, confirmLabel, defaultMode, defaultOpen, enterTimeLabel, isDisabled, isOpen, isReadOnly, isRequired, locale, onOpenChange, selectTimeLabel, ...props }: TimePickerProps<T>): import("react").JSX.Element;
|
|
63
|
-
//#endregion
|
|
64
62
|
export { TimePicker, type TimePickerMode, type TimePickerProps };
|
|
65
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -24,7 +24,7 @@ import { DateFormatter, Time, getLocalTimeZone, toCalendarDateTime, today } from
|
|
|
24
24
|
import { Gesture, GestureDetector, GestureHandlerRootView } from "react-native-gesture-handler";
|
|
25
25
|
import { useOverlayTriggerState } from "react-stately/useOverlayTriggerState";
|
|
26
26
|
import { useTimeFieldState } from "react-stately/useTimeFieldState";
|
|
27
|
-
|
|
27
|
+
// src/components/time-picker/index.tsx
|
|
28
28
|
const DIAL = 256;
|
|
29
29
|
const CENTRE = DIAL / 2;
|
|
30
30
|
const OUTER_RING = 101;
|
|
@@ -1162,7 +1162,6 @@ function usesTwelveHours(locale, hourCycle) {
|
|
|
1162
1162
|
if (hourCycle !== void 0) return hourCycle === 12;
|
|
1163
1163
|
return new DateFormatter(locale, { hour: "numeric" }).resolvedOptions().hour12 ?? false;
|
|
1164
1164
|
}
|
|
1165
|
-
//#endregion
|
|
1166
1165
|
export { TimePicker };
|
|
1167
1166
|
|
|
1168
1167
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { FieldVariant } from "../../field/index.js";
|
|
|
2
2
|
import { StyleProp, TextInput, TextInputProps, View, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
4
|
import { TokenFieldValue, TokenSegment } from "react-stately";
|
|
5
|
-
//#region src/components/token-field/index.d.ts
|
|
6
5
|
type TokenFieldProps<T extends TokenFieldValue = TokenFieldValue> = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLabel' | 'aria-disabled' | 'aria-label' | 'children' | 'cursorColor' | 'defaultValue' | 'editable' | 'maxLength' | 'multiline' | 'numberOfLines' | 'onChange' | 'onChangeText' | 'placeholder' | 'placeholderTextColor' | 'readOnly' | 'rows' | 'selectionColor' | 'style' | 'underlineColorAndroid' | 'value'> & {
|
|
7
6
|
/** The value the field opens with, when it keeps its own. */
|
|
8
7
|
readonly defaultValue?: T;
|
|
@@ -100,6 +99,5 @@ type TokenFieldProps<T extends TokenFieldValue = TokenFieldValue> = Omit<TextInp
|
|
|
100
99
|
* are the field as a whole, and `inputRef` the control.
|
|
101
100
|
*/
|
|
102
101
|
declare function TokenField<T extends TokenFieldValue = TokenFieldValue>({ defaultValue, description, error, floatingLabel, inputRef, isDisabled, isReadOnly, label, leadingIcon, onBlur, onChange, onFocus, onKeyPress, ref, renderToken, style, trailingIcon, value, variant, ...props }: TokenFieldProps<T>): import("react").JSX.Element;
|
|
103
|
-
//#endregion
|
|
104
102
|
export { TokenField, type TokenFieldProps, type TokenSegment };
|
|
105
103
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { StyleSheet, Text, View, useWindowDimensions } from "react-native";
|
|
|
13
13
|
import { useId, useImperativeHandle, useRef, useState } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useTokenFieldState } from "react-stately";
|
|
16
|
-
|
|
16
|
+
// src/components/token-field/index.tsx
|
|
17
17
|
const CONTROL_ROOM = 3;
|
|
18
18
|
const styles = StyleSheet.create({
|
|
19
19
|
control: {
|
|
@@ -568,7 +568,6 @@ function withTrailing(value, text) {
|
|
|
568
568
|
offset: segments[end]?.text.length ?? 0
|
|
569
569
|
}, text);
|
|
570
570
|
}
|
|
571
|
-
//#endregion
|
|
572
571
|
export { TokenField };
|
|
573
572
|
|
|
574
573
|
//# 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/toolbar/index.d.ts
|
|
4
3
|
type ToolbarProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
5
4
|
/** The controls, and any rule between them. */
|
|
6
5
|
readonly children?: ReactNode;
|
|
@@ -48,6 +47,5 @@ type ToolbarTone = 'neutral' | 'vibrant';
|
|
|
48
47
|
* positions.
|
|
49
48
|
*/
|
|
50
49
|
declare function Toolbar({ children, orientation, style, tone, ...props }: ToolbarProps): import("react").JSX.Element;
|
|
51
|
-
//#endregion
|
|
52
50
|
export { Toolbar, type ToolbarProps, type ToolbarTone };
|
|
53
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { SeparatorOrientationContext } from "../../separator/index.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { Platform, StyleSheet, View } from "react-native";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/toolbar/index.tsx
|
|
9
9
|
const ICON_SIZE = 24;
|
|
10
10
|
const VERTICAL = { "aria-orientation": "vertical" };
|
|
11
11
|
const stylesOf = themedStyles(({ colors, radii, spacing }) => StyleSheet.create({
|
|
@@ -179,7 +179,6 @@ function Toolbar(t0) {
|
|
|
179
179
|
} else t11 = $[36];
|
|
180
180
|
return t11;
|
|
181
181
|
}
|
|
182
|
-
//#endregion
|
|
183
182
|
export { Toolbar };
|
|
184
183
|
|
|
185
184
|
//# 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, ViewStyle } from "react-native";
|
|
4
4
|
import { ReactNode, Ref } from "react";
|
|
5
|
-
//#region src/components/tooltip/index.d.ts
|
|
6
5
|
/** Where the tooltip sits along the side it opens on. */
|
|
7
6
|
type TooltipAlign = OverlayAlign;
|
|
8
7
|
type TooltipProps = {
|
|
@@ -97,6 +96,5 @@ type TooltipSide = OverlaySide;
|
|
|
97
96
|
* `style`, `ref` and `testID` land on the tooltip itself.
|
|
98
97
|
*/
|
|
99
98
|
declare function Tooltip({ align, alignOffset, children, closeDelay, defaultOpen, delay, isDisabled, isOpen, label, onOpenChange, ref, shouldCloseOnPress, side, sideOffset, style, testID, trigger }: TooltipProps): import("react").JSX.Element;
|
|
100
|
-
//#endregion
|
|
101
99
|
export { Tooltip, type TooltipAlign, type TooltipProps, type TooltipSide };
|
|
102
100
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import Animated from "react-native-reanimated";
|
|
|
11
11
|
import { useRef, useState } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useTooltipTriggerState } from "react-stately/useTooltipTriggerState";
|
|
14
|
-
|
|
14
|
+
// src/components/tooltip/index.tsx
|
|
15
15
|
const DEFAULT_DELAY = 1500;
|
|
16
16
|
const DEFAULT_CLOSE_DELAY = 500;
|
|
17
17
|
const MAX_WIDTH = 320;
|
|
@@ -217,7 +217,6 @@ function TooltipSurface(t0) {
|
|
|
217
217
|
} else t8 = $[16];
|
|
218
218
|
return t8;
|
|
219
219
|
}
|
|
220
|
-
//#endregion
|
|
221
220
|
export { Tooltip };
|
|
222
221
|
|
|
223
222
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CollectionLoadMoreProps, CollectionProps, CollectionRowProps, CollectionSectionProps, loaderNode, sectionNode } from "../../collection/index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { Key } from "react-stately";
|
|
4
|
-
//#region src/components/tree/index.d.ts
|
|
5
4
|
type TreeItemProps = Omit<CollectionRowProps, 'children' | 'overline' | 'textValue'> & TreeItemText & {
|
|
6
5
|
/** The rows nested under this one, as further `Tree.Item` parts. */
|
|
7
6
|
readonly children?: ReactNode;
|
|
@@ -107,6 +106,5 @@ declare function treeItemNode(props: TreeItemProps): Generator<{
|
|
|
107
106
|
textValue: string;
|
|
108
107
|
type: string;
|
|
109
108
|
}, void, unknown>;
|
|
110
|
-
//#endregion
|
|
111
109
|
export { Tree, TreeItem, type TreeItemProps, TreeLoadMore, type TreeLoadMoreProps, type TreeProps, TreeSection, type TreeSectionProps };
|
|
112
110
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { CollectionView, loaderNode, nestedRowNode, sectionNode } from "../../co
|
|
|
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/tree/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A list whose rows nest. Which rows are open is React Stately's, as web's
|
|
8
8
|
* is React Aria's: pass `expandedKeys` with `onExpandedChange` to control
|
|
@@ -151,7 +151,6 @@ function treeItemNode(props) {
|
|
|
151
151
|
Tree.Item = TreeItem;
|
|
152
152
|
Tree.LoadMore = TreeLoadMore;
|
|
153
153
|
Tree.Section = TreeSection;
|
|
154
|
-
//#endregion
|
|
155
154
|
export { Tree, TreeItem, TreeLoadMore, TreeSection };
|
|
156
155
|
|
|
157
156
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,7 @@ import { c } from "react/compiler-runtime";
|
|
|
6
6
|
import { StyleSheet } from "react-native";
|
|
7
7
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, withTiming } from "react-native-reanimated";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/control/checkbox-box.tsx
|
|
10
10
|
const BOX_SIZE = 18;
|
|
11
11
|
const styles = StyleSheet.create({ box: {
|
|
12
12
|
borderRadius: 2,
|
|
@@ -131,7 +131,6 @@ function useBoxColors(t0) {
|
|
|
131
131
|
};
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
//#endregion
|
|
135
134
|
export { CheckboxBox };
|
|
136
135
|
|
|
137
136
|
//# sourceMappingURL=checkbox-box.js.map
|
package/dist/control/group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext } from "react";
|
|
2
|
-
|
|
2
|
+
// src/control/group.ts
|
|
3
3
|
const CheckboxGroupContext = createContext(null);
|
|
4
4
|
/** An empty list of a group's checkboxes, made once per group. */
|
|
5
5
|
function createMembers() {
|
|
@@ -17,7 +17,6 @@ function createMembers() {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
20
|
export { CheckboxGroupContext, createMembers };
|
|
22
21
|
|
|
23
22
|
//# sourceMappingURL=group.js.map
|
package/dist/control/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { controlStylesOf } from "./styles.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { Platform, Text, View } from "react-native";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/control/index.tsx
|
|
9
9
|
const HIDDEN = {
|
|
10
10
|
accessibilityElementsHidden: true,
|
|
11
11
|
importantForAccessibility: "no-hide-descendants"
|
|
@@ -111,7 +111,6 @@ function messageOf(description, error) {
|
|
|
111
111
|
const message = error ?? description;
|
|
112
112
|
return message === "" ? void 0 : message;
|
|
113
113
|
}
|
|
114
|
-
//#endregion
|
|
115
114
|
export { ControlLabel, ControlMessage, describedBy, messageOf };
|
|
116
115
|
|
|
117
116
|
//# sourceMappingURL=index.js.map
|
package/dist/control/styles.js
CHANGED
|
@@ -5,7 +5,7 @@ import { I18nManager } from "react-native";
|
|
|
5
5
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/disclosure/chevron.tsx
|
|
9
9
|
/**
|
|
10
10
|
* The chevron of something that opens in place, a Disclosure's header or a
|
|
11
11
|
* Tree's row, pointing at what it opens and turned a quarter to point down
|
|
@@ -69,7 +69,6 @@ function ExpandChevron(t0) {
|
|
|
69
69
|
} else t4 = $[10];
|
|
70
70
|
return t4;
|
|
71
71
|
}
|
|
72
|
-
//#endregion
|
|
73
72
|
export { ExpandChevron };
|
|
74
73
|
|
|
75
74
|
//# sourceMappingURL=chevron.js.map
|
package/dist/disclosure/index.js
CHANGED
package/dist/drop/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PickedFile } from "../files/index.js";
|
|
2
|
-
//#region src/drop/index.d.ts
|
|
3
2
|
/** The kinds of thing a drag carries, asked about one MIME type at a time. */
|
|
4
3
|
type DragTypes = {
|
|
5
4
|
readonly has: (type: string) => boolean;
|
|
@@ -49,6 +48,5 @@ type TextDropItem = {
|
|
|
49
48
|
declare function isFileDropItem(item: DropItem): item is FileDropItem;
|
|
50
49
|
/** Whether an item is dropped text, for picking it out of a drop. */
|
|
51
50
|
declare function isTextDropItem(item: DropItem): item is TextDropItem;
|
|
52
|
-
//#endregion
|
|
53
51
|
export { type DragTypes, type DropEnterEvent, type DropEvent, type DropExitEvent, type DropItem, type DropOperation, type FileDropItem, type TextDropItem, isFileDropItem, isTextDropItem };
|
|
54
52
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/drop/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/drop/index.ts
|
|
2
2
|
const EVERY = [
|
|
3
3
|
"copy",
|
|
4
4
|
"link",
|
|
@@ -155,7 +155,6 @@ function watchDrops(target, handlers, isDisabled, setOver) {
|
|
|
155
155
|
target.removeEventListener("drop", onDrop);
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
//#endregion
|
|
159
158
|
export { fileItemOf, isDropTarget, isFileDropItem, isTextDropItem, operationOf, typesOf, watchDrops };
|
|
160
159
|
|
|
161
160
|
//# sourceMappingURL=index.js.map
|
package/dist/fab/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "../button/palettes.js";
|
|
2
2
|
import "../typography/roles.js";
|
|
3
3
|
import { ViewStyle } from "react-native";
|
|
4
|
-
//#region src/fab/index.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The pages' three sizes: `md` the FAB at 56dp, `lg` the medium FAB at 80dp
|
|
7
6
|
* and `xl` the large FAB at 96dp.
|
|
@@ -14,6 +13,5 @@ type FabTone = 'primary' | 'secondary' | 'tertiary';
|
|
|
14
13
|
* draws the tone itself.
|
|
15
14
|
*/
|
|
16
15
|
type FabVariant = 'filled' | 'tonal';
|
|
17
|
-
//#endregion
|
|
18
16
|
export type { FabSize, FabTone, FabVariant };
|
|
19
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/fab/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { themedStyles } from "../theme/styles.js";
|
|
2
2
|
import { palettesOf } from "../button/palettes.js";
|
|
3
3
|
import { StyleSheet } from "react-native";
|
|
4
|
-
|
|
4
|
+
// src/fab/index.ts
|
|
5
5
|
const MEDIUM_SIZE = 80;
|
|
6
6
|
const MEDIUM_CORNER = 20;
|
|
7
7
|
/** The icon each size draws, from the pages' size token sets. */
|
|
@@ -141,7 +141,6 @@ function palettesFor(pairs) {
|
|
|
141
141
|
tertiary: palette(pairs.tertiary)
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
//#endregion
|
|
145
144
|
export { EXTENDED_FAB_ROLES, FAB_ICON_SIZES, extendedFabSizesOf, fabColorsOf, fabCornersOf, fabPalettesOf, fabShadowOf, fabSizesOf };
|
|
146
145
|
|
|
147
146
|
//# sourceMappingURL=index.js.map
|
package/dist/field/chevron.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c } from "react/compiler-runtime";
|
|
|
4
4
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
5
5
|
import { useEffect } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/field/chevron.tsx
|
|
8
8
|
const OPEN_TURN = -180;
|
|
9
9
|
/**
|
|
10
10
|
* The chevron in the trailing slot of a field that opens a list, pointing
|
|
@@ -68,7 +68,6 @@ function FieldChevron(t0) {
|
|
|
68
68
|
} else t4 = $[8];
|
|
69
69
|
return t4;
|
|
70
70
|
}
|
|
71
|
-
//#endregion
|
|
72
71
|
export { FieldChevron };
|
|
73
72
|
|
|
74
73
|
//# sourceMappingURL=chevron.js.map
|