@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/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_runtime102 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_runtime102.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_runtime102.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_runtime102.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_runtime102.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_runtime102.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_runtime102.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_runtime102.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
|
|
2
|
+
import * as react_native30 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types1 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_native30.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_native30.View>>;
|
|
15
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<react_native30.ViewProps & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
} & React$1.RefAttributes<
|
|
18
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
17
|
+
} & React$1.RefAttributes<react_native30.View>, "ref"> & React$1.RefAttributes<react_native30.View>>;
|
|
18
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<react_native30.PressableProps & React$1.RefAttributes<react_native30.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_native30.View>, "ref"> & React$1.RefAttributes<react_native30.View>>;
|
|
26
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<react_native30.ViewProps & {
|
|
27
27
|
asChild?: boolean;
|
|
28
28
|
} & _rn_primitives_types1.ForceMountable & {
|
|
29
29
|
value: string;
|
|
30
|
-
} & React$1.RefAttributes<
|
|
30
|
+
} & React$1.RefAttributes<react_native30.View>, "ref"> & React$1.RefAttributes<react_native30.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_runtime109 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_runtime109.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_runtime111 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_runtime111.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_runtime112 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_runtime112.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_runtime112.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_runtime112.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_runtime115 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_types9 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_types9.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_types9.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_runtime115.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_runtime115.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
|
-
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
|
34
|
-
//# sourceMappingURL=toggle.d.ts.map
|
|
33
|
+
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
package/dist/ui/toggle.js
CHANGED
|
@@ -40,7 +40,7 @@ const toggleTextVariants = cva("text-sm native:text-base text-foreground font-me
|
|
|
40
40
|
size: "default"
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
function Toggle({ className, variant, size
|
|
43
|
+
function Toggle({ className, variant, size, ...props }) {
|
|
44
44
|
return /* @__PURE__ */ jsx(TextClassContext.Provider, {
|
|
45
45
|
value: cn(toggleTextVariants({
|
|
46
46
|
variant,
|
|
@@ -55,7 +55,7 @@ function Toggle({ className, variant, size,...props }) {
|
|
|
55
55
|
})
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
function ToggleIcon({ className, icon: Icon
|
|
58
|
+
function ToggleIcon({ className, icon: Icon, ...props }) {
|
|
59
59
|
return /* @__PURE__ */ jsx(Icon, {
|
|
60
60
|
className: cn(React$1.useContext(TextClassContext), className),
|
|
61
61
|
...props
|
|
@@ -63,5 +63,4 @@ function ToggleIcon({ className, icon: Icon,...props }) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
//#endregion
|
|
66
|
-
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
|
67
|
-
//# sourceMappingURL=toggle.js.map
|
|
66
|
+
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
package/dist/ui/tooltip.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native42 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
4
4
|
import * as _rn_primitives_tooltip0 from "@rn-primitives/tooltip";
|
|
5
5
|
|
|
6
6
|
//#region ui/tooltip.d.ts
|
|
7
|
-
declare const Tooltip: React$1.ForwardRefExoticComponent<
|
|
7
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<react_native42.ViewProps & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
} & {
|
|
10
10
|
onOpenChange?: (open: boolean) => void;
|
|
11
11
|
delayDuration?: number;
|
|
12
12
|
skipDelayDuration?: number;
|
|
13
13
|
disableHoverableContent?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<
|
|
15
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
14
|
+
} & React$1.RefAttributes<react_native42.View>>;
|
|
15
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<react_native42.PressableProps & React$1.RefAttributes<react_native42.View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -26,7 +26,6 @@ declare function TooltipContent({
|
|
|
26
26
|
}: _rn_primitives_tooltip0.ContentProps & {
|
|
27
27
|
ref?: React$1.RefObject<_rn_primitives_tooltip0.ContentRef>;
|
|
28
28
|
portalHost?: string;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime117.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { Tooltip, TooltipContent, TooltipTrigger };
|
|
32
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
31
|
+
export { Tooltip, TooltipContent, TooltipTrigger };
|
package/dist/ui/tooltip.js
CHANGED
|
@@ -9,7 +9,7 @@ import * as TooltipPrimitive from "@rn-primitives/tooltip";
|
|
|
9
9
|
//#region ui/tooltip.tsx
|
|
10
10
|
const Tooltip = TooltipPrimitive.Root;
|
|
11
11
|
const TooltipTrigger = TooltipPrimitive.Trigger;
|
|
12
|
-
function TooltipContent({ className, sideOffset = 4, portalHost
|
|
12
|
+
function TooltipContent({ className, sideOffset = 4, portalHost, ...props }) {
|
|
13
13
|
return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, {
|
|
14
14
|
hostName: portalHost,
|
|
15
15
|
children: /* @__PURE__ */ jsx(TooltipPrimitive.Overlay, {
|
|
@@ -37,5 +37,4 @@ function TooltipContent({ className, sideOffset = 4, portalHost,...props }) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
|
-
export { Tooltip, TooltipContent, TooltipTrigger };
|
|
41
|
-
//# sourceMappingURL=tooltip.js.map
|
|
40
|
+
export { Tooltip, TooltipContent, TooltipTrigger };
|
package/dist/ui/typography.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextProps } from "./text.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/typography.d.ts
|
|
5
5
|
type TypographyProps = TextProps & {
|
|
@@ -9,57 +9,56 @@ declare function H1({
|
|
|
9
9
|
className,
|
|
10
10
|
asChild,
|
|
11
11
|
...props
|
|
12
|
-
}: TypographyProps):
|
|
12
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
13
13
|
declare function H2({
|
|
14
14
|
className,
|
|
15
15
|
asChild,
|
|
16
16
|
...props
|
|
17
|
-
}: TypographyProps):
|
|
17
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
18
18
|
declare function H3({
|
|
19
19
|
className,
|
|
20
20
|
asChild,
|
|
21
21
|
...props
|
|
22
|
-
}: TypographyProps):
|
|
22
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
23
23
|
declare function H4({
|
|
24
24
|
className,
|
|
25
25
|
asChild,
|
|
26
26
|
...props
|
|
27
|
-
}: TypographyProps):
|
|
27
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
28
28
|
declare function P({
|
|
29
29
|
className,
|
|
30
30
|
asChild,
|
|
31
31
|
...props
|
|
32
|
-
}: TypographyProps):
|
|
32
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
33
33
|
declare function BlockQuote({
|
|
34
34
|
className,
|
|
35
35
|
asChild,
|
|
36
36
|
...props
|
|
37
|
-
}: TypographyProps):
|
|
37
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
38
38
|
declare function Code({
|
|
39
39
|
className,
|
|
40
40
|
asChild,
|
|
41
41
|
...props
|
|
42
|
-
}: TypographyProps):
|
|
42
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
43
43
|
declare function Lead({
|
|
44
44
|
className,
|
|
45
45
|
asChild,
|
|
46
46
|
...props
|
|
47
|
-
}: TypographyProps):
|
|
47
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
48
48
|
declare function Large({
|
|
49
49
|
className,
|
|
50
50
|
asChild,
|
|
51
51
|
...props
|
|
52
|
-
}: TypographyProps):
|
|
52
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
53
53
|
declare function Small({
|
|
54
54
|
className,
|
|
55
55
|
asChild,
|
|
56
56
|
...props
|
|
57
|
-
}: TypographyProps):
|
|
57
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
58
58
|
declare function Muted({
|
|
59
59
|
className,
|
|
60
60
|
asChild,
|
|
61
61
|
...props
|
|
62
|
-
}: TypographyProps):
|
|
62
|
+
}: TypographyProps): react_jsx_runtime75.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
|
-
export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small, TypographyProps };
|
|
65
|
-
//# sourceMappingURL=typography.d.ts.map
|
|
64
|
+
export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small, TypographyProps };
|