@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/accordion.d.ts
CHANGED
|
@@ -32,5 +32,4 @@ declare function AccordionContent({
|
|
|
32
32
|
ref?: React$1.RefObject<AccordionPrimitive.ContentRef>;
|
|
33
33
|
}): react_jsx_runtime0.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
36
|
-
//# sourceMappingURL=accordion.d.ts.map
|
|
35
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
package/dist/ui/accordion.js
CHANGED
|
@@ -8,7 +8,7 @@ import Animated, { Extrapolation, FadeIn, FadeOutUp, LayoutAnimationConfig, Line
|
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region ui/accordion.tsx
|
|
11
|
-
function Accordion({ children
|
|
11
|
+
function Accordion({ children, ...props }) {
|
|
12
12
|
return /* @__PURE__ */ jsx(LayoutAnimationConfig, {
|
|
13
13
|
skipEntering: true,
|
|
14
14
|
children: /* @__PURE__ */ jsx(AccordionPrimitive.Root, {
|
|
@@ -21,7 +21,7 @@ function Accordion({ children,...props }) {
|
|
|
21
21
|
})
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
function AccordionItem({ className, value
|
|
24
|
+
function AccordionItem({ className, value, ...props }) {
|
|
25
25
|
return /* @__PURE__ */ jsx(Animated.View, {
|
|
26
26
|
className: "overflow-hidden",
|
|
27
27
|
layout: LinearTransition.duration(200),
|
|
@@ -33,7 +33,7 @@ function AccordionItem({ className, value,...props }) {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
const Trigger = Platform.OS === "web" ? View : Pressable;
|
|
36
|
-
function AccordionTrigger({ className, children
|
|
36
|
+
function AccordionTrigger({ className, children, ...props }) {
|
|
37
37
|
const { isExpanded } = AccordionPrimitive.useItemContext();
|
|
38
38
|
const progress = useDerivedValue(() => isExpanded ? withTiming(1, { duration: 250 }) : withTiming(0, { duration: 200 }));
|
|
39
39
|
const chevronStyle = useAnimatedStyle(() => ({
|
|
@@ -61,7 +61,7 @@ function AccordionTrigger({ className, children,...props }) {
|
|
|
61
61
|
})
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
function AccordionContent({ className, children
|
|
64
|
+
function AccordionContent({ className, children, ...props }) {
|
|
65
65
|
const { isExpanded } = AccordionPrimitive.useItemContext();
|
|
66
66
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
67
67
|
value: "native:text-lg",
|
|
@@ -89,5 +89,4 @@ function InnerContent({ children, className }) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
//#endregion
|
|
92
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
93
|
-
//# sourceMappingURL=accordion.js.map
|
|
92
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -68,5 +68,4 @@ declare function AlertDialogCancel({
|
|
|
68
68
|
ref?: React$1.RefObject<AlertDialogPrimitive.CancelRef>;
|
|
69
69
|
}): react_jsx_runtime3.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
72
|
-
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
71
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
package/dist/ui/alert-dialog.js
CHANGED
|
@@ -11,14 +11,14 @@ import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
|
11
11
|
const AlertDialog = AlertDialogPrimitive.Root;
|
|
12
12
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
13
13
|
const AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
14
|
-
function AlertDialogOverlayWeb({ className
|
|
14
|
+
function AlertDialogOverlayWeb({ className, ...props }) {
|
|
15
15
|
const { open } = AlertDialogPrimitive.useRootContext();
|
|
16
16
|
return /* @__PURE__ */ jsx(AlertDialogPrimitive.Overlay, {
|
|
17
17
|
className: cn("absolute top-0 right-0 bottom-0 left-0 z-50 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 AlertDialogOverlayNative({ className, children
|
|
21
|
+
function AlertDialogOverlayNative({ className, children, ...props }) {
|
|
22
22
|
return /* @__PURE__ */ jsx(AlertDialogPrimitive.Overlay, {
|
|
23
23
|
className: cn("absolute top-0 right-0 bottom-0 left-0 z-50 flex items-center justify-center bg-black/80 p-2", className),
|
|
24
24
|
...props,
|
|
@@ -34,7 +34,7 @@ const AlertDialogOverlay = Platform.select({
|
|
|
34
34
|
web: AlertDialogOverlayWeb,
|
|
35
35
|
default: AlertDialogOverlayNative
|
|
36
36
|
});
|
|
37
|
-
function AlertDialogContent({ className, portalHost
|
|
37
|
+
function AlertDialogContent({ className, portalHost, ...props }) {
|
|
38
38
|
const { open } = AlertDialogPrimitive.useRootContext();
|
|
39
39
|
return /* @__PURE__ */ jsx(AlertDialogPortal, {
|
|
40
40
|
hostName: portalHost,
|
|
@@ -44,31 +44,31 @@ function AlertDialogContent({ className, portalHost,...props }) {
|
|
|
44
44
|
}) })
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
function AlertDialogHeader({ className
|
|
47
|
+
function AlertDialogHeader({ className, ...props }) {
|
|
48
48
|
return /* @__PURE__ */ jsx(View, {
|
|
49
49
|
className: cn("flex flex-col gap-2", className),
|
|
50
50
|
...props
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
function AlertDialogFooter({ className
|
|
53
|
+
function AlertDialogFooter({ className, ...props }) {
|
|
54
54
|
return /* @__PURE__ */ jsx(View, {
|
|
55
55
|
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
56
56
|
...props
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
function AlertDialogTitle({ className
|
|
59
|
+
function AlertDialogTitle({ className, ...props }) {
|
|
60
60
|
return /* @__PURE__ */ jsx(AlertDialogPrimitive.Title, {
|
|
61
61
|
className: cn("native:text-xl text-foreground text-lg font-semibold", className),
|
|
62
62
|
...props
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function AlertDialogDescription({ className
|
|
65
|
+
function AlertDialogDescription({ className, ...props }) {
|
|
66
66
|
return /* @__PURE__ */ jsx(AlertDialogPrimitive.Description, {
|
|
67
67
|
className: cn("native:text-base text-muted-foreground text-sm", className),
|
|
68
68
|
...props
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
function AlertDialogAction({ className
|
|
71
|
+
function AlertDialogAction({ className, ...props }) {
|
|
72
72
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
73
73
|
value: buttonTextVariants({ className }),
|
|
74
74
|
children: /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, {
|
|
@@ -77,7 +77,7 @@ function AlertDialogAction({ className,...props }) {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
function AlertDialogCancel({ className
|
|
80
|
+
function AlertDialogCancel({ className, ...props }) {
|
|
81
81
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
82
82
|
value: buttonTextVariants({
|
|
83
83
|
className,
|
|
@@ -94,5 +94,4 @@ function AlertDialogCancel({ className,...props }) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
//#endregion
|
|
97
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
98
|
-
//# sourceMappingURL=alert-dialog.js.map
|
|
97
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
package/dist/ui/alert.d.ts
CHANGED
|
@@ -33,5 +33,4 @@ declare function AlertDescription({
|
|
|
33
33
|
...props
|
|
34
34
|
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime11.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
|
-
export { Alert, AlertDescription, AlertTitle };
|
|
37
|
-
//# sourceMappingURL=alert.d.ts.map
|
|
36
|
+
export { Alert, AlertDescription, AlertTitle };
|
package/dist/ui/alert.js
CHANGED
|
@@ -14,7 +14,7 @@ const alertVariants = cva("relative bg-background w-full rounded-lg border borde
|
|
|
14
14
|
} },
|
|
15
15
|
defaultVariants: { variant: "default" }
|
|
16
16
|
});
|
|
17
|
-
function Alert({ className, variant, children, icon: Icon, iconSize = 16, iconClassName
|
|
17
|
+
function Alert({ className, variant, children, icon: Icon, iconSize = 16, iconClassName, ...props }) {
|
|
18
18
|
const { colors } = useTheme();
|
|
19
19
|
return /* @__PURE__ */ jsxs(View, {
|
|
20
20
|
role: "alert",
|
|
@@ -32,13 +32,13 @@ function Alert({ className, variant, children, icon: Icon, iconSize = 16, iconCl
|
|
|
32
32
|
}), children]
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
function AlertTitle({ className
|
|
35
|
+
function AlertTitle({ className, ...props }) {
|
|
36
36
|
return /* @__PURE__ */ jsx(Text$1, {
|
|
37
37
|
className: cn("text-foreground mb-1 pl-7 text-base leading-none font-medium tracking-tight", className),
|
|
38
38
|
...props
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
function AlertDescription({ className
|
|
41
|
+
function AlertDescription({ className, ...props }) {
|
|
42
42
|
return /* @__PURE__ */ jsx(Text$1, {
|
|
43
43
|
className: cn("text-foreground pl-7 text-sm leading-relaxed", className),
|
|
44
44
|
...props
|
|
@@ -46,5 +46,4 @@ function AlertDescription({ className,...props }) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
//#endregion
|
|
49
|
-
export { Alert, AlertDescription, AlertTitle };
|
|
50
|
-
//# sourceMappingURL=alert.js.map
|
|
49
|
+
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -8,5 +8,4 @@ declare const AspectRatio: react0.ForwardRefExoticComponent<Omit<_rn_primitives_
|
|
|
8
8
|
style?: react_native0.ViewStyle;
|
|
9
9
|
} & react0.RefAttributes<react_native0.View>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { AspectRatio };
|
|
12
|
-
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
11
|
+
export { AspectRatio };
|
package/dist/ui/aspect-ratio.js
CHANGED
|
@@ -19,5 +19,4 @@ declare const SkeletonTable: React.FC<{
|
|
|
19
19
|
cols?: number;
|
|
20
20
|
}>;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
|
23
|
-
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
22
|
+
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
|
@@ -44,5 +44,4 @@ const SkeletonTable = ({ rows = 5, cols = 4 }) => /* @__PURE__ */ jsx(View, {
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
|
-
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
|
48
|
-
//# sourceMappingURL=LoadingSpinner.js.map
|
|
47
|
+
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -24,5 +24,4 @@ declare function AvatarFallback({
|
|
|
24
24
|
ref?: React$1.RefObject<AvatarPrimitive.FallbackRef>;
|
|
25
25
|
}): react_jsx_runtime14.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
|
-
export { Avatar, AvatarFallback, AvatarImage };
|
|
28
|
-
//# sourceMappingURL=avatar.d.ts.map
|
|
27
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
package/dist/ui/avatar.js
CHANGED
|
@@ -4,19 +4,19 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import * as AvatarPrimitive from "@rn-primitives/avatar";
|
|
5
5
|
|
|
6
6
|
//#region ui/avatar.tsx
|
|
7
|
-
function Avatar({ className
|
|
7
|
+
function Avatar({ className, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(AvatarPrimitive.Root, {
|
|
9
9
|
className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className),
|
|
10
10
|
...props
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
function AvatarImage({ className, alt
|
|
13
|
+
function AvatarImage({ className, alt, ...props }) {
|
|
14
14
|
return /* @__PURE__ */ jsx(AvatarPrimitive.Image, {
|
|
15
15
|
className: cn("aspect-square h-full w-full", className),
|
|
16
16
|
...props
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function AvatarFallback({ className
|
|
19
|
+
function AvatarFallback({ className, ...props }) {
|
|
20
20
|
return /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, {
|
|
21
21
|
className: cn("bg-muted flex h-full w-full items-center justify-center rounded-full", className),
|
|
22
22
|
...props
|
|
@@ -24,5 +24,4 @@ function AvatarFallback({ className,...props }) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
|
-
export { Avatar, AvatarFallback, AvatarImage };
|
|
28
|
-
//# sourceMappingURL=avatar.js.map
|
|
27
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
package/dist/ui/badge.d.ts
CHANGED
package/dist/ui/badge.js
CHANGED
|
@@ -14,7 +14,7 @@ const badgeVariants = cva("web:inline-flex items-center rounded-full border bord
|
|
|
14
14
|
} },
|
|
15
15
|
defaultVariants: { variant: "default" }
|
|
16
16
|
});
|
|
17
|
-
function Badge({ className, variant, labelClassName
|
|
17
|
+
function Badge({ className, variant, labelClassName, ...props }) {
|
|
18
18
|
return /* @__PURE__ */ jsx(View, {
|
|
19
19
|
className: cn(badgeVariants({ variant }), className),
|
|
20
20
|
...props
|
|
@@ -22,5 +22,4 @@ function Badge({ className, variant, labelClassName,...props }) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
|
-
export { Badge, badgeVariants };
|
|
26
|
-
//# sourceMappingURL=badge.js.map
|
|
25
|
+
export { Badge, badgeVariants };
|
package/dist/ui/breadcrumb.d.ts
CHANGED
|
@@ -35,5 +35,4 @@ declare function BreadcrumbEllipsis({
|
|
|
35
35
|
...props
|
|
36
36
|
}: React$1.ComponentProps<typeof View>): react_jsx_runtime19.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
39
|
-
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
38
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
package/dist/ui/breadcrumb.js
CHANGED
|
@@ -13,28 +13,28 @@ function Breadcrumb({ ...props }) {
|
|
|
13
13
|
...props
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
function BreadcrumbList({ className
|
|
16
|
+
function BreadcrumbList({ className, ...props }) {
|
|
17
17
|
return /* @__PURE__ */ jsx(View, {
|
|
18
18
|
"data-slot": "breadcrumb-list",
|
|
19
19
|
className: cn("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", className),
|
|
20
20
|
...props
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function BreadcrumbItem({ className
|
|
23
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
24
24
|
return /* @__PURE__ */ jsx(View, {
|
|
25
25
|
"data-slot": "breadcrumb-item",
|
|
26
26
|
className: cn("inline-flex items-center gap-1.5", className),
|
|
27
27
|
...props
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
function BreadcrumbLink({ asChild, className
|
|
30
|
+
function BreadcrumbLink({ asChild, className, ...props }) {
|
|
31
31
|
return /* @__PURE__ */ jsx(View, {
|
|
32
32
|
"data-slot": "breadcrumb-link",
|
|
33
33
|
className: cn("hover:text-foreground transition-colors", className),
|
|
34
34
|
...props
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
function BreadcrumbPage({ className
|
|
37
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
38
38
|
return /* @__PURE__ */ jsx(View, {
|
|
39
39
|
"data-slot": "breadcrumb-page",
|
|
40
40
|
role: "link",
|
|
@@ -44,7 +44,7 @@ function BreadcrumbPage({ className,...props }) {
|
|
|
44
44
|
...props
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
function BreadcrumbSeparator({ children, className
|
|
47
|
+
function BreadcrumbSeparator({ children, className, ...props }) {
|
|
48
48
|
return /* @__PURE__ */ jsx(View, {
|
|
49
49
|
role: "presentation",
|
|
50
50
|
"data-slot": "breadcrumb-separator",
|
|
@@ -54,7 +54,7 @@ function BreadcrumbSeparator({ children, className,...props }) {
|
|
|
54
54
|
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function BreadcrumbEllipsis({ className
|
|
57
|
+
function BreadcrumbEllipsis({ className, ...props }) {
|
|
58
58
|
return /* @__PURE__ */ jsxs(View, {
|
|
59
59
|
"data-slot": "breadcrumb-ellipsis",
|
|
60
60
|
role: "presentation",
|
|
@@ -69,5 +69,4 @@ function BreadcrumbEllipsis({ className,...props }) {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
//#endregion
|
|
72
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
73
|
-
//# sourceMappingURL=breadcrumb.js.map
|
|
72
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
package/dist/ui/button.d.ts
CHANGED
|
@@ -22,5 +22,4 @@ declare function Button({
|
|
|
22
22
|
...props
|
|
23
23
|
}: ButtonProps): react_jsx_runtime26.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
|
26
|
-
//# sourceMappingURL=button.d.ts.map
|
|
25
|
+
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
package/dist/ui/button.js
CHANGED
|
@@ -50,7 +50,7 @@ const buttonTextVariants = cva("web:whitespace-nowrap text-sm native:text-base f
|
|
|
50
50
|
size: "default"
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
|
-
function Button({ ref, className, variant, size
|
|
53
|
+
function Button({ ref, className, variant, size, ...props }) {
|
|
54
54
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
55
55
|
value: buttonTextVariants({
|
|
56
56
|
variant,
|
|
@@ -71,5 +71,4 @@ function Button({ ref, className, variant, size,...props }) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
//#endregion
|
|
74
|
-
export { Button, buttonTextVariants, buttonVariants };
|
|
75
|
-
//# sourceMappingURL=button.js.map
|
|
74
|
+
export { Button, buttonTextVariants, buttonVariants };
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Text, TextProps, View, ViewProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/card.d.ts
|
|
6
6
|
declare function Card({
|
|
@@ -8,37 +8,36 @@ declare function Card({
|
|
|
8
8
|
...props
|
|
9
9
|
}: ViewProps & {
|
|
10
10
|
ref?: React$1.RefObject<View>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
12
12
|
declare function CardHeader({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
15
|
}: ViewProps & {
|
|
16
16
|
ref?: React$1.RefObject<View>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
18
18
|
declare function CardTitle({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: TextProps & {
|
|
22
22
|
ref?: React$1.RefObject<Text>;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
24
24
|
declare function CardDescription({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
27
|
}: TextProps & {
|
|
28
28
|
ref?: React$1.RefObject<Text>;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
30
30
|
declare function CardContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
33
|
}: ViewProps & {
|
|
34
34
|
ref?: React$1.RefObject<View>;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
36
36
|
declare function CardFooter({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
39
|
}: ViewProps & {
|
|
40
40
|
ref?: React$1.RefObject<View>;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
44
|
-
//# sourceMappingURL=card.d.ts.map
|
|
43
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
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
|
@@ -13,5 +13,4 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
} & React$1.RefAttributes<react_native2.View>, "ref"> & React$1.RefAttributes<react_native2.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
|
|
2
|
+
import * as react_native6 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types0 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_native6.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_native6.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & react1.RefAttributes<react_native6.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<_rn_primitives_types0.ForceMountable &
|
|
19
|
+
} & react1.RefAttributes<react_native6.View>>;
|
|
20
|
+
declare const CollapsibleContent: react1.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native6.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
} & react1.RefAttributes<
|
|
22
|
+
} & react1.RefAttributes<react_native6.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