@lssm/lib.ui-kit 0.0.0-canary-20251120192244 → 0.0.0-canary-20251206181705
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 +5 -6
- package/dist/ui/avatar.js +4 -5
- package/dist/ui/badge.d.ts +5 -6
- package/dist/ui/badge.js +2 -3
- package/dist/ui/breadcrumb.d.ts +9 -10
- package/dist/ui/breadcrumb.js +7 -8
- package/dist/ui/button.d.ts +6 -7
- 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 +4 -5
- package/dist/ui/checkbox.js +2 -3
- package/dist/ui/collapsible.d.ts +9 -10
- 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 +6 -7
- 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 +5 -6
- 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 +12 -13
- 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
package/dist/ui/hover-card.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native42 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
4
4
|
import * as _rn_primitives_hover_card0 from "@rn-primitives/hover-card";
|
|
5
5
|
|
|
6
6
|
//#region ui/hover-card.d.ts
|
|
7
|
-
declare const HoverCard: React$1.ForwardRefExoticComponent<
|
|
7
|
+
declare const HoverCard: React$1.ForwardRefExoticComponent<react_native42.ViewProps & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
} & {
|
|
10
10
|
onOpenChange?: (open: boolean) => void;
|
|
11
11
|
openDelay?: number;
|
|
12
12
|
closeDelay?: number;
|
|
13
|
-
} & React$1.RefAttributes<
|
|
14
|
-
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
13
|
+
} & React$1.RefAttributes<react_native42.View>>;
|
|
14
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native42.PressableProps & React$1.RefAttributes<react_native42.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -24,7 +24,6 @@ declare function HoverCardContent({
|
|
|
24
24
|
...props
|
|
25
25
|
}: _rn_primitives_hover_card0.ContentProps & {
|
|
26
26
|
ref?: React$1.RefObject<_rn_primitives_hover_card0.ContentRef>;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
30
|
-
//# sourceMappingURL=hover-card.d.ts.map
|
|
29
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
package/dist/ui/hover-card.js
CHANGED
|
@@ -9,7 +9,7 @@ import * as HoverCardPrimitive from "@rn-primitives/hover-card";
|
|
|
9
9
|
//#region ui/hover-card.tsx
|
|
10
10
|
const HoverCard = HoverCardPrimitive.Root;
|
|
11
11
|
const HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
12
|
-
function HoverCardContent({ className, align = "center", sideOffset = 4
|
|
12
|
+
function HoverCardContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
13
13
|
const { open } = HoverCardPrimitive.useRootContext();
|
|
14
14
|
return /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx(HoverCardPrimitive.Overlay, {
|
|
15
15
|
style: Platform.OS !== "web" ? StyleSheet.absoluteFill : void 0,
|
|
@@ -29,5 +29,4 @@ function HoverCardContent({ className, align = "center", sideOffset = 4,...props
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
33
|
-
//# sourceMappingURL=hover-card.js.map
|
|
32
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
package/dist/ui/icons/Check.js
CHANGED
package/dist/ui/icons/Info.js
CHANGED
package/dist/ui/icons/Key.js
CHANGED
package/dist/ui/icons/Sun.js
CHANGED
package/dist/ui/icons/X.js
CHANGED
|
@@ -3,5 +3,4 @@ import { LucideIcon } from "lucide-react-native";
|
|
|
3
3
|
//#region ui/icons/iconWithClassName.d.ts
|
|
4
4
|
declare function iconWithClassName(icon: LucideIcon): void;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { iconWithClassName };
|
|
7
|
-
//# sourceMappingURL=iconWithClassName.d.ts.map
|
|
6
|
+
export { iconWithClassName };
|
package/dist/ui/input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { TextInput, TextInputProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/input.d.ts
|
|
6
6
|
declare function Input({
|
|
@@ -9,7 +9,6 @@ declare function Input({
|
|
|
9
9
|
...props
|
|
10
10
|
}: TextInputProps & {
|
|
11
11
|
ref?: React$1.RefObject<TextInput>;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime119.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { Input };
|
|
15
|
-
//# sourceMappingURL=input.d.ts.map
|
|
14
|
+
export { Input };
|
package/dist/ui/input.js
CHANGED
|
@@ -4,7 +4,7 @@ import { TextInput } from "react-native";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region ui/input.tsx
|
|
7
|
-
function Input({ className, placeholderClassName
|
|
7
|
+
function Input({ className, placeholderClassName, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(TextInput, {
|
|
9
9
|
className: cn("native:h-12 native:text-lg native:leading-tight border-input bg-background text-foreground placeholder:text-muted-foreground web:flex web:w-full web:py-2 web:ring-offset-background web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-10 rounded-md border px-3 text-base file:border-0 file:bg-transparent file:font-medium lg:text-sm", props.editable === false && "web:cursor-not-allowed opacity-50", className),
|
|
10
10
|
placeholderClassName: cn("text-muted-foreground", placeholderClassName),
|
|
@@ -13,5 +13,4 @@ function Input({ className, placeholderClassName,...props }) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
16
|
-
export { Input };
|
|
17
|
-
//# sourceMappingURL=input.js.map
|
|
16
|
+
export { Input };
|
package/dist/ui/label.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
2
2
|
import * as LabelPrimitive from "@rn-primitives/label";
|
|
3
3
|
|
|
4
4
|
//#region ui/label.d.ts
|
|
@@ -10,7 +10,6 @@ declare function Label({
|
|
|
10
10
|
onPressOut,
|
|
11
11
|
disabled,
|
|
12
12
|
...props
|
|
13
|
-
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>):
|
|
13
|
+
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>): react_jsx_runtime120.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Label };
|
|
16
|
-
//# sourceMappingURL=label.d.ts.map
|
|
15
|
+
export { Label };
|
package/dist/ui/label.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import * as LabelPrimitive from "@rn-primitives/label";
|
|
5
5
|
|
|
6
6
|
//#region ui/label.tsx
|
|
7
|
-
function Label({ className, onPress, onLongPress, onPressIn, onPressOut, disabled
|
|
7
|
+
function Label({ className, onPress, onLongPress, onPressIn, onPressOut, disabled, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(LabelPrimitive.Root, {
|
|
9
9
|
className: cn("flex flex-row items-center gap-2 select-none", Platform.select({ web: "cursor-default leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" }), disabled && "opacity-50"),
|
|
10
10
|
onPress,
|
|
@@ -20,5 +20,4 @@ function Label({ className, onPress, onLongPress, onPressIn, onPressOut, disable
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Label };
|
|
24
|
-
//# sourceMappingURL=label.js.map
|
|
23
|
+
export { Label };
|
package/dist/ui/link.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
3
3
|
import { Link as Link$1, LinkProps } from "expo-router";
|
|
4
4
|
|
|
5
5
|
//#region ui/link.d.ts
|
|
@@ -8,7 +8,6 @@ declare function Link({
|
|
|
8
8
|
...props
|
|
9
9
|
}: LinkProps & {
|
|
10
10
|
ref?: React$1.RefObject<typeof Link$1>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime121.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { Link };
|
|
14
|
-
//# sourceMappingURL=link.d.ts.map
|
|
13
|
+
export { Link };
|
package/dist/ui/link.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import { Link as Link$1 } from "expo-router";
|
|
5
5
|
|
|
6
6
|
//#region ui/link.tsx
|
|
7
|
-
function Link({ className
|
|
7
|
+
function Link({ className, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(Link$1, {
|
|
9
9
|
className: cn("className=\"text-primary underline\"", className),
|
|
10
10
|
...props
|
|
@@ -12,5 +12,4 @@ function Link({ className,...props }) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Link };
|
|
16
|
-
//# sourceMappingURL=link.js.map
|
|
15
|
+
export { Link };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "./button.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/loading-button.d.ts
|
|
6
6
|
interface LoadingButtonProps extends ButtonProps {
|
|
@@ -14,7 +14,6 @@ declare function LoadingButton({
|
|
|
14
14
|
children,
|
|
15
15
|
disabled,
|
|
16
16
|
...props
|
|
17
|
-
}: LoadingButtonProps):
|
|
17
|
+
}: LoadingButtonProps): react_jsx_runtime122.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
|
-
export { LoadingButton };
|
|
20
|
-
//# sourceMappingURL=loading-button.d.ts.map
|
|
19
|
+
export { LoadingButton };
|
|
@@ -6,7 +6,7 @@ import { ActivityIndicator } from "react-native";
|
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region ui/loading-button.tsx
|
|
9
|
-
function LoadingButton({ isLoading = false, loadingText, children, disabled
|
|
9
|
+
function LoadingButton({ isLoading = false, loadingText, children, disabled, ...props }) {
|
|
10
10
|
return /* @__PURE__ */ jsx(Button, {
|
|
11
11
|
disabled: disabled || isLoading,
|
|
12
12
|
...props,
|
|
@@ -18,5 +18,4 @@ function LoadingButton({ isLoading = false, loadingText, children, disabled,...p
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
//#endregion
|
|
21
|
-
export { LoadingButton };
|
|
22
|
-
//# sourceMappingURL=loading-button.js.map
|
|
21
|
+
export { LoadingButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/loading-overlay.d.ts
|
|
4
4
|
interface LoadingOverlayProps {
|
|
@@ -10,7 +10,6 @@ declare function LoadingOverlay({
|
|
|
10
10
|
isVisible,
|
|
11
11
|
title,
|
|
12
12
|
subtitle
|
|
13
|
-
}: LoadingOverlayProps):
|
|
13
|
+
}: LoadingOverlayProps): react_jsx_runtime123.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { LoadingOverlay };
|
|
16
|
-
//# sourceMappingURL=loading-overlay.d.ts.map
|
|
15
|
+
export { LoadingOverlay };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime124 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/loading-screen.d.ts
|
|
4
4
|
interface LoadingScreenProps {
|
|
@@ -8,7 +8,6 @@ interface LoadingScreenProps {
|
|
|
8
8
|
declare function LoadingScreen({
|
|
9
9
|
title,
|
|
10
10
|
variant
|
|
11
|
-
}: LoadingScreenProps):
|
|
11
|
+
}: LoadingScreenProps): react_jsx_runtime124.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { LoadingScreen };
|
|
14
|
-
//# sourceMappingURL=loading-screen.d.ts.map
|
|
13
|
+
export { LoadingScreen };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime48 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/FeatureGrid.d.ts
|
|
5
5
|
interface FeatureItem {
|
|
@@ -15,7 +15,6 @@ declare function FeatureGrid({
|
|
|
15
15
|
items: FeatureItem[];
|
|
16
16
|
columns?: 2 | 3 | 4;
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime48.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { FeatureGrid, FeatureItem };
|
|
21
|
-
//# sourceMappingURL=FeatureGrid.d.ts.map
|
|
20
|
+
export { FeatureGrid, FeatureItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/Hero.d.ts
|
|
5
5
|
declare function Hero({
|
|
@@ -22,7 +22,6 @@ declare function Hero({
|
|
|
22
22
|
onClick?: () => void;
|
|
23
23
|
};
|
|
24
24
|
className?: string;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime50.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
|
-
export { Hero };
|
|
28
|
-
//# sourceMappingURL=Hero.d.ts.map
|
|
27
|
+
export { Hero };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/marketing/PricingTable.d.ts
|
|
4
4
|
interface PricingTier {
|
|
@@ -19,7 +19,6 @@ declare function PricingTable({
|
|
|
19
19
|
}: {
|
|
20
20
|
tiers: PricingTier[];
|
|
21
21
|
className?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime62.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { PricingTable, PricingTier };
|
|
25
|
-
//# sourceMappingURL=PricingTable.d.ts.map
|
|
24
|
+
export { PricingTable, PricingTier };
|
package/dist/ui/menubar.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native46 from "react-native";
|
|
3
3
|
import { TextProps, View } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime126 from "react/jsx-runtime";
|
|
5
5
|
import * as MenubarPrimitive from "@rn-primitives/menubar";
|
|
6
6
|
|
|
7
7
|
//#region ui/menubar.d.ts
|
|
8
|
-
declare const MenubarMenu: React$1.ForwardRefExoticComponent<
|
|
8
|
+
declare const MenubarMenu: React$1.ForwardRefExoticComponent<react_native46.ViewProps & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
value: string | undefined;
|
|
12
12
|
} & React$1.RefAttributes<View>>;
|
|
13
|
-
declare const MenubarGroup: React$1.ForwardRefExoticComponent<
|
|
13
|
+
declare const MenubarGroup: React$1.ForwardRefExoticComponent<react_native46.ViewProps & {
|
|
14
14
|
asChild?: boolean;
|
|
15
15
|
} & React$1.RefAttributes<View>>;
|
|
16
16
|
declare const MenubarPortal: typeof MenubarPrimitive.Portal;
|
|
17
|
-
declare const MenubarSub: React$1.ForwardRefExoticComponent<
|
|
17
|
+
declare const MenubarSub: React$1.ForwardRefExoticComponent<react_native46.ViewProps & {
|
|
18
18
|
asChild?: boolean;
|
|
19
19
|
} & {
|
|
20
20
|
defaultOpen?: boolean;
|
|
21
21
|
open?: boolean;
|
|
22
22
|
onOpenChange?: (value: boolean) => void;
|
|
23
23
|
} & React$1.RefAttributes<View>>;
|
|
24
|
-
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<
|
|
24
|
+
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<react_native46.ViewProps & {
|
|
25
25
|
asChild?: boolean;
|
|
26
26
|
} & {
|
|
27
27
|
value: string | undefined;
|
|
@@ -32,13 +32,13 @@ declare function Menubar({
|
|
|
32
32
|
...props
|
|
33
33
|
}: MenubarPrimitive.RootProps & {
|
|
34
34
|
ref?: React$1.RefObject<MenubarPrimitive.RootRef>;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
36
36
|
declare function MenubarTrigger({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
39
|
}: MenubarPrimitive.TriggerProps & {
|
|
40
40
|
ref?: React$1.RefObject<MenubarPrimitive.TriggerRef>;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
42
42
|
declare function MenubarSubTrigger({
|
|
43
43
|
className,
|
|
44
44
|
inset,
|
|
@@ -49,13 +49,13 @@ declare function MenubarSubTrigger({
|
|
|
49
49
|
className?: string;
|
|
50
50
|
inset?: boolean;
|
|
51
51
|
children?: React$1.ReactNode;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
53
53
|
declare function MenubarSubContent({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
56
|
}: MenubarPrimitive.SubContentProps & {
|
|
57
57
|
ref?: React$1.RefObject<MenubarPrimitive.SubContentRef>;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
59
59
|
declare function MenubarContent({
|
|
60
60
|
className,
|
|
61
61
|
portalHost,
|
|
@@ -64,7 +64,7 @@ declare function MenubarContent({
|
|
|
64
64
|
ref?: React$1.RefObject<MenubarPrimitive.ContentRef>;
|
|
65
65
|
className?: string;
|
|
66
66
|
portalHost?: string;
|
|
67
|
-
}):
|
|
67
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
68
68
|
declare function MenubarItem({
|
|
69
69
|
className,
|
|
70
70
|
inset,
|
|
@@ -73,7 +73,7 @@ declare function MenubarItem({
|
|
|
73
73
|
ref?: React$1.RefObject<MenubarPrimitive.ItemRef>;
|
|
74
74
|
className?: string;
|
|
75
75
|
inset?: boolean;
|
|
76
|
-
}):
|
|
76
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
77
77
|
declare function MenubarCheckboxItem({
|
|
78
78
|
className,
|
|
79
79
|
children,
|
|
@@ -82,7 +82,7 @@ declare function MenubarCheckboxItem({
|
|
|
82
82
|
}: MenubarPrimitive.CheckboxItemProps & {
|
|
83
83
|
ref?: React$1.RefObject<MenubarPrimitive.CheckboxItemRef>;
|
|
84
84
|
children?: React$1.ReactNode;
|
|
85
|
-
}):
|
|
85
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
86
86
|
declare function MenubarRadioItem({
|
|
87
87
|
className,
|
|
88
88
|
children,
|
|
@@ -90,7 +90,7 @@ declare function MenubarRadioItem({
|
|
|
90
90
|
}: MenubarPrimitive.RadioItemProps & {
|
|
91
91
|
ref?: React$1.RefObject<MenubarPrimitive.RadioItemRef>;
|
|
92
92
|
children?: React$1.ReactNode;
|
|
93
|
-
}):
|
|
93
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
94
94
|
declare function MenubarLabel({
|
|
95
95
|
className,
|
|
96
96
|
inset,
|
|
@@ -99,17 +99,16 @@ declare function MenubarLabel({
|
|
|
99
99
|
ref?: React$1.RefObject<MenubarPrimitive.LabelRef>;
|
|
100
100
|
className?: string;
|
|
101
101
|
inset?: boolean;
|
|
102
|
-
}):
|
|
102
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
103
103
|
declare function MenubarSeparator({
|
|
104
104
|
className,
|
|
105
105
|
...props
|
|
106
106
|
}: MenubarPrimitive.SeparatorProps & {
|
|
107
107
|
ref?: React$1.RefObject<MenubarPrimitive.SeparatorRef>;
|
|
108
|
-
}):
|
|
108
|
+
}): react_jsx_runtime126.JSX.Element;
|
|
109
109
|
declare function MenubarShortcut({
|
|
110
110
|
className,
|
|
111
111
|
...props
|
|
112
|
-
}: TextProps):
|
|
112
|
+
}: TextProps): react_jsx_runtime126.JSX.Element;
|
|
113
113
|
//#endregion
|
|
114
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
115
|
-
//# sourceMappingURL=menubar.d.ts.map
|
|
114
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
package/dist/ui/menubar.js
CHANGED
|
@@ -15,13 +15,13 @@ const MenubarGroup = MenubarPrimitive.Group;
|
|
|
15
15
|
const MenubarPortal = MenubarPrimitive.Portal;
|
|
16
16
|
const MenubarSub = MenubarPrimitive.Sub;
|
|
17
17
|
const MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
18
|
-
function Menubar({ className
|
|
18
|
+
function Menubar({ className, ...props }) {
|
|
19
19
|
return /* @__PURE__ */ jsx(MenubarPrimitive.Root, {
|
|
20
20
|
className: cn("native:h-12 border-border bg-background flex h-10 flex-row items-center gap-x-1 rounded-md border p-1", className),
|
|
21
21
|
...props
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
function MenubarTrigger({ className
|
|
24
|
+
function MenubarTrigger({ className, ...props }) {
|
|
25
25
|
const { value } = MenubarPrimitive.useRootContext();
|
|
26
26
|
const { value: itemValue } = MenubarPrimitive.useMenuContext();
|
|
27
27
|
return /* @__PURE__ */ jsx(MenubarPrimitive.Trigger, {
|
|
@@ -29,7 +29,7 @@ function MenubarTrigger({ className,...props }) {
|
|
|
29
29
|
...props
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
function MenubarSubTrigger({ className, inset, children
|
|
32
|
+
function MenubarSubTrigger({ className, inset, children, ...props }) {
|
|
33
33
|
const { open } = MenubarPrimitive.useSubContext();
|
|
34
34
|
const Icon = Platform.OS === "web" ? ChevronRight : open ? ChevronUp : ChevronDown;
|
|
35
35
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
@@ -44,14 +44,14 @@ function MenubarSubTrigger({ className, inset, children,...props }) {
|
|
|
44
44
|
})
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
function MenubarSubContent({ className
|
|
47
|
+
function MenubarSubContent({ className, ...props }) {
|
|
48
48
|
const { open } = MenubarPrimitive.useSubContext();
|
|
49
49
|
return /* @__PURE__ */ jsx(MenubarPrimitive.SubContent, {
|
|
50
50
|
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),
|
|
51
51
|
...props
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
function MenubarContent({ className, portalHost
|
|
54
|
+
function MenubarContent({ className, portalHost, ...props }) {
|
|
55
55
|
const { value } = MenubarPrimitive.useRootContext();
|
|
56
56
|
const { value: itemValue } = MenubarPrimitive.useMenuContext();
|
|
57
57
|
return /* @__PURE__ */ jsx(MenubarPrimitive.Portal, {
|
|
@@ -62,7 +62,7 @@ function MenubarContent({ className, portalHost,...props }) {
|
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function MenubarItem({ className, inset
|
|
65
|
+
function MenubarItem({ className, inset, ...props }) {
|
|
66
66
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
67
67
|
value: "select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground",
|
|
68
68
|
children: /* @__PURE__ */ jsx(MenubarPrimitive.Item, {
|
|
@@ -71,7 +71,7 @@ function MenubarItem({ className, inset,...props }) {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function MenubarCheckboxItem({ className, children, checked
|
|
74
|
+
function MenubarCheckboxItem({ className, children, checked, ...props }) {
|
|
75
75
|
return /* @__PURE__ */ jsxs(MenubarPrimitive.CheckboxItem, {
|
|
76
76
|
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),
|
|
77
77
|
checked,
|
|
@@ -86,7 +86,7 @@ function MenubarCheckboxItem({ className, children, checked,...props }) {
|
|
|
86
86
|
}), children]
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
function MenubarRadioItem({ className, children
|
|
89
|
+
function MenubarRadioItem({ className, children, ...props }) {
|
|
90
90
|
return /* @__PURE__ */ jsxs(MenubarPrimitive.RadioItem, {
|
|
91
91
|
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),
|
|
92
92
|
...props,
|
|
@@ -96,19 +96,19 @@ function MenubarRadioItem({ className, children,...props }) {
|
|
|
96
96
|
}), children]
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
function MenubarLabel({ className, inset
|
|
99
|
+
function MenubarLabel({ className, inset, ...props }) {
|
|
100
100
|
return /* @__PURE__ */ jsx(MenubarPrimitive.Label, {
|
|
101
101
|
className: cn("native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
|
|
102
102
|
...props
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
function MenubarSeparator({ className
|
|
105
|
+
function MenubarSeparator({ className, ...props }) {
|
|
106
106
|
return /* @__PURE__ */ jsx(MenubarPrimitive.Separator, {
|
|
107
107
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
108
108
|
...props
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
function MenubarShortcut({ className
|
|
111
|
+
function MenubarShortcut({ className, ...props }) {
|
|
112
112
|
return /* @__PURE__ */ jsx(Text, {
|
|
113
113
|
className: cn("native:text-sm text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
114
114
|
...props
|
|
@@ -116,5 +116,4 @@ function MenubarShortcut({ className,...props }) {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
//#endregion
|
|
119
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
120
|
-
//# sourceMappingURL=menubar.js.map
|
|
119
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|