@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/card.js
CHANGED
|
@@ -5,19 +5,19 @@ import { Text, View } from "react-native";
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region ui/card.tsx
|
|
8
|
-
function Card({ className
|
|
8
|
+
function Card({ className, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ jsx(View, {
|
|
10
10
|
className: cn("border-border bg-card shadow-foreground/10 rounded-lg border shadow-2xs", className),
|
|
11
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
function CardHeader({ className
|
|
14
|
+
function CardHeader({ className, ...props }) {
|
|
15
15
|
return /* @__PURE__ */ jsx(View, {
|
|
16
16
|
className: cn("flex flex-col gap-y-1.5 p-6", className),
|
|
17
17
|
...props
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
function CardTitle({ className
|
|
20
|
+
function CardTitle({ className, ...props }) {
|
|
21
21
|
return /* @__PURE__ */ jsx(Text, {
|
|
22
22
|
role: "heading",
|
|
23
23
|
"aria-level": 3,
|
|
@@ -25,13 +25,13 @@ function CardTitle({ className,...props }) {
|
|
|
25
25
|
...props
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
function CardDescription({ className
|
|
28
|
+
function CardDescription({ className, ...props }) {
|
|
29
29
|
return /* @__PURE__ */ jsx(Text, {
|
|
30
30
|
className: cn("text-muted-foreground text-sm", className),
|
|
31
31
|
...props
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
function CardContent({ className
|
|
34
|
+
function CardContent({ className, ...props }) {
|
|
35
35
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
36
36
|
value: "text-card-foreground",
|
|
37
37
|
children: /* @__PURE__ */ jsx(View, {
|
|
@@ -40,7 +40,7 @@ function CardContent({ className,...props }) {
|
|
|
40
40
|
})
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
function CardFooter({ className
|
|
43
|
+
function CardFooter({ className, ...props }) {
|
|
44
44
|
return /* @__PURE__ */ jsx(View, {
|
|
45
45
|
className: cn("flex flex-row items-center p-6 pt-0", className),
|
|
46
46
|
...props
|
|
@@ -48,5 +48,4 @@ function CardFooter({ className,...props }) {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
//#endregion
|
|
51
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
52
|
-
//# sourceMappingURL=card.js.map
|
|
51
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/ui/carousel.d.ts
CHANGED
package/dist/ui/carousel.js
CHANGED
package/dist/ui/checkbox.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native14 from "react-native";
|
|
3
3
|
|
|
4
4
|
//#region ui/checkbox.d.ts
|
|
5
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
5
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native14.PressableProps & React$1.RefAttributes<react_native14.View>, "ref"> & {
|
|
6
6
|
asChild?: boolean;
|
|
7
7
|
} & {
|
|
8
8
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -11,7 +11,6 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native
|
|
|
11
11
|
checked: boolean;
|
|
12
12
|
onCheckedChange: (checked: boolean) => void;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<
|
|
14
|
+
} & React$1.RefAttributes<react_native14.View>, "ref"> & React$1.RefAttributes<react_native14.View>>;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { Checkbox };
|
|
17
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
16
|
+
export { Checkbox };
|
package/dist/ui/checkbox.js
CHANGED
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import * as CheckboxPrimitive from "@rn-primitives/checkbox";
|
|
6
6
|
|
|
7
7
|
//#region ui/checkbox.tsx
|
|
8
|
-
const Checkbox = React$1.forwardRef(({ className
|
|
8
|
+
const Checkbox = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
9
9
|
ref,
|
|
10
10
|
className: cn("web:peer border-primary 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-4 w-4 shrink-0 rounded-xs border disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
11
11
|
...props,
|
|
@@ -17,5 +17,4 @@ const Checkbox = React$1.forwardRef(({ className,...props }, ref) => /* @__PURE_
|
|
|
17
17
|
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Checkbox };
|
|
21
|
-
//# sourceMappingURL=checkbox.js.map
|
|
20
|
+
export { Checkbox };
|
package/dist/ui/collapsible.d.ts
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import * as react1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native18 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types1 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/collapsible.d.ts
|
|
6
|
-
declare const Collapsible: react1.ForwardRefExoticComponent<
|
|
6
|
+
declare const Collapsible: react1.ForwardRefExoticComponent<react_native18.ViewProps & {
|
|
7
7
|
asChild?: boolean;
|
|
8
8
|
} & {
|
|
9
9
|
open?: boolean;
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
disabled?: boolean;
|
|
13
|
-
} & react1.RefAttributes<
|
|
14
|
-
declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<
|
|
13
|
+
} & react1.RefAttributes<react_native18.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<react_native18.PressableProps & react1.RefAttributes<react_native18.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
18
|
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
} & react1.RefAttributes<
|
|
20
|
-
declare const CollapsibleContent: react1.ForwardRefExoticComponent<
|
|
19
|
+
} & react1.RefAttributes<react_native18.View>>;
|
|
20
|
+
declare const CollapsibleContent: react1.ForwardRefExoticComponent<_rn_primitives_types1.ForceMountable & react_native18.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
} & react1.RefAttributes<
|
|
22
|
+
} & react1.RefAttributes<react_native18.View>>;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
25
|
-
//# sourceMappingURL=collapsible.d.ts.map
|
|
24
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
package/dist/ui/collapsible.js
CHANGED
|
@@ -6,5 +6,4 @@ const CollapsibleTrigger = CollapsiblePrimitive.Trigger;
|
|
|
6
6
|
const CollapsibleContent = CollapsiblePrimitive.Content;
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
10
|
-
//# sourceMappingURL=collapsible.js.map
|
|
9
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
package/dist/ui/command.d.ts
CHANGED
package/dist/ui/command.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native30 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime63 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_native30.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_native30.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_native30.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_native30.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_native30.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_runtime63.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_runtime63.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_runtime63.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_runtime63.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_runtime63.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_runtime63.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_runtime63.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_runtime63.JSX.Element;
|
|
104
104
|
declare function ContextMenuShortcut({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: TextProps):
|
|
107
|
+
}: TextProps): react_jsx_runtime63.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_runtime73 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_runtime73.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_runtime76 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_runtime76.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_runtime77 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_runtime77.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_native35 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime78 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_native35.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_native35.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_runtime78.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_runtime78.JSX.Element;
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: ViewProps):
|
|
50
|
+
}: ViewProps): react_jsx_runtime78.JSX.Element;
|
|
51
51
|
declare function DialogFooter({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: ViewProps):
|
|
54
|
+
}: ViewProps): react_jsx_runtime78.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_runtime78.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_runtime78.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 };
|