@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
package/dist/ui/empty.d.ts
CHANGED
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
import { ViewProps } from "react-native";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty.d.ts
|
|
7
7
|
declare function Empty({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: ViewProps):
|
|
10
|
+
}: ViewProps): react_jsx_runtime59.JSX.Element;
|
|
11
11
|
declare function EmptyHeader({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: ViewProps):
|
|
14
|
+
}: ViewProps): react_jsx_runtime59.JSX.Element;
|
|
15
15
|
declare const emptyMediaVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "icon" | null | undefined;
|
|
17
|
-
} &
|
|
17
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
18
18
|
declare function EmptyMedia({
|
|
19
19
|
className,
|
|
20
20
|
variant,
|
|
21
21
|
...props
|
|
22
|
-
}: ViewProps & VariantProps<typeof emptyMediaVariants>):
|
|
22
|
+
}: ViewProps & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime59.JSX.Element;
|
|
23
23
|
declare function EmptyTitle({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: ViewProps):
|
|
26
|
+
}: ViewProps): react_jsx_runtime59.JSX.Element;
|
|
27
27
|
declare function EmptyDescription({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: ViewProps):
|
|
30
|
+
}: ViewProps): react_jsx_runtime59.JSX.Element;
|
|
31
31
|
declare function EmptyContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: ViewProps):
|
|
34
|
+
}: ViewProps): react_jsx_runtime59.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
37
|
-
//# sourceMappingURL=empty.d.ts.map
|
|
36
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/empty.js
CHANGED
|
@@ -4,14 +4,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty.tsx
|
|
7
|
-
function Empty({ className
|
|
7
|
+
function Empty({ className, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(View, {
|
|
9
9
|
"data-slot": "empty",
|
|
10
10
|
className: cn("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", className),
|
|
11
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
function EmptyHeader({ className
|
|
14
|
+
function EmptyHeader({ className, ...props }) {
|
|
15
15
|
return /* @__PURE__ */ jsx(View, {
|
|
16
16
|
"data-slot": "empty-header",
|
|
17
17
|
className: cn("flex max-w-sm flex-col items-center gap-2 text-center", className),
|
|
@@ -25,7 +25,7 @@ const emptyMediaVariants = cva("flex shrink-0 items-center justify-center mb-2 [
|
|
|
25
25
|
} },
|
|
26
26
|
defaultVariants: { variant: "default" }
|
|
27
27
|
});
|
|
28
|
-
function EmptyMedia({ className, variant = "default"
|
|
28
|
+
function EmptyMedia({ className, variant = "default", ...props }) {
|
|
29
29
|
return /* @__PURE__ */ jsx(View, {
|
|
30
30
|
"data-slot": "empty-icon",
|
|
31
31
|
"data-variant": variant,
|
|
@@ -36,21 +36,21 @@ function EmptyMedia({ className, variant = "default",...props }) {
|
|
|
36
36
|
...props
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
function EmptyTitle({ className
|
|
39
|
+
function EmptyTitle({ className, ...props }) {
|
|
40
40
|
return /* @__PURE__ */ jsx(View, {
|
|
41
41
|
"data-slot": "empty-title",
|
|
42
42
|
className: cn("text-lg font-medium tracking-tight", className),
|
|
43
43
|
...props
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
function EmptyDescription({ className
|
|
46
|
+
function EmptyDescription({ className, ...props }) {
|
|
47
47
|
return /* @__PURE__ */ jsx(View, {
|
|
48
48
|
"data-slot": "empty-description",
|
|
49
49
|
className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
|
|
50
50
|
...props
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
function EmptyContent({ className
|
|
53
|
+
function EmptyContent({ className, ...props }) {
|
|
54
54
|
return /* @__PURE__ */ jsx(View, {
|
|
55
55
|
"data-slot": "empty-content",
|
|
56
56
|
className: cn("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", className),
|
|
@@ -59,5 +59,4 @@ function EmptyContent({ className,...props }) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
63
|
-
//# sourceMappingURL=empty.js.map
|
|
62
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/fab.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/fab.d.ts
|
|
5
5
|
interface FABAction {
|
|
@@ -19,7 +19,7 @@ declare function FAB({
|
|
|
19
19
|
className,
|
|
20
20
|
mainIcon,
|
|
21
21
|
mainColor
|
|
22
|
-
}: FABProps):
|
|
22
|
+
}: FABProps): react_jsx_runtime160.JSX.Element;
|
|
23
23
|
declare function MiniFAB({
|
|
24
24
|
icon,
|
|
25
25
|
onPress,
|
|
@@ -30,7 +30,6 @@ declare function MiniFAB({
|
|
|
30
30
|
onPress: () => void;
|
|
31
31
|
className?: string;
|
|
32
32
|
color?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime160.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { FAB, MiniFAB };
|
|
36
|
-
//# sourceMappingURL=fab.d.ts.map
|
|
35
|
+
export { FAB, MiniFAB };
|
package/dist/ui/fab.js
CHANGED
package/dist/ui/field.d.ts
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
2
|
import { BoxProps } from "./stack.js";
|
|
3
3
|
import { TypographyProps } from "./typography.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region ui/field.d.ts
|
|
9
9
|
declare function FieldSet({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: BoxProps):
|
|
12
|
+
}: BoxProps): react_jsx_runtime118.JSX.Element;
|
|
13
13
|
declare function FieldLegend({
|
|
14
14
|
className,
|
|
15
15
|
variant,
|
|
16
16
|
...props
|
|
17
17
|
}: BoxProps & {
|
|
18
18
|
variant?: 'legend' | 'label';
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
20
20
|
declare function FieldGroup({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: BoxProps):
|
|
23
|
+
}: BoxProps): react_jsx_runtime118.JSX.Element;
|
|
24
24
|
declare const fieldVariants: (props?: ({
|
|
25
|
-
orientation?: "
|
|
26
|
-
} &
|
|
25
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
26
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
27
27
|
declare function Field({
|
|
28
28
|
className,
|
|
29
29
|
orientation,
|
|
30
30
|
...props
|
|
31
|
-
}: BoxProps & VariantProps<typeof fieldVariants>):
|
|
31
|
+
}: BoxProps & VariantProps<typeof fieldVariants>): react_jsx_runtime118.JSX.Element;
|
|
32
32
|
declare function FieldContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: BoxProps):
|
|
35
|
+
}: BoxProps): react_jsx_runtime118.JSX.Element;
|
|
36
36
|
declare function FieldLabel({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Label>):
|
|
39
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime118.JSX.Element;
|
|
40
40
|
declare function FieldTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: BoxProps):
|
|
43
|
+
}: BoxProps): react_jsx_runtime118.JSX.Element;
|
|
44
44
|
declare function FieldDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: TypographyProps):
|
|
47
|
+
}: TypographyProps): react_jsx_runtime118.JSX.Element;
|
|
48
48
|
declare function FieldSeparator({
|
|
49
49
|
children,
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
52
|
}: BoxProps & {
|
|
53
53
|
children?: React.ReactNode;
|
|
54
|
-
}):
|
|
54
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
55
55
|
declare function FieldError({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
@@ -61,7 +61,6 @@ declare function FieldError({
|
|
|
61
61
|
errors?: ({
|
|
62
62
|
message?: string;
|
|
63
63
|
} | undefined)[];
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime118.JSX.Element | null;
|
|
65
65
|
//#endregion
|
|
66
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
67
|
-
//# sourceMappingURL=field.d.ts.map
|
|
66
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
package/dist/ui/field.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { Box, VStack } from "./stack.js";
|
|
6
5
|
import { P } from "./typography.js";
|
|
@@ -11,14 +10,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
11
10
|
import { cva } from "class-variance-authority";
|
|
12
11
|
|
|
13
12
|
//#region ui/field.tsx
|
|
14
|
-
function FieldSet({ className
|
|
13
|
+
function FieldSet({ className, ...props }) {
|
|
15
14
|
return /* @__PURE__ */ jsx(Box, {
|
|
16
15
|
"data-slot": "field-set",
|
|
17
16
|
className: cn("flex flex-col gap-6", "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className),
|
|
18
17
|
...props
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
|
-
function FieldLegend({ className, variant = "legend"
|
|
20
|
+
function FieldLegend({ className, variant = "legend", ...props }) {
|
|
22
21
|
return /* @__PURE__ */ jsx(Box, {
|
|
23
22
|
"data-slot": "field-legend",
|
|
24
23
|
"data-variant": variant,
|
|
@@ -26,7 +25,7 @@ function FieldLegend({ className, variant = "legend",...props }) {
|
|
|
26
25
|
...props
|
|
27
26
|
});
|
|
28
27
|
}
|
|
29
|
-
function FieldGroup({ className
|
|
28
|
+
function FieldGroup({ className, ...props }) {
|
|
30
29
|
return /* @__PURE__ */ jsx(Box, {
|
|
31
30
|
"data-slot": "field-group",
|
|
32
31
|
className: cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 data-[slot=field-group]:*:gap-4", className),
|
|
@@ -49,7 +48,7 @@ const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:tex
|
|
|
49
48
|
} },
|
|
50
49
|
defaultVariants: { orientation: "vertical" }
|
|
51
50
|
});
|
|
52
|
-
function Field({ className, orientation = "vertical"
|
|
51
|
+
function Field({ className, orientation = "vertical", ...props }) {
|
|
53
52
|
return /* @__PURE__ */ jsx(Box, {
|
|
54
53
|
role: "group",
|
|
55
54
|
"data-slot": "field",
|
|
@@ -58,35 +57,35 @@ function Field({ className, orientation = "vertical",...props }) {
|
|
|
58
57
|
...props
|
|
59
58
|
});
|
|
60
59
|
}
|
|
61
|
-
function FieldContent({ className
|
|
60
|
+
function FieldContent({ className, ...props }) {
|
|
62
61
|
return /* @__PURE__ */ jsx(Box, {
|
|
63
62
|
"data-slot": "field-content",
|
|
64
63
|
className: cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", className),
|
|
65
64
|
...props
|
|
66
65
|
});
|
|
67
66
|
}
|
|
68
|
-
function FieldLabel({ className
|
|
67
|
+
function FieldLabel({ className, ...props }) {
|
|
69
68
|
return /* @__PURE__ */ jsx(Label, {
|
|
70
69
|
"data-slot": "field-label",
|
|
71
70
|
className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", className),
|
|
72
71
|
...props
|
|
73
72
|
});
|
|
74
73
|
}
|
|
75
|
-
function FieldTitle({ className
|
|
74
|
+
function FieldTitle({ className, ...props }) {
|
|
76
75
|
return /* @__PURE__ */ jsx(Box, {
|
|
77
76
|
"data-slot": "field-label",
|
|
78
77
|
className: cn("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", className),
|
|
79
78
|
...props
|
|
80
79
|
});
|
|
81
80
|
}
|
|
82
|
-
function FieldDescription({ className
|
|
81
|
+
function FieldDescription({ className, ...props }) {
|
|
83
82
|
return /* @__PURE__ */ jsx(P, {
|
|
84
83
|
"data-slot": "field-description",
|
|
85
84
|
className: cn("text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className),
|
|
86
85
|
...props
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
function FieldSeparator({ children, className
|
|
88
|
+
function FieldSeparator({ children, className, ...props }) {
|
|
90
89
|
return /* @__PURE__ */ jsxs(Box, {
|
|
91
90
|
"data-slot": "field-separator",
|
|
92
91
|
"data-content": !!children,
|
|
@@ -99,7 +98,7 @@ function FieldSeparator({ children, className,...props }) {
|
|
|
99
98
|
})]
|
|
100
99
|
});
|
|
101
100
|
}
|
|
102
|
-
function FieldError({ className, children, errors
|
|
101
|
+
function FieldError({ className, children, errors, ...props }) {
|
|
103
102
|
const content = useMemo(() => {
|
|
104
103
|
if (children) return children;
|
|
105
104
|
if (!errors?.length) return null;
|
|
@@ -120,5 +119,4 @@ function FieldError({ className, children, errors,...props }) {
|
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
//#endregion
|
|
123
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
124
|
-
//# sourceMappingURL=field.js.map
|
|
122
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { View } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
5
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
6
6
|
import { ControllerProps, FieldPath, FieldValues, UseFormReturn, useFieldArray, useForm } from "react-hook-form";
|
|
7
7
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -10,7 +10,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
|
|
|
10
10
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
11
11
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
12
12
|
...props
|
|
13
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
13
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime134.JSX.Element;
|
|
14
14
|
declare const useFormField: () => {
|
|
15
15
|
invalid: boolean;
|
|
16
16
|
isDirty: boolean;
|
|
@@ -26,25 +26,24 @@ declare const useFormField: () => {
|
|
|
26
26
|
declare function FormItem({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React$1.ComponentProps<'div'>):
|
|
29
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
30
30
|
declare function FormLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<typeof Label>):
|
|
33
|
+
}: React$1.ComponentProps<typeof Label>): react_jsx_runtime134.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
35
|
asChild,
|
|
36
36
|
...props
|
|
37
37
|
}: React$1.ComponentProps<typeof View> & {
|
|
38
38
|
asChild?: boolean;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime134.JSX.Element;
|
|
40
40
|
declare function FormDescription({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React$1.ComponentProps<'p'>):
|
|
43
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime134.JSX.Element;
|
|
44
44
|
declare function FormMessage({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React$1.ComponentProps<'p'>):
|
|
47
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime134.JSX.Element | null;
|
|
48
48
|
//#endregion
|
|
49
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
|
50
|
-
//# sourceMappingURL=form.d.ts.map
|
|
49
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
package/dist/ui/form.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { Label } from "./label.js";
|
|
6
5
|
import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "../node_modules/react-hook-form/dist/index.esm.js";
|
|
@@ -37,7 +36,7 @@ const useFormField = () => {
|
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
38
|
const FormItemContext = React$1.createContext({});
|
|
40
|
-
function FormItem({ className
|
|
39
|
+
function FormItem({ className, ...props }) {
|
|
41
40
|
const id = React$1.useId();
|
|
42
41
|
return /* @__PURE__ */ jsx(FormItemContext.Provider, {
|
|
43
42
|
value: { id },
|
|
@@ -48,7 +47,7 @@ function FormItem({ className,...props }) {
|
|
|
48
47
|
})
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
|
-
function FormLabel({ className
|
|
50
|
+
function FormLabel({ className, ...props }) {
|
|
52
51
|
const { error, formItemId } = useFormField();
|
|
53
52
|
return /* @__PURE__ */ jsx(Label, {
|
|
54
53
|
"data-slot": "form-label",
|
|
@@ -58,7 +57,7 @@ function FormLabel({ className,...props }) {
|
|
|
58
57
|
...props
|
|
59
58
|
});
|
|
60
59
|
}
|
|
61
|
-
function FormControl({ asChild = false
|
|
60
|
+
function FormControl({ asChild = false, ...props }) {
|
|
62
61
|
const Component = asChild ? Slot.Text : View;
|
|
63
62
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
64
63
|
return /* @__PURE__ */ jsx(Component, {
|
|
@@ -69,7 +68,7 @@ function FormControl({ asChild = false,...props }) {
|
|
|
69
68
|
...props
|
|
70
69
|
});
|
|
71
70
|
}
|
|
72
|
-
function FormDescription({ className
|
|
71
|
+
function FormDescription({ className, ...props }) {
|
|
73
72
|
const { formDescriptionId } = useFormField();
|
|
74
73
|
return /* @__PURE__ */ jsx("p", {
|
|
75
74
|
"data-slot": "form-description",
|
|
@@ -78,7 +77,7 @@ function FormDescription({ className,...props }) {
|
|
|
78
77
|
...props
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
|
-
function FormMessage({ className
|
|
80
|
+
function FormMessage({ className, ...props }) {
|
|
82
81
|
const { error, formMessageId } = useFormField();
|
|
83
82
|
const body = error ? String(error?.message ?? "") : props.children;
|
|
84
83
|
if (!body) return null;
|
|
@@ -92,5 +91,4 @@ function FormMessage({ className,...props }) {
|
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
//#endregion
|
|
95
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, a as zodResolver };
|
|
96
|
-
//# sourceMappingURL=form.js.map
|
|
94
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, a as zodResolver };
|
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_native48 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime140 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_native48.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_native48.View>>;
|
|
14
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native48.PressableProps & React$1.RefAttributes<react_native48.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_runtime140.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_runtime141 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_runtime141.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_runtime142 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_runtime142.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 };
|