@kanso-labs/react-native-kanso-ui 0.11.13 → 0.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button/group.d.ts +1 -1
- package/dist/button/group.js +1 -1
- package/dist/button/index.js +2 -2
- package/dist/button/palettes.js +1 -1
- package/dist/button/pending.js +1 -1
- package/dist/calendar/index.js +7 -7
- package/dist/calendar/styles.js +1 -1
- package/dist/chequer/index.js +1 -1
- package/dist/chip/index.js +2 -2
- package/dist/collection/index.js +10 -10
- package/dist/components/app-bar/index.js +1 -1
- package/dist/components/badge/index.js +3 -3
- package/dist/components/breadcrumbs/index.js +1 -1
- package/dist/components/button/index.js +5 -5
- package/dist/components/button-group/index.js +2 -2
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/index.js +3 -3
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/checkbox-group/index.js +5 -5
- package/dist/components/chip/index.js +4 -4
- package/dist/components/chip-group/index.js +6 -6
- package/dist/components/color-area/index.js +4 -4
- package/dist/components/color-field/index.d.ts +1 -1
- package/dist/components/color-field/index.js +3 -3
- package/dist/components/color-picker/index.js +6 -6
- package/dist/components/color-slider/index.js +6 -6
- package/dist/components/color-swatch/index.js +3 -3
- package/dist/components/color-swatch-picker/index.js +3 -3
- package/dist/components/color-wheel/index.js +4 -4
- package/dist/components/combo-box/index.d.ts +1 -1
- package/dist/components/combo-box/index.js +8 -8
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-field/index.js +2 -2
- package/dist/components/currency/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/dialog/index.js +4 -4
- package/dist/components/disclosure/index.js +4 -4
- package/dist/components/drop-zone/index.d.ts +1 -1
- package/dist/components/drop-zone/index.js +6 -6
- package/dist/components/fab/index.js +3 -3
- package/dist/components/fab-menu/index.js +8 -8
- package/dist/components/icon-button/index.js +4 -4
- package/dist/components/link/index.js +3 -3
- package/dist/components/list-detail/index.js +1 -1
- package/dist/components/list-item/index.js +3 -3
- package/dist/components/loading-indicator/index.js +2 -2
- package/dist/components/menu/index.js +11 -11
- package/dist/components/meter/index.js +3 -3
- package/dist/components/navigation-bar/index.js +2 -2
- package/dist/components/navigation-rail/index.js +1 -1
- package/dist/components/number-field/index.d.ts +1 -1
- package/dist/components/number-field/index.js +8 -8
- package/dist/components/popover/index.js +6 -6
- package/dist/components/progress-indicator/index.js +5 -5
- package/dist/components/radio-group/index.js +4 -4
- package/dist/components/range-calendar/index.js +2 -2
- package/dist/components/search-field/index.js +7 -7
- package/dist/components/search-view/index.js +11 -11
- package/dist/components/segmented-button/index.js +4 -4
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.js +7 -7
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.js +6 -6
- package/dist/components/slider/index.js +3 -3
- package/dist/components/snackbar/index.js +5 -5
- package/dist/components/split-button/index.js +3 -3
- package/dist/components/supporting-pane/index.js +1 -1
- package/dist/components/switch/index.js +5 -5
- package/dist/components/table/index.js +9 -9
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/text-area/index.d.ts +1 -1
- package/dist/components/text-area/index.js +2 -2
- package/dist/components/text-field/index.d.ts +1 -1
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/time-picker/index.js +9 -9
- package/dist/components/token-field/index.js +7 -7
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/tooltip/index.js +4 -4
- package/dist/control/checkbox-box.js +2 -2
- package/dist/control/styles.js +1 -1
- package/dist/disclosure/chevron.js +1 -1
- package/dist/fab/index.js +1 -1
- package/dist/field/chevron.js +1 -1
- package/dist/field/index.js +6 -6
- package/dist/field/styles.js +1 -1
- package/dist/glyphs/index.js +1 -1
- package/dist/i18n/provider.js +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/indicator/index.js +2 -2
- package/dist/mark/index.js +2 -2
- package/dist/modal/index.js +4 -4
- package/dist/navigation/index.js +5 -5
- package/dist/overlay/host.js +1 -1
- package/dist/picker/index.js +6 -6
- package/dist/row/styles.js +1 -1
- package/dist/segments/field.js +4 -4
- package/dist/segments/index.js +4 -4
- package/dist/segments/styles.js +1 -1
- package/dist/theme-scope.js +1 -1
- package/package.json +2 -2
package/dist/button/group.d.ts
CHANGED
package/dist/button/group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useTheme } from "../theme/scope.js";
|
|
2
1
|
import { toggleState } from "./index.js";
|
|
2
|
+
import { useTheme } from "../theme/scope.js";
|
|
3
3
|
import { StyleSheet } from "react-native";
|
|
4
4
|
import { Easing, useAnimatedStyle, useReducedMotion, withTiming } from "react-native-reanimated";
|
|
5
5
|
import { createContext } from "react";
|
package/dist/button/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useTheme } from "../theme/scope.js";
|
|
2
|
-
import { useOpenLink } from "../router/index.js";
|
|
3
1
|
import { FormContext } from "../form/index.js";
|
|
4
2
|
import { refsOf } from "../ref/index.js";
|
|
3
|
+
import { useOpenLink } from "../router/index.js";
|
|
4
|
+
import { useTheme } from "../theme/scope.js";
|
|
5
5
|
import { ButtonSlotContext, ButtonTooltipContext } from "./slots.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Platform, Pressable, StyleSheet } from "react-native";
|
package/dist/button/palettes.js
CHANGED
package/dist/button/pending.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ProgressIndicator } from "../components/progress-indicator/index.js";
|
|
1
2
|
import { IconStyleContext } from "../glyphs/icon-style.js";
|
|
2
3
|
import { useMessages } from "../i18n/provider.js";
|
|
3
|
-
import { ProgressIndicator } from "../components/progress-indicator/index.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { AccessibilityInfo, Platform, StyleSheet, View } from "react-native";
|
|
6
6
|
import { useEffect, useRef } from "react";
|
package/dist/calendar/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useTheme } from "../theme/scope.js";
|
|
2
|
-
import { composeStyles } from "../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../press/index.js";
|
|
4
|
-
import { useTypeRole } from "../typography/roles.js";
|
|
5
|
-
import { withOpacity } from "../theme/color.js";
|
|
6
|
-
import { messagesFor } from "../i18n/index.js";
|
|
7
|
-
import { ArrowDropDownGlyph, CheckGlyph, ChevronEndGlyph } from "../glyphs/index.js";
|
|
8
1
|
import { IconButton } from "../components/icon-button/index.js";
|
|
2
|
+
import { ArrowDropDownGlyph, CheckGlyph, ChevronEndGlyph } from "../glyphs/index.js";
|
|
9
3
|
import { useWindowSizeClass } from "../hooks/useWindowSizeClass.js";
|
|
4
|
+
import { messagesFor } from "../i18n/index.js";
|
|
10
5
|
import { useFocusOnPlaced, useReturnFocus } from "../overlay/panel.js";
|
|
6
|
+
import { hitSlop, usePressFeedback } from "../press/index.js";
|
|
7
|
+
import { withOpacity } from "../theme/color.js";
|
|
8
|
+
import { useTheme } from "../theme/scope.js";
|
|
9
|
+
import { composeStyles } from "../theme/styles.js";
|
|
10
|
+
import { useTypeRole } from "../typography/roles.js";
|
|
11
11
|
import { rootWidthOf, styles, stylesOf } from "./styles.js";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
13
13
|
import { FlatList, I18nManager, Pressable, StyleSheet, Text, View } from "react-native";
|
package/dist/calendar/styles.js
CHANGED
package/dist/chequer/index.js
CHANGED
package/dist/chip/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { CheckGlyph } from "../glyphs/index.js";
|
|
1
2
|
import { IconStyleContext } from "../glyphs/icon-style.js";
|
|
3
|
+
import { withOpacity } from "../theme/color.js";
|
|
2
4
|
import { useTheme } from "../theme/scope.js";
|
|
3
5
|
import { composeStyles } from "../theme/styles.js";
|
|
4
6
|
import { useTypeRole } from "../typography/roles.js";
|
|
5
|
-
import { withOpacity } from "../theme/color.js";
|
|
6
|
-
import { CheckGlyph } from "../glyphs/index.js";
|
|
7
7
|
import { styles, stylesOf } from "./styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { View } from "react-native";
|
package/dist/collection/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { useTheme } from "../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../press/index.js";
|
|
4
|
-
import { useTypeRole } from "../typography/roles.js";
|
|
5
|
-
import { rowContentColor, rowStyles } from "../row/styles.js";
|
|
6
|
-
import { RowContent, hasContent, rowStyleOf } from "../row/index.js";
|
|
7
1
|
import { AutocompleteContext } from "../autocomplete/index.js";
|
|
8
|
-
import { resultsFor } from "../i18n/index.js";
|
|
9
|
-
import { useLocaleOf, useMessages } from "../i18n/provider.js";
|
|
10
|
-
import { useOpenLink } from "../router/index.js";
|
|
11
|
-
import { refsOf } from "../ref/index.js";
|
|
12
2
|
import { toggleState } from "../button/index.js";
|
|
13
3
|
import { ProgressIndicator } from "../components/progress-indicator/index.js";
|
|
14
4
|
import { CheckboxBox } from "../control/checkbox-box.js";
|
|
5
|
+
import { rowContentColor, rowStyles } from "../row/styles.js";
|
|
15
6
|
import { ExpandChevron } from "../disclosure/chevron.js";
|
|
7
|
+
import { resultsFor } from "../i18n/index.js";
|
|
8
|
+
import { useLocaleOf, useMessages } from "../i18n/provider.js";
|
|
9
|
+
import { hitSlop, usePressFeedback } from "../press/index.js";
|
|
10
|
+
import { refsOf } from "../ref/index.js";
|
|
11
|
+
import { useOpenLink } from "../router/index.js";
|
|
12
|
+
import { RowContent, hasContent, rowStyleOf } from "../row/index.js";
|
|
13
|
+
import { useTheme } from "../theme/scope.js";
|
|
14
|
+
import { composeStyles, themedStyles } from "../theme/styles.js";
|
|
15
|
+
import { useTypeRole } from "../typography/roles.js";
|
|
16
16
|
import { c } from "react/compiler-runtime";
|
|
17
17
|
import { AccessibilityInfo, FlatList, Platform, Pressable, StyleSheet, Text, View } from "react-native";
|
|
18
18
|
import { Children, createContext, use, useEffect, useRef, useState } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconStyleContext } from "../../glyphs/icon-style.js";
|
|
2
|
+
import { hasContent } from "../../row/index.js";
|
|
2
3
|
import { useTheme } from "../../theme/scope.js";
|
|
3
4
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
4
|
-
import { hasContent } from "../../row/index.js";
|
|
5
5
|
import { Text as Text$1 } from "../text/index.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { StyleSheet, View } from "react-native";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { BadgeInFlowContext } from "../../badge/index.js";
|
|
2
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
3
|
+
import { formatCount } from "../../number/count.js";
|
|
1
4
|
import { useTheme } from "../../theme/scope.js";
|
|
2
5
|
import { composeStyles } from "../../theme/styles.js";
|
|
3
6
|
import { useTypeRole } from "../../typography/roles.js";
|
|
4
|
-
import { formatCount } from "../../number/count.js";
|
|
5
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
6
|
-
import { BadgeInFlowContext } from "../../badge/index.js";
|
|
7
7
|
import { styles, stylesOf } from "./styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { Text, View } from "react-native";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ChevronEndGlyph } from "../../glyphs/index.js";
|
|
1
2
|
import { useTheme } from "../../theme/scope.js";
|
|
2
3
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
4
|
import { useTypeRole } from "../../typography/roles.js";
|
|
4
|
-
import { ChevronEndGlyph } from "../../glyphs/index.js";
|
|
5
5
|
import { Link } from "../link/index.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Platform, StyleSheet, Text, View } from "react-native";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IconStyleContext } from "../../glyphs/icon-style.js";
|
|
2
|
-
import { useTheme } from "../../theme/scope.js";
|
|
3
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
4
|
-
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
5
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
6
1
|
import { AnimatedPressable, HEIGHTS, OUTLINE_WIDTHS, PRESSED_CORNERS, buttonStyles, pressThen, toggleState, useButtonAction, useCorner, useSlotTrigger } from "../../button/index.js";
|
|
7
2
|
import { ButtonGroupItemContext, groupCornersOf, groupPressHandlers, groupSelectionOf, groupStyles, groupWidthThen, useGroupShift } from "../../button/group.js";
|
|
8
3
|
import { palettesOf } from "../../button/palettes.js";
|
|
9
4
|
import { BUSY, CONCEALED, PendingContent, PendingRing, pendingStyles, usePending } from "../../button/pending.js";
|
|
5
|
+
import { IconStyleContext } from "../../glyphs/icon-style.js";
|
|
6
|
+
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
7
|
+
import { useTheme } from "../../theme/scope.js";
|
|
8
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
9
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { StyleSheet, Text, useWindowDimensions } from "react-native";
|
|
12
12
|
import Animated, { useSharedValue } from "react-native-reanimated";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
1
|
import { HEIGHTS } from "../../button/index.js";
|
|
4
2
|
import { ButtonGroupItemContext } from "../../button/group.js";
|
|
3
|
+
import { useTheme } from "../../theme/scope.js";
|
|
4
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { StyleSheet, View } from "react-native";
|
|
7
7
|
import { Children, Fragment, isValidElement, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { composeStyles } from "../../theme/styles.js";
|
|
2
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
3
1
|
import { CalendarFrame, useRootStyle, visibleRangeOf } from "../../calendar/index.js";
|
|
2
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
3
|
+
import { composeStyles } from "../../theme/styles.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { View } from "react-native";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
1
|
import { usePressFeedback } from "../../press/index.js";
|
|
4
|
-
import { withOpacity } from "../../theme/color.js";
|
|
5
2
|
import { useLinkPress } from "../../router/index.js";
|
|
3
|
+
import { withOpacity } from "../../theme/color.js";
|
|
4
|
+
import { useTheme } from "../../theme/scope.js";
|
|
5
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Pressable, StyleSheet, View } from "react-native";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { arrange, placements } from "../../carousel/arrangement.js";
|
|
2
|
+
import { ChevronEndGlyph } from "../../glyphs/index.js";
|
|
3
3
|
import { slideLabelFor } from "../../i18n/index.js";
|
|
4
4
|
import { useLocaleOf, useMessages } from "../../i18n/provider.js";
|
|
5
|
-
import {
|
|
5
|
+
import { useTheme } from "../../theme/scope.js";
|
|
6
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
6
7
|
import { IconButton } from "../icon-button/index.js";
|
|
7
|
-
import { arrange, placements } from "../../carousel/arrangement.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { I18nManager, Platform, StyleSheet, View, useWindowDimensions } from "react-native";
|
|
10
10
|
import Animated, { Extrapolation, interpolate, useAnimatedReaction, useAnimatedScrollHandler, useAnimatedStyle, useReducedMotion, useSharedValue } from "react-native-reanimated";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles } from "../../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
4
|
-
import { controlStylesOf } from "../../control/styles.js";
|
|
5
1
|
import { ControlLabel, ControlMessage, describedBy, messageOf } from "../../control/index.js";
|
|
6
2
|
import { CheckboxBox } from "../../control/checkbox-box.js";
|
|
7
3
|
import { CheckboxGroupContext } from "../../control/group.js";
|
|
4
|
+
import { controlStylesOf } from "../../control/styles.js";
|
|
5
|
+
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
6
|
+
import { useTheme } from "../../theme/scope.js";
|
|
7
|
+
import { composeStyles } from "../../theme/styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { Pressable, View } from "react-native";
|
|
10
10
|
import { use, useEffect, useId, useRef } from "react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
4
|
-
import { withOpacity } from "../../theme/color.js";
|
|
5
|
-
import { useFieldValidation, useInsideForm } from "../../form/index.js";
|
|
6
1
|
import { messageOf } from "../../control/index.js";
|
|
7
2
|
import { CheckboxGroupContext, createMembers } from "../../control/group.js";
|
|
8
3
|
import { useErrorAnnouncement } from "../../field/index.js";
|
|
4
|
+
import { useFieldValidation, useInsideForm } from "../../form/index.js";
|
|
5
|
+
import { withOpacity } from "../../theme/color.js";
|
|
6
|
+
import { useTheme } from "../../theme/scope.js";
|
|
7
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
8
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { Platform, StyleSheet, Text, View, useWindowDimensions } from "react-native";
|
|
11
11
|
import { useId, useState } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles } from "../../theme/styles.js";
|
|
3
|
-
import { usePressFeedback } from "../../press/index.js";
|
|
4
1
|
import { AnimatedPressable, toggleState, useButtonAction, useSlotTrigger } from "../../button/index.js";
|
|
5
|
-
import { shadowsOf, stylesOf } from "../../chip/styles.js";
|
|
6
2
|
import { ChipGlyph, ChipLabel, measureThen, paintOf, targetOf, useEasedColors } from "../../chip/index.js";
|
|
3
|
+
import { shadowsOf, stylesOf } from "../../chip/styles.js";
|
|
4
|
+
import { usePressFeedback } from "../../press/index.js";
|
|
5
|
+
import { useTheme } from "../../theme/scope.js";
|
|
6
|
+
import { composeStyles } from "../../theme/styles.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { AnimatedPressable, toggleState } from "../../button/index.js";
|
|
2
|
+
import { ChipGlyph, ChipLabel, measureThen, paintOf, targetOf, useEasedColors } from "../../chip/index.js";
|
|
3
|
+
import { stylesOf } from "../../chip/styles.js";
|
|
4
|
+
import { CloseGlyph } from "../../glyphs/index.js";
|
|
5
|
+
import { useMessages } from "../../i18n/provider.js";
|
|
6
|
+
import { usePressFeedback } from "../../press/index.js";
|
|
1
7
|
import { useTheme } from "../../theme/scope.js";
|
|
2
8
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { usePressFeedback } from "../../press/index.js";
|
|
4
9
|
import { useTypeRole } from "../../typography/roles.js";
|
|
5
|
-
import { useMessages } from "../../i18n/provider.js";
|
|
6
|
-
import { CloseGlyph } from "../../glyphs/index.js";
|
|
7
|
-
import { AnimatedPressable, toggleState } from "../../button/index.js";
|
|
8
|
-
import { stylesOf } from "../../chip/styles.js";
|
|
9
|
-
import { ChipGlyph, ChipLabel, measureThen, paintOf, targetOf, useEasedColors } from "../../chip/index.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Platform, Pressable, StyleSheet, Text, View } from "react-native";
|
|
12
12
|
import Animated from "react-native-reanimated";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
4
|
-
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
5
1
|
import { ColorThumb } from "../../color-thumb/index.js";
|
|
2
|
+
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
3
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
6
4
|
import { ADJUSTABLE, percentOf } from "../../slider/index.js";
|
|
7
5
|
import { usePickedColor } from "../../swatch/index.js";
|
|
6
|
+
import { useTheme } from "../../theme/scope.js";
|
|
7
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { I18nManager, StyleSheet, View } from "react-native";
|
|
10
10
|
import { useId, useState } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidationResult } from "../../form/index.js";
|
|
2
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
|
+
import { ValidationResult } from "../../form/index.js";
|
|
3
3
|
import { StyleProp, TextInput, TextInputProps, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
5
|
import { Color, ColorChannel, ColorSpace } from "react-stately";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
2
|
-
import { useFieldValidation } from "../../form/index.js";
|
|
3
1
|
import { FieldBox, FieldInput, FieldMessage, describedBy, useFieldFocus } from "../../field/index.js";
|
|
4
|
-
import {
|
|
2
|
+
import { useFieldValidation } from "../../form/index.js";
|
|
3
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
5
4
|
import { keyboardFor } from "../../number/keyboard.js";
|
|
6
5
|
import { useNumberFieldState } from "../../number/state.js";
|
|
6
|
+
import { colorOf, usePickedColor } from "../../swatch/index.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { View } from "react-native";
|
|
9
9
|
import { useId, useImperativeHandle, useRef, useState } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
4
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
5
|
-
import { withOpacity } from "../../theme/color.js";
|
|
6
1
|
import { useLocaleOf, useMessages } from "../../i18n/provider.js";
|
|
2
|
+
import { PickerPopup } from "../../picker/index.js";
|
|
3
|
+
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
7
4
|
import { refsOf } from "../../ref/index.js";
|
|
8
5
|
import { PickedColorContext, colorNameOf } from "../../swatch/index.js";
|
|
6
|
+
import { withOpacity } from "../../theme/color.js";
|
|
7
|
+
import { useTheme } from "../../theme/scope.js";
|
|
8
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
9
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
9
10
|
import { ColorArea } from "../color-area/index.js";
|
|
10
11
|
import { ColorField } from "../color-field/index.js";
|
|
11
|
-
import { PickerPopup } from "../../picker/index.js";
|
|
12
12
|
import { ColorSlider } from "../color-slider/index.js";
|
|
13
13
|
import { ColorSwatch } from "../color-swatch/index.js";
|
|
14
14
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
4
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
5
|
-
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
1
|
+
import { Chequer } from "../../chequer/index.js";
|
|
6
2
|
import { ColorThumb } from "../../color-thumb/index.js";
|
|
3
|
+
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
4
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
7
5
|
import { ADJUSTABLE, adjustOf, lengthTo, seatPlaceOf, seats, useTrackGesture } from "../../slider/index.js";
|
|
8
6
|
import { usePickedColor } from "../../swatch/index.js";
|
|
9
|
-
import {
|
|
7
|
+
import { useTheme } from "../../theme/scope.js";
|
|
8
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
9
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { I18nManager, StyleSheet, Text, View } from "react-native";
|
|
12
12
|
import { useId, useState } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
1
|
+
import { Chequer } from "../../chequer/index.js";
|
|
3
2
|
import { useLocaleOf, useMessages } from "../../i18n/provider.js";
|
|
4
3
|
import { PickedColorContext, SwatchColorContext, colorNameOf, colorOf } from "../../swatch/index.js";
|
|
5
|
-
import {
|
|
4
|
+
import { useTheme } from "../../theme/scope.js";
|
|
5
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { StyleSheet, View } from "react-native";
|
|
8
8
|
import { use } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
4
1
|
import { useLocaleOf, useMessages } from "../../i18n/provider.js";
|
|
2
|
+
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
5
3
|
import { SwatchColorContext, colorNameOf, colorOf, usePickedColor } from "../../swatch/index.js";
|
|
4
|
+
import { useTheme } from "../../theme/scope.js";
|
|
5
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
6
6
|
import { ColorSwatch } from "../color-swatch/index.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { Pressable, StyleSheet, View } from "react-native";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { useLocaleOf } from "../../i18n/provider.js";
|
|
4
|
-
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
5
1
|
import { ColorThumb } from "../../color-thumb/index.js";
|
|
2
|
+
import { HIDDEN } from "../../glyphs/hidden.js";
|
|
3
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
6
4
|
import { ADJUSTABLE } from "../../slider/index.js";
|
|
7
5
|
import { usePickedColor } from "../../swatch/index.js";
|
|
6
|
+
import { useTheme } from "../../theme/scope.js";
|
|
7
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { I18nManager, StyleSheet, View } from "react-native";
|
|
10
10
|
import { useSharedValue } from "react-native-reanimated";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidationResult } from "../../form/index.js";
|
|
2
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
|
+
import { ValidationResult } from "../../form/index.js";
|
|
3
3
|
import { StyleProp, TextInput, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactElement, ReactNode, Ref } from "react";
|
|
5
5
|
import { Key } from "react-stately";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
4
1
|
import { containsIn } from "../../autocomplete/index.js";
|
|
2
|
+
import { CollectionView, ResultsStatus, focusKeyOf, rowCountOf } from "../../collection/index.js";
|
|
3
|
+
import { FieldBox, FieldInput, FieldMessage, describedBy, useFieldFocus } from "../../field/index.js";
|
|
4
|
+
import { useFieldValidation } from "../../form/index.js";
|
|
5
5
|
import { listFor } from "../../i18n/index.js";
|
|
6
6
|
import { useLocaleOf, useMessages } from "../../i18n/provider.js";
|
|
7
|
-
import { useFieldValidation } from "../../form/index.js";
|
|
8
|
-
import { DismissLayer, PANEL_ORIGINS, useBackToClose, useFocusOnPlaced, usePanelMotion, useReturnFocus } from "../../overlay/panel.js";
|
|
9
|
-
import { FieldChevron } from "../../field/chevron.js";
|
|
10
|
-
import { FieldBox, FieldInput, FieldMessage, describedBy, useFieldFocus } from "../../field/index.js";
|
|
11
7
|
import { Overlay } from "../../overlay/host.js";
|
|
12
8
|
import { useAnchoredPlacement } from "../../overlay/anchored.js";
|
|
13
|
-
import {
|
|
9
|
+
import { FieldChevron } from "../../field/chevron.js";
|
|
10
|
+
import { DismissLayer, PANEL_ORIGINS, useBackToClose, useFocusOnPlaced, usePanelMotion, useReturnFocus } from "../../overlay/panel.js";
|
|
11
|
+
import { hitSlop, usePressFeedback } from "../../press/index.js";
|
|
12
|
+
import { useTheme } from "../../theme/scope.js";
|
|
13
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
14
14
|
import { c } from "react/compiler-runtime";
|
|
15
15
|
import { Platform, Pressable, StyleSheet, View } from "react-native";
|
|
16
16
|
import Animated from "react-native-reanimated";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { useWindowSizeClass } from "../../hooks/useWindowSizeClass.js";
|
|
1
2
|
import { useTheme } from "../../theme/scope.js";
|
|
2
3
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
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 } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { useClipboardAvailable, writeClipboard } from "../../clipboard/index.js";
|
|
2
|
+
import { useMessages } from "../../i18n/provider.js";
|
|
1
3
|
import { useTheme } from "../../theme/scope.js";
|
|
2
4
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
5
|
import { useFontFamily } from "../../typography/fonts.js";
|
|
4
6
|
import { useTypeRole } from "../../typography/roles.js";
|
|
5
|
-
import { useMessages } from "../../i18n/provider.js";
|
|
6
7
|
import { Button } from "../button/index.js";
|
|
7
|
-
import { useClipboardAvailable, writeClipboard } from "../../clipboard/index.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { AccessibilityInfo, Platform, StyleSheet, Text, View } from "react-native";
|
|
10
10
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { useLocaleOf } from "../../i18n/provider.js";
|
|
1
2
|
import { useTheme } from "../../theme/scope.js";
|
|
2
3
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
4
|
import { useFontFamily } from "../../typography/fonts.js";
|
|
4
5
|
import { familyStyle, nativeWeight } from "../../typography/roles.js";
|
|
5
|
-
import { useLocaleOf } from "../../i18n/provider.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { messagesFor } from "../../i18n/index.js";
|
|
2
2
|
import { useLocaleOf } from "../../i18n/provider.js";
|
|
3
|
-
import { Calendar } from "../calendar/index.js";
|
|
4
3
|
import { PickerPopup, PickerTrigger } from "../../picker/index.js";
|
|
5
4
|
import { SegmentedField } from "../../segments/field.js";
|
|
5
|
+
import { Calendar } from "../calendar/index.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { useRef, useState } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
4
|
-
import { refsOf } from "../../ref/index.js";
|
|
5
1
|
import { ButtonSlotContext } from "../../button/slots.js";
|
|
6
2
|
import { useWindowSizeClass } from "../../hooks/useWindowSizeClass.js";
|
|
7
3
|
import { ModalWindow, NO_INSETS, insetsOf, panelRoleOf, registerOf, useModalState, useModalTrigger } from "../../modal/index.js";
|
|
4
|
+
import { refsOf } from "../../ref/index.js";
|
|
5
|
+
import { useTheme } from "../../theme/scope.js";
|
|
6
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
7
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { ScrollView, StyleSheet, Text, View, useWindowDimensions } from "react-native";
|
|
10
10
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { DisclosureGroupStateContext } from "../../disclosure/index.js";
|
|
2
|
+
import { ExpandChevron } from "../../disclosure/chevron.js";
|
|
3
3
|
import { usePressFeedback } from "../../press/index.js";
|
|
4
4
|
import { rowContentColor, rowStyles } from "../../row/styles.js";
|
|
5
5
|
import { RowContent, rowStyleOf } from "../../row/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useTheme } from "../../theme/scope.js";
|
|
7
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { Pressable, StyleSheet, View } from "react-native";
|
|
10
10
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PickedFile } from "../../files/index.js";
|
|
2
1
|
import { DragTypes, DropEnterEvent, DropEvent, DropExitEvent, DropOperation } from "../../drop/index.js";
|
|
2
|
+
import { PickedFile } from "../../files/index.js";
|
|
3
3
|
import { StyleProp, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
5
|
type DropZoneProps = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useTheme } from "../../theme/scope.js";
|
|
2
|
-
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
3
|
-
import { usePressFeedback } from "../../press/index.js";
|
|
4
|
-
import { useTypeRole } from "../../typography/roles.js";
|
|
5
|
-
import { withOpacity } from "../../theme/color.js";
|
|
6
|
-
import { refsOf } from "../../ref/index.js";
|
|
7
1
|
import { ButtonSlotContext } from "../../button/slots.js";
|
|
8
2
|
import { fileItemOf, isDropTarget, operationOf, typesOf, watchDrops } from "../../drop/index.js";
|
|
9
3
|
import { pickThen, preparePicker } from "../../files/index.js";
|
|
4
|
+
import { usePressFeedback } from "../../press/index.js";
|
|
5
|
+
import { refsOf } from "../../ref/index.js";
|
|
6
|
+
import { withOpacity } from "../../theme/color.js";
|
|
7
|
+
import { useTheme } from "../../theme/scope.js";
|
|
8
|
+
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
9
|
+
import { useTypeRole } from "../../typography/roles.js";
|
|
10
10
|
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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { AnimatedPressable, buttonStyles, useButtonAction, useSlotTrigger } from "../../button/index.js";
|
|
2
|
+
import { EXTENDED_FAB_ROLES, FAB_ICON_SIZES, extendedFabSizesOf, fabCornersOf, fabPalettesOf, fabShadowOf, fabSizesOf } from "../../fab/index.js";
|
|
1
3
|
import { IconStyleContext } from "../../glyphs/icon-style.js";
|
|
4
|
+
import { usePressFeedback } from "../../press/index.js";
|
|
2
5
|
import { useTheme } from "../../theme/scope.js";
|
|
3
6
|
import { composeStyles } from "../../theme/styles.js";
|
|
4
|
-
import { usePressFeedback } from "../../press/index.js";
|
|
5
7
|
import { useTypeRole } from "../../typography/roles.js";
|
|
6
|
-
import { AnimatedPressable, buttonStyles, useButtonAction, useSlotTrigger } from "../../button/index.js";
|
|
7
|
-
import { EXTENDED_FAB_ROLES, FAB_ICON_SIZES, extendedFabSizesOf, fabCornersOf, fabPalettesOf, fabShadowOf, fabSizesOf } from "../../fab/index.js";
|
|
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";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { AnimatedPressable, buttonStyles } from "../../button/index.js";
|
|
2
|
+
import { FAB_ICON_SIZES, fabColorsOf, fabCornersOf, fabPalettesOf, fabShadowOf, fabSizesOf } from "../../fab/index.js";
|
|
3
|
+
import { CloseGlyph } from "../../glyphs/index.js";
|
|
1
4
|
import { IconStyleContext } from "../../glyphs/icon-style.js";
|
|
5
|
+
import { Overlay } from "../../overlay/host.js";
|
|
6
|
+
import { useAnchoredPlacement } from "../../overlay/anchored.js";
|
|
7
|
+
import { DismissLayer, useBackToClose, useFocusOnPlaced, useReturnFocus } from "../../overlay/panel.js";
|
|
8
|
+
import { usePressFeedback } from "../../press/index.js";
|
|
9
|
+
import { refsOf } from "../../ref/index.js";
|
|
2
10
|
import { useTheme } from "../../theme/scope.js";
|
|
3
11
|
import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
4
|
-
import { usePressFeedback } from "../../press/index.js";
|
|
5
12
|
import { useTypeRole } from "../../typography/roles.js";
|
|
6
|
-
import { CloseGlyph } from "../../glyphs/index.js";
|
|
7
|
-
import { refsOf } from "../../ref/index.js";
|
|
8
|
-
import { AnimatedPressable, buttonStyles } from "../../button/index.js";
|
|
9
|
-
import { DismissLayer, useBackToClose, useFocusOnPlaced, useReturnFocus } from "../../overlay/panel.js";
|
|
10
|
-
import { Overlay } from "../../overlay/host.js";
|
|
11
|
-
import { useAnchoredPlacement } from "../../overlay/anchored.js";
|
|
12
|
-
import { FAB_ICON_SIZES, fabColorsOf, fabCornersOf, fabPalettesOf, fabShadowOf, fabSizesOf } from "../../fab/index.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import { I18nManager, Pressable, StyleSheet, Text, View } from "react-native";
|
|
15
15
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|