periplo-ui 4.11.5 → 4.12.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/dist/components/inputs/CountrySelect/CountrySelect.d.ts +26 -0
- package/dist/components/inputs/CountrySelect/CountrySelect.js +78 -0
- package/dist/components/inputs/CountrySelect/CountrySelect.js.map +1 -0
- package/dist/components/inputs/CountrySelect/index.d.ts +2 -0
- package/dist/components/inputs/CountrySelect/index.js +2 -0
- package/dist/components/inputs/CountrySelect/types.d.ts +9 -0
- package/dist/components/inputs/CountrySelect/types.js +1 -0
- package/dist/components/inputs/PhoneInput/PhoneInput.js +2 -2
- package/dist/components/inputs/PhoneInput/hooks/usePhoneField.js +1 -1
- package/dist/components/inputs/PhoneInput/phone.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComboboxSingleProps } from '../Combobox';
|
|
2
|
+
import { Country, CountrySelectAccessors } from './types';
|
|
3
|
+
import type * as React from 'react';
|
|
4
|
+
type CountrySelectComboboxProps = Pick<ComboboxSingleProps<object>, 'id' | 'className' | 'disabled' | 'error' | 'value' | 'placeholder' | 'searchPlaceholder' | 'emptyMessage' | 'aria-invalid' | 'aria-describedby'>;
|
|
5
|
+
type CountrySelectBaseProps<T> = CountrySelectComboboxProps & {
|
|
6
|
+
/** ISO codes pinned above the list, in order. */
|
|
7
|
+
priorityCountries?: Array<string>;
|
|
8
|
+
onChange?: (value: string, country: T) => void;
|
|
9
|
+
};
|
|
10
|
+
type ResolvedCountrySelectProps<T extends object> = CountrySelectBaseProps<T> & Partial<CountrySelectAccessors<T>> & {
|
|
11
|
+
/** Defaults to the generated list. */
|
|
12
|
+
countries?: Array<T>;
|
|
13
|
+
/** Ignored when `countries` is passed. */
|
|
14
|
+
locale?: string;
|
|
15
|
+
};
|
|
16
|
+
export type CountrySelectDefaultProps = ResolvedCountrySelectProps<Country>;
|
|
17
|
+
export type CountrySelectCustomProps<T extends object> = CountrySelectBaseProps<T> & CountrySelectAccessors<T> & {
|
|
18
|
+
countries: Array<T>;
|
|
19
|
+
};
|
|
20
|
+
export type CountrySelectProps<T extends object = Country> = CountrySelectDefaultProps | CountrySelectCustomProps<T>;
|
|
21
|
+
export declare function CountrySelect(props: CountrySelectDefaultProps): React.ReactElement;
|
|
22
|
+
export declare function CountrySelect<T extends object>(props: CountrySelectCustomProps<T>): React.ReactElement;
|
|
23
|
+
export declare namespace CountrySelect {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { cn, createSearchMatcher } from "../../../lib/utils.js";
|
|
2
|
+
import { Combobox } from "../Combobox/Combobox.js";
|
|
3
|
+
import { buildCountries, isoToFlag, regionName, resolveIso, splitByPriority } from "../../../lib/countries.js";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { CheckIcon } from "@phosphor-icons/react/dist/ssr/Check";
|
|
6
|
+
import { GlobeIcon } from "@phosphor-icons/react/dist/ssr/Globe";
|
|
7
|
+
//#region src/components/inputs/CountrySelect/CountrySelect.tsx
|
|
8
|
+
function CountrySelect(props) {
|
|
9
|
+
const { countries, locale = "en", priorityCountries, onChange, getCountryValue, getCountryIsoCode, getCountryName, getCountrySearchTerms, className, disabled = false, placeholder = "Select country", ...comboboxProps } = props;
|
|
10
|
+
const options = countries ?? buildCountries(locale);
|
|
11
|
+
const valueOf = getCountryValue ?? ((option) => option.isoCode);
|
|
12
|
+
const nameOf = getCountryName ?? ((option) => option.name);
|
|
13
|
+
const isoOf = (option) => resolveIso(valueOf(option), getCountryIsoCode?.(option));
|
|
14
|
+
const { priority, rest } = splitByPriority(options, priorityCountries, isoOf);
|
|
15
|
+
const filterOptions = (list, search) => {
|
|
16
|
+
const matches = createSearchMatcher(search);
|
|
17
|
+
return list.filter((option) => {
|
|
18
|
+
const iso = isoOf(option);
|
|
19
|
+
const terms = [
|
|
20
|
+
nameOf(option),
|
|
21
|
+
iso ?? "",
|
|
22
|
+
...getCountrySearchTerms?.(option) ?? []
|
|
23
|
+
];
|
|
24
|
+
if (!countries && iso && locale !== "en") terms.push(regionName(iso));
|
|
25
|
+
return matches(terms);
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const renderCountry = (option) => {
|
|
29
|
+
const iso = isoOf(option);
|
|
30
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
31
|
+
className: "flex min-w-0 items-center gap-2",
|
|
32
|
+
children: [iso && /* @__PURE__ */ jsx("span", {
|
|
33
|
+
className: "text-lg leading-none",
|
|
34
|
+
children: isoToFlag(iso)
|
|
35
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
36
|
+
className: "truncate",
|
|
37
|
+
children: nameOf(option)
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
return /* @__PURE__ */ jsx(Combobox, {
|
|
42
|
+
...comboboxProps,
|
|
43
|
+
className: cn("w-full", className),
|
|
44
|
+
disabled: disabled || options.length <= 1 && !!comboboxProps.value,
|
|
45
|
+
placeholder: /* @__PURE__ */ jsxs("span", {
|
|
46
|
+
className: "flex items-center gap-2",
|
|
47
|
+
children: [/* @__PURE__ */ jsx(GlobeIcon, {
|
|
48
|
+
className: "h-5 w-5 shrink-0",
|
|
49
|
+
"aria-hidden": true
|
|
50
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
51
|
+
className: "truncate",
|
|
52
|
+
children: placeholder
|
|
53
|
+
})]
|
|
54
|
+
}),
|
|
55
|
+
options: rest,
|
|
56
|
+
specialOptions: priority,
|
|
57
|
+
getOptionValue: valueOf,
|
|
58
|
+
getOptionLabel: nameOf,
|
|
59
|
+
filterOptions,
|
|
60
|
+
clearable: false,
|
|
61
|
+
onOpenAutoFocus: true,
|
|
62
|
+
onChange: (value) => {
|
|
63
|
+
const country = options.find((option) => valueOf(option) === value);
|
|
64
|
+
if (country) onChange?.(value, country);
|
|
65
|
+
},
|
|
66
|
+
renderLabel: renderCountry,
|
|
67
|
+
renderOption: (option, isSelected) => /* @__PURE__ */ jsxs(Fragment, { children: [renderCountry(option), isSelected && /* @__PURE__ */ jsx(CheckIcon, {
|
|
68
|
+
"data-testid": "selected-check",
|
|
69
|
+
weight: "bold",
|
|
70
|
+
className: "ml-auto h-4 w-4 shrink-0 text-neutral-950"
|
|
71
|
+
})] })
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
CountrySelect.displayName = "CountrySelect";
|
|
75
|
+
//#endregion
|
|
76
|
+
export { CountrySelect };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=CountrySelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountrySelect.js","names":["_Fragment"],"sources":["../../../../src/components/inputs/CountrySelect/CountrySelect.tsx"],"sourcesContent":["import { CheckIcon } from '@phosphor-icons/react/dist/ssr/Check'\nimport { GlobeIcon } from '@phosphor-icons/react/dist/ssr/Globe'\nimport type * as React from 'react'\n\nimport { Combobox, type ComboboxSingleProps } from '../Combobox'\n\nimport type { Country, CountrySelectAccessors } from './types'\n\nimport { buildCountries, isoToFlag, regionName, resolveIso, splitByPriority } from '@/lib/countries'\nimport { cn, createSearchMatcher } from '@/lib/utils'\n\ntype CountrySelectComboboxProps = Pick<\n ComboboxSingleProps<object>,\n | 'id'\n | 'className'\n | 'disabled'\n | 'error'\n | 'value'\n | 'placeholder'\n | 'searchPlaceholder'\n | 'emptyMessage'\n | 'aria-invalid'\n | 'aria-describedby'\n>\n\ntype CountrySelectBaseProps<T> = CountrySelectComboboxProps & {\n /** ISO codes pinned above the list, in order. */\n priorityCountries?: Array<string>\n onChange?: (value: string, country: T) => void\n}\n\ntype ResolvedCountrySelectProps<T extends object> = CountrySelectBaseProps<T> &\n Partial<CountrySelectAccessors<T>> & {\n /** Defaults to the generated list. */\n countries?: Array<T>\n /** Ignored when `countries` is passed. */\n locale?: string\n }\n\nexport type CountrySelectDefaultProps = ResolvedCountrySelectProps<Country>\n\nexport type CountrySelectCustomProps<T extends object> = CountrySelectBaseProps<T> &\n CountrySelectAccessors<T> & {\n countries: Array<T>\n }\n\nexport type CountrySelectProps<T extends object = Country> = CountrySelectDefaultProps | CountrySelectCustomProps<T>\n\nexport function CountrySelect(props: CountrySelectDefaultProps): React.ReactElement\nexport function CountrySelect<T extends object>(props: CountrySelectCustomProps<T>): React.ReactElement\nexport function CountrySelect<T extends object>(props: ResolvedCountrySelectProps<T>): React.ReactElement {\n const {\n countries,\n locale = 'en',\n priorityCountries,\n onChange,\n getCountryValue,\n getCountryIsoCode,\n getCountryName,\n getCountrySearchTerms,\n className,\n disabled = false,\n placeholder = 'Select country',\n ...comboboxProps\n } = props\n\n const options = countries ?? (buildCountries(locale) as unknown as Array<T>)\n const valueOf = getCountryValue ?? ((option: T) => (option as unknown as Country).isoCode)\n const nameOf = getCountryName ?? ((option: T) => (option as unknown as Country).name)\n const isoOf = (option: T) => resolveIso(valueOf(option), getCountryIsoCode?.(option))\n\n const { priority, rest } = splitByPriority(options, priorityCountries, isoOf)\n\n const filterOptions = (list: Array<T>, search: string) => {\n const matches = createSearchMatcher(search)\n return list.filter((option) => {\n const iso = isoOf(option)\n const terms = [nameOf(option), iso ?? '', ...(getCountrySearchTerms?.(option) ?? [])]\n if (!countries && iso && locale !== 'en') terms.push(regionName(iso))\n return matches(terms)\n })\n }\n\n const renderCountry = (option: T) => {\n const iso = isoOf(option)\n return (\n <span className=\"flex min-w-0 items-center gap-2\">\n {iso && <span className=\"text-lg leading-none\">{isoToFlag(iso)}</span>}\n <span className=\"truncate\">{nameOf(option)}</span>\n </span>\n )\n }\n\n return (\n <Combobox<T>\n {...comboboxProps}\n className={cn('w-full', className)}\n disabled={disabled || (options.length <= 1 && !!comboboxProps.value)}\n placeholder={\n <span className=\"flex items-center gap-2\">\n <GlobeIcon className=\"h-5 w-5 shrink-0\" aria-hidden />\n <span className=\"truncate\">{placeholder}</span>\n </span>\n }\n options={rest}\n specialOptions={priority}\n getOptionValue={valueOf}\n getOptionLabel={nameOf}\n filterOptions={filterOptions}\n clearable={false}\n onOpenAutoFocus\n onChange={(value) => {\n const country = options.find((option) => valueOf(option) === value)\n if (country) onChange?.(value, country)\n }}\n renderLabel={renderCountry}\n renderOption={(option, isSelected) => (\n <>\n {renderCountry(option)}\n {isSelected && (\n <CheckIcon\n data-testid=\"selected-check\"\n weight=\"bold\"\n className=\"ml-auto h-4 w-4 shrink-0 text-neutral-950\"\n />\n )}\n </>\n )}\n />\n )\n}\n\nCountrySelect.displayName = 'CountrySelect'\n"],"mappings":";;;;;;;AAkDA,SAAgB,cAAgC,OAA0D;CACxG,MAAM,EACJ,WACA,SAAS,MACT,mBACA,UACA,iBACA,mBACA,gBACA,uBACA,WACA,WAAW,OACX,cAAc,kBACd,GAAG,kBACD;CAEJ,MAAM,UAAU,aAAc,eAAe,MAAM;CACnD,MAAM,UAAU,qBAAqB,WAAe,OAA8B;CAClF,MAAM,SAAS,oBAAoB,WAAe,OAA8B;CAChF,MAAM,SAAS,WAAc,WAAW,QAAQ,MAAM,GAAG,oBAAoB,MAAM,CAAC;CAEpF,MAAM,EAAE,UAAU,SAAS,gBAAgB,SAAS,mBAAmB,KAAK;CAE5E,MAAM,iBAAiB,MAAgB,WAAmB;EACxD,MAAM,UAAU,oBAAoB,MAAM;EAC1C,OAAO,KAAK,QAAQ,WAAW;GAC7B,MAAM,MAAM,MAAM,MAAM;GACxB,MAAM,QAAQ;IAAC,OAAO,MAAM;IAAG,OAAO;IAAI,GAAI,wBAAwB,MAAM,KAAK,CAAC;GAAE;GACpF,IAAI,CAAC,aAAa,OAAO,WAAW,MAAM,MAAM,KAAK,WAAW,GAAG,CAAC;GACpE,OAAO,QAAQ,KAAK;EACtB,CAAC;CACH;CAEA,MAAM,iBAAiB,WAAc;EACnC,MAAM,MAAM,MAAM,MAAM;EACxB,OACE,qBAAC,QAAD;GAAM,WAAU;GAAhB,UAAA,CACG,OAAO,oBAAC,QAAD;IAAM,WAAU;IAAwB,UAAA,UAAU,GAAG;GAAQ,CAAA,GACrE,oBAAC,QAAD;IAAM,WAAU;IAAY,UAAA,OAAO,MAAM;GAAQ,CAAA,CAC7C;;CAEV;CAEA,OACE,oBAAC,UAAD;EACE,GAAI;EACJ,WAAW,GAAG,UAAU,SAAS;EACjC,UAAU,YAAa,QAAQ,UAAU,KAAK,CAAC,CAAC,cAAc;EAC9D,aACE,qBAAC,QAAD;GAAM,WAAU;GAAhB,UAAA,CACE,oBAAC,WAAD;IAAW,WAAU;IAAmB,eAAA;GAAa,CAAA,GACrD,oBAAC,QAAD;IAAM,WAAU;IAAY,UAAA;GAAkB,CAAA,CAC1C;;EAER,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EACD;EACf,WAAW;EACX,iBAAA;EACA,WAAW,UAAU;GACnB,MAAM,UAAU,QAAQ,MAAM,WAAW,QAAQ,MAAM,MAAM,KAAK;GAClE,IAAI,SAAS,WAAW,OAAO,OAAO;EACxC;EACA,aAAa;EACb,eAAe,QAAQ,eACrB,qBAAAA,UAAA,EAAA,UAAA,CACG,cAAc,MAAM,GACpB,cACC,oBAAC,WAAD;GACE,eAAY;GACZ,QAAO;GACP,WAAU;EACX,CAAA,CAEH,EAAA,CAAA;CAEL,CAAA;AAEL;AAEA,cAAc,cAAc"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { Country } from '../../../lib/countries';
|
|
2
|
+
export type CountrySelectAccessors<T> = {
|
|
3
|
+
getCountryValue: (country: T) => string;
|
|
4
|
+
getCountryName: (country: T) => string;
|
|
5
|
+
/** Optional when `getCountryValue` already returns an ISO code. */
|
|
6
|
+
getCountryIsoCode?: (country: T) => string | undefined;
|
|
7
|
+
/** Extra search terms, e.g. aliases. */
|
|
8
|
+
getCountrySearchTerms?: (country: T) => Array<string>;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,15 +2,15 @@ import { cn, createSearchMatcher } from "../../../lib/utils.js";
|
|
|
2
2
|
import { useListScroll } from "../../../lib/useListScroll.js";
|
|
3
3
|
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../../utils/Command/Command.js";
|
|
4
4
|
import { PopoverContent, PopoverRoot, PopoverTrigger } from "../../utils/Popover/Popover.js";
|
|
5
|
-
import { exampleNational } from "./phone.js";
|
|
6
5
|
import { buildCountries, splitByPriority } from "../../../lib/countries.js";
|
|
6
|
+
import { exampleNational } from "./phone.js";
|
|
7
7
|
import { usePhoneField } from "./hooks/usePhoneField.js";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { CheckIcon } from "@phosphor-icons/react/dist/ssr/Check";
|
|
11
11
|
import { CaretDownIcon } from "@phosphor-icons/react/dist/ssr/CaretDown";
|
|
12
|
-
import { WarningCircleIcon } from "@phosphor-icons/react/dist/ssr/WarningCircle";
|
|
13
12
|
import { GlobeIcon } from "@phosphor-icons/react/dist/ssr/Globe";
|
|
13
|
+
import { WarningCircleIcon } from "@phosphor-icons/react/dist/ssr/WarningCircle";
|
|
14
14
|
//#region src/components/inputs/PhoneInput/PhoneInput.tsx
|
|
15
15
|
var defaultAccessors = {
|
|
16
16
|
getCountryValue: (country) => country.isoCode,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describe, detectIntl, formatNational, isPartialCallingCode, parseDigits, pickCountryOption, toIntlCandidate } from "../phone.js";
|
|
2
1
|
import { resolveIso } from "../../../../lib/countries.js";
|
|
2
|
+
import { describe, detectIntl, formatNational, isPartialCallingCode, parseDigits, pickCountryOption, toIntlCandidate } from "../phone.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region src/components/inputs/PhoneInput/hooks/usePhoneField.ts
|
|
5
5
|
var CARET_END = Number.MAX_SAFE_INTEGER;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import examples from "libphonenumber-js/examples.mobile.json";
|
|
2
1
|
import { AsYouType, formatIncompletePhoneNumber, getCountries, getCountryCallingCode, getExampleNumber, isValidPhoneNumber, parseDigits, parsePhoneNumberFromString } from "libphonenumber-js/min";
|
|
2
|
+
import examples from "libphonenumber-js/examples.mobile.json";
|
|
3
3
|
//#region src/components/inputs/PhoneInput/phone.ts
|
|
4
4
|
var callingCodeIndex;
|
|
5
5
|
function indexCallingCodes() {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './components/inputs/Button';
|
|
|
2
2
|
export * from './components/inputs/Calendar';
|
|
3
3
|
export * from './components/inputs/Checkbox';
|
|
4
4
|
export * from './components/inputs/Combobox';
|
|
5
|
+
export * from './components/inputs/CountrySelect';
|
|
5
6
|
export * from './components/inputs/DatePicker';
|
|
6
7
|
export * from './components/inputs/Form';
|
|
7
8
|
export * from './components/inputs/InlineMultiSelect';
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import { StaticComboboxList } from "./components/inputs/Combobox/StaticComboboxL
|
|
|
11
11
|
import { useCombobox } from "./components/inputs/Combobox/useCombobox.js";
|
|
12
12
|
import { VirtualizedComboboxList } from "./components/inputs/Combobox/VirtualizedComboboxList.js";
|
|
13
13
|
import { Combobox } from "./components/inputs/Combobox/Combobox.js";
|
|
14
|
+
import { CountrySelect } from "./components/inputs/CountrySelect/CountrySelect.js";
|
|
14
15
|
import { DatePicker } from "./components/inputs/DatePicker/DatePicker.js";
|
|
15
16
|
import { Label } from "./components/data-display/Label/Label.js";
|
|
16
17
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./components/inputs/Form/Form.js";
|
|
@@ -49,4 +50,4 @@ import { BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, Bre
|
|
|
49
50
|
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetRoot, SheetTitle, SheetTrigger } from "./components/navigation/Sheet/Sheet.js";
|
|
50
51
|
import { SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, sidebarGroupActionVariants, sidebarGroupLabelVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubVariants, useSidebar } from "./components/navigation/Sidebar/Sidebar.js";
|
|
51
52
|
import { Tabs, TabsContent, TabsLink, TabsList, TabsTrigger } from "./components/navigation/Tabs/Tabs.js";
|
|
52
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbRoot, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardMedia, Carousel, CarouselContent, CarouselContext, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, Combobox, ComboboxOptionWithTooltip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, InlineMultiSelect, Input, InputDate, Label, LazyDatePicker, Marquee, MultiSelect, NavigationBreadcrumb, NotificationBadge, PagesBreadcrumb, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, PhoneInput, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetRoot, SheetTitle, SheetTrigger, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, StarRating, StaticComboboxList, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsLink, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TruncatedTypographyWithTooltip, Typography, VirtualizedComboboxList, badgeVariants, buttonVariants, chipVariants, isValidPhone, isoFromDialCode, notificationBadgeVariants, sidebarGroupActionVariants, sidebarGroupLabelVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubVariants, splitE164, toast, toggleVariants, typographyVariants, useCombobox, useFormField, useSidebar };
|
|
53
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbRoot, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardMedia, Carousel, CarouselContent, CarouselContext, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, Combobox, ComboboxOptionWithTooltip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CountrySelect, DataTable, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, InlineMultiSelect, Input, InputDate, Label, LazyDatePicker, Marquee, MultiSelect, NavigationBreadcrumb, NotificationBadge, PagesBreadcrumb, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, PhoneInput, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetRoot, SheetTitle, SheetTrigger, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, StarRating, StaticComboboxList, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsLink, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TruncatedTypographyWithTooltip, Typography, VirtualizedComboboxList, badgeVariants, buttonVariants, chipVariants, isValidPhone, isoFromDialCode, notificationBadgeVariants, sidebarGroupActionVariants, sidebarGroupLabelVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubVariants, splitE164, toast, toggleVariants, typographyVariants, useCombobox, useFormField, useSidebar };
|