@nori-ui/core 1.5.0 → 1.7.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/Table.shared-BymRgTnY.d.cts +54 -0
- package/dist/Table.shared-BymRgTnY.d.ts +54 -0
- package/dist/{chunk-7UKRN73P.js → chunk-2XJCLPNH.js} +3 -3
- package/dist/{chunk-7UKRN73P.js.map → chunk-2XJCLPNH.js.map} +1 -1
- package/dist/{chunk-76FZF4GM.js → chunk-3B345SQU.js} +8 -125
- package/dist/chunk-3B345SQU.js.map +1 -0
- package/dist/{chunk-WOF67PKT.js → chunk-3CEJ5TB4.js} +3 -3
- package/dist/{chunk-WOF67PKT.js.map → chunk-3CEJ5TB4.js.map} +1 -1
- package/dist/{chunk-JSAG5YO7.js → chunk-3IIIHZHT.js} +3 -3
- package/dist/{chunk-JSAG5YO7.js.map → chunk-3IIIHZHT.js.map} +1 -1
- package/dist/{chunk-46OT4PA6.js → chunk-3W3XYULK.js} +3 -3
- package/dist/{chunk-46OT4PA6.js.map → chunk-3W3XYULK.js.map} +1 -1
- package/dist/{chunk-6PO2IWB3.js → chunk-4UFAZLSZ.js} +5 -3
- package/dist/chunk-4UFAZLSZ.js.map +1 -0
- package/dist/chunk-5YHT252H.js +145 -0
- package/dist/chunk-5YHT252H.js.map +1 -0
- package/dist/chunk-73CUV7MW.js +125 -0
- package/dist/chunk-73CUV7MW.js.map +1 -0
- package/dist/{chunk-ZMSIYLSI.js → chunk-7FSFJA33.js} +3 -3
- package/dist/{chunk-ZMSIYLSI.js.map → chunk-7FSFJA33.js.map} +1 -1
- package/dist/chunk-C32XGHWO.js +202 -0
- package/dist/chunk-C32XGHWO.js.map +1 -0
- package/dist/{chunk-UUXWRDWW.js → chunk-C5HQPXRI.js} +3 -3
- package/dist/{chunk-UUXWRDWW.js.map → chunk-C5HQPXRI.js.map} +1 -1
- package/dist/{chunk-2UXKXUX2.js → chunk-CPIKN4BX.js} +3 -3
- package/dist/{chunk-2UXKXUX2.js.map → chunk-CPIKN4BX.js.map} +1 -1
- package/dist/{chunk-GELLSU64.js → chunk-EN4CLDGZ.js} +3 -3
- package/dist/{chunk-GELLSU64.js.map → chunk-EN4CLDGZ.js.map} +1 -1
- package/dist/{chunk-WAKKQROH.js → chunk-F5UKI7XD.js} +3 -3
- package/dist/{chunk-WAKKQROH.js.map → chunk-F5UKI7XD.js.map} +1 -1
- package/dist/{chunk-MJ4AGXS7.js → chunk-GJMHNEQ3.js} +3 -3
- package/dist/{chunk-MJ4AGXS7.js.map → chunk-GJMHNEQ3.js.map} +1 -1
- package/dist/chunk-GTAXVTLF.js +43 -0
- package/dist/chunk-GTAXVTLF.js.map +1 -0
- package/dist/{chunk-WTNDPO2V.js → chunk-H2LHWJ52.js} +3 -3
- package/dist/{chunk-WTNDPO2V.js.map → chunk-H2LHWJ52.js.map} +1 -1
- package/dist/{chunk-L5X4SYJ4.js → chunk-HXCETKCC.js} +3 -3
- package/dist/{chunk-L5X4SYJ4.js.map → chunk-HXCETKCC.js.map} +1 -1
- package/dist/chunk-IGBXSBF7.js +71 -0
- package/dist/chunk-IGBXSBF7.js.map +1 -0
- package/dist/{chunk-O4NMS3KB.js → chunk-IIVTPN62.js} +3 -3
- package/dist/{chunk-O4NMS3KB.js.map → chunk-IIVTPN62.js.map} +1 -1
- package/dist/{chunk-RM5TSXVE.js → chunk-ISCJST4P.js} +3 -3
- package/dist/{chunk-RM5TSXVE.js.map → chunk-ISCJST4P.js.map} +1 -1
- package/dist/{chunk-UF5OENHV.js → chunk-IWM2XDXH.js} +3 -3
- package/dist/{chunk-UF5OENHV.js.map → chunk-IWM2XDXH.js.map} +1 -1
- package/dist/chunk-J5LK2XHE.js +118 -0
- package/dist/chunk-J5LK2XHE.js.map +1 -0
- package/dist/chunk-KFFGDET3.js +27 -0
- package/dist/chunk-KFFGDET3.js.map +1 -0
- package/dist/{chunk-AFQIK6JI.js → chunk-L6VYDM7S.js} +3 -3
- package/dist/{chunk-AFQIK6JI.js.map → chunk-L6VYDM7S.js.map} +1 -1
- package/dist/chunk-M4BI63P6.js +188 -0
- package/dist/chunk-M4BI63P6.js.map +1 -0
- package/dist/{chunk-H7MFAFV4.js → chunk-MK57AOTI.js} +4 -4
- package/dist/{chunk-H7MFAFV4.js.map → chunk-MK57AOTI.js.map} +1 -1
- package/dist/{chunk-FDBQOQMW.js → chunk-MOAIQHR7.js} +3 -3
- package/dist/{chunk-FDBQOQMW.js.map → chunk-MOAIQHR7.js.map} +1 -1
- package/dist/{chunk-LWQZ257T.js → chunk-MYBBBLYE.js} +3 -3
- package/dist/{chunk-LWQZ257T.js.map → chunk-MYBBBLYE.js.map} +1 -1
- package/dist/{chunk-F7G6R373.js → chunk-O6M3F7BZ.js} +5 -5
- package/dist/{chunk-F7G6R373.js.map → chunk-O6M3F7BZ.js.map} +1 -1
- package/dist/{chunk-XP55RZ3D.js → chunk-OELY6K44.js} +3 -3
- package/dist/{chunk-XP55RZ3D.js.map → chunk-OELY6K44.js.map} +1 -1
- package/dist/{chunk-GRDVE3IR.js → chunk-OIHX5B4R.js} +3 -3
- package/dist/{chunk-GRDVE3IR.js.map → chunk-OIHX5B4R.js.map} +1 -1
- package/dist/{chunk-4I37QSEM.js → chunk-PGYEIXCO.js} +5 -5
- package/dist/{chunk-4I37QSEM.js.map → chunk-PGYEIXCO.js.map} +1 -1
- package/dist/{chunk-UJ5KFRDE.js → chunk-PJTCO76H.js} +3 -3
- package/dist/{chunk-UJ5KFRDE.js.map → chunk-PJTCO76H.js.map} +1 -1
- package/dist/{chunk-6JVUVBZH.js → chunk-PJXVLE24.js} +5 -5
- package/dist/{chunk-6JVUVBZH.js.map → chunk-PJXVLE24.js.map} +1 -1
- package/dist/{chunk-IGLMPAWE.js → chunk-PLQPBMG2.js} +3 -3
- package/dist/{chunk-IGLMPAWE.js.map → chunk-PLQPBMG2.js.map} +1 -1
- package/dist/{chunk-HTF6FDB6.js → chunk-PQW5LKAI.js} +3 -3
- package/dist/{chunk-HTF6FDB6.js.map → chunk-PQW5LKAI.js.map} +1 -1
- package/dist/{chunk-VMAGFYHG.js → chunk-RI4Y2C5U.js} +3 -3
- package/dist/{chunk-VMAGFYHG.js.map → chunk-RI4Y2C5U.js.map} +1 -1
- package/dist/{chunk-BNDUQNG7.js → chunk-SF6WPUC5.js} +3 -3
- package/dist/{chunk-BNDUQNG7.js.map → chunk-SF6WPUC5.js.map} +1 -1
- package/dist/{chunk-SINLREQV.js → chunk-STX5UKYT.js} +3 -3
- package/dist/{chunk-SINLREQV.js.map → chunk-STX5UKYT.js.map} +1 -1
- package/dist/{chunk-KCLWPSV5.js → chunk-TSWPHJIU.js} +4 -4
- package/dist/{chunk-KCLWPSV5.js.map → chunk-TSWPHJIU.js.map} +1 -1
- package/dist/{chunk-5BM6H2CD.js → chunk-U2ZKY2CP.js} +3 -3
- package/dist/{chunk-5BM6H2CD.js.map → chunk-U2ZKY2CP.js.map} +1 -1
- package/dist/{chunk-C6TRLHMW.js → chunk-UKDDK42K.js} +3 -3
- package/dist/{chunk-C6TRLHMW.js.map → chunk-UKDDK42K.js.map} +1 -1
- package/dist/{chunk-UPVNZPFV.js → chunk-USFXANEU.js} +3 -3
- package/dist/{chunk-UPVNZPFV.js.map → chunk-USFXANEU.js.map} +1 -1
- package/dist/{chunk-Y4ZRSW35.js → chunk-V5QSMDZL.js} +3 -3
- package/dist/{chunk-Y4ZRSW35.js.map → chunk-V5QSMDZL.js.map} +1 -1
- package/dist/{chunk-EFK7726V.js → chunk-V75O7QQO.js} +3 -3
- package/dist/{chunk-EFK7726V.js.map → chunk-V75O7QQO.js.map} +1 -1
- package/dist/{chunk-CGQIVFCN.js → chunk-VL2WNGPF.js} +3 -3
- package/dist/{chunk-CGQIVFCN.js.map → chunk-VL2WNGPF.js.map} +1 -1
- package/dist/{chunk-VCJF75T2.js → chunk-VLZANXRZ.js} +3 -3
- package/dist/{chunk-VCJF75T2.js.map → chunk-VLZANXRZ.js.map} +1 -1
- package/dist/{chunk-ND7MRYW7.js → chunk-VOF3S5I4.js} +4 -4
- package/dist/{chunk-ND7MRYW7.js.map → chunk-VOF3S5I4.js.map} +1 -1
- package/dist/chunk-VP7DRJUZ.js +3 -0
- package/dist/chunk-VP7DRJUZ.js.map +1 -0
- package/dist/chunk-XQNVWHMN.js +60 -0
- package/dist/chunk-XQNVWHMN.js.map +1 -0
- package/dist/{chunk-W3HMOOON.js → chunk-ZGFXKYA5.js} +3 -3
- package/dist/{chunk-W3HMOOON.js.map → chunk-ZGFXKYA5.js.map} +1 -1
- package/dist/client.cjs +935 -156
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +9 -0
- package/dist/client.d.ts +9 -0
- package/dist/client.js +57 -47
- package/dist/client.js.map +1 -1
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/AlertDialog/index.js +2 -2
- package/dist/components/AspectRatio/index.cjs +67 -0
- package/dist/components/AspectRatio/index.cjs.map +1 -0
- package/dist/components/AspectRatio/index.d.cts +30 -0
- package/dist/components/AspectRatio/index.d.ts +30 -0
- package/dist/components/AspectRatio/index.js +5 -0
- package/dist/components/AspectRatio/index.js.map +1 -0
- package/dist/components/Avatar/index.js +2 -2
- package/dist/components/Badge/index.js +2 -2
- package/dist/components/Box/index.js +4 -4
- package/dist/components/Breadcrumb/index.cjs +3 -1
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.js +5 -5
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonGroup/index.cjs +83 -0
- package/dist/components/ButtonGroup/index.cjs.map +1 -0
- package/dist/components/ButtonGroup/index.d.cts +45 -0
- package/dist/components/ButtonGroup/index.d.ts +45 -0
- package/dist/components/ButtonGroup/index.js +5 -0
- package/dist/components/ButtonGroup/index.js.map +1 -0
- package/dist/components/Calendar/index.cjs +3 -1
- package/dist/components/Calendar/index.cjs.map +1 -1
- package/dist/components/Calendar/index.js +5 -5
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/Collapsible/index.cjs +512 -0
- package/dist/components/Collapsible/index.cjs.map +1 -0
- package/dist/components/Collapsible/index.d.cts +50 -0
- package/dist/components/Collapsible/index.d.ts +50 -0
- package/dist/components/Collapsible/index.js +7 -0
- package/dist/components/Collapsible/index.js.map +1 -0
- package/dist/components/Combobox/index.js +3 -3
- package/dist/components/ContextMenu/index.js +4 -4
- package/dist/components/DataTable/index.cjs +770 -0
- package/dist/components/DataTable/index.cjs.map +1 -0
- package/dist/components/DataTable/index.d.cts +53 -0
- package/dist/components/DataTable/index.d.ts +53 -0
- package/dist/components/DataTable/index.js +8 -0
- package/dist/components/DataTable/index.js.map +1 -0
- package/dist/components/DatePicker/index.cjs +3 -1
- package/dist/components/DatePicker/index.cjs.map +1 -1
- package/dist/components/DatePicker/index.js +7 -7
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/DropdownMenu/index.js +3 -3
- package/dist/components/Empty/index.cjs +385 -0
- package/dist/components/Empty/index.cjs.map +1 -0
- package/dist/components/Empty/index.d.cts +32 -0
- package/dist/components/Empty/index.d.ts +32 -0
- package/dist/components/Empty/index.js +7 -0
- package/dist/components/Empty/index.js.map +1 -0
- package/dist/components/Field/index.cjs +3 -1
- package/dist/components/Field/index.cjs.map +1 -1
- package/dist/components/Field/index.d.cts +2 -2
- package/dist/components/Field/index.d.ts +2 -2
- package/dist/components/Field/index.js +3 -3
- package/dist/components/FloatButton/index.cjs +3 -1
- package/dist/components/FloatButton/index.cjs.map +1 -1
- package/dist/components/FloatButton/index.js +5 -5
- package/dist/components/HStack/index.js +4 -4
- package/dist/components/InputGroup/index.js +2 -2
- package/dist/components/Item/index.cjs +443 -0
- package/dist/components/Item/index.cjs.map +1 -0
- package/dist/components/Item/index.d.cts +40 -0
- package/dist/components/Item/index.d.ts +40 -0
- package/dist/components/Item/index.js +7 -0
- package/dist/components/Item/index.js.map +1 -0
- package/dist/components/Kbd/index.cjs +396 -0
- package/dist/components/Kbd/index.cjs.map +1 -0
- package/dist/components/Kbd/index.d.cts +22 -0
- package/dist/components/Kbd/index.d.ts +22 -0
- package/dist/components/Kbd/index.js +7 -0
- package/dist/components/Kbd/index.js.map +1 -0
- package/dist/components/Label/index.cjs +3 -1
- package/dist/components/Label/index.cjs.map +1 -1
- package/dist/components/Label/index.js +3 -3
- package/dist/components/Pagination/index.cjs +3 -1
- package/dist/components/Pagination/index.cjs.map +1 -1
- package/dist/components/Pagination/index.js +6 -5
- package/dist/components/Popover/index.js +2 -2
- package/dist/components/Progress/index.js +2 -2
- package/dist/components/Radio/index.js +2 -2
- package/dist/components/SegmentedControl/index.js +2 -2
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Separator/index.js +2 -2
- package/dist/components/Sheet/index.js +2 -2
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Slider/index.js +2 -2
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/Table/index.cjs +461 -0
- package/dist/components/Table/index.cjs.map +1 -0
- package/dist/components/Table/index.d.cts +16 -0
- package/dist/components/Table/index.d.ts +16 -0
- package/dist/components/Table/index.js +7 -0
- package/dist/components/Table/index.js.map +1 -0
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Text/index.js +2 -2
- package/dist/components/TextArea/index.js +3 -3
- package/dist/components/TextInput/index.js +2 -2
- package/dist/components/Toggle/index.js +2 -2
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/VStack/index.js +4 -4
- package/dist/i18n/index.cjs +3 -1
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.cjs +935 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +54 -44
- package/dist/slot/index.d.cts +2 -2
- package/dist/slot/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-6PO2IWB3.js.map +0 -1
- package/dist/chunk-76FZF4GM.js.map +0 -1
package/dist/client.d.cts
CHANGED
|
@@ -9,23 +9,30 @@ export { Icon, IconComponentProps, IconProps, IconSize, defaultSemanticIcons } f
|
|
|
9
9
|
export { Accordion, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AccordionType } from './components/Accordion/index.cjs';
|
|
10
10
|
export { Alert, AlertProps, AlertTone } from './components/Alert/index.cjs';
|
|
11
11
|
export { AlertDialog, AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogFooterProps, AlertDialogProps, AlertDialogTextProps, AlertDialogTriggerProps } from './components/AlertDialog/index.cjs';
|
|
12
|
+
export { AspectRatio, AspectRatioProps } from './components/AspectRatio/index.cjs';
|
|
12
13
|
export { Avatar, AvatarProps, AvatarSize } from './components/Avatar/index.cjs';
|
|
13
14
|
export { Badge, BadgeAppearance, BadgeProps, BadgeTone } from './components/Badge/index.cjs';
|
|
14
15
|
export { Box, BoxProps } from './components/Box/index.cjs';
|
|
15
16
|
export { Breadcrumb, BreadcrumbEllipsisProps, BreadcrumbExpandBehavior, BreadcrumbIcon, BreadcrumbItemData, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorContext, BreadcrumbSeparatorProps, BreadcrumbSeparatorValue, BreadcrumbSibling, getBreadcrumbJsonLd } from './components/Breadcrumb/index.cjs';
|
|
16
17
|
export { Button, ButtonProps, ButtonSize, ButtonVariant } from './components/Button/index.cjs';
|
|
18
|
+
export { ButtonGroup, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupSize } from './components/ButtonGroup/index.cjs';
|
|
17
19
|
export { Calendar, CalendarBehavior, CalendarCaption, CalendarCaptionProps, CalendarChangeMeta, CalendarMode, CalendarProps, CalendarValue, CalendarView, CaptionContextValue, CaptionOption, DateRange, DayContext, useCalendarCaption } from './components/Calendar/index.cjs';
|
|
18
20
|
export { Card, CardProps, CardSectionProps, CardTextProps } from './components/Card/index.cjs';
|
|
19
21
|
export { Checkbox, CheckboxProps } from './components/Checkbox/index.cjs';
|
|
22
|
+
export { Collapsible, CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps } from './components/Collapsible/index.cjs';
|
|
20
23
|
export { Combobox } from './components/Combobox/index.cjs';
|
|
21
24
|
export { ContextMenu, ContextMenuContentProps, ContextMenuProps, ContextMenuTriggerProps } from './components/ContextMenu/index.cjs';
|
|
25
|
+
export { Column, DataTable, DataTableProps, SortDirection, SortState } from './components/DataTable/index.cjs';
|
|
22
26
|
export { DatePicker, DatePickerProps, DatePickerRangeProps, DateRangeValue } from './components/DatePicker/index.cjs';
|
|
23
27
|
export { Dialog, DialogCloseProps, DialogContentProps, DialogFooterProps, DialogProps, DialogTextProps, DialogTriggerProps } from './components/Dialog/index.cjs';
|
|
24
28
|
export { DropdownMenu, DropdownMenuContentProps, DropdownMenuProps, DropdownMenuTriggerProps, MenuContent, MenuContentProps, MenuItem, MenuItemProps, MenuLabel, MenuLabelProps, MenuSeparator, MenuSeparatorProps } from './components/DropdownMenu/index.cjs';
|
|
29
|
+
export { Empty, EmptyProps } from './components/Empty/index.cjs';
|
|
25
30
|
export { Field, FieldGroupProps, FieldProps } from './components/Field/index.cjs';
|
|
26
31
|
export { FloatButton, FloatButtonBackToTopProps, FloatButtonBadge, FloatButtonGroupDirection, FloatButtonGroupProps, FloatButtonGroupTrigger, FloatButtonPlacement, FloatButtonProps, FloatButtonShape, FloatButtonSize, FloatButtonVariant } from './components/FloatButton/index.cjs';
|
|
27
32
|
export { HStack, HStackProps, StackAlign, StackGap, StackJustify } from './components/HStack/index.cjs';
|
|
28
33
|
export { InputGroup, InputGroupAddonProps, InputGroupInputProps, InputGroupProps } from './components/InputGroup/index.cjs';
|
|
34
|
+
export { Item, ItemProps } from './components/Item/index.cjs';
|
|
35
|
+
export { Kbd, KbdProps } from './components/Kbd/index.cjs';
|
|
29
36
|
export { Label, LabelProps } from './components/Label/index.cjs';
|
|
30
37
|
export { PAGINATION_COMPACT_BREAKPOINT, Pagination, PaginationItemDescriptor, PaginationItemType, PaginationJumperProps, PaginationOnPageChange, PaginationProps, PaginationRenderItemArgs, PaginationVariant, UsePaginationArgs, UsePaginationReturn, usePagination } from './components/Pagination/index.cjs';
|
|
31
38
|
export { Popover, PopoverAlign, PopoverContentProps, PopoverProps, PopoverSide, PopoverTriggerProps, usePopoverContext } from './components/Popover/index.cjs';
|
|
@@ -39,6 +46,8 @@ export { Skeleton, SkeletonProps } from './components/Skeleton/index.cjs';
|
|
|
39
46
|
export { Slider, SliderDirection, SliderGestureProvider, SliderOrientation, SliderProps, useSliderInteractionActive } from './components/Slider/index.cjs';
|
|
40
47
|
export { Spinner, SpinnerProps, SpinnerSize } from './components/Spinner/index.cjs';
|
|
41
48
|
export { Switch, SwitchProps } from './components/Switch/index.cjs';
|
|
49
|
+
export { T as TableAlign, a as TableCaptionProps, b as TableCellProps, c as TableHeaderCellProps, d as TableProps, e as TableRowProps, f as TableSectionProps } from './Table.shared-BymRgTnY.cjs';
|
|
50
|
+
export { Table } from './components/Table/index.cjs';
|
|
42
51
|
export { Tabs, TabsActivation, TabsContentProps, TabsListProps, TabsOrientation, TabsProps, TabsTriggerProps } from './components/Tabs/index.cjs';
|
|
43
52
|
export { Text, TextProps, TextVariant } from './components/Text/index.cjs';
|
|
44
53
|
export { TextArea, TextAreaProps } from './components/TextArea/index.cjs';
|
package/dist/client.d.ts
CHANGED
|
@@ -9,23 +9,30 @@ export { Icon, IconComponentProps, IconProps, IconSize, defaultSemanticIcons } f
|
|
|
9
9
|
export { Accordion, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AccordionType } from './components/Accordion/index.js';
|
|
10
10
|
export { Alert, AlertProps, AlertTone } from './components/Alert/index.js';
|
|
11
11
|
export { AlertDialog, AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogFooterProps, AlertDialogProps, AlertDialogTextProps, AlertDialogTriggerProps } from './components/AlertDialog/index.js';
|
|
12
|
+
export { AspectRatio, AspectRatioProps } from './components/AspectRatio/index.js';
|
|
12
13
|
export { Avatar, AvatarProps, AvatarSize } from './components/Avatar/index.js';
|
|
13
14
|
export { Badge, BadgeAppearance, BadgeProps, BadgeTone } from './components/Badge/index.js';
|
|
14
15
|
export { Box, BoxProps } from './components/Box/index.js';
|
|
15
16
|
export { Breadcrumb, BreadcrumbEllipsisProps, BreadcrumbExpandBehavior, BreadcrumbIcon, BreadcrumbItemData, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorContext, BreadcrumbSeparatorProps, BreadcrumbSeparatorValue, BreadcrumbSibling, getBreadcrumbJsonLd } from './components/Breadcrumb/index.js';
|
|
16
17
|
export { Button, ButtonProps, ButtonSize, ButtonVariant } from './components/Button/index.js';
|
|
18
|
+
export { ButtonGroup, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupSize } from './components/ButtonGroup/index.js';
|
|
17
19
|
export { Calendar, CalendarBehavior, CalendarCaption, CalendarCaptionProps, CalendarChangeMeta, CalendarMode, CalendarProps, CalendarValue, CalendarView, CaptionContextValue, CaptionOption, DateRange, DayContext, useCalendarCaption } from './components/Calendar/index.js';
|
|
18
20
|
export { Card, CardProps, CardSectionProps, CardTextProps } from './components/Card/index.js';
|
|
19
21
|
export { Checkbox, CheckboxProps } from './components/Checkbox/index.js';
|
|
22
|
+
export { Collapsible, CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps } from './components/Collapsible/index.js';
|
|
20
23
|
export { Combobox } from './components/Combobox/index.js';
|
|
21
24
|
export { ContextMenu, ContextMenuContentProps, ContextMenuProps, ContextMenuTriggerProps } from './components/ContextMenu/index.js';
|
|
25
|
+
export { Column, DataTable, DataTableProps, SortDirection, SortState } from './components/DataTable/index.js';
|
|
22
26
|
export { DatePicker, DatePickerProps, DatePickerRangeProps, DateRangeValue } from './components/DatePicker/index.js';
|
|
23
27
|
export { Dialog, DialogCloseProps, DialogContentProps, DialogFooterProps, DialogProps, DialogTextProps, DialogTriggerProps } from './components/Dialog/index.js';
|
|
24
28
|
export { DropdownMenu, DropdownMenuContentProps, DropdownMenuProps, DropdownMenuTriggerProps, MenuContent, MenuContentProps, MenuItem, MenuItemProps, MenuLabel, MenuLabelProps, MenuSeparator, MenuSeparatorProps } from './components/DropdownMenu/index.js';
|
|
29
|
+
export { Empty, EmptyProps } from './components/Empty/index.js';
|
|
25
30
|
export { Field, FieldGroupProps, FieldProps } from './components/Field/index.js';
|
|
26
31
|
export { FloatButton, FloatButtonBackToTopProps, FloatButtonBadge, FloatButtonGroupDirection, FloatButtonGroupProps, FloatButtonGroupTrigger, FloatButtonPlacement, FloatButtonProps, FloatButtonShape, FloatButtonSize, FloatButtonVariant } from './components/FloatButton/index.js';
|
|
27
32
|
export { HStack, HStackProps, StackAlign, StackGap, StackJustify } from './components/HStack/index.js';
|
|
28
33
|
export { InputGroup, InputGroupAddonProps, InputGroupInputProps, InputGroupProps } from './components/InputGroup/index.js';
|
|
34
|
+
export { Item, ItemProps } from './components/Item/index.js';
|
|
35
|
+
export { Kbd, KbdProps } from './components/Kbd/index.js';
|
|
29
36
|
export { Label, LabelProps } from './components/Label/index.js';
|
|
30
37
|
export { PAGINATION_COMPACT_BREAKPOINT, Pagination, PaginationItemDescriptor, PaginationItemType, PaginationJumperProps, PaginationOnPageChange, PaginationProps, PaginationRenderItemArgs, PaginationVariant, UsePaginationArgs, UsePaginationReturn, usePagination } from './components/Pagination/index.js';
|
|
31
38
|
export { Popover, PopoverAlign, PopoverContentProps, PopoverProps, PopoverSide, PopoverTriggerProps, usePopoverContext } from './components/Popover/index.js';
|
|
@@ -39,6 +46,8 @@ export { Skeleton, SkeletonProps } from './components/Skeleton/index.js';
|
|
|
39
46
|
export { Slider, SliderDirection, SliderGestureProvider, SliderOrientation, SliderProps, useSliderInteractionActive } from './components/Slider/index.js';
|
|
40
47
|
export { Spinner, SpinnerProps, SpinnerSize } from './components/Spinner/index.js';
|
|
41
48
|
export { Switch, SwitchProps } from './components/Switch/index.js';
|
|
49
|
+
export { T as TableAlign, a as TableCaptionProps, b as TableCellProps, c as TableHeaderCellProps, d as TableProps, e as TableRowProps, f as TableSectionProps } from './Table.shared-BymRgTnY.js';
|
|
50
|
+
export { Table } from './components/Table/index.js';
|
|
42
51
|
export { Tabs, TabsActivation, TabsContentProps, TabsListProps, TabsOrientation, TabsProps, TabsTriggerProps } from './components/Tabs/index.js';
|
|
43
52
|
export { Text, TextProps, TextVariant } from './components/Text/index.js';
|
|
44
53
|
export { TextArea, TextAreaProps } from './components/TextArea/index.js';
|
package/dist/client.js
CHANGED
|
@@ -1,65 +1,75 @@
|
|
|
1
1
|
import './chunk-BRCCWMGJ.js';
|
|
2
|
-
export { Toggle } from './chunk-
|
|
3
|
-
export { Tooltip } from './chunk-
|
|
4
|
-
export { VStack } from './chunk-
|
|
2
|
+
export { Toggle } from './chunk-STX5UKYT.js';
|
|
3
|
+
export { Tooltip } from './chunk-VL2WNGPF.js';
|
|
4
|
+
export { VStack } from './chunk-L6VYDM7S.js';
|
|
5
5
|
export { blueTheme, orangeTheme, presetThemes, roseTheme, slateTheme, tealTheme, useTheme, violetTheme } from './chunk-MDOZGILD.js';
|
|
6
6
|
import './chunk-QI6646JZ.js';
|
|
7
7
|
export { Icon } from './chunk-33S7ADWM.js';
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
export { Tabs } from './chunk-
|
|
11
|
-
export { TextArea } from './chunk-
|
|
12
|
-
export { TextInput } from './chunk-
|
|
8
|
+
export { Switch } from './chunk-RI4Y2C5U.js';
|
|
9
|
+
import './chunk-VP7DRJUZ.js';
|
|
10
|
+
export { Tabs } from './chunk-EN4CLDGZ.js';
|
|
11
|
+
export { TextArea } from './chunk-USFXANEU.js';
|
|
12
|
+
export { TextInput } from './chunk-V75O7QQO.js';
|
|
13
13
|
export { Toaster, toast } from './chunk-LWLK6HSW.js';
|
|
14
|
-
export { Progress } from './chunk-
|
|
15
|
-
export { Radio } from './chunk-
|
|
16
|
-
export { SegmentedControl } from './chunk-
|
|
17
|
-
export { Separator } from './chunk-
|
|
18
|
-
export { Drawer, Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetPanel, SheetTitle, SheetTrigger } from './chunk-
|
|
19
|
-
export { Skeleton } from './chunk-
|
|
20
|
-
export {
|
|
14
|
+
export { Progress } from './chunk-OELY6K44.js';
|
|
15
|
+
export { Radio } from './chunk-UKDDK42K.js';
|
|
16
|
+
export { SegmentedControl } from './chunk-F5UKI7XD.js';
|
|
17
|
+
export { Separator } from './chunk-2XJCLPNH.js';
|
|
18
|
+
export { Drawer, Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetPanel, SheetTitle, SheetTrigger } from './chunk-SF6WPUC5.js';
|
|
19
|
+
export { Skeleton } from './chunk-3IIIHZHT.js';
|
|
20
|
+
export { Slider, SliderGestureProvider, useSliderInteractionActive } from './chunk-7FSFJA33.js';
|
|
21
|
+
export { FloatButton } from './chunk-PJXVLE24.js';
|
|
22
|
+
export { HStack } from './chunk-OIHX5B4R.js';
|
|
23
|
+
export { InputGroup } from './chunk-C5HQPXRI.js';
|
|
24
|
+
export { Item } from './chunk-J5LK2XHE.js';
|
|
25
|
+
export { Kbd } from './chunk-IGBXSBF7.js';
|
|
26
|
+
export { Label } from './chunk-3CEJ5TB4.js';
|
|
27
|
+
export { PAGINATION_COMPACT_BREAKPOINT, Pagination } from './chunk-3B345SQU.js';
|
|
28
|
+
export { Combobox } from './chunk-IIVTPN62.js';
|
|
29
|
+
export { ContextMenu } from './chunk-TSWPHJIU.js';
|
|
30
|
+
export { DataTable } from './chunk-C32XGHWO.js';
|
|
31
|
+
export { Table } from './chunk-5YHT252H.js';
|
|
32
|
+
export { usePagination } from './chunk-73CUV7MW.js';
|
|
33
|
+
export { DatePicker } from './chunk-O6M3F7BZ.js';
|
|
34
|
+
export { Dialog } from './chunk-PLQPBMG2.js';
|
|
21
35
|
import './chunk-2PESUXE3.js';
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
export { Breadcrumb, getBreadcrumbJsonLd } from './chunk-
|
|
29
|
-
export { Button } from './chunk-LWQZ257T.js';
|
|
30
|
-
export { Spinner } from './chunk-ACLHDHX3.js';
|
|
31
|
-
export { Card } from './chunk-HTF6FDB6.js';
|
|
32
|
-
import { SemanticIconsProvider } from './chunk-WTNDPO2V.js';
|
|
33
|
-
export { Checkbox, SemanticIconsProvider, useSemanticIcon } from './chunk-WTNDPO2V.js';
|
|
34
|
-
export { Combobox } from './chunk-O4NMS3KB.js';
|
|
35
|
-
export { ContextMenu } from './chunk-KCLWPSV5.js';
|
|
36
|
-
export { DropdownMenu, MenuContent, MenuItem, MenuLabel, MenuSeparator } from './chunk-H7MFAFV4.js';
|
|
37
|
-
export { DatePicker } from './chunk-F7G6R373.js';
|
|
36
|
+
export { DropdownMenu, MenuContent, MenuItem, MenuLabel, MenuSeparator } from './chunk-MK57AOTI.js';
|
|
37
|
+
export { Empty } from './chunk-XQNVWHMN.js';
|
|
38
|
+
export { Field } from './chunk-CPIKN4BX.js';
|
|
39
|
+
export { Box } from './chunk-IWM2XDXH.js';
|
|
40
|
+
import './chunk-VLZANXRZ.js';
|
|
41
|
+
export { Text } from './chunk-ZGFXKYA5.js';
|
|
42
|
+
export { Breadcrumb, getBreadcrumbJsonLd } from './chunk-PGYEIXCO.js';
|
|
38
43
|
import './chunk-ZPUYNM37.js';
|
|
39
|
-
|
|
40
|
-
export {
|
|
41
|
-
|
|
42
|
-
export {
|
|
43
|
-
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
|
|
44
|
+
export { Popover, usePopoverContext } from './chunk-HXCETKCC.js';
|
|
45
|
+
export { Button } from './chunk-MYBBBLYE.js';
|
|
46
|
+
export { Spinner } from './chunk-ACLHDHX3.js';
|
|
47
|
+
export { ButtonGroup } from './chunk-GTAXVTLF.js';
|
|
48
|
+
import { LocaleProvider } from './chunk-VOF3S5I4.js';
|
|
49
|
+
export { Calendar, LocaleProvider, detectLocale, useCalendarCaption, useLocale } from './chunk-VOF3S5I4.js';
|
|
50
|
+
export { Select } from './chunk-PJTCO76H.js';
|
|
51
|
+
import { I18nProvider } from './chunk-GJMHNEQ3.js';
|
|
52
|
+
export { I18nProvider, useTranslation } from './chunk-GJMHNEQ3.js';
|
|
53
|
+
export { defaultDictionary, resolveI18n } from './chunk-4UFAZLSZ.js';
|
|
54
|
+
export { Card } from './chunk-PQW5LKAI.js';
|
|
55
|
+
import { SemanticIconsProvider } from './chunk-H2LHWJ52.js';
|
|
56
|
+
export { Checkbox, SemanticIconsProvider, useSemanticIcon } from './chunk-H2LHWJ52.js';
|
|
57
|
+
export { Collapsible } from './chunk-M4BI63P6.js';
|
|
58
|
+
export { Accordion } from './chunk-V5QSMDZL.js';
|
|
47
59
|
import './chunk-RB3YBWQ4.js';
|
|
48
60
|
import './chunk-RGJ3NBKE.js';
|
|
49
|
-
export { Alert } from './chunk-
|
|
61
|
+
export { Alert } from './chunk-3W3XYULK.js';
|
|
50
62
|
export { defaultSemanticIcons } from './chunk-7Z4NMNX6.js';
|
|
51
|
-
export { AlertDialog } from './chunk-
|
|
63
|
+
export { AlertDialog } from './chunk-U2ZKY2CP.js';
|
|
52
64
|
import './chunk-KWRDJPP3.js';
|
|
53
65
|
export { Slot, composeRefs } from './chunk-ZIBNLXIV.js';
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
import './chunk-VCJF75T2.js';
|
|
58
|
-
export { Text } from './chunk-W3HMOOON.js';
|
|
59
|
-
export { cn } from './chunk-CHXHRJNZ.js';
|
|
66
|
+
export { AspectRatio } from './chunk-KFFGDET3.js';
|
|
67
|
+
export { Avatar } from './chunk-ISCJST4P.js';
|
|
68
|
+
export { Badge } from './chunk-MOAIQHR7.js';
|
|
60
69
|
import './chunk-5A2QOOVN.js';
|
|
61
70
|
import { ColorSchemeProvider, ThemeProvider } from './chunk-R5JMDDCB.js';
|
|
62
71
|
export { ThemeProvider, defaultTheme, theme, themeDark, useColorScheme, useThemeColors } from './chunk-R5JMDDCB.js';
|
|
72
|
+
export { cn } from './chunk-CHXHRJNZ.js';
|
|
63
73
|
import { __name } from './chunk-WCQVDF3K.js';
|
|
64
74
|
import { jsx } from 'nativewind/jsx-runtime';
|
|
65
75
|
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/provider/nori-provider.tsx"],"names":["theme"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/provider/nori-provider.tsx"],"names":["theme"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDO,SAAS,YAAA,CAAa,EAAE,KAAA,EAAAA,MAAAA,EAAO,aAAa,IAAA,EAAM,KAAA,EAAO,MAAA,EAAQ,QAAA,EAAS,EAAsB;AAGnG,EAAA,MAAM,aAAaA,MAAAA,KAAU,MAAA,GAAY,EAAC,GAAI,EAAE,OAAAA,MAAAA,EAAM;AACtD,EAAA,MAAM,YAAY,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAK;AACnD,EAAA,MAAM,aAAa,KAAA,KAAU,MAAA,GAAY,EAAC,GAAI,EAAE,KAAA,EAAM;AACtD,EAAA,MAAM,cAAc,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA,EAAO;AAEzD,EAAA,MAAM,KAAA,uBACD,cAAA,EAAA,EAAgB,GAAG,aAChB,QAAA,kBAAA,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,UAAA,EACf,QAAA,kBAAA,GAAA,CAAC,gBAAc,GAAG,SAAA,EACd,8BAAC,qBAAA,EAAA,EAAuB,GAAG,YAAa,QAAA,EAAS,CAAA,EACrD,GACJ,CAAA,EACJ,CAAA;AAGJ,EAAA,OAAO,gBAAgB,MAAA,GAAY,KAAA,uBAAS,mBAAA,EAAA,EAAoB,KAAA,EAAO,aAAc,QAAA,EAAA,KAAA,EAAM,CAAA;AAC/F;AAnBgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"client.js","sourcesContent":["'use client';\n\nimport type { Theme } from '@nori-ui/tokens';\nimport type { ReactNode } from 'react';\nimport { I18nProvider } from '../i18n/context';\nimport { type LocaleInput, LocaleProvider } from '../i18n/locale';\nimport type { I18nInput } from '../i18n/types';\nimport type { SemanticIcons } from '../icons/default-semantic-icons';\nimport { SemanticIconsProvider } from '../icons/semantic-context';\nimport { type NoriTheme, ThemeProvider } from '../theme/context';\nimport { type ColorScheme, ColorSchemeProvider } from '../theme/use-color-scheme';\n\nexport type NoriProviderProps = {\n /**\n * Theme to apply to descendants. Pass:\n * - a `NoriTheme` (`{ light, dark }`) — covers both schemes\n * - a single `Theme` — used for both schemes (rare)\n * - one of the bundled presets: `tealTheme`, `blueTheme`, `roseTheme`,\n * `violetTheme`, `orangeTheme`, `slateTheme` (from `@nori-ui/core`)\n * - omit — falls back to the default Nori palette (teal)\n */\n theme?: NoriTheme | Theme;\n /**\n * Force a color scheme for descendants, overriding the OS signal. Use\n * when an app shell is hard-coded to one scheme (e.g. forced-dark\n * editorial chrome) and wants library components inside it to render\n * against the matching half of the theme.\n *\n * Omit to track the OS Appearance (native) / `<html>` `dark` class (web).\n */\n colorScheme?: ColorScheme;\n i18n?: I18nInput;\n icons?: Partial<SemanticIcons>;\n /**\n * BCP 47 locale tag (or `Intl.Locale`) used by locale-aware components\n * (Calendar, Number/Currency formatting, RelativeTime). Defaults to\n * the runtime's resolved locale (`new Intl.DateTimeFormat().resolvedOptions().locale`),\n * which mirrors what other `Intl` calls in the consumer's code use.\n */\n locale?: LocaleInput;\n children?: ReactNode;\n};\n\n/**\n * Single root provider composing theme, i18n, and semantic-icons contexts.\n * Place near the root of your app. Only needed to override defaults — the\n * library works out of the box without any provider.\n */\nexport function NoriProvider({ theme, colorScheme, i18n, icons, locale, children }: NoriProviderProps) {\n // Conditionally spread each optional prop — `exactOptionalPropertyTypes: true`\n // rejects passing `undefined` to a prop typed as `T | missing`.\n const themeProps = theme === undefined ? {} : { theme };\n const i18nProps = i18n === undefined ? {} : { i18n };\n const iconsProps = icons === undefined ? {} : { icons };\n const localeProps = locale === undefined ? {} : { locale };\n\n const inner = (\n <LocaleProvider {...localeProps}>\n <ThemeProvider {...themeProps}>\n <I18nProvider {...i18nProps}>\n <SemanticIconsProvider {...iconsProps}>{children}</SemanticIconsProvider>\n </I18nProvider>\n </ThemeProvider>\n </LocaleProvider>\n );\n\n return colorScheme === undefined ? inner : <ColorSchemeProvider value={colorScheme}>{inner}</ColorSchemeProvider>;\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Accordion } from '../../chunk-
|
|
1
|
+
export { Accordion } from '../../chunk-V5QSMDZL.js';
|
|
2
2
|
import '../../chunk-RB3YBWQ4.js';
|
|
3
3
|
import '../../chunk-RGJ3NBKE.js';
|
|
4
4
|
import '../../chunk-7Z4NMNX6.js';
|
|
5
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
6
5
|
import '../../chunk-5A2QOOVN.js';
|
|
7
6
|
import '../../chunk-R5JMDDCB.js';
|
|
7
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
8
8
|
import '../../chunk-WCQVDF3K.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { Alert } from '../../chunk-
|
|
1
|
+
export { Alert } from '../../chunk-3W3XYULK.js';
|
|
2
2
|
import '../../chunk-7Z4NMNX6.js';
|
|
3
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
4
3
|
import '../../chunk-5A2QOOVN.js';
|
|
5
4
|
import '../../chunk-R5JMDDCB.js';
|
|
5
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
6
6
|
import '../../chunk-WCQVDF3K.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { AlertDialog } from '../../chunk-
|
|
1
|
+
export { AlertDialog } from '../../chunk-U2ZKY2CP.js';
|
|
2
2
|
import '../../chunk-KWRDJPP3.js';
|
|
3
3
|
import '../../chunk-ZIBNLXIV.js';
|
|
4
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
5
4
|
import '../../chunk-5A2QOOVN.js';
|
|
6
5
|
import '../../chunk-R5JMDDCB.js';
|
|
6
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
7
7
|
import '../../chunk-WCQVDF3K.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactNative = require('react-native');
|
|
4
|
+
var jsxRuntime = require('nativewind/jsx-runtime');
|
|
5
|
+
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
|
+
|
|
9
|
+
// src/utils/cn.ts
|
|
10
|
+
function cn(...inputs) {
|
|
11
|
+
const out = [];
|
|
12
|
+
for (const input of inputs) {
|
|
13
|
+
append(out, input);
|
|
14
|
+
}
|
|
15
|
+
return out.join(" ");
|
|
16
|
+
}
|
|
17
|
+
__name(cn, "cn");
|
|
18
|
+
function append(out, input) {
|
|
19
|
+
if (!input) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
if (typeof input === "string") {
|
|
23
|
+
if (input.length > 0) {
|
|
24
|
+
out.push(input);
|
|
25
|
+
}
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (typeof input === "number") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (Array.isArray(input)) {
|
|
32
|
+
for (const inner of input) {
|
|
33
|
+
append(out, inner);
|
|
34
|
+
}
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (typeof input === "object") {
|
|
38
|
+
for (const key of Object.keys(input)) {
|
|
39
|
+
if (input[key]) {
|
|
40
|
+
out.push(key);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
__name(append, "append");
|
|
46
|
+
var BASE_STYLE = {
|
|
47
|
+
overflow: "hidden"
|
|
48
|
+
};
|
|
49
|
+
var AspectRatio = /* @__PURE__ */ __name(({ ratio, children, className, testID }) => {
|
|
50
|
+
const containerStyle = {
|
|
51
|
+
...BASE_STYLE,
|
|
52
|
+
aspectRatio: ratio
|
|
53
|
+
};
|
|
54
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55
|
+
reactNative.View,
|
|
56
|
+
{
|
|
57
|
+
...testID !== void 0 ? { testID } : {},
|
|
58
|
+
className: cn("overflow-hidden", className),
|
|
59
|
+
style: containerStyle,
|
|
60
|
+
children
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}, "AspectRatio");
|
|
64
|
+
|
|
65
|
+
exports.AspectRatio = AspectRatio;
|
|
66
|
+
//# sourceMappingURL=index.cjs.map
|
|
67
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/utils/cn.ts","../../../src/components/AspectRatio/AspectRatio.tsx"],"names":["jsx","View"],"mappings":";;;;;;;;;AAeO,SAAS,MAAM,MAAA,EAA8B;AAChD,EAAA,MAAM,MAAgB,EAAC;AACvB,EAAA,KAAA,MAAW,SAAS,MAAA,EAAQ;AACxB,IAAA,MAAA,CAAO,KAAK,KAAK,CAAA;AAAA,EACrB;AACA,EAAA,OAAO,GAAA,CAAI,KAAK,GAAG,CAAA;AACvB;AANgB,MAAA,CAAA,EAAA,EAAA,IAAA,CAAA;AAQhB,SAAS,MAAA,CAAO,KAAe,KAAA,EAAyB;AACpD,EAAA,IAAI,CAAC,KAAA,EAAO;AACR,IAAA;AAAA,EACJ;AACA,EAAA,IAAI,OAAO,UAAU,QAAA,EAAU;AAC3B,IAAA,IAAI,KAAA,CAAM,SAAS,CAAA,EAAG;AAClB,MAAA,GAAA,CAAI,KAAK,KAAK,CAAA;AAAA,IAClB;AACA,IAAA;AAAA,EACJ;AACA,EAAA,IAAI,OAAO,UAAU,QAAA,EAAU;AAC3B,IAAA;AAAA,EACJ;AACA,EAAA,IAAI,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,EAAG;AACtB,IAAA,KAAA,MAAW,SAAS,KAAA,EAAO;AACvB,MAAA,MAAA,CAAO,KAAK,KAAK,CAAA;AAAA,IACrB;AACA,IAAA;AAAA,EACJ;AACA,EAAA,IAAI,OAAO,UAAU,QAAA,EAAU;AAC3B,IAAA,KAAA,MAAW,GAAA,IAAO,MAAA,CAAO,IAAA,CAAK,KAAK,CAAA,EAAG;AAClC,MAAA,IAAI,KAAA,CAAM,GAAG,CAAA,EAAG;AACZ,QAAA,GAAA,CAAI,KAAK,GAAG,CAAA;AAAA,MAChB;AAAA,IACJ;AAAA,EACJ;AACJ;AA1BS,MAAA,CAAA,MAAA,EAAA,QAAA,CAAA;ACFT,IAAM,UAAA,GAAwB;AAAA,EAC1B,QAAA,EAAU;AACd,CAAA;AAaO,IAAM,8BAAc,MAAA,CAAA,CAAC,EAAE,OAAO,QAAA,EAAU,SAAA,EAAW,QAAO,KAAwB;AACrF,EAAA,MAAM,cAAA,GAA4B;AAAA,IAC9B,GAAG,UAAA;AAAA,IACH,WAAA,EAAa;AAAA,GACjB;AAEA,EAAA,uBACIA,cAAA;AAAA,IAACC,gBAAA;AAAA,IAAA;AAAA,MACI,GAAI,MAAA,KAAW,MAAA,GAAY,EAAE,MAAA,KAAW,EAAC;AAAA,MAC1C,SAAA,EAAW,EAAA,CAAG,iBAAA,EAAmB,SAAS,CAAA;AAAA,MAC1C,KAAA,EAAO,cAAA;AAAA,MAEN;AAAA;AAAA,GACL;AAER,CAAA,EAf2B,aAAA","file":"index.cjs","sourcesContent":["// cn — class-name merger. clsx-compatible shape.\n//\n// Intentionally does NOT deduplicate Tailwind conflicts (e.g. \"text-sm text-lg\").\n// That's `tailwind-merge`'s job; we defer adding it until a component actually\n// needs it, to keep the core tree-shakable and the runtime zero-dep.\n\nexport type ClassInput =\n | string\n | number\n | boolean\n | null\n | undefined\n | ClassInput[]\n | Record<string, boolean | number | null | undefined>;\n\nexport function cn(...inputs: ClassInput[]): string {\n const out: string[] = [];\n for (const input of inputs) {\n append(out, input);\n }\n return out.join(' ');\n}\n\nfunction append(out: string[], input: ClassInput): void {\n if (!input) {\n return;\n }\n if (typeof input === 'string') {\n if (input.length > 0) {\n out.push(input);\n }\n return;\n }\n if (typeof input === 'number') {\n return; // numbers are never class names\n }\n if (Array.isArray(input)) {\n for (const inner of input) {\n append(out, inner);\n }\n return;\n }\n if (typeof input === 'object') {\n for (const key of Object.keys(input)) {\n if (input[key]) {\n out.push(key);\n }\n }\n }\n}\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport { View } from 'react-native';\nimport { cn } from '../../utils/cn';\n\nexport type AspectRatioProps = {\n /**\n * The ratio expressed as width / height. Common values:\n * - `16 / 9` (1.777…) — widescreen video\n * - `4 / 3` (1.333…) — classic photo\n * - `1` — square\n * - `2 / 3` (0.666…) — portrait\n */\n ratio: number;\n children?: ReactNode;\n className?: string;\n testID?: string;\n};\n\nconst BASE_STYLE: ViewStyle = {\n overflow: 'hidden',\n};\n\n/**\n * Wraps children in a container that maintains a fixed width-to-height ratio.\n * Works identically on web and native — React Native's `aspectRatio` style\n * property maps to the CSS `aspect-ratio` property via react-native-web.\n *\n * ```tsx\n * <AspectRatio ratio={16 / 9}>\n * <Image source={src} style={{ width: '100%', height: '100%' }} />\n * </AspectRatio>\n * ```\n */\nexport const AspectRatio = ({ ratio, children, className, testID }: AspectRatioProps) => {\n const containerStyle: ViewStyle = {\n ...BASE_STYLE,\n aspectRatio: ratio,\n };\n\n return (\n <View\n {...(testID !== undefined ? { testID } : {})}\n className={cn('overflow-hidden', className)}\n style={containerStyle}\n >\n {children}\n </View>\n );\n};\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type AspectRatioProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The ratio expressed as width / height. Common values:
|
|
7
|
+
* - `16 / 9` (1.777…) — widescreen video
|
|
8
|
+
* - `4 / 3` (1.333…) — classic photo
|
|
9
|
+
* - `1` — square
|
|
10
|
+
* - `2 / 3` (0.666…) — portrait
|
|
11
|
+
*/
|
|
12
|
+
ratio: number;
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
testID?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Wraps children in a container that maintains a fixed width-to-height ratio.
|
|
19
|
+
* Works identically on web and native — React Native's `aspectRatio` style
|
|
20
|
+
* property maps to the CSS `aspect-ratio` property via react-native-web.
|
|
21
|
+
*
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <AspectRatio ratio={16 / 9}>
|
|
24
|
+
* <Image source={src} style={{ width: '100%', height: '100%' }} />
|
|
25
|
+
* </AspectRatio>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
declare const AspectRatio: ({ ratio, children, className, testID }: AspectRatioProps) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
export { AspectRatio, type AspectRatioProps };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type AspectRatioProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The ratio expressed as width / height. Common values:
|
|
7
|
+
* - `16 / 9` (1.777…) — widescreen video
|
|
8
|
+
* - `4 / 3` (1.333…) — classic photo
|
|
9
|
+
* - `1` — square
|
|
10
|
+
* - `2 / 3` (0.666…) — portrait
|
|
11
|
+
*/
|
|
12
|
+
ratio: number;
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
testID?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Wraps children in a container that maintains a fixed width-to-height ratio.
|
|
19
|
+
* Works identically on web and native — React Native's `aspectRatio` style
|
|
20
|
+
* property maps to the CSS `aspect-ratio` property via react-native-web.
|
|
21
|
+
*
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <AspectRatio ratio={16 / 9}>
|
|
24
|
+
* <Image source={src} style={{ width: '100%', height: '100%' }} />
|
|
25
|
+
* </AspectRatio>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
declare const AspectRatio: ({ ratio, children, className, testID }: AspectRatioProps) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
export { AspectRatio, type AspectRatioProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Avatar } from '../../chunk-
|
|
2
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
1
|
+
export { Avatar } from '../../chunk-ISCJST4P.js';
|
|
3
2
|
import '../../chunk-5A2QOOVN.js';
|
|
4
3
|
import '../../chunk-R5JMDDCB.js';
|
|
4
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
5
5
|
import '../../chunk-WCQVDF3K.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Badge } from '../../chunk-
|
|
2
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
1
|
+
export { Badge } from '../../chunk-MOAIQHR7.js';
|
|
3
2
|
import '../../chunk-5A2QOOVN.js';
|
|
4
3
|
import '../../chunk-R5JMDDCB.js';
|
|
4
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
5
5
|
import '../../chunk-WCQVDF3K.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Box } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-CHXHRJNZ.js';
|
|
1
|
+
export { Box } from '../../chunk-IWM2XDXH.js';
|
|
2
|
+
import '../../chunk-VLZANXRZ.js';
|
|
3
|
+
import '../../chunk-ZGFXKYA5.js';
|
|
5
4
|
import '../../chunk-5A2QOOVN.js';
|
|
6
5
|
import '../../chunk-R5JMDDCB.js';
|
|
6
|
+
import '../../chunk-CHXHRJNZ.js';
|
|
7
7
|
import '../../chunk-WCQVDF3K.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -60,7 +60,9 @@ var defaultDictionary = {
|
|
|
60
60
|
"switch.off": "Off",
|
|
61
61
|
// field
|
|
62
62
|
"field.requiredIndicator": "*",
|
|
63
|
-
"field.requiredLabel": "required"
|
|
63
|
+
"field.requiredLabel": "required",
|
|
64
|
+
// table / dataTable
|
|
65
|
+
"table.empty": "No data"
|
|
64
66
|
};
|
|
65
67
|
|
|
66
68
|
// src/i18n/resolve.ts
|