@lssm/lib.ui-kit 0.0.0-canary-20251120192244 → 0.0.0-canary-20251206160926
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 +21 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +1 -2
- package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js +1 -2
- package/dist/node_modules/react-hook-form/dist/index.esm.js +33 -21
- package/dist/node_modules/zod/v4/classic/errors.js +1 -2
- package/dist/node_modules/zod/v4/classic/iso.js +1 -2
- package/dist/node_modules/zod/v4/classic/parse.js +1 -2
- package/dist/node_modules/zod/v4/classic/schemas.js +7 -5
- package/dist/node_modules/zod/v4/core/api.js +30 -3
- package/dist/node_modules/zod/v4/core/checks.js +1 -2
- package/dist/node_modules/zod/v4/core/core.js +14 -10
- package/dist/node_modules/zod/v4/core/errors.js +1 -2
- package/dist/node_modules/zod/v4/core/parse.js +1 -2
- package/dist/node_modules/zod/v4/core/regexes.js +1 -3
- package/dist/node_modules/zod/v4/core/registries.js +4 -5
- package/dist/node_modules/zod/v4/core/schemas.js +9 -20
- package/dist/node_modules/zod/v4/core/util.js +5 -2
- package/dist/node_modules/zod/v4/core/versions.js +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/accordion.d.ts +1 -2
- package/dist/ui/accordion.js +5 -6
- package/dist/ui/alert-dialog.d.ts +1 -2
- package/dist/ui/alert-dialog.js +10 -11
- package/dist/ui/alert.d.ts +1 -2
- package/dist/ui/alert.js +4 -5
- package/dist/ui/aspect-ratio.d.ts +1 -2
- package/dist/ui/aspect-ratio.js +1 -2
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +1 -2
- package/dist/ui/atoms/FilterSelect/FilterSelect.js +1 -2
- package/dist/ui/atoms/FilterSelect/types.d.ts +1 -2
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +1 -2
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +1 -2
- package/dist/ui/atoms/Pagination/Pagination.d.ts +1 -2
- package/dist/ui/atoms/Pagination/Pagination.js +1 -2
- package/dist/ui/atoms/Pagination/types.d.ts +1 -2
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +1 -2
- package/dist/ui/atoms/SearchInput/SearchInput.js +1 -2
- package/dist/ui/atoms/SearchInput/types.d.ts +1 -2
- package/dist/ui/avatar.d.ts +1 -2
- package/dist/ui/avatar.js +4 -5
- package/dist/ui/badge.d.ts +1 -2
- package/dist/ui/badge.js +2 -3
- package/dist/ui/breadcrumb.d.ts +1 -2
- package/dist/ui/breadcrumb.js +7 -8
- package/dist/ui/button.d.ts +1 -2
- package/dist/ui/button.js +2 -3
- package/dist/ui/card.d.ts +8 -9
- package/dist/ui/card.js +7 -8
- package/dist/ui/carousel.d.ts +1 -2
- package/dist/ui/carousel.js +1 -2
- package/dist/ui/checkbox.d.ts +1 -2
- package/dist/ui/checkbox.js +2 -3
- package/dist/ui/collapsible.d.ts +8 -9
- package/dist/ui/collapsible.js +1 -2
- package/dist/ui/command.d.ts +1 -2
- package/dist/ui/command.js +1 -2
- package/dist/ui/context-menu.d.ts +17 -18
- package/dist/ui/context-menu.js +10 -11
- package/dist/ui/date-picker.d.ts +3 -4
- package/dist/ui/date-picker.js +1 -2
- package/dist/ui/date-range-picker.d.ts +3 -4
- package/dist/ui/date-range-picker.js +1 -2
- package/dist/ui/datetime-picker.d.ts +3 -4
- package/dist/ui/datetime-picker.js +1 -2
- package/dist/ui/dialog.d.ts +11 -12
- package/dist/ui/dialog.js +8 -9
- package/dist/ui/dropdown-menu.d.ts +17 -18
- package/dist/ui/dropdown-menu.js +10 -11
- package/dist/ui/empty-state.d.ts +5 -6
- package/dist/ui/empty-state.js +1 -2
- package/dist/ui/empty.d.ts +10 -11
- package/dist/ui/empty.js +7 -8
- package/dist/ui/fab.d.ts +4 -5
- package/dist/ui/fab.js +1 -2
- package/dist/ui/field.d.ts +15 -16
- package/dist/ui/field.js +11 -13
- package/dist/ui/form.d.ts +8 -9
- package/dist/ui/form.js +6 -8
- package/dist/ui/hover-card.d.ts +7 -8
- package/dist/ui/hover-card.js +2 -3
- package/dist/ui/icons/Check.js +1 -2
- package/dist/ui/icons/ChevronDown.js +1 -2
- package/dist/ui/icons/ChevronRight.js +1 -2
- package/dist/ui/icons/ChevronUp.js +1 -2
- package/dist/ui/icons/CircleUser.js +1 -2
- package/dist/ui/icons/Info.js +1 -2
- package/dist/ui/icons/Key.js +1 -2
- package/dist/ui/icons/MoonStar.js +1 -2
- package/dist/ui/icons/Sun.js +1 -2
- package/dist/ui/icons/X.js +1 -2
- package/dist/ui/icons/iconWithClassName.d.ts +1 -2
- package/dist/ui/icons/iconWithClassName.js +1 -2
- package/dist/ui/input.d.ts +3 -4
- package/dist/ui/input.js +2 -3
- package/dist/ui/label.d.ts +3 -4
- package/dist/ui/label.js +2 -3
- package/dist/ui/link.d.ts +3 -4
- package/dist/ui/link.js +2 -3
- package/dist/ui/loading-button.d.ts +3 -4
- package/dist/ui/loading-button.js +2 -3
- package/dist/ui/loading-overlay.d.ts +3 -4
- package/dist/ui/loading-overlay.js +1 -2
- package/dist/ui/loading-screen.d.ts +3 -4
- package/dist/ui/loading-screen.js +1 -2
- package/dist/ui/marketing/FeatureGrid.d.ts +3 -4
- package/dist/ui/marketing/FeatureGrid.js +1 -2
- package/dist/ui/marketing/Hero.d.ts +3 -4
- package/dist/ui/marketing/Hero.js +1 -2
- package/dist/ui/marketing/PricingTable.d.ts +3 -4
- package/dist/ui/marketing/PricingTable.js +1 -2
- package/dist/ui/menubar.d.ts +18 -19
- package/dist/ui/menubar.js +12 -13
- package/dist/ui/molecules/Autocomplete/index.d.ts +1 -2
- package/dist/ui/molecules/Autocomplete/index.js +1 -2
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +1 -2
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +1 -2
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +1 -2
- package/dist/ui/molecules/SkeletonList.d.ts +3 -4
- package/dist/ui/molecules/SkeletonList.js +1 -2
- package/dist/ui/navigation-menu.d.ts +13 -14
- package/dist/ui/navigation-menu.js +7 -8
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +3 -4
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +1 -3
- package/dist/ui/organisms/ListPage/ListPage.d.ts +3 -4
- package/dist/ui/organisms/ListPage/ListPage.js +1 -2
- package/dist/ui/organisms/ListPage/types.d.ts +1 -2
- package/dist/ui/page-header.d.ts +5 -6
- package/dist/ui/page-header.js +1 -2
- package/dist/ui/password-strength.d.ts +3 -4
- package/dist/ui/password-strength.js +1 -2
- package/dist/ui/popover.d.ts +7 -8
- package/dist/ui/popover.js +2 -3
- package/dist/ui/progress.d.ts +3 -4
- package/dist/ui/progress.js +2 -3
- package/dist/ui/radio-group.d.ts +4 -5
- package/dist/ui/radio-group.js +3 -4
- package/dist/ui/select.d.ts +14 -15
- package/dist/ui/select.js +8 -9
- package/dist/ui/separator.d.ts +3 -4
- package/dist/ui/separator.js +2 -3
- package/dist/ui/sheet.d.ts +1 -2
- package/dist/ui/sheet.js +1 -2
- package/dist/ui/sidebar.d.ts +1 -2
- package/dist/ui/sidebar.js +1 -2
- package/dist/ui/skeleton.d.ts +3 -4
- package/dist/ui/skeleton.js +2 -3
- package/dist/ui/stack.d.ts +18 -19
- package/dist/ui/stack.js +4 -5
- package/dist/ui/stepper.d.ts +3 -4
- package/dist/ui/stepper.js +1 -2
- package/dist/ui/switch.d.ts +3 -4
- package/dist/ui/switch.js +3 -4
- package/dist/ui/table.d.ts +9 -10
- package/dist/ui/table.js +8 -9
- package/dist/ui/tabs.d.ts +10 -11
- package/dist/ui/tabs.js +4 -5
- package/dist/ui/text.d.ts +3 -4
- package/dist/ui/text.js +2 -3
- package/dist/ui/textarea.d.ts +1 -2
- package/dist/ui/textarea.js +2 -3
- package/dist/ui/time-picker.d.ts +3 -4
- package/dist/ui/time-picker.js +1 -2
- package/dist/ui/toggle-group.d.ts +5 -6
- package/dist/ui/toggle-group.js +4 -5
- package/dist/ui/toggle.d.ts +7 -8
- package/dist/ui/toggle.js +3 -4
- package/dist/ui/tooltip.d.ts +7 -8
- package/dist/ui/tooltip.js +2 -3
- package/dist/ui/typography.d.ts +13 -14
- package/dist/ui/typography.js +12 -13
- package/dist/ui/useColorScheme.d.ts +3 -4
- package/dist/ui/useColorScheme.js +1 -2
- package/dist/ui/useListState.d.ts +1 -2
- package/dist/ui/useListState.js +1 -2
- package/dist/ui/usecases/UseCaseCard.d.ts +3 -4
- package/dist/ui/usecases/UseCaseCard.js +1 -2
- package/dist/ui/usecases/UserStoryCard.d.ts +3 -4
- package/dist/ui/usecases/UserStoryCard.js +1 -2
- package/dist/ui/utils.d.ts +1 -2
- package/dist/ui/utils.js +1 -2
- package/package.json +8 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js.map +0 -1
- package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js.map +0 -1
- package/dist/node_modules/react-hook-form/dist/index.esm.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/api.js.map +0 -1
- package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
- package/dist/node_modules/zod/v4/core/core.js.map +0 -1
- package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
- package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
- package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/util.js.map +0 -1
- package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
- package/dist/ui/accordion.d.ts.map +0 -1
- package/dist/ui/accordion.js.map +0 -1
- package/dist/ui/alert-dialog.d.ts.map +0 -1
- package/dist/ui/alert-dialog.js.map +0 -1
- package/dist/ui/alert.d.ts.map +0 -1
- package/dist/ui/alert.js.map +0 -1
- package/dist/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/ui/aspect-ratio.js.map +0 -1
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +0 -1
- package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +0 -1
- package/dist/ui/atoms/FilterSelect/types.d.ts.map +0 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +0 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +0 -1
- package/dist/ui/atoms/Pagination/Pagination.d.ts.map +0 -1
- package/dist/ui/atoms/Pagination/Pagination.js.map +0 -1
- package/dist/ui/atoms/Pagination/types.d.ts.map +0 -1
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +0 -1
- package/dist/ui/atoms/SearchInput/SearchInput.js.map +0 -1
- package/dist/ui/atoms/SearchInput/types.d.ts.map +0 -1
- package/dist/ui/avatar.d.ts.map +0 -1
- package/dist/ui/avatar.js.map +0 -1
- package/dist/ui/badge.d.ts.map +0 -1
- package/dist/ui/badge.js.map +0 -1
- package/dist/ui/breadcrumb.d.ts.map +0 -1
- package/dist/ui/breadcrumb.js.map +0 -1
- package/dist/ui/button.d.ts.map +0 -1
- package/dist/ui/button.js.map +0 -1
- package/dist/ui/card.d.ts.map +0 -1
- package/dist/ui/card.js.map +0 -1
- package/dist/ui/carousel.d.ts.map +0 -1
- package/dist/ui/carousel.js.map +0 -1
- package/dist/ui/checkbox.d.ts.map +0 -1
- package/dist/ui/checkbox.js.map +0 -1
- package/dist/ui/collapsible.d.ts.map +0 -1
- package/dist/ui/collapsible.js.map +0 -1
- package/dist/ui/command.d.ts.map +0 -1
- package/dist/ui/command.js.map +0 -1
- package/dist/ui/context-menu.d.ts.map +0 -1
- package/dist/ui/context-menu.js.map +0 -1
- package/dist/ui/date-picker.d.ts.map +0 -1
- package/dist/ui/date-picker.js.map +0 -1
- package/dist/ui/date-range-picker.d.ts.map +0 -1
- package/dist/ui/date-range-picker.js.map +0 -1
- package/dist/ui/datetime-picker.d.ts.map +0 -1
- package/dist/ui/datetime-picker.js.map +0 -1
- package/dist/ui/dialog.d.ts.map +0 -1
- package/dist/ui/dialog.js.map +0 -1
- package/dist/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/ui/dropdown-menu.js.map +0 -1
- package/dist/ui/empty-state.d.ts.map +0 -1
- package/dist/ui/empty-state.js.map +0 -1
- package/dist/ui/empty.d.ts.map +0 -1
- package/dist/ui/empty.js.map +0 -1
- package/dist/ui/fab.d.ts.map +0 -1
- package/dist/ui/fab.js.map +0 -1
- package/dist/ui/field.d.ts.map +0 -1
- package/dist/ui/field.js.map +0 -1
- package/dist/ui/form.d.ts.map +0 -1
- package/dist/ui/form.js.map +0 -1
- package/dist/ui/hover-card.d.ts.map +0 -1
- package/dist/ui/hover-card.js.map +0 -1
- package/dist/ui/icons/Check.js.map +0 -1
- package/dist/ui/icons/ChevronDown.js.map +0 -1
- package/dist/ui/icons/ChevronRight.js.map +0 -1
- package/dist/ui/icons/ChevronUp.js.map +0 -1
- package/dist/ui/icons/CircleUser.js.map +0 -1
- package/dist/ui/icons/Info.js.map +0 -1
- package/dist/ui/icons/Key.js.map +0 -1
- package/dist/ui/icons/MoonStar.js.map +0 -1
- package/dist/ui/icons/Sun.js.map +0 -1
- package/dist/ui/icons/X.js.map +0 -1
- package/dist/ui/icons/iconWithClassName.d.ts.map +0 -1
- package/dist/ui/icons/iconWithClassName.js.map +0 -1
- package/dist/ui/input.d.ts.map +0 -1
- package/dist/ui/input.js.map +0 -1
- package/dist/ui/label.d.ts.map +0 -1
- package/dist/ui/label.js.map +0 -1
- package/dist/ui/link.d.ts.map +0 -1
- package/dist/ui/link.js.map +0 -1
- package/dist/ui/loading-button.d.ts.map +0 -1
- package/dist/ui/loading-button.js.map +0 -1
- package/dist/ui/loading-overlay.d.ts.map +0 -1
- package/dist/ui/loading-overlay.js.map +0 -1
- package/dist/ui/loading-screen.d.ts.map +0 -1
- package/dist/ui/loading-screen.js.map +0 -1
- package/dist/ui/marketing/FeatureGrid.d.ts.map +0 -1
- package/dist/ui/marketing/FeatureGrid.js.map +0 -1
- package/dist/ui/marketing/Hero.d.ts.map +0 -1
- package/dist/ui/marketing/Hero.js.map +0 -1
- package/dist/ui/marketing/PricingTable.d.ts.map +0 -1
- package/dist/ui/marketing/PricingTable.js.map +0 -1
- package/dist/ui/menubar.d.ts.map +0 -1
- package/dist/ui/menubar.js.map +0 -1
- package/dist/ui/molecules/Autocomplete/index.d.ts.map +0 -1
- package/dist/ui/molecules/Autocomplete/index.js.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +0 -1
- package/dist/ui/molecules/SkeletonList.d.ts.map +0 -1
- package/dist/ui/molecules/SkeletonList.js.map +0 -1
- package/dist/ui/navigation-menu.d.ts.map +0 -1
- package/dist/ui/navigation-menu.js.map +0 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +0 -1
- package/dist/ui/organisms/ListPage/ListPage.d.ts.map +0 -1
- package/dist/ui/organisms/ListPage/ListPage.js.map +0 -1
- package/dist/ui/organisms/ListPage/types.d.ts.map +0 -1
- package/dist/ui/page-header.d.ts.map +0 -1
- package/dist/ui/page-header.js.map +0 -1
- package/dist/ui/password-strength.d.ts.map +0 -1
- package/dist/ui/password-strength.js.map +0 -1
- package/dist/ui/popover.d.ts.map +0 -1
- package/dist/ui/popover.js.map +0 -1
- package/dist/ui/progress.d.ts.map +0 -1
- package/dist/ui/progress.js.map +0 -1
- package/dist/ui/radio-group.d.ts.map +0 -1
- package/dist/ui/radio-group.js.map +0 -1
- package/dist/ui/select.d.ts.map +0 -1
- package/dist/ui/select.js.map +0 -1
- package/dist/ui/separator.d.ts.map +0 -1
- package/dist/ui/separator.js.map +0 -1
- package/dist/ui/sheet.d.ts.map +0 -1
- package/dist/ui/sheet.js.map +0 -1
- package/dist/ui/sidebar.d.ts.map +0 -1
- package/dist/ui/sidebar.js.map +0 -1
- package/dist/ui/skeleton.d.ts.map +0 -1
- package/dist/ui/skeleton.js.map +0 -1
- package/dist/ui/stack.d.ts.map +0 -1
- package/dist/ui/stack.js.map +0 -1
- package/dist/ui/stepper.d.ts.map +0 -1
- package/dist/ui/stepper.js.map +0 -1
- package/dist/ui/switch.d.ts.map +0 -1
- package/dist/ui/switch.js.map +0 -1
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/table.js.map +0 -1
- package/dist/ui/tabs.d.ts.map +0 -1
- package/dist/ui/tabs.js.map +0 -1
- package/dist/ui/text.d.ts.map +0 -1
- package/dist/ui/text.js.map +0 -1
- package/dist/ui/textarea.d.ts.map +0 -1
- package/dist/ui/textarea.js.map +0 -1
- package/dist/ui/time-picker.d.ts.map +0 -1
- package/dist/ui/time-picker.js.map +0 -1
- package/dist/ui/toggle-group.d.ts.map +0 -1
- package/dist/ui/toggle-group.js.map +0 -1
- package/dist/ui/toggle.d.ts.map +0 -1
- package/dist/ui/toggle.js.map +0 -1
- package/dist/ui/tooltip.d.ts.map +0 -1
- package/dist/ui/tooltip.js.map +0 -1
- package/dist/ui/typography.d.ts.map +0 -1
- package/dist/ui/typography.js.map +0 -1
- package/dist/ui/useColorScheme.d.ts.map +0 -1
- package/dist/ui/useColorScheme.js.map +0 -1
- package/dist/ui/useListState.d.ts.map +0 -1
- package/dist/ui/useListState.js.map +0 -1
- package/dist/ui/usecases/UseCaseCard.d.ts.map +0 -1
- package/dist/ui/usecases/UseCaseCard.js.map +0 -1
- package/dist/ui/usecases/UserStoryCard.d.ts.map +0 -1
- package/dist/ui/usecases/UserStoryCard.js.map +0 -1
- package/dist/ui/utils.d.ts.map +0 -1
- package/dist/ui/utils.js.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native13 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
5
5
|
import * as _rn_primitives_context_menu0 from "@rn-primitives/context-menu";
|
|
6
6
|
|
|
7
7
|
//#region ui/context-menu.d.ts
|
|
8
|
-
declare const ContextMenu: React$1.ForwardRefExoticComponent<
|
|
8
|
+
declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
relativeTo?: "longPress" | "trigger";
|
|
13
13
|
} & React$1.RefAttributes<View>>;
|
|
14
|
-
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
14
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native13.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
18
18
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
19
19
|
} & React$1.RefAttributes<_rn_primitives_context_menu0.TriggerRef>>;
|
|
20
|
-
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<
|
|
20
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
} & React$1.RefAttributes<View>>;
|
|
23
|
-
declare const ContextMenuSub: React$1.ForwardRefExoticComponent<
|
|
23
|
+
declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
} & {
|
|
26
26
|
defaultOpen?: boolean;
|
|
27
27
|
open?: boolean;
|
|
28
28
|
onOpenChange?: (value: boolean) => void;
|
|
29
29
|
} & React$1.RefAttributes<View>>;
|
|
30
|
-
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<
|
|
30
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
|
|
31
31
|
asChild?: boolean;
|
|
32
32
|
} & {
|
|
33
33
|
value: string | undefined;
|
|
@@ -42,13 +42,13 @@ declare function ContextMenuSubTrigger({
|
|
|
42
42
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubTriggerRef>;
|
|
43
43
|
children?: React$1.ReactNode;
|
|
44
44
|
inset?: boolean;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
46
46
|
declare function ContextMenuSubContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
49
|
}: _rn_primitives_context_menu0.SubContentProps & {
|
|
50
50
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubContentRef>;
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
52
52
|
declare function ContextMenuContent({
|
|
53
53
|
className,
|
|
54
54
|
overlayClassName,
|
|
@@ -60,7 +60,7 @@ declare function ContextMenuContent({
|
|
|
60
60
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
61
61
|
overlayClassName?: string;
|
|
62
62
|
portalHost?: string;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
64
64
|
declare function ContextMenuItem({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -69,7 +69,7 @@ declare function ContextMenuItem({
|
|
|
69
69
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.ItemRef>;
|
|
70
70
|
className?: string;
|
|
71
71
|
inset?: boolean;
|
|
72
|
-
}):
|
|
72
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
73
73
|
declare function ContextMenuCheckboxItem({
|
|
74
74
|
className,
|
|
75
75
|
children,
|
|
@@ -77,7 +77,7 @@ declare function ContextMenuCheckboxItem({
|
|
|
77
77
|
}: _rn_primitives_context_menu0.CheckboxItemProps & {
|
|
78
78
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.CheckboxItemRef>;
|
|
79
79
|
children?: React$1.ReactNode;
|
|
80
|
-
}):
|
|
80
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
81
81
|
declare function ContextMenuRadioItem({
|
|
82
82
|
className,
|
|
83
83
|
children,
|
|
@@ -85,7 +85,7 @@ declare function ContextMenuRadioItem({
|
|
|
85
85
|
}: _rn_primitives_context_menu0.RadioItemProps & {
|
|
86
86
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.RadioItemRef>;
|
|
87
87
|
children?: React$1.ReactNode;
|
|
88
|
-
}):
|
|
88
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
89
89
|
declare function ContextMenuLabel({
|
|
90
90
|
className,
|
|
91
91
|
inset,
|
|
@@ -94,17 +94,16 @@ declare function ContextMenuLabel({
|
|
|
94
94
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.LabelRef>;
|
|
95
95
|
className?: string;
|
|
96
96
|
inset?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
98
98
|
declare function ContextMenuSeparator({
|
|
99
99
|
className,
|
|
100
100
|
...props
|
|
101
101
|
}: _rn_primitives_context_menu0.SeparatorProps & {
|
|
102
102
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SeparatorRef>;
|
|
103
|
-
}):
|
|
103
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
104
104
|
declare function ContextMenuShortcut({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: TextProps):
|
|
107
|
+
}: TextProps): react_jsx_runtime33.JSX.Element;
|
|
108
108
|
//#endregion
|
|
109
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
110
|
-
//# sourceMappingURL=context-menu.d.ts.map
|
|
109
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
package/dist/ui/context-menu.js
CHANGED
|
@@ -15,7 +15,7 @@ const ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
|
15
15
|
const ContextMenuGroup = ContextMenuPrimitive.Group;
|
|
16
16
|
const ContextMenuSub = ContextMenuPrimitive.Sub;
|
|
17
17
|
const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
|
|
18
|
-
function ContextMenuSubTrigger({ className, inset, children
|
|
18
|
+
function ContextMenuSubTrigger({ className, inset, children, ...props }) {
|
|
19
19
|
const { open } = ContextMenuPrimitive.useSubContext();
|
|
20
20
|
const Icon = Platform.OS === "web" ? ChevronRight : open ? ChevronUp : ChevronDown;
|
|
21
21
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
@@ -30,14 +30,14 @@ function ContextMenuSubTrigger({ className, inset, children,...props }) {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
function ContextMenuSubContent({ className
|
|
33
|
+
function ContextMenuSubContent({ className, ...props }) {
|
|
34
34
|
const { open } = ContextMenuPrimitive.useSubContext();
|
|
35
35
|
return /* @__PURE__ */ jsx(ContextMenuPrimitive.SubContent, {
|
|
36
36
|
className: cn("border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md", open ? "web:animate-in web:fade-in-0 web:zoom-in-95" : "web:animate-out web:fade-out-0 web:zoom-out", className),
|
|
37
37
|
...props
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function ContextMenuContent({ className, overlayClassName, overlayStyle, portalHost
|
|
40
|
+
function ContextMenuContent({ className, overlayClassName, overlayStyle, portalHost, ...props }) {
|
|
41
41
|
const { open } = ContextMenuPrimitive.useRootContext();
|
|
42
42
|
return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, {
|
|
43
43
|
hostName: portalHost,
|
|
@@ -51,7 +51,7 @@ function ContextMenuContent({ className, overlayClassName, overlayStyle, portalH
|
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
function ContextMenuItem({ className, inset
|
|
54
|
+
function ContextMenuItem({ className, inset, ...props }) {
|
|
55
55
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
56
56
|
value: "select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground",
|
|
57
57
|
children: /* @__PURE__ */ jsx(ContextMenuPrimitive.Item, {
|
|
@@ -60,7 +60,7 @@ function ContextMenuItem({ className, inset,...props }) {
|
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
function ContextMenuCheckboxItem({ className, children
|
|
63
|
+
function ContextMenuCheckboxItem({ className, children, ...props }) {
|
|
64
64
|
return /* @__PURE__ */ jsxs(ContextMenuPrimitive.CheckboxItem, {
|
|
65
65
|
className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
|
|
66
66
|
...props,
|
|
@@ -74,7 +74,7 @@ function ContextMenuCheckboxItem({ className, children,...props }) {
|
|
|
74
74
|
}), children]
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
function ContextMenuRadioItem({ className, children
|
|
77
|
+
function ContextMenuRadioItem({ className, children, ...props }) {
|
|
78
78
|
return /* @__PURE__ */ jsxs(ContextMenuPrimitive.RadioItem, {
|
|
79
79
|
className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
|
|
80
80
|
...props,
|
|
@@ -84,19 +84,19 @@ function ContextMenuRadioItem({ className, children,...props }) {
|
|
|
84
84
|
}), children]
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
function ContextMenuLabel({ className, inset
|
|
87
|
+
function ContextMenuLabel({ className, inset, ...props }) {
|
|
88
88
|
return /* @__PURE__ */ jsx(ContextMenuPrimitive.Label, {
|
|
89
89
|
className: cn("native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
|
|
90
90
|
...props
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
function ContextMenuSeparator({ className
|
|
93
|
+
function ContextMenuSeparator({ className, ...props }) {
|
|
94
94
|
return /* @__PURE__ */ jsx(ContextMenuPrimitive.Separator, {
|
|
95
95
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
96
96
|
...props
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
function ContextMenuShortcut({ className
|
|
99
|
+
function ContextMenuShortcut({ className, ...props }) {
|
|
100
100
|
return /* @__PURE__ */ jsx(Text, {
|
|
101
101
|
className: cn("native:text-sm text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
102
102
|
...props
|
|
@@ -104,5 +104,4 @@ function ContextMenuShortcut({ className,...props }) {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
//#endregion
|
|
107
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
108
|
-
//# sourceMappingURL=context-menu.js.map
|
|
107
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
package/dist/ui/date-picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-picker.d.ts
|
|
4
4
|
interface DatePickerProps {
|
|
@@ -18,7 +18,6 @@ declare function DatePicker({
|
|
|
18
18
|
maxDate,
|
|
19
19
|
placeholder,
|
|
20
20
|
className
|
|
21
|
-
}: DatePickerProps):
|
|
21
|
+
}: DatePickerProps): react_jsx_runtime42.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { DatePicker, DatePickerProps };
|
|
24
|
-
//# sourceMappingURL=date-picker.d.ts.map
|
|
23
|
+
export { DatePicker, DatePickerProps };
|
package/dist/ui/date-picker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-range-picker.d.ts
|
|
4
4
|
interface DateRange {
|
|
@@ -25,7 +25,6 @@ declare function DateRangePicker({
|
|
|
25
25
|
maxDate,
|
|
26
26
|
placeholders,
|
|
27
27
|
className
|
|
28
|
-
}: DateRangePickerProps):
|
|
28
|
+
}: DateRangePickerProps): react_jsx_runtime43.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
31
|
-
//# sourceMappingURL=date-range-picker.d.ts.map
|
|
30
|
+
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/datetime-picker.d.ts
|
|
4
4
|
interface DateTimePickerProps {
|
|
@@ -22,7 +22,6 @@ declare function DateTimePicker({
|
|
|
22
22
|
timePlaceholder,
|
|
23
23
|
is24Hour,
|
|
24
24
|
className
|
|
25
|
-
}: DateTimePickerProps):
|
|
25
|
+
}: DateTimePickerProps): react_jsx_runtime44.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
|
-
export { DateTimePicker, DateTimePickerProps };
|
|
28
|
-
//# sourceMappingURL=datetime-picker.d.ts.map
|
|
27
|
+
export { DateTimePicker, DateTimePickerProps };
|
package/dist/ui/dialog.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native18 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
5
5
|
import * as DialogPrimitive from "@rn-primitives/dialog";
|
|
6
6
|
|
|
7
7
|
//#region ui/dialog.d.ts
|
|
@@ -12,14 +12,14 @@ declare const Dialog: React$1.ForwardRefExoticComponent<ViewProps & {
|
|
|
12
12
|
defaultOpen?: boolean;
|
|
13
13
|
onOpenChange?: (value: boolean) => void;
|
|
14
14
|
} & React$1.RefAttributes<View>>;
|
|
15
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
15
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native18.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
19
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
20
|
} & React$1.RefAttributes<View>>;
|
|
21
21
|
declare const DialogPortal: typeof DialogPrimitive.Portal;
|
|
22
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<
|
|
22
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<react_native18.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
23
23
|
asChild?: boolean;
|
|
24
24
|
} & {
|
|
25
25
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -32,7 +32,7 @@ declare function DialogOverlayNative({
|
|
|
32
32
|
}: DialogPrimitive.OverlayProps & {
|
|
33
33
|
ref?: React$1.RefObject<DialogPrimitive.OverlayRef>;
|
|
34
34
|
children?: React$1.ReactNode;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime45.JSX.Element;
|
|
36
36
|
declare const DialogOverlay: typeof DialogOverlayNative;
|
|
37
37
|
declare function DialogContent({
|
|
38
38
|
className,
|
|
@@ -43,27 +43,26 @@ declare function DialogContent({
|
|
|
43
43
|
ref?: React$1.RefObject<DialogPrimitive.ContentRef>;
|
|
44
44
|
className?: string;
|
|
45
45
|
portalHost?: string;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime45.JSX.Element;
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: ViewProps):
|
|
50
|
+
}: ViewProps): react_jsx_runtime45.JSX.Element;
|
|
51
51
|
declare function DialogFooter({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: ViewProps):
|
|
54
|
+
}: ViewProps): react_jsx_runtime45.JSX.Element;
|
|
55
55
|
declare function DialogTitle({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
58
|
}: DialogPrimitive.TitleProps & {
|
|
59
59
|
ref?: React$1.RefObject<DialogPrimitive.TitleRef>;
|
|
60
|
-
}):
|
|
60
|
+
}): react_jsx_runtime45.JSX.Element;
|
|
61
61
|
declare function DialogDescription({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
64
|
}: DialogPrimitive.DescriptionProps & {
|
|
65
65
|
ref?: React$1.RefObject<DialogPrimitive.DescriptionRef>;
|
|
66
|
-
}):
|
|
66
|
+
}): react_jsx_runtime45.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
69
|
-
//# sourceMappingURL=dialog.d.ts.map
|
|
68
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
package/dist/ui/dialog.js
CHANGED
|
@@ -11,14 +11,14 @@ const Dialog = DialogPrimitive.Root;
|
|
|
11
11
|
const DialogTrigger = DialogPrimitive.Trigger;
|
|
12
12
|
const DialogPortal = DialogPrimitive.Portal;
|
|
13
13
|
const DialogClose = DialogPrimitive.Close;
|
|
14
|
-
function DialogOverlayWeb({ className
|
|
14
|
+
function DialogOverlayWeb({ className, ...props }) {
|
|
15
15
|
const { open } = DialogPrimitive.useRootContext();
|
|
16
16
|
return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
|
|
17
17
|
className: cn("absolute top-0 right-0 bottom-0 left-0 flex items-center justify-center bg-black/80 p-2", open ? "web:animate-in web:fade-in-0" : "web:animate-out web:fade-out-0", className),
|
|
18
18
|
...props
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function DialogOverlayNative({ className, children
|
|
21
|
+
function DialogOverlayNative({ className, children, ...props }) {
|
|
22
22
|
return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
|
|
23
23
|
style: StyleSheet.absoluteFill,
|
|
24
24
|
className: cn("flex items-center justify-center bg-black/80 p-2", className),
|
|
@@ -34,7 +34,7 @@ const DialogOverlay = Platform.select({
|
|
|
34
34
|
web: DialogOverlayWeb,
|
|
35
35
|
default: DialogOverlayNative
|
|
36
36
|
});
|
|
37
|
-
function DialogContent({ className, children, portalHost
|
|
37
|
+
function DialogContent({ className, children, portalHost, ...props }) {
|
|
38
38
|
const { open } = DialogPrimitive.useRootContext();
|
|
39
39
|
return /* @__PURE__ */ jsx(DialogPortal, {
|
|
40
40
|
hostName: portalHost,
|
|
@@ -51,25 +51,25 @@ function DialogContent({ className, children, portalHost,...props }) {
|
|
|
51
51
|
}) })
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
function DialogHeader({ className
|
|
54
|
+
function DialogHeader({ className, ...props }) {
|
|
55
55
|
return /* @__PURE__ */ jsx(View, {
|
|
56
56
|
className: cn("flex flex-col gap-1.5 text-center sm:text-left", className),
|
|
57
57
|
...props
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
function DialogFooter({ className
|
|
60
|
+
function DialogFooter({ className, ...props }) {
|
|
61
61
|
return /* @__PURE__ */ jsx(View, {
|
|
62
62
|
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
63
63
|
...props
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
function DialogTitle({ className
|
|
66
|
+
function DialogTitle({ className, ...props }) {
|
|
67
67
|
return /* @__PURE__ */ jsx(DialogPrimitive.Title, {
|
|
68
68
|
className: cn("native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight", className),
|
|
69
69
|
...props
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
function DialogDescription({ className
|
|
72
|
+
function DialogDescription({ className, ...props }) {
|
|
73
73
|
return /* @__PURE__ */ jsx(DialogPrimitive.Description, {
|
|
74
74
|
className: cn("native:text-base text-muted-foreground text-sm", className),
|
|
75
75
|
...props
|
|
@@ -77,5 +77,4 @@ function DialogDescription({ className,...props }) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
//#endregion
|
|
80
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
81
|
-
//# sourceMappingURL=dialog.js.map
|
|
80
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native20 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
5
5
|
import * as _rn_primitives_dropdown_menu0 from "@rn-primitives/dropdown-menu";
|
|
6
6
|
|
|
7
7
|
//#region ui/dropdown-menu.d.ts
|
|
8
|
-
declare const DropdownMenu: React$1.ForwardRefExoticComponent<
|
|
8
|
+
declare const DropdownMenu: React$1.ForwardRefExoticComponent<react_native20.ViewProps & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
} & React$1.RefAttributes<View>>;
|
|
13
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
13
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native20.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
14
14
|
asChild?: boolean;
|
|
15
15
|
} & {
|
|
16
16
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
17
17
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
18
18
|
} & React$1.RefAttributes<_rn_primitives_dropdown_menu0.TriggerRef>>;
|
|
19
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<
|
|
19
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<react_native20.ViewProps & {
|
|
20
20
|
asChild?: boolean;
|
|
21
21
|
} & React$1.RefAttributes<View>>;
|
|
22
22
|
declare const DropdownMenuPortal: typeof _rn_primitives_dropdown_menu0.Portal;
|
|
23
|
-
declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<
|
|
23
|
+
declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<react_native20.ViewProps & {
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
} & {
|
|
26
26
|
defaultOpen?: boolean;
|
|
27
27
|
open?: boolean;
|
|
28
28
|
onOpenChange?: (value: boolean) => void;
|
|
29
29
|
} & React$1.RefAttributes<View>>;
|
|
30
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<
|
|
30
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native20.ViewProps & {
|
|
31
31
|
asChild?: boolean;
|
|
32
32
|
} & {
|
|
33
33
|
value: string | undefined;
|
|
@@ -43,13 +43,13 @@ declare function DropdownMenuSubTrigger({
|
|
|
43
43
|
className?: string;
|
|
44
44
|
inset?: boolean;
|
|
45
45
|
children?: React$1.ReactNode;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
47
47
|
declare function DropdownMenuSubContent({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: _rn_primitives_dropdown_menu0.SubContentProps & {
|
|
51
51
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SubContentRef>;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
53
53
|
declare function DropdownMenuContent({
|
|
54
54
|
className,
|
|
55
55
|
overlayClassName,
|
|
@@ -61,7 +61,7 @@ declare function DropdownMenuContent({
|
|
|
61
61
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
62
62
|
overlayClassName?: string;
|
|
63
63
|
portalHost?: string;
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
65
65
|
declare function DropdownMenuItem({
|
|
66
66
|
className,
|
|
67
67
|
inset,
|
|
@@ -70,7 +70,7 @@ declare function DropdownMenuItem({
|
|
|
70
70
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.ItemRef>;
|
|
71
71
|
className?: string;
|
|
72
72
|
inset?: boolean;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
74
74
|
declare function DropdownMenuCheckboxItem({
|
|
75
75
|
className,
|
|
76
76
|
children,
|
|
@@ -79,7 +79,7 @@ declare function DropdownMenuCheckboxItem({
|
|
|
79
79
|
}: _rn_primitives_dropdown_menu0.CheckboxItemProps & {
|
|
80
80
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.CheckboxItemRef>;
|
|
81
81
|
children?: React$1.ReactNode;
|
|
82
|
-
}):
|
|
82
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
83
83
|
declare function DropdownMenuRadioItem({
|
|
84
84
|
className,
|
|
85
85
|
children,
|
|
@@ -87,7 +87,7 @@ declare function DropdownMenuRadioItem({
|
|
|
87
87
|
}: _rn_primitives_dropdown_menu0.RadioItemProps & {
|
|
88
88
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.RadioItemRef>;
|
|
89
89
|
children?: React$1.ReactNode;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
91
91
|
declare function DropdownMenuLabel({
|
|
92
92
|
className,
|
|
93
93
|
inset,
|
|
@@ -96,17 +96,16 @@ declare function DropdownMenuLabel({
|
|
|
96
96
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.LabelRef>;
|
|
97
97
|
className?: string;
|
|
98
98
|
inset?: boolean;
|
|
99
|
-
}):
|
|
99
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
100
100
|
declare function DropdownMenuSeparator({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
103
|
}: _rn_primitives_dropdown_menu0.SeparatorProps & {
|
|
104
104
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SeparatorRef>;
|
|
105
|
-
}):
|
|
105
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
106
106
|
declare function DropdownMenuShortcut({
|
|
107
107
|
className,
|
|
108
108
|
...props
|
|
109
|
-
}: TextProps):
|
|
109
|
+
}: TextProps): react_jsx_runtime65.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
112
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
111
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
package/dist/ui/dropdown-menu.js
CHANGED
|
@@ -16,7 +16,7 @@ const DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
16
16
|
const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
17
17
|
const DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
18
18
|
const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
19
|
-
function DropdownMenuSubTrigger({ className, inset, children
|
|
19
|
+
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
20
20
|
const { open } = DropdownMenuPrimitive.useSubContext();
|
|
21
21
|
const Icon = Platform.OS === "web" ? ChevronRight : open ? ChevronUp : ChevronDown;
|
|
22
22
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
@@ -31,14 +31,14 @@ function DropdownMenuSubTrigger({ className, inset, children,...props }) {
|
|
|
31
31
|
})
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
function DropdownMenuSubContent({ className
|
|
34
|
+
function DropdownMenuSubContent({ className, ...props }) {
|
|
35
35
|
const { open } = DropdownMenuPrimitive.useSubContext();
|
|
36
36
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubContent, {
|
|
37
37
|
className: cn("border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md", open ? "web:animate-in web:fade-in-0 web:zoom-in-95" : "web:animate-out web:fade-out-0 web:zoom-out", className),
|
|
38
38
|
...props
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
function DropdownMenuContent({ className, overlayClassName, overlayStyle, portalHost
|
|
41
|
+
function DropdownMenuContent({ className, overlayClassName, overlayStyle, portalHost, ...props }) {
|
|
42
42
|
const { open } = DropdownMenuPrimitive.useRootContext();
|
|
43
43
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, {
|
|
44
44
|
hostName: portalHost,
|
|
@@ -52,7 +52,7 @@ function DropdownMenuContent({ className, overlayClassName, overlayStyle, portal
|
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
function DropdownMenuItem({ className, inset
|
|
55
|
+
function DropdownMenuItem({ className, inset, ...props }) {
|
|
56
56
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
57
57
|
value: "select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground",
|
|
58
58
|
children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {
|
|
@@ -61,7 +61,7 @@ function DropdownMenuItem({ className, inset,...props }) {
|
|
|
61
61
|
})
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
function DropdownMenuCheckboxItem({ className, children, checked
|
|
64
|
+
function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
65
65
|
return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.CheckboxItem, {
|
|
66
66
|
className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
|
|
67
67
|
checked,
|
|
@@ -76,7 +76,7 @@ function DropdownMenuCheckboxItem({ className, children, checked,...props }) {
|
|
|
76
76
|
}), children]
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
function DropdownMenuRadioItem({ className, children
|
|
79
|
+
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
80
80
|
return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.RadioItem, {
|
|
81
81
|
className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
|
|
82
82
|
...props,
|
|
@@ -86,19 +86,19 @@ function DropdownMenuRadioItem({ className, children,...props }) {
|
|
|
86
86
|
}), children]
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
function DropdownMenuLabel({ className, inset
|
|
89
|
+
function DropdownMenuLabel({ className, inset, ...props }) {
|
|
90
90
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {
|
|
91
91
|
className: cn("native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
|
|
92
92
|
...props
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function DropdownMenuSeparator({ className
|
|
95
|
+
function DropdownMenuSeparator({ className, ...props }) {
|
|
96
96
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {
|
|
97
97
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
98
98
|
...props
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
function DropdownMenuShortcut({ className
|
|
101
|
+
function DropdownMenuShortcut({ className, ...props }) {
|
|
102
102
|
return /* @__PURE__ */ jsx(Text, {
|
|
103
103
|
className: cn("native:text-sm text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
104
104
|
...props
|
|
@@ -106,5 +106,4 @@ function DropdownMenuShortcut({ className,...props }) {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
//#endregion
|
|
109
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
110
|
-
//# sourceMappingURL=dropdown-menu.js.map
|
|
109
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
package/dist/ui/empty-state.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty-state.d.ts
|
|
7
7
|
declare const containerVariants: (props?: ({
|
|
8
8
|
density?: "default" | "compact" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
10
10
|
interface EmptyStateProps extends VariantProps<typeof containerVariants> {
|
|
11
11
|
icon?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -23,7 +23,6 @@ declare function EmptyState({
|
|
|
23
23
|
secondaryAction,
|
|
24
24
|
className,
|
|
25
25
|
density
|
|
26
|
-
}: EmptyStateProps):
|
|
26
|
+
}: EmptyStateProps): react_jsx_runtime74.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { EmptyState, EmptyStateProps };
|
|
29
|
-
//# sourceMappingURL=empty-state.d.ts.map
|
|
28
|
+
export { EmptyState, EmptyStateProps };
|
package/dist/ui/empty-state.js
CHANGED