@lssm/lib.design-system 1.11.1 → 1.41.0
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 +6 -1
- package/dist/_virtual/rolldown_runtime.js +9 -4
- package/dist/components/agent/ApprovalQueue.js +1 -1
- package/dist/components/atoms/Button.js +4 -5
- package/dist/components/atoms/ButtonLink.js +2 -2
- package/dist/components/atoms/Cta.js +4 -5
- package/dist/components/atoms/EmptyState.js +4 -4
- package/dist/components/atoms/ErrorState.js +1 -2
- package/dist/components/atoms/Input.js +5 -6
- package/dist/components/atoms/Link.js +1 -2
- package/dist/components/atoms/Link.web.js +4 -2
- package/dist/components/atoms/LoaderCircular.js +1 -2
- package/dist/components/atoms/Stepper.js +4 -4
- package/dist/components/atoms/Textarea.js +8 -9
- package/dist/components/data-view/DataViewRenderer.js +2 -2
- package/dist/components/forms/ActionForm.js +18 -0
- package/dist/components/forms/FormOneByOneLayout.js +3 -3
- package/dist/components/forms/FormStepsLayout.js +3 -3
- package/dist/components/forms/ZodForm.js +1 -1
- package/dist/components/legal/atoms/LegalCallout.js +1 -1
- package/dist/components/legal/atoms/LegalHeading.js +1 -1
- package/dist/components/legal/atoms/LegalList.js +1 -1
- package/dist/components/legal/atoms/LegalSection.js +1 -1
- package/dist/components/legal/atoms/LegalText.js +1 -1
- package/dist/components/legal/molecules/ContactFields.js +8 -8
- package/dist/components/legal/molecules/LegalTOC.js +1 -1
- package/dist/components/legal/organisms/ContactForm.js +3 -3
- package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
- package/dist/components/legal/templates/ContactTemplate.js +3 -3
- package/dist/components/marketing/MarketingCard.js +20 -0
- package/dist/components/marketing/MarketingCardsSection.js +28 -0
- package/dist/components/marketing/MarketingComparisonSection.js +52 -0
- package/dist/components/marketing/MarketingIconCard.js +73 -0
- package/dist/components/marketing/MarketingSection.js +61 -0
- package/dist/components/marketing/MarketingStepCard.js +36 -0
- package/dist/components/molecules/AiLinkButton.js +4 -4
- package/dist/components/molecules/Breadcrumbs.js +2 -2
- package/dist/components/molecules/CommandPalette.js +3 -3
- package/dist/components/molecules/CommandSearchTrigger.js +3 -3
- package/dist/components/molecules/FiltersToolbar.js +5 -5
- package/dist/components/molecules/HoverPreview.js +2 -2
- package/dist/components/molecules/LangSwitchDropdown.js +2 -2
- package/dist/components/molecules/LoaderBlock.js +1 -2
- package/dist/components/molecules/OverviewCard.js +5 -4
- package/dist/components/molecules/SkeletonBlock/index.web.js +1 -2
- package/dist/components/molecules/SkeletonCircle/index.web.js +1 -2
- package/dist/components/molecules/SkeletonList/index.web.js +4 -5
- package/dist/components/organisms/AcademyLayout.js +2 -2
- package/dist/components/organisms/AppLayout.js +2 -2
- package/dist/components/organisms/EmptySearchResult.js +5 -5
- package/dist/components/organisms/FAQSection.js +2 -2
- package/dist/components/organisms/Footer.js +2 -4
- package/dist/components/organisms/MarketingHeader.js +5 -5
- package/dist/components/organisms/MarketingHeaderMobile.js +2 -2
- package/dist/components/organisms/MarketingLayout.js +1 -0
- package/dist/components/templates/lists/ListPageTemplate/index.web.js +2 -2
- package/dist/hooks/useListUrlState.js +7 -7
- package/dist/index.js +9 -1
- package/dist/lib/keyboard.js +1 -172
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
- package/dist/node_modules/next/dist/client/add-locale.js +29 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
- package/dist/node_modules/next/dist/client/link.js +311 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
- package/dist/node_modules/next/dist/lib/constants.js +316 -0
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
- package/dist/node_modules/next/link.js +12 -0
- package/dist/platform/useColorScheme.js +3 -3
- package/dist/platform/useReducedMotion.js +3 -3
- package/dist/platform/useResponsive.js +4 -4
- package/dist/renderers/form-contract.js +1 -1
- package/package.json +13 -304
- package/dist/components/agent/AgentMonitor.d.ts +0 -28
- package/dist/components/agent/ApprovalQueue.d.ts +0 -25
- package/dist/components/atoms/ActionButtons.d.ts +0 -25
- package/dist/components/atoms/Button.d.ts +0 -39
- package/dist/components/atoms/Button.mobile.d.ts +0 -21
- package/dist/components/atoms/Button.mobile.js +0 -34
- package/dist/components/atoms/ButtonLink.d.ts +0 -21
- package/dist/components/atoms/ButtonLink.mobile.d.ts +0 -19
- package/dist/components/atoms/ButtonLink.mobile.js +0 -41
- package/dist/components/atoms/Cta.d.ts +0 -20
- package/dist/components/atoms/Cta.mobile.d.ts +0 -14
- package/dist/components/atoms/Cta.mobile.js +0 -38
- package/dist/components/atoms/DataChips.d.ts +0 -37
- package/dist/components/atoms/EmptyState.d.ts +0 -7
- package/dist/components/atoms/ErrorState.d.ts +0 -28
- package/dist/components/atoms/ErrorState.mobile.d.ts +0 -28
- package/dist/components/atoms/ErrorState.mobile.js +0 -41
- package/dist/components/atoms/Input.d.ts +0 -39
- package/dist/components/atoms/Input.mobile.d.ts +0 -37
- package/dist/components/atoms/Input.mobile.js +0 -27
- package/dist/components/atoms/Link.d.ts +0 -11
- package/dist/components/atoms/Link.native.d.ts +0 -1
- package/dist/components/atoms/Link.native.js +0 -0
- package/dist/components/atoms/Link.web.d.ts +0 -23
- package/dist/components/atoms/LoaderCircular.d.ts +0 -22
- package/dist/components/atoms/LoaderCircular.mobile.d.ts +0 -17
- package/dist/components/atoms/LoaderCircular.mobile.js +0 -26
- package/dist/components/atoms/NavBrand.d.ts +0 -18
- package/dist/components/atoms/Stepper.d.ts +0 -7
- package/dist/components/atoms/Textarea.d.ts +0 -41
- package/dist/components/atoms/Textarea.mobile.d.ts +0 -37
- package/dist/components/atoms/Textarea.mobile.js +0 -27
- package/dist/components/data-view/DataViewDetail.d.ts +0 -21
- package/dist/components/data-view/DataViewList.d.ts +0 -23
- package/dist/components/data-view/DataViewRenderer.d.ts +0 -47
- package/dist/components/data-view/DataViewTable.d.ts +0 -25
- package/dist/components/data-view/utils.d.ts +0 -5
- package/dist/components/forms/FormCardLayout.d.ts +0 -22
- package/dist/components/forms/FormDialog.d.ts +0 -24
- package/dist/components/forms/FormLayout.d.ts +0 -29
- package/dist/components/forms/FormOneByOneLayout.d.ts +0 -25
- package/dist/components/forms/FormStepsLayout.d.ts +0 -26
- package/dist/components/forms/ZodForm.d.ts +0 -21
- package/dist/components/legal/atoms/DefinitionList.d.ts +0 -16
- package/dist/components/legal/atoms/KeyValueList.d.ts +0 -16
- package/dist/components/legal/atoms/LegalCallout.d.ts +0 -17
- package/dist/components/legal/atoms/LegalHeading.d.ts +0 -24
- package/dist/components/legal/atoms/LegalList.d.ts +0 -20
- package/dist/components/legal/atoms/LegalSection.d.ts +0 -21
- package/dist/components/legal/atoms/LegalText.d.ts +0 -24
- package/dist/components/legal/molecules/Consent.d.ts +0 -35
- package/dist/components/legal/molecules/ContactFields.d.ts +0 -24
- package/dist/components/legal/molecules/LegalMeta.d.ts +0 -14
- package/dist/components/legal/molecules/LegalTOC.d.ts +0 -30
- package/dist/components/legal/organisms/ContactForm.d.ts +0 -29
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +0 -18
- package/dist/components/legal/organisms/GDPRRights.d.ts +0 -13
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +0 -23
- package/dist/components/legal/templates/ContactTemplate.d.ts +0 -23
- package/dist/components/legal/templates/CookiesTemplate.d.ts +0 -32
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +0 -32
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +0 -27
- package/dist/components/legal/templates/TermsTemplate.d.ts +0 -27
- package/dist/components/molecules/AiLinkButton.d.ts +0 -15
- package/dist/components/molecules/Breadcrumbs.d.ts +0 -15
- package/dist/components/molecules/CommandPalette.d.ts +0 -26
- package/dist/components/molecules/CommandSearchTrigger.d.ts +0 -18
- package/dist/components/molecules/DropdownMenu.d.ts +0 -1
- package/dist/components/molecules/DropdownMenu.js +0 -0
- package/dist/components/molecules/EntityCard.d.ts +0 -37
- package/dist/components/molecules/FiltersToolbar.d.ts +0 -35
- package/dist/components/molecules/FiltersToolbar.mobile.d.ts +0 -18
- package/dist/components/molecules/FiltersToolbar.mobile.js +0 -48
- package/dist/components/molecules/HoverPreview.d.ts +0 -20
- package/dist/components/molecules/LangSwitch.d.ts +0 -22
- package/dist/components/molecules/LangSwitchDropdown.d.ts +0 -21
- package/dist/components/molecules/LoaderBlock.d.ts +0 -18
- package/dist/components/molecules/LoaderBlock.mobile.d.ts +0 -18
- package/dist/components/molecules/LoaderBlock.mobile.js +0 -25
- package/dist/components/molecules/MobileNavMenu.d.ts +0 -13
- package/dist/components/molecules/NavItemCard.d.ts +0 -14
- package/dist/components/molecules/NavMain.d.ts +0 -13
- package/dist/components/molecules/NavUser.d.ts +0 -17
- package/dist/components/molecules/OverviewCard.d.ts +0 -20
- package/dist/components/molecules/SkeletonBlock/index.d.ts +0 -3
- package/dist/components/molecules/SkeletonBlock/index.js +0 -3
- package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +0 -12
- package/dist/components/molecules/SkeletonBlock/index.mobile.js +0 -18
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +0 -12
- package/dist/components/molecules/SkeletonBlock/types.d.ts +0 -9
- package/dist/components/molecules/SkeletonBlock/types.js +0 -0
- package/dist/components/molecules/SkeletonCircle/index.d.ts +0 -3
- package/dist/components/molecules/SkeletonCircle/index.js +0 -3
- package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +0 -11
- package/dist/components/molecules/SkeletonCircle/index.mobile.js +0 -23
- package/dist/components/molecules/SkeletonCircle/index.web.d.ts +0 -11
- package/dist/components/molecules/SkeletonCircle/types.d.ts +0 -8
- package/dist/components/molecules/SkeletonCircle/types.js +0 -0
- package/dist/components/molecules/SkeletonList/index.d.ts +0 -3
- package/dist/components/molecules/SkeletonList/index.js +0 -3
- package/dist/components/molecules/SkeletonList/index.mobile.d.ts +0 -10
- package/dist/components/molecules/SkeletonList/index.mobile.js +0 -22
- package/dist/components/molecules/SkeletonList/index.web.d.ts +0 -10
- package/dist/components/molecules/SkeletonList/types.d.ts +0 -7
- package/dist/components/molecules/SkeletonList/types.js +0 -0
- package/dist/components/molecules/StatCard.d.ts +0 -36
- package/dist/components/molecules/StatusChip.d.ts +0 -26
- package/dist/components/molecules/hover-previews/Doc.d.ts +0 -27
- package/dist/components/molecules/hover-previews/Media.d.ts +0 -20
- package/dist/components/molecules/hover-previews/Simple.d.ts +0 -25
- package/dist/components/molecules/hover-previews/Stats.d.ts +0 -22
- package/dist/components/molecules/hover-previews/User.d.ts +0 -25
- package/dist/components/native/BottomTabs.mobile.d.ts +0 -20
- package/dist/components/native/BottomTabs.mobile.js +0 -27
- package/dist/components/native/FlatListScreen.mobile.d.ts +0 -43
- package/dist/components/native/FlatListScreen.mobile.js +0 -63
- package/dist/components/native/SheetMenu.mobile.d.ts +0 -17
- package/dist/components/native/SheetMenu.mobile.js +0 -21
- package/dist/components/organisms/AcademyLayout.d.ts +0 -29
- package/dist/components/organisms/AppHeader.d.ts +0 -18
- package/dist/components/organisms/AppHeader.mobile.d.ts +0 -21
- package/dist/components/organisms/AppHeader.mobile.js +0 -52
- package/dist/components/organisms/AppLayout.d.ts +0 -28
- package/dist/components/organisms/AppSidebar.d.ts +0 -23
- package/dist/components/organisms/AppSidebar.mobile.d.ts +0 -1
- package/dist/components/organisms/AppSidebar.mobile.js +0 -0
- package/dist/components/organisms/EmptyDataList.d.ts +0 -20
- package/dist/components/organisms/EmptyDataList.mobile.d.ts +0 -20
- package/dist/components/organisms/EmptyDataList.mobile.js +0 -27
- package/dist/components/organisms/EmptyDataList.types.d.ts +0 -19
- package/dist/components/organisms/EmptyDataList.types.js +0 -1
- package/dist/components/organisms/EmptySearchResult.d.ts +0 -24
- package/dist/components/organisms/FAQSection.d.ts +0 -31
- package/dist/components/organisms/FeatureCarousel.d.ts +0 -18
- package/dist/components/organisms/FeaturesSection.d.ts +0 -19
- package/dist/components/organisms/Footer.d.ts +0 -25
- package/dist/components/organisms/GridLayout.d.ts +0 -25
- package/dist/components/organisms/GridLayout.js +0 -28
- package/dist/components/organisms/Header.d.ts +0 -37
- package/dist/components/organisms/Header.mobile.d.ts +0 -24
- package/dist/components/organisms/Header.mobile.js +0 -18
- package/dist/components/organisms/HeroResponsive.d.ts +0 -14
- package/dist/components/organisms/HeroSection.d.ts +0 -29
- package/dist/components/organisms/ListCardPage.d.ts +0 -36
- package/dist/components/organisms/ListGridPage.d.ts +0 -36
- package/dist/components/organisms/ListPageResponsive.d.ts +0 -7
- package/dist/components/organisms/ListTablePage.d.ts +0 -33
- package/dist/components/organisms/MarketingHeader.d.ts +0 -36
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts +0 -15
- package/dist/components/organisms/MarketingHeaderMobile.d.ts +0 -12
- package/dist/components/organisms/MarketingLayout.d.ts +0 -18
- package/dist/components/organisms/PageHeaderResponsive.d.ts +0 -8
- package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +0 -22
- package/dist/components/organisms/PageHeaderResponsive.mobile.js +0 -32
- package/dist/components/organisms/PricingCarousel.d.ts +0 -24
- package/dist/components/organisms/PricingSection.d.ts +0 -18
- package/dist/components/organisms/TestimonialCarousel.d.ts +0 -19
- package/dist/components/templates/lists/ListPageTemplate/index.d.ts +0 -3
- package/dist/components/templates/lists/ListPageTemplate/index.js +0 -3
- package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +0 -21
- package/dist/components/templates/lists/ListPageTemplate/index.mobile.js +0 -32
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +0 -22
- package/dist/components/templates/lists/ListPageTemplate/types.d.ts +0 -25
- package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
- package/dist/hooks/useListUrlState.d.ts +0 -30
- package/dist/index.d.ts +0 -108
- package/dist/lib/keyboard.d.ts +0 -14
- package/dist/lib/utils.d.ts +0 -6
- package/dist/platform/useColorScheme.d.ts +0 -5
- package/dist/platform/useColorScheme.mobile.d.ts +0 -5
- package/dist/platform/useColorScheme.mobile.js +0 -20
- package/dist/platform/useReducedMotion.d.ts +0 -4
- package/dist/platform/useReducedMotion.mobile.d.ts +0 -4
- package/dist/platform/useReducedMotion.mobile.js +0 -28
- package/dist/platform/useResponsive.d.ts +0 -23
- package/dist/platform/useResponsive.mobile.d.ts +0 -23
- package/dist/platform/useResponsive.mobile.js +0 -42
- package/dist/platform/withPlatformUI.d.ts +0 -28
- package/dist/renderers/form-contract.d.ts +0 -11
- package/dist/renderers/index.d.ts +0 -2
- package/dist/renderers/index.js +0 -3
- package/dist/theme/tokenBridge.d.ts +0 -19
- package/dist/theme/tokens.d.ts +0 -50
- package/dist/theme/variants.d.ts +0 -21
- package/dist/types/nativewind-env.d.ts +0 -1
- package/dist/types/navigation.d.ts +0 -44
- package/dist/types/navigation.js +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { useResponsive } from "../../platform/useResponsive.mobile.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { HStack, VStack } from "@lssm/lib.ui-kit/ui/stack";
|
|
7
|
-
import { Text } from "@lssm/lib.ui-kit/ui/text";
|
|
8
|
-
|
|
9
|
-
//#region src/components/organisms/PageHeaderResponsive.mobile.tsx
|
|
10
|
-
function PageHeaderResponsive({ title, subtitle, actions, breadcrumb, spacing, className }) {
|
|
11
|
-
const { screen } = useResponsive();
|
|
12
|
-
const resolvedSpacing = spacing ?? (screen === "desktop" ? "lg" : screen === "tablet" ? "md" : "sm");
|
|
13
|
-
return /* @__PURE__ */ jsxs(VStack, {
|
|
14
|
-
className: [resolvedSpacing === "lg" ? "gap-4" : resolvedSpacing === "md" ? "gap-3" : "gap-2", className].filter(Boolean).join(" "),
|
|
15
|
-
children: [breadcrumb, /* @__PURE__ */ jsxs(HStack, {
|
|
16
|
-
className: "items-start justify-between",
|
|
17
|
-
children: [/* @__PURE__ */ jsxs(VStack, {
|
|
18
|
-
className: "gap-1",
|
|
19
|
-
children: [typeof title === "string" ? /* @__PURE__ */ jsx(Text, {
|
|
20
|
-
className: "text-2xl font-bold",
|
|
21
|
-
children: title
|
|
22
|
-
}) : title, subtitle ? typeof subtitle === "string" ? /* @__PURE__ */ jsx(Text, {
|
|
23
|
-
className: "text-muted-foreground text-base",
|
|
24
|
-
children: subtitle
|
|
25
|
-
}) : subtitle : null]
|
|
26
|
-
}), actions]
|
|
27
|
-
})]
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
//#endregion
|
|
32
|
-
export { PageHeaderResponsive };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/organisms/PricingCarousel.d.ts
|
|
4
|
-
interface PricingSlide {
|
|
5
|
-
name: string;
|
|
6
|
-
price: string;
|
|
7
|
-
tagline?: string;
|
|
8
|
-
features: string[];
|
|
9
|
-
cta?: {
|
|
10
|
-
label: string;
|
|
11
|
-
href?: string;
|
|
12
|
-
onPress?: () => void;
|
|
13
|
-
};
|
|
14
|
-
highlighted?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare function PricingCarousel({
|
|
17
|
-
tiers,
|
|
18
|
-
className
|
|
19
|
-
}: {
|
|
20
|
-
tiers: PricingSlide[];
|
|
21
|
-
className?: string;
|
|
22
|
-
}): react_jsx_runtime55.JSX.Element;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { PricingCarousel, PricingSlide };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
|
-
import { PricingTier } from "@lssm/lib.ui-kit-web/ui/marketing/PricingTable";
|
|
4
|
-
|
|
5
|
-
//#region src/components/organisms/PricingSection.d.ts
|
|
6
|
-
declare function PricingSection({
|
|
7
|
-
tiers,
|
|
8
|
-
title,
|
|
9
|
-
subtitle,
|
|
10
|
-
className
|
|
11
|
-
}: {
|
|
12
|
-
tiers: PricingTier[];
|
|
13
|
-
title?: React$1.ReactNode;
|
|
14
|
-
subtitle?: React$1.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
}): react_jsx_runtime79.JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { PricingSection };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/organisms/TestimonialCarousel.d.ts
|
|
5
|
-
interface Testimonial {
|
|
6
|
-
quote: React$1.ReactNode;
|
|
7
|
-
author: React$1.ReactNode;
|
|
8
|
-
role?: React$1.ReactNode;
|
|
9
|
-
avatar?: React$1.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
declare function TestimonialCarousel({
|
|
12
|
-
testimonials,
|
|
13
|
-
className
|
|
14
|
-
}: {
|
|
15
|
-
testimonials: Testimonial[];
|
|
16
|
-
className?: string;
|
|
17
|
-
}): react_jsx_runtime108.JSX.Element;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { Testimonial, TestimonialCarousel };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ListPageTemplateProps } from "./types.js";
|
|
2
|
-
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/templates/lists/ListPageTemplate/index.mobile.d.ts
|
|
5
|
-
declare function ListPageTemplate<T = any>({
|
|
6
|
-
children,
|
|
7
|
-
title,
|
|
8
|
-
description,
|
|
9
|
-
breadcrumb,
|
|
10
|
-
actions,
|
|
11
|
-
searchPlaceholder,
|
|
12
|
-
searchValue,
|
|
13
|
-
onSearchChange,
|
|
14
|
-
onSearchSubmit,
|
|
15
|
-
isLoading,
|
|
16
|
-
data,
|
|
17
|
-
renderItem,
|
|
18
|
-
emptyProps
|
|
19
|
-
}: ListPageTemplateProps<T>): react_jsx_runtime90.JSX.Element;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { ListPageTemplate, ListPageTemplateProps };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FiltersToolbar } from "../../../molecules/FiltersToolbar.mobile.js";
|
|
2
|
-
import { FlatListScreen } from "../../../native/FlatListScreen.mobile.js";
|
|
3
|
-
import { EmptyDataList } from "../../../organisms/EmptyDataList.mobile.js";
|
|
4
|
-
import { PageHeaderResponsive } from "../../../organisms/PageHeaderResponsive.mobile.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region src/components/templates/lists/ListPageTemplate/index.mobile.tsx
|
|
9
|
-
function ListPageTemplate({ children, title, description, breadcrumb, actions, searchPlaceholder, searchValue, onSearchChange, onSearchSubmit, isLoading, data, renderItem, emptyProps }) {
|
|
10
|
-
return /* @__PURE__ */ jsx(FlatListScreen, {
|
|
11
|
-
refreshing: isLoading,
|
|
12
|
-
header: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(PageHeaderResponsive, {
|
|
13
|
-
title,
|
|
14
|
-
subtitle: description,
|
|
15
|
-
breadcrumb,
|
|
16
|
-
actions
|
|
17
|
-
}), /* @__PURE__ */ jsx(FiltersToolbar, {
|
|
18
|
-
searchPlaceholder,
|
|
19
|
-
searchValue,
|
|
20
|
-
onSearchChange,
|
|
21
|
-
onSearchSubmit
|
|
22
|
-
})] }),
|
|
23
|
-
data: data ?? [],
|
|
24
|
-
renderItem,
|
|
25
|
-
showsVerticalScrollIndicator: false,
|
|
26
|
-
padding: "md",
|
|
27
|
-
emptyComponent: emptyProps ? /* @__PURE__ */ jsx(EmptyDataList, { ...emptyProps }) : void 0
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
//#endregion
|
|
32
|
-
export { ListPageTemplate };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ListPageTemplateProps } from "./types.js";
|
|
2
|
-
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/templates/lists/ListPageTemplate/index.web.d.ts
|
|
5
|
-
declare function ListPageTemplate<T = any>({
|
|
6
|
-
children,
|
|
7
|
-
title,
|
|
8
|
-
description,
|
|
9
|
-
breadcrumb,
|
|
10
|
-
actions,
|
|
11
|
-
className,
|
|
12
|
-
searchPlaceholder,
|
|
13
|
-
searchValue,
|
|
14
|
-
onSearchChange,
|
|
15
|
-
onSearchSubmit,
|
|
16
|
-
isLoading,
|
|
17
|
-
data,
|
|
18
|
-
renderItem,
|
|
19
|
-
emptyProps
|
|
20
|
-
}: ListPageTemplateProps<T>): react_jsx_runtime94.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { ListPageTemplate, ListPageTemplateProps };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EmptyDataListProps } from "../../../organisms/EmptyDataList.types.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/templates/lists/ListPageTemplate/types.d.ts
|
|
5
|
-
interface ListPageTemplateProps<T = any> {
|
|
6
|
-
children?: React$1.ReactNode;
|
|
7
|
-
title: React$1.ReactNode;
|
|
8
|
-
description?: React$1.ReactNode;
|
|
9
|
-
breadcrumb?: React$1.ReactNode;
|
|
10
|
-
actions?: React$1.ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
searchPlaceholder?: string;
|
|
13
|
-
searchValue?: string;
|
|
14
|
-
onSearchChange?: (v: string) => void;
|
|
15
|
-
onSearchSubmit?: () => void;
|
|
16
|
-
isLoading?: boolean;
|
|
17
|
-
data: T[] | null;
|
|
18
|
-
renderItem: (args: {
|
|
19
|
-
item: T;
|
|
20
|
-
index: number;
|
|
21
|
-
}) => React$1.ReactNode;
|
|
22
|
-
emptyProps: EmptyDataListProps;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { ListPageTemplateProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//#region src/hooks/useListUrlState.d.ts
|
|
2
|
-
interface ListUrlState<TFilters extends Record<string, unknown> = Record<string, unknown>> {
|
|
3
|
-
q: string;
|
|
4
|
-
page: number;
|
|
5
|
-
limit: number;
|
|
6
|
-
sort?: string | null;
|
|
7
|
-
filters: TFilters;
|
|
8
|
-
}
|
|
9
|
-
declare function useListUrlState<TFilters extends Record<string, unknown> = Record<string, unknown>>({
|
|
10
|
-
defaults,
|
|
11
|
-
paramKeys,
|
|
12
|
-
replaceState
|
|
13
|
-
}: {
|
|
14
|
-
defaults: ListUrlState<TFilters>;
|
|
15
|
-
paramKeys?: {
|
|
16
|
-
q: string;
|
|
17
|
-
page: string;
|
|
18
|
-
limit: string;
|
|
19
|
-
sort: string;
|
|
20
|
-
filters: string;
|
|
21
|
-
};
|
|
22
|
-
replaceState?: boolean;
|
|
23
|
-
}): {
|
|
24
|
-
readonly state: ListUrlState<TFilters>;
|
|
25
|
-
readonly setState: (next: Partial<ListUrlState<TFilters>>) => void;
|
|
26
|
-
readonly setFilter: (key: keyof TFilters, value: TFilters[keyof TFilters] | undefined | null) => void;
|
|
27
|
-
readonly clearFilters: () => void;
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ListUrlState, useListUrlState };
|
package/dist/index.d.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { AgentMonitor } from "./components/agent/AgentMonitor.js";
|
|
2
|
-
import { ApprovalQueue } from "./components/agent/ApprovalQueue.js";
|
|
3
|
-
import { Button } from "./components/atoms/Button.js";
|
|
4
|
-
import { DeleteButton, EditButton, ToggleButton, ToggleLeftButton, ToggleRightButton, ViewButton } from "./components/atoms/ActionButtons.js";
|
|
5
|
-
import { ButtonLink } from "./components/atoms/ButtonLink.js";
|
|
6
|
-
import { Cta } from "./components/atoms/Cta.js";
|
|
7
|
-
import { DateChip, DurationChip, PlaceChip, TimeChip } from "./components/atoms/DataChips.js";
|
|
8
|
-
import { EmptyState } from "./components/atoms/EmptyState.js";
|
|
9
|
-
import { ErrorState } from "./components/atoms/ErrorState.js";
|
|
10
|
-
import { Input } from "./components/atoms/Input.js";
|
|
11
|
-
import { Link } from "./components/atoms/Link.js";
|
|
12
|
-
import { LoaderCircular } from "./components/atoms/LoaderCircular.js";
|
|
13
|
-
import { NavBrand } from "./components/atoms/NavBrand.js";
|
|
14
|
-
import { Stepper } from "./components/atoms/Stepper.js";
|
|
15
|
-
import { Textarea } from "./components/atoms/Textarea.js";
|
|
16
|
-
import { DataViewDetail } from "./components/data-view/DataViewDetail.js";
|
|
17
|
-
import { DataViewList } from "./components/data-view/DataViewList.js";
|
|
18
|
-
import { DataViewRenderer } from "./components/data-view/DataViewRenderer.js";
|
|
19
|
-
import { DataViewTable } from "./components/data-view/DataViewTable.js";
|
|
20
|
-
import { FormCardLayout } from "./components/forms/FormCardLayout.js";
|
|
21
|
-
import { FormDialog } from "./components/forms/FormDialog.js";
|
|
22
|
-
import { FormGrid, FormRow, FormSection } from "./components/forms/FormLayout.js";
|
|
23
|
-
import { FormOneByOneLayout } from "./components/forms/FormOneByOneLayout.js";
|
|
24
|
-
import { FormStepsLayout } from "./components/forms/FormStepsLayout.js";
|
|
25
|
-
import { ZodForm } from "./components/forms/ZodForm.js";
|
|
26
|
-
import { DefinitionList } from "./components/legal/atoms/DefinitionList.js";
|
|
27
|
-
import { KeyValueList } from "./components/legal/atoms/KeyValueList.js";
|
|
28
|
-
import { LegalCallout } from "./components/legal/atoms/LegalCallout.js";
|
|
29
|
-
import { LegalHeading } from "./components/legal/atoms/LegalHeading.js";
|
|
30
|
-
import { LegalList } from "./components/legal/atoms/LegalList.js";
|
|
31
|
-
import { LegalSection } from "./components/legal/atoms/LegalSection.js";
|
|
32
|
-
import { LegalText } from "./components/legal/atoms/LegalText.js";
|
|
33
|
-
import { ConsentItem, ConsentList } from "./components/legal/molecules/Consent.js";
|
|
34
|
-
import { ContactFields } from "./components/legal/molecules/ContactFields.js";
|
|
35
|
-
import { LegalMeta } from "./components/legal/molecules/LegalMeta.js";
|
|
36
|
-
import { LegalTOC } from "./components/legal/molecules/LegalTOC.js";
|
|
37
|
-
import { ContactForm } from "./components/legal/organisms/ContactForm.js";
|
|
38
|
-
import { GDPRDataRequest } from "./components/legal/organisms/GDPRDataRequest.js";
|
|
39
|
-
import { GDPRRights } from "./components/legal/organisms/GDPRRights.js";
|
|
40
|
-
import { LegalPageLayout } from "./components/legal/organisms/LegalPageLayout.js";
|
|
41
|
-
import { ContactTemplate } from "./components/legal/templates/ContactTemplate.js";
|
|
42
|
-
import { CookiesTemplate } from "./components/legal/templates/CookiesTemplate.js";
|
|
43
|
-
import { PrivacyTemplate } from "./components/legal/templates/PrivacyTemplate.js";
|
|
44
|
-
import { SalesTermsTemplate } from "./components/legal/templates/SalesTermsTemplate.js";
|
|
45
|
-
import { TermsTemplate } from "./components/legal/templates/TermsTemplate.js";
|
|
46
|
-
import { AiLinkButton } from "./components/molecules/AiLinkButton.js";
|
|
47
|
-
import { Breadcrumbs } from "./components/molecules/Breadcrumbs.js";
|
|
48
|
-
import { CommandPalette } from "./components/molecules/CommandPalette.js";
|
|
49
|
-
import { CommandSearchTrigger } from "./components/molecules/CommandSearchTrigger.js";
|
|
50
|
-
import { EntityCard } from "./components/molecules/EntityCard.js";
|
|
51
|
-
import { FiltersToolbar } from "./components/molecules/FiltersToolbar.js";
|
|
52
|
-
import { HoverPreview } from "./components/molecules/HoverPreview.js";
|
|
53
|
-
import { LangSwitch } from "./components/molecules/LangSwitch.js";
|
|
54
|
-
import { LoaderBlock } from "./components/molecules/LoaderBlock.js";
|
|
55
|
-
import { CtaAction, HeaderNavItem, NavLink, NavSection, UserMenuItem } from "./types/navigation.js";
|
|
56
|
-
import { NavMain } from "./components/molecules/NavMain.js";
|
|
57
|
-
import { NavUser } from "./components/molecules/NavUser.js";
|
|
58
|
-
import { SkeletonBlock } from "./components/molecules/SkeletonBlock/index.web.js";
|
|
59
|
-
import "./components/molecules/SkeletonBlock/index.js";
|
|
60
|
-
import { SkeletonCircle } from "./components/molecules/SkeletonCircle/index.web.js";
|
|
61
|
-
import "./components/molecules/SkeletonCircle/index.js";
|
|
62
|
-
import { SkeletonList } from "./components/molecules/SkeletonList/index.web.js";
|
|
63
|
-
import "./components/molecules/SkeletonList/index.js";
|
|
64
|
-
import { StatCard, StatCardGroup } from "./components/molecules/StatCard.js";
|
|
65
|
-
import { StatusChip } from "./components/molecules/StatusChip.js";
|
|
66
|
-
import { HoverPreviewDoc } from "./components/molecules/hover-previews/Doc.js";
|
|
67
|
-
import { HoverPreviewMedia } from "./components/molecules/hover-previews/Media.js";
|
|
68
|
-
import { HoverPreviewSimple } from "./components/molecules/hover-previews/Simple.js";
|
|
69
|
-
import { HoverPreviewStats } from "./components/molecules/hover-previews/Stats.js";
|
|
70
|
-
import { HoverPreviewUser } from "./components/molecules/hover-previews/User.js";
|
|
71
|
-
import { AcademyLayout } from "./components/organisms/AcademyLayout.js";
|
|
72
|
-
import { DesktopHeader, Header, MobileHeader } from "./components/organisms/Header.js";
|
|
73
|
-
import { AppHeader } from "./components/organisms/AppHeader.js";
|
|
74
|
-
import { AppSidebar } from "./components/organisms/AppSidebar.js";
|
|
75
|
-
import { AppLayout } from "./components/organisms/AppLayout.js";
|
|
76
|
-
import { EmptyDataList } from "./components/organisms/EmptyDataList.js";
|
|
77
|
-
import { EmptySearchResult } from "./components/organisms/EmptySearchResult.js";
|
|
78
|
-
import { FAQSection } from "./components/organisms/FAQSection.js";
|
|
79
|
-
import { FeatureCarousel } from "./components/organisms/FeatureCarousel.js";
|
|
80
|
-
import { FeaturesSection } from "./components/organisms/FeaturesSection.js";
|
|
81
|
-
import { Footer } from "./components/organisms/Footer.js";
|
|
82
|
-
import { HeroSection } from "./components/organisms/HeroSection.js";
|
|
83
|
-
import { HeroResponsive } from "./components/organisms/HeroResponsive.js";
|
|
84
|
-
import { ListCardPage } from "./components/organisms/ListCardPage.js";
|
|
85
|
-
import { ListGridPage } from "./components/organisms/ListGridPage.js";
|
|
86
|
-
import { ListPageResponsive } from "./components/organisms/ListPageResponsive.js";
|
|
87
|
-
import { ListTablePage } from "./components/organisms/ListTablePage.js";
|
|
88
|
-
import { MarketingHeader } from "./components/organisms/MarketingHeader.js";
|
|
89
|
-
import { MarketingHeaderDesktop } from "./components/organisms/MarketingHeaderDesktop.js";
|
|
90
|
-
import { MarketingHeaderMobile } from "./components/organisms/MarketingHeaderMobile.js";
|
|
91
|
-
import { MarketingLayout } from "./components/organisms/MarketingLayout.js";
|
|
92
|
-
import { PageHeaderResponsive } from "./components/organisms/PageHeaderResponsive.js";
|
|
93
|
-
import { PricingCarousel } from "./components/organisms/PricingCarousel.js";
|
|
94
|
-
import { PricingSection } from "./components/organisms/PricingSection.js";
|
|
95
|
-
import { TestimonialCarousel } from "./components/organisms/TestimonialCarousel.js";
|
|
96
|
-
import { ListPageTemplate } from "./components/templates/lists/ListPageTemplate/index.web.js";
|
|
97
|
-
import "./components/templates/lists/ListPageTemplate/index.js";
|
|
98
|
-
import { useListUrlState } from "./hooks/useListUrlState.js";
|
|
99
|
-
import { formRenderer } from "./renderers/form-contract.js";
|
|
100
|
-
import "./renderers/index.js";
|
|
101
|
-
import { Breakpoints, DEFAULT_BREAKPOINTS, PlatformKind, PlatformUI, WithPlatformUIOptions, withPlatformUI } from "./platform/withPlatformUI.js";
|
|
102
|
-
import { useResponsive } from "./platform/useResponsive.js";
|
|
103
|
-
import { useReducedMotion } from "./platform/useReducedMotion.js";
|
|
104
|
-
import { useColorScheme } from "./platform/useColorScheme.js";
|
|
105
|
-
import { DSBaseVariantsProps, DensityVariant, EmphasisVariant, SizeVariant, ToneVariant, dsBaseVariants } from "./theme/variants.js";
|
|
106
|
-
import { ColorTokens, RadiusTokens, SpaceTokens, ThemeTokens, TypographyTokens, defaultTokens } from "./theme/tokens.js";
|
|
107
|
-
import { mapTokensForPlatform } from "./theme/tokenBridge.js";
|
|
108
|
-
export { AcademyLayout, AgentMonitor, AiLinkButton, AppHeader, AppLayout, AppSidebar, ApprovalQueue, Breadcrumbs, Breakpoints, Button, ButtonLink, ColorTokens, CommandPalette, CommandSearchTrigger, ConsentItem, ConsentList, ContactFields, ContactForm, ContactTemplate, CookiesTemplate, Cta, CtaAction, DEFAULT_BREAKPOINTS, DSBaseVariantsProps, DataViewDetail, DataViewList, DataViewRenderer, DataViewTable, DateChip, DefinitionList, DeleteButton, DensityVariant, DesktopHeader, DurationChip, EditButton, EmphasisVariant, EmptyDataList, EmptySearchResult, EmptyState, EntityCard, ErrorState, FAQSection, FeatureCarousel, FeaturesSection, FiltersToolbar, Footer, FormCardLayout, FormDialog, FormGrid, FormOneByOneLayout, FormRow, FormSection, FormStepsLayout, GDPRDataRequest, GDPRRights, Header, HeaderNavItem, HeroResponsive, HeroSection, HoverPreview, HoverPreviewDoc, HoverPreviewMedia, HoverPreviewSimple, HoverPreviewStats, HoverPreviewUser, Input, KeyValueList, LangSwitch, LegalCallout, LegalHeading, LegalList, LegalMeta, LegalPageLayout, LegalSection, LegalTOC, LegalText, Link, ListCardPage, ListGridPage, ListPageResponsive, ListPageTemplate, ListTablePage, LoaderBlock, LoaderCircular, MarketingHeader, MarketingHeaderDesktop, MarketingHeaderMobile, MarketingLayout, MobileHeader, NavBrand, NavLink, NavMain, NavSection, NavUser, PageHeaderResponsive, PlaceChip, PlatformKind, PlatformUI, PricingCarousel, PricingSection, PrivacyTemplate, RadiusTokens, SalesTermsTemplate, SizeVariant, SkeletonBlock, SkeletonCircle, SkeletonList, SpaceTokens, StatCard, StatCardGroup, StatusChip, Stepper, TermsTemplate, TestimonialCarousel, Textarea, ThemeTokens, TimeChip, ToggleButton, ToggleLeftButton, ToggleRightButton, ToneVariant, TypographyTokens, UserMenuItem, ViewButton, WithPlatformUIOptions, ZodForm, defaultTokens, dsBaseVariants, formRenderer, mapTokensForPlatform, useColorScheme, useListUrlState, useReducedMotion, useResponsive, withPlatformUI };
|
package/dist/lib/keyboard.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region src/lib/keyboard.d.ts
|
|
2
|
-
type KeyboardKind = 'text' | 'email' | 'password' | 'new-password' | 'username' | 'url' | 'search' | 'phone' | 'tel' | 'number' | 'int' | 'decimal' | 'numbers-and-punctuation' | 'otp' | 'name' | 'given-name' | 'family-name' | 'address-line1' | 'address-line2' | 'postal-code' | 'cc-number' | 'cc-exp' | 'cc-csc' | 'off' | 'date';
|
|
3
|
-
type AutoCompleteToken = 'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'photo' | 'email' | 'impp' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-local-prefix' | 'tel-local-suffix' | 'tel-extension' | 'url' | 'webauthn' | `section-${string}` | (string & {});
|
|
4
|
-
interface KeyboardOptions {
|
|
5
|
-
kind?: KeyboardKind;
|
|
6
|
-
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
7
|
-
autoComplete?: AutoCompleteToken;
|
|
8
|
-
autoCorrect?: boolean;
|
|
9
|
-
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'search' | 'send';
|
|
10
|
-
}
|
|
11
|
-
declare function mapKeyboardToWeb(opts?: KeyboardOptions): Record<string, unknown>;
|
|
12
|
-
declare function mapKeyboardToNative(opts?: KeyboardOptions): Record<string, unknown>;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { AutoCompleteToken, KeyboardKind, KeyboardOptions, mapKeyboardToNative, mapKeyboardToWeb };
|
package/dist/lib/utils.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
import { Appearance } from "react-native";
|
|
5
|
-
|
|
6
|
-
//#region src/platform/useColorScheme.mobile.ts
|
|
7
|
-
function useColorScheme() {
|
|
8
|
-
const [scheme, setScheme] = React$1.useState(() => Appearance.getColorScheme?.() === "dark" ? "dark" : "light");
|
|
9
|
-
React$1.useEffect(() => {
|
|
10
|
-
const listener = ({ colorScheme }) => {
|
|
11
|
-
setScheme(colorScheme === "dark" ? "dark" : "light");
|
|
12
|
-
};
|
|
13
|
-
const sub = Appearance.addChangeListener?.(listener);
|
|
14
|
-
return () => sub?.remove?.();
|
|
15
|
-
}, []);
|
|
16
|
-
return scheme;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { useColorScheme };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
import { AccessibilityInfo } from "react-native";
|
|
5
|
-
|
|
6
|
-
//#region src/platform/useReducedMotion.mobile.ts
|
|
7
|
-
function useReducedMotion() {
|
|
8
|
-
const [reduced, setReduced] = React$1.useState(false);
|
|
9
|
-
React$1.useEffect(() => {
|
|
10
|
-
let mounted = true;
|
|
11
|
-
AccessibilityInfo?.isReduceMotionEnabled().then((v) => {
|
|
12
|
-
if (mounted) setReduced(Boolean(v));
|
|
13
|
-
});
|
|
14
|
-
const handler = (v) => {
|
|
15
|
-
if (mounted) setReduced(Boolean(v));
|
|
16
|
-
};
|
|
17
|
-
const sub = AccessibilityInfo?.addEventListener?.("reduceMotionChanged", handler);
|
|
18
|
-
return () => {
|
|
19
|
-
mounted = false;
|
|
20
|
-
sub?.remove?.();
|
|
21
|
-
AccessibilityInfo?.removeEventListener?.("reduceMotionChanged", handler);
|
|
22
|
-
};
|
|
23
|
-
}, []);
|
|
24
|
-
return reduced;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { useReducedMotion };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region src/platform/useResponsive.d.ts
|
|
2
|
-
interface Breakpoints {
|
|
3
|
-
sm: number;
|
|
4
|
-
md: number;
|
|
5
|
-
lg: number;
|
|
6
|
-
xl: number;
|
|
7
|
-
}
|
|
8
|
-
declare function useResponsive(custom?: Partial<Breakpoints>): {
|
|
9
|
-
readonly width: number;
|
|
10
|
-
readonly breakpoints: {
|
|
11
|
-
sm: number;
|
|
12
|
-
md: number;
|
|
13
|
-
lg: number;
|
|
14
|
-
xl: number;
|
|
15
|
-
};
|
|
16
|
-
readonly isSM: boolean;
|
|
17
|
-
readonly isMD: boolean;
|
|
18
|
-
readonly isLG: boolean;
|
|
19
|
-
readonly isXL: boolean;
|
|
20
|
-
readonly screen: "mobile" | "tablet" | "desktop";
|
|
21
|
-
};
|
|
22
|
-
//#endregion
|
|
23
|
-
export { useResponsive };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region src/platform/useResponsive.mobile.d.ts
|
|
2
|
-
interface Breakpoints {
|
|
3
|
-
sm: number;
|
|
4
|
-
md: number;
|
|
5
|
-
lg: number;
|
|
6
|
-
xl: number;
|
|
7
|
-
}
|
|
8
|
-
declare function useResponsive(custom?: Partial<Breakpoints>): {
|
|
9
|
-
readonly width: number;
|
|
10
|
-
readonly breakpoints: {
|
|
11
|
-
sm: number;
|
|
12
|
-
md: number;
|
|
13
|
-
lg: number;
|
|
14
|
-
xl: number;
|
|
15
|
-
};
|
|
16
|
-
readonly isSM: boolean;
|
|
17
|
-
readonly isMD: boolean;
|
|
18
|
-
readonly isLG: boolean;
|
|
19
|
-
readonly isXL: boolean;
|
|
20
|
-
readonly screen: "mobile" | "tablet" | "desktop";
|
|
21
|
-
};
|
|
22
|
-
//#endregion
|
|
23
|
-
export { useResponsive };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { useEffect, useMemo, useState } from "react";
|
|
4
|
-
import { Dimensions } from "react-native";
|
|
5
|
-
|
|
6
|
-
//#region src/platform/useResponsive.mobile.ts
|
|
7
|
-
const DEFAULT = {
|
|
8
|
-
sm: 640,
|
|
9
|
-
md: 768,
|
|
10
|
-
lg: 1024,
|
|
11
|
-
xl: 1280
|
|
12
|
-
};
|
|
13
|
-
function useResponsive(custom) {
|
|
14
|
-
const bp = useMemo(() => ({
|
|
15
|
-
...DEFAULT,
|
|
16
|
-
...custom
|
|
17
|
-
}), [custom]);
|
|
18
|
-
const [width, setWidth] = useState(Dimensions.get("window").width);
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
const sub = Dimensions.addEventListener("change", ({ window }) => {
|
|
21
|
-
setWidth(window.width);
|
|
22
|
-
});
|
|
23
|
-
return () => {
|
|
24
|
-
if (typeof sub?.remove === "function") sub.remove();
|
|
25
|
-
};
|
|
26
|
-
}, []);
|
|
27
|
-
const isSM = width >= bp.sm;
|
|
28
|
-
const isMD = width >= bp.md;
|
|
29
|
-
const isLG = width >= bp.lg;
|
|
30
|
-
return {
|
|
31
|
-
width,
|
|
32
|
-
breakpoints: bp,
|
|
33
|
-
isSM,
|
|
34
|
-
isMD,
|
|
35
|
-
isLG,
|
|
36
|
-
isXL: width >= bp.xl,
|
|
37
|
-
screen: isLG ? "desktop" : isSM ? "tablet" : "mobile"
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
//#endregion
|
|
42
|
-
export { useResponsive };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region src/platform/withPlatformUI.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* withPlatformUI
|
|
4
|
-
* Lightweight adapter inspired by gluestack's withGluestack pattern.
|
|
5
|
-
* It centralizes tokens and responsive options while keeping DS imports
|
|
6
|
-
* pointed at @ui-kit-web. Metro/Webpack aliases can swap to @ui-kit in native.
|
|
7
|
-
*/
|
|
8
|
-
type PlatformKind = 'web' | 'native';
|
|
9
|
-
interface Breakpoints {
|
|
10
|
-
sm: number;
|
|
11
|
-
md: number;
|
|
12
|
-
lg: number;
|
|
13
|
-
xl: number;
|
|
14
|
-
}
|
|
15
|
-
interface WithPlatformUIOptions<TTokens extends Record<string, unknown>> {
|
|
16
|
-
tokens: TTokens;
|
|
17
|
-
platform?: PlatformKind;
|
|
18
|
-
breakpoints?: Partial<Breakpoints>;
|
|
19
|
-
}
|
|
20
|
-
interface PlatformUI<TTokens> {
|
|
21
|
-
platform: PlatformKind;
|
|
22
|
-
tokens: TTokens;
|
|
23
|
-
breakpoints: Breakpoints;
|
|
24
|
-
}
|
|
25
|
-
declare const DEFAULT_BREAKPOINTS: Breakpoints;
|
|
26
|
-
declare function withPlatformUI<TTokens extends Record<string, unknown>>(options: WithPlatformUIOptions<TTokens>): PlatformUI<TTokens>;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Breakpoints, DEFAULT_BREAKPOINTS, PlatformKind, PlatformUI, WithPlatformUIOptions, withPlatformUI };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as _lssm_lib_contracts_client_react_form_render0 from "@lssm/lib.contracts/client/react/form-render";
|
|
2
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
|
-
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
4
|
-
import * as _lssm_lib_contracts_forms0 from "@lssm/lib.contracts/forms";
|
|
5
|
-
|
|
6
|
-
//#region src/renderers/form-contract.d.ts
|
|
7
|
-
declare const formRenderer: {
|
|
8
|
-
render: (spec: _lssm_lib_contracts_forms0.FormSpec<_lssm_lib_schema0.AnySchemaModel>, options?: _lssm_lib_contracts_client_react_form_render0.RenderOptions<Record<string, any>> | undefined) => react_jsx_runtime14.JSX.Element;
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { formRenderer };
|
package/dist/renderers/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ColorTokens, RadiusTokens, SpaceTokens, defaultTokens } from "./tokens.js";
|
|
2
|
-
|
|
3
|
-
//#region src/theme/tokenBridge.d.ts
|
|
4
|
-
type PlatformKind = 'web' | 'native';
|
|
5
|
-
type WebTokens = typeof defaultTokens;
|
|
6
|
-
interface NativeTokens {
|
|
7
|
-
colors: ColorTokens;
|
|
8
|
-
spacing: SpaceTokens;
|
|
9
|
-
typography: {
|
|
10
|
-
h1: number;
|
|
11
|
-
body: number;
|
|
12
|
-
};
|
|
13
|
-
radii: RadiusTokens;
|
|
14
|
-
icons: Record<string, number>;
|
|
15
|
-
}
|
|
16
|
-
type BridgedTokens = WebTokens | NativeTokens;
|
|
17
|
-
declare function mapTokensForPlatform(platform: PlatformKind): BridgedTokens;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { BridgedTokens, PlatformKind, mapTokensForPlatform };
|