@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/sheet.js
CHANGED
package/dist/ui/sidebar.d.ts
CHANGED
package/dist/ui/sidebar.js
CHANGED
package/dist/ui/skeleton.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/skeleton.d.ts
|
|
6
6
|
declare function Skeleton({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: Omit<React$1.ComponentPropsWithoutRef<typeof View>, 'style'>):
|
|
9
|
+
}: Omit<React$1.ComponentPropsWithoutRef<typeof View>, 'style'>): react_jsx_runtime158.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { Skeleton };
|
|
12
|
-
//# sourceMappingURL=skeleton.d.ts.map
|
|
11
|
+
export { Skeleton };
|
package/dist/ui/skeleton.js
CHANGED
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region ui/skeleton.tsx
|
|
8
8
|
const duration = 1e3;
|
|
9
|
-
function Skeleton({ className
|
|
9
|
+
function Skeleton({ className, ...props }) {
|
|
10
10
|
const sv = useSharedValue(1);
|
|
11
11
|
React$1.useEffect(() => {
|
|
12
12
|
sv.value = withRepeat(withSequence(withTiming(.5, { duration }), withTiming(1, { duration })), -1);
|
|
@@ -20,5 +20,4 @@ function Skeleton({ className,...props }) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Skeleton };
|
|
24
|
-
//# sourceMappingURL=skeleton.js.map
|
|
23
|
+
export { Skeleton };
|
package/dist/ui/stack.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View, ViewProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/stack.d.ts
|
|
8
8
|
declare const vStackVariants: (props?: ({
|
|
9
|
-
spacing?: "sm" | "
|
|
9
|
+
spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
10
10
|
align?: "stretch" | "start" | "center" | "end" | null | undefined;
|
|
11
11
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
12
12
|
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
13
|
-
padding?: "sm" | "
|
|
14
|
-
gap?: "sm" | "
|
|
15
|
-
} &
|
|
13
|
+
padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
14
|
+
gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
16
16
|
declare const hStackVariants: (props?: ({
|
|
17
|
-
spacing?: "sm" | "
|
|
17
|
+
spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
18
18
|
align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
|
|
19
19
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
20
20
|
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
21
|
-
padding?: "sm" | "
|
|
22
|
-
gap?: "sm" | "
|
|
21
|
+
padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
22
|
+
gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
23
23
|
wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
|
|
24
|
-
} &
|
|
24
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
25
25
|
declare const boxVariants: (props?: ({
|
|
26
|
-
spacing?: "sm" | "
|
|
26
|
+
spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
27
27
|
align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
|
|
28
28
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
29
29
|
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
30
|
-
padding?: "sm" | "
|
|
31
|
-
gap?: "sm" | "
|
|
30
|
+
padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
31
|
+
gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
|
|
32
32
|
wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
|
|
33
|
-
} &
|
|
33
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
34
34
|
type BoxProps = ViewProps & VariantProps<typeof boxVariants> & {
|
|
35
35
|
ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
|
|
36
36
|
};
|
|
@@ -50,7 +50,7 @@ declare function Box({
|
|
|
50
50
|
gap,
|
|
51
51
|
wrap,
|
|
52
52
|
...props
|
|
53
|
-
}: BoxProps):
|
|
53
|
+
}: BoxProps): react_jsx_runtime159.JSX.Element;
|
|
54
54
|
declare function HStack({
|
|
55
55
|
className,
|
|
56
56
|
spacing,
|
|
@@ -61,7 +61,7 @@ declare function HStack({
|
|
|
61
61
|
gap,
|
|
62
62
|
wrap,
|
|
63
63
|
...props
|
|
64
|
-
}: HStackProps):
|
|
64
|
+
}: HStackProps): react_jsx_runtime159.JSX.Element;
|
|
65
65
|
declare function VStack({
|
|
66
66
|
className,
|
|
67
67
|
spacing,
|
|
@@ -71,7 +71,6 @@ declare function VStack({
|
|
|
71
71
|
padding,
|
|
72
72
|
gap,
|
|
73
73
|
...props
|
|
74
|
-
}: VStackProps):
|
|
74
|
+
}: VStackProps): react_jsx_runtime159.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
|
-
export { Box, type BoxProps, HStack, type HStackProps, VStack, type VStackProps };
|
|
77
|
-
//# sourceMappingURL=stack.d.ts.map
|
|
76
|
+
export { Box, type BoxProps, HStack, type HStackProps, VStack, type VStackProps };
|
package/dist/ui/stack.js
CHANGED
|
@@ -191,7 +191,7 @@ const boxVariants = cva([baseStyle, "flex-row"], {
|
|
|
191
191
|
wrap: "wrap"
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
|
-
function Box({ className, spacing, align, justify, width, padding, gap, wrap
|
|
194
|
+
function Box({ className, spacing, align, justify, width, padding, gap, wrap, ...props }) {
|
|
195
195
|
return /* @__PURE__ */ jsx(View, {
|
|
196
196
|
className: cn(boxVariants({
|
|
197
197
|
spacing,
|
|
@@ -205,7 +205,7 @@ function Box({ className, spacing, align, justify, width, padding, gap, wrap,...
|
|
|
205
205
|
...props
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function HStack({ className, spacing, align, justify, width, padding, gap, wrap
|
|
208
|
+
function HStack({ className, spacing, align, justify, width, padding, gap, wrap, ...props }) {
|
|
209
209
|
return /* @__PURE__ */ jsx(View, {
|
|
210
210
|
className: cn(hStackVariants({
|
|
211
211
|
spacing,
|
|
@@ -219,7 +219,7 @@ function HStack({ className, spacing, align, justify, width, padding, gap, wrap,
|
|
|
219
219
|
...props
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
|
-
function VStack({ className, spacing, align, justify, width, padding, gap
|
|
222
|
+
function VStack({ className, spacing, align, justify, width, padding, gap, ...props }) {
|
|
223
223
|
return /* @__PURE__ */ jsx(View, {
|
|
224
224
|
className: cn(vStackVariants({
|
|
225
225
|
spacing,
|
|
@@ -234,5 +234,4 @@ function VStack({ className, spacing, align, justify, width, padding, gap,...pro
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
//#endregion
|
|
237
|
-
export { Box, HStack, VStack };
|
|
238
|
-
//# sourceMappingURL=stack.js.map
|
|
237
|
+
export { Box, HStack, VStack };
|
package/dist/ui/stepper.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/stepper.d.ts
|
|
6
6
|
declare const dotVariants: (props?: ({
|
|
7
7
|
state?: "active" | "inactive" | null | undefined;
|
|
8
8
|
size?: "sm" | "md" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
interface StepperProps extends VariantProps<typeof dotVariants> {
|
|
11
11
|
current: number;
|
|
12
12
|
total: number;
|
|
@@ -17,7 +17,6 @@ declare function Stepper({
|
|
|
17
17
|
total,
|
|
18
18
|
size,
|
|
19
19
|
className
|
|
20
|
-
}: StepperProps):
|
|
20
|
+
}: StepperProps): react_jsx_runtime14.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { Stepper, StepperProps };
|
|
23
|
-
//# sourceMappingURL=stepper.d.ts.map
|
|
22
|
+
export { Stepper, StepperProps };
|
package/dist/ui/stepper.js
CHANGED
package/dist/ui/switch.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
import * as SwitchPrimitives from "@rn-primitives/switch";
|
|
4
4
|
|
|
5
5
|
//#region ui/switch.d.ts
|
|
@@ -8,8 +8,7 @@ declare function SwitchNative({
|
|
|
8
8
|
...props
|
|
9
9
|
}: SwitchPrimitives.RootProps & {
|
|
10
10
|
ref?: React$1.RefObject<SwitchPrimitives.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime18.JSX.Element;
|
|
12
12
|
declare const Switch: typeof SwitchNative;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { Switch };
|
|
15
|
-
//# sourceMappingURL=switch.d.ts.map
|
|
14
|
+
export { Switch };
|
package/dist/ui/switch.js
CHANGED
|
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
import * as SwitchPrimitives from "@rn-primitives/switch";
|
|
8
8
|
|
|
9
9
|
//#region ui/switch.tsx
|
|
10
|
-
function SwitchWeb({ className
|
|
10
|
+
function SwitchWeb({ className, ...props }) {
|
|
11
11
|
return /* @__PURE__ */ jsx(SwitchPrimitives.Root, {
|
|
12
12
|
className: cn("peer focus-visible:ring-ring focus-visible:ring-offset-background h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed", props.checked ? "bg-primary" : "bg-input", props.disabled && "opacity-50", className),
|
|
13
13
|
...props,
|
|
@@ -24,7 +24,7 @@ const RGB_COLORS = {
|
|
|
24
24
|
input: "rgb(39, 39, 42)"
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
function SwitchNative({ className
|
|
27
|
+
function SwitchNative({ className, ...props }) {
|
|
28
28
|
const { colorScheme } = useColorScheme();
|
|
29
29
|
const translateX = useDerivedValue(() => props.checked ? 18 : 0);
|
|
30
30
|
const animatedRootStyle = useAnimatedStyle(() => {
|
|
@@ -50,5 +50,4 @@ const Switch = Platform.select({
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
//#endregion
|
|
53
|
-
export { Switch };
|
|
54
|
-
//# sourceMappingURL=switch.js.map
|
|
53
|
+
export { Switch };
|
package/dist/ui/table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
3
3
|
import * as TablePrimitive from "@rn-primitives/table";
|
|
4
4
|
|
|
5
5
|
//#region ui/table.d.ts
|
|
@@ -8,44 +8,43 @@ declare function Table({
|
|
|
8
8
|
...props
|
|
9
9
|
}: TablePrimitive.RootProps & {
|
|
10
10
|
ref?: React$1.RefObject<TablePrimitive.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
12
12
|
declare function TableHeader({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
15
|
}: TablePrimitive.HeaderProps & {
|
|
16
16
|
ref?: React$1.RefObject<TablePrimitive.HeaderRef>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
18
18
|
declare function TableBody({
|
|
19
19
|
className,
|
|
20
20
|
style,
|
|
21
21
|
...props
|
|
22
22
|
}: TablePrimitive.BodyProps & {
|
|
23
23
|
ref?: React$1.RefObject<TablePrimitive.BodyRef>;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
25
25
|
declare function TableFooter({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
28
|
}: TablePrimitive.FooterProps & {
|
|
29
29
|
ref?: React$1.RefObject<TablePrimitive.FooterRef>;
|
|
30
|
-
}):
|
|
30
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
31
31
|
declare function TableRow({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
34
|
}: TablePrimitive.RowProps & {
|
|
35
35
|
ref?: React$1.RefObject<TablePrimitive.RowRef>;
|
|
36
|
-
}):
|
|
36
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
37
37
|
declare function TableHead({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
40
|
}: TablePrimitive.HeadProps & {
|
|
41
41
|
ref?: React$1.RefObject<TablePrimitive.HeadRef>;
|
|
42
|
-
}):
|
|
42
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
43
43
|
declare function TableCell({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
46
|
}: TablePrimitive.CellProps & {
|
|
47
47
|
ref?: React$1.RefObject<TablePrimitive.CellRef>;
|
|
48
|
-
}):
|
|
48
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
|
-
export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
51
|
-
//# sourceMappingURL=table.d.ts.map
|
|
50
|
+
export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/ui/table.js
CHANGED
|
@@ -5,38 +5,38 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import * as TablePrimitive from "@rn-primitives/table";
|
|
6
6
|
|
|
7
7
|
//#region ui/table.tsx
|
|
8
|
-
function Table({ className
|
|
8
|
+
function Table({ className, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ jsx(TablePrimitive.Root, {
|
|
10
10
|
className: cn("w-full caption-bottom text-sm", className),
|
|
11
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
function TableHeader({ className
|
|
14
|
+
function TableHeader({ className, ...props }) {
|
|
15
15
|
return /* @__PURE__ */ jsx(TablePrimitive.Header, {
|
|
16
16
|
className: cn("border-border [&_tr]:border-b", className),
|
|
17
17
|
...props
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
function TableBody({ className, style
|
|
20
|
+
function TableBody({ className, style, ...props }) {
|
|
21
21
|
return /* @__PURE__ */ jsx(TablePrimitive.Body, {
|
|
22
22
|
className: cn("border-border flex-1 [&_tr:last-child]:border-0", className),
|
|
23
23
|
style: [{ minHeight: 2 }, style],
|
|
24
24
|
...props
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
function TableFooter({ className
|
|
27
|
+
function TableFooter({ className, ...props }) {
|
|
28
28
|
return /* @__PURE__ */ jsx(TablePrimitive.Footer, {
|
|
29
29
|
className: cn("bg-muted/50 font-medium [&>tr]:last:border-b-0", className),
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
function TableRow({ className
|
|
33
|
+
function TableRow({ className, ...props }) {
|
|
34
34
|
return /* @__PURE__ */ jsx(TablePrimitive.Row, {
|
|
35
35
|
className: cn("border-border web:transition-colors web:hover:bg-muted/50 web:data-[state=selected]:bg-muted flex-row border-b", className),
|
|
36
36
|
...props
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
function TableHead({ className
|
|
39
|
+
function TableHead({ className, ...props }) {
|
|
40
40
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
41
41
|
value: "text-muted-foreground",
|
|
42
42
|
children: /* @__PURE__ */ jsx(TablePrimitive.Head, {
|
|
@@ -45,7 +45,7 @@ function TableHead({ className,...props }) {
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
function TableCell({ className
|
|
48
|
+
function TableCell({ className, ...props }) {
|
|
49
49
|
return /* @__PURE__ */ jsx(TablePrimitive.Cell, {
|
|
50
50
|
className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
|
|
51
51
|
...props
|
|
@@ -53,5 +53,4 @@ function TableCell({ className,...props }) {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
//#endregion
|
|
56
|
-
export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
57
|
-
//# sourceMappingURL=table.js.map
|
|
56
|
+
export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/ui/tabs.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native2 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/tabs.d.ts
|
|
6
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<
|
|
6
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<react_native2.ViewProps & {
|
|
7
7
|
asChild?: boolean;
|
|
8
8
|
} & {
|
|
9
9
|
value: string;
|
|
@@ -11,23 +11,22 @@ declare const Tabs: React$1.ForwardRefExoticComponent<react_native43.ViewProps &
|
|
|
11
11
|
orientation?: "horizontal" | "vertical";
|
|
12
12
|
dir?: "ltr" | "rtl";
|
|
13
13
|
activationMode?: "automatic" | "manual";
|
|
14
|
-
} & React$1.RefAttributes<
|
|
15
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<
|
|
14
|
+
} & React$1.RefAttributes<react_native2.View>>;
|
|
15
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<react_native2.ViewProps & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
} & React$1.RefAttributes<
|
|
18
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
17
|
+
} & React$1.RefAttributes<react_native2.View>, "ref"> & React$1.RefAttributes<react_native2.View>>;
|
|
18
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<react_native2.PressableProps & React$1.RefAttributes<react_native2.View>, "ref"> & {
|
|
19
19
|
asChild?: boolean;
|
|
20
20
|
} & {
|
|
21
21
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
22
22
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
23
23
|
} & {
|
|
24
24
|
value: string;
|
|
25
|
-
} & React$1.RefAttributes<
|
|
26
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<
|
|
25
|
+
} & React$1.RefAttributes<react_native2.View>, "ref"> & React$1.RefAttributes<react_native2.View>>;
|
|
26
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<react_native2.ViewProps & {
|
|
27
27
|
asChild?: boolean;
|
|
28
|
-
} &
|
|
28
|
+
} & _rn_primitives_types0.ForceMountable & {
|
|
29
29
|
value: string;
|
|
30
|
-
} & React$1.RefAttributes<
|
|
30
|
+
} & React$1.RefAttributes<react_native2.View>, "ref"> & React$1.RefAttributes<react_native2.View>>;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
33
|
-
//# sourceMappingURL=tabs.d.ts.map
|
|
32
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
package/dist/ui/tabs.js
CHANGED
|
@@ -5,19 +5,19 @@ import * as TabsPrimitive from "@rn-primitives/tabs";
|
|
|
5
5
|
|
|
6
6
|
//#region ui/tabs.tsx
|
|
7
7
|
const Tabs = TabsPrimitive.Root;
|
|
8
|
-
const TabsList = React$1.forwardRef(({ className
|
|
8
|
+
const TabsList = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, {
|
|
9
9
|
ref,
|
|
10
10
|
className: cn("bg-muted text-muted-foreground web:inline-flex h-10 items-center justify-center rounded-md p-1", className),
|
|
11
11
|
...props
|
|
12
12
|
}));
|
|
13
13
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
14
|
-
const TabsTrigger = React$1.forwardRef(({ className
|
|
14
|
+
const TabsTrigger = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
|
|
15
15
|
ref,
|
|
16
16
|
className: cn("web:inline-flex web:whitespace-nowrap web:ring-offset-background web:transition-all web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 items-center justify-center rounded-xs px-3 py-1.5 text-sm font-medium disabled:pointer-events-none disabled:opacity-50", "data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-2xs", className),
|
|
17
17
|
...props
|
|
18
18
|
}));
|
|
19
19
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
20
|
-
const TabsContent = React$1.forwardRef(({ className
|
|
20
|
+
const TabsContent = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, {
|
|
21
21
|
ref,
|
|
22
22
|
className: cn("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", className),
|
|
23
23
|
...props
|
|
@@ -25,5 +25,4 @@ const TabsContent = React$1.forwardRef(({ className,...props }, ref) => /* @__PU
|
|
|
25
25
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
29
|
-
//# sourceMappingURL=tabs.js.map
|
|
28
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
package/dist/ui/text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Text as Text$1 } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/text.d.ts
|
|
6
6
|
declare const TextClassContext: React$1.Context<string | undefined>;
|
|
@@ -15,7 +15,6 @@ declare function Text({
|
|
|
15
15
|
}: React$1.ComponentProps<typeof Text$1> & {
|
|
16
16
|
ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
|
|
17
17
|
asChild?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime34.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Text, TextClassContext, TextProps };
|
|
21
|
-
//# sourceMappingURL=text.d.ts.map
|
|
20
|
+
export { Text, TextClassContext, TextProps };
|
package/dist/ui/text.js
CHANGED
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region ui/text.tsx
|
|
8
8
|
const TextClassContext = React$1.createContext(void 0);
|
|
9
|
-
function Text({ className, asChild = false
|
|
9
|
+
function Text({ className, asChild = false, ...props }) {
|
|
10
10
|
const textClass = React$1.useContext(TextClassContext);
|
|
11
11
|
return /* @__PURE__ */ jsx(asChild ? Slot.Text : Text$1, {
|
|
12
12
|
className: cn("text-foreground web:select-text text-base", textClass, className),
|
|
@@ -15,5 +15,4 @@ function Text({ className, asChild = false,...props }) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { Text, TextClassContext };
|
|
19
|
-
//# sourceMappingURL=text.js.map
|
|
18
|
+
export { Text, TextClassContext };
|
package/dist/ui/textarea.d.ts
CHANGED
package/dist/ui/textarea.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/textarea.tsx
|
|
7
|
-
const Textarea = React$1.forwardRef(({ className, placeholderClassName
|
|
7
|
+
const Textarea = React$1.forwardRef(({ className, placeholderClassName, ...props }, ref) => {
|
|
8
8
|
return /* @__PURE__ */ jsx(TextInput, {
|
|
9
9
|
ref,
|
|
10
10
|
className: cn("native:text-lg native:leading-tight border-input bg-background text-foreground placeholder:text-muted-foreground web:flex 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 min-h-[80px] w-full rounded-md border px-3 py-2 text-base file:border-0 file:bg-transparent file:font-medium lg:text-sm", props.editable === false && "web:cursor-not-allowed opacity-50", className),
|
|
@@ -16,5 +16,4 @@ const Textarea = React$1.forwardRef(({ className, placeholderClassName,...props
|
|
|
16
16
|
Textarea.displayName = "Textarea";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
|
-
export { Textarea };
|
|
20
|
-
//# sourceMappingURL=textarea.js.map
|
|
19
|
+
export { Textarea };
|
package/dist/ui/time-picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/time-picker.d.ts
|
|
4
4
|
interface TimePickerProps {
|
|
@@ -16,7 +16,6 @@ declare function TimePicker({
|
|
|
16
16
|
placeholder,
|
|
17
17
|
is24Hour,
|
|
18
18
|
className
|
|
19
|
-
}: TimePickerProps):
|
|
19
|
+
}: TimePickerProps): react_jsx_runtime36.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
|
-
export { TimePicker, TimePickerProps };
|
|
22
|
-
//# sourceMappingURL=time-picker.d.ts.map
|
|
21
|
+
export { TimePicker, TimePickerProps };
|
package/dist/ui/time-picker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { LucideIcon } from "lucide-react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
import * as ToggleGroupPrimitive from "@rn-primitives/toggle-group";
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ declare function ToggleGroup({
|
|
|
14
14
|
...props
|
|
15
15
|
}: ToggleGroupPrimitive.RootProps & VariantProps<typeof toggleVariants> & {
|
|
16
16
|
ref?: React$1.RefObject<ToggleGroupPrimitive.RootRef>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
18
18
|
declare function ToggleGroupItem({
|
|
19
19
|
className,
|
|
20
20
|
children,
|
|
@@ -23,14 +23,13 @@ declare function ToggleGroupItem({
|
|
|
23
23
|
...props
|
|
24
24
|
}: ToggleGroupPrimitive.ItemProps & VariantProps<typeof toggleVariants> & {
|
|
25
25
|
ref?: React$1.RefObject<ToggleGroupPrimitive.ItemRef>;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
27
27
|
declare function ToggleGroupIcon({
|
|
28
28
|
className,
|
|
29
29
|
icon: Icon,
|
|
30
30
|
...props
|
|
31
31
|
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
32
32
|
icon: LucideIcon;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
|
36
|
-
//# sourceMappingURL=toggle-group.d.ts.map
|
|
35
|
+
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
package/dist/ui/toggle-group.js
CHANGED
|
@@ -7,7 +7,7 @@ import * as ToggleGroupPrimitive from "@rn-primitives/toggle-group";
|
|
|
7
7
|
|
|
8
8
|
//#region ui/toggle-group.tsx
|
|
9
9
|
const ToggleGroupContext = React$1.createContext(null);
|
|
10
|
-
function ToggleGroup({ className, variant, size, children
|
|
10
|
+
function ToggleGroup({ className, variant, size, children, ...props }) {
|
|
11
11
|
return /* @__PURE__ */ jsx(ToggleGroupPrimitive.Root, {
|
|
12
12
|
className: cn("flex flex-row items-center justify-center gap-1", className),
|
|
13
13
|
...props,
|
|
@@ -25,7 +25,7 @@ function useToggleGroupContext() {
|
|
|
25
25
|
if (context === null) throw new Error("ToggleGroup compound components cannot be rendered outside the ToggleGroup component");
|
|
26
26
|
return context;
|
|
27
27
|
}
|
|
28
|
-
function ToggleGroupItem({ className, children, variant, size
|
|
28
|
+
function ToggleGroupItem({ className, children, variant, size, ...props }) {
|
|
29
29
|
const context = useToggleGroupContext();
|
|
30
30
|
const { value } = ToggleGroupPrimitive.useRootContext();
|
|
31
31
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
@@ -43,7 +43,7 @@ function ToggleGroupItem({ className, children, variant, size,...props }) {
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
function ToggleGroupIcon({ className, icon: Icon
|
|
46
|
+
function ToggleGroupIcon({ className, icon: Icon, ...props }) {
|
|
47
47
|
return /* @__PURE__ */ jsx(Icon, {
|
|
48
48
|
className: cn(React$1.useContext(TextClassContext), className),
|
|
49
49
|
...props
|
|
@@ -51,5 +51,4 @@ function ToggleGroupIcon({ className, icon: Icon,...props }) {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
//#endregion
|
|
54
|
-
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
|
55
|
-
//# sourceMappingURL=toggle-group.js.map
|
|
54
|
+
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
package/dist/ui/toggle.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { LucideIcon } from "lucide-react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as TogglePrimitive from "@rn-primitives/toggle";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region ui/toggle.d.ts
|
|
9
9
|
declare const toggleVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | null | undefined;
|
|
11
11
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
13
13
|
declare const toggleTextVariants: (props?: ({
|
|
14
14
|
variant?: "default" | "outline" | null | undefined;
|
|
15
15
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
17
17
|
declare function Toggle({
|
|
18
18
|
className,
|
|
19
19
|
variant,
|
|
@@ -21,14 +21,13 @@ declare function Toggle({
|
|
|
21
21
|
...props
|
|
22
22
|
}: TogglePrimitive.RootProps & VariantProps<typeof toggleVariants> & VariantProps<typeof toggleVariants> & {
|
|
23
23
|
ref?: React$1.RefObject<TogglePrimitive.RootRef>;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime46.JSX.Element;
|
|
25
25
|
declare function ToggleIcon({
|
|
26
26
|
className,
|
|
27
27
|
icon: Icon,
|
|
28
28
|
...props
|
|
29
29
|
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
30
30
|
icon: LucideIcon;
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime46.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
|
-
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
|
34
|
-
//# sourceMappingURL=toggle.d.ts.map
|
|
33
|
+
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|