@mohirlab/react 0.6.1 → 0.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/components/combobox/combobox.d.ts +34 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.js +265 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/combobox/combobox.styles.js +42 -0
- package/dist/components/combobox/combobox.styles.js.map +1 -0
- package/dist/components/combobox/index.d.ts +3 -0
- package/dist/components/feedback/feedback.css.d.ts +39 -0
- package/dist/components/feedback/feedback.css.d.ts.map +1 -0
- package/dist/components/feedback/feedback.d.ts +41 -0
- package/dist/components/feedback/feedback.d.ts.map +1 -0
- package/dist/components/feedback/feedback.js +70 -0
- package/dist/components/feedback/feedback.js.map +1 -0
- package/dist/components/feedback/feedback.styles.js +40 -0
- package/dist/components/feedback/feedback.styles.js.map +1 -0
- package/dist/components/feedback/index.d.ts +3 -0
- package/dist/components/input/input.css.d.ts.map +1 -1
- package/dist/components/menu/index.d.ts +3 -0
- package/dist/components/menu/menu.d.ts +48 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.js +188 -0
- package/dist/components/menu/menu.js.map +1 -0
- package/dist/components/menu/menu.styles.js +28 -0
- package/dist/components/menu/menu.styles.js.map +1 -0
- package/dist/components/navigation/index.d.ts +2 -1
- package/dist/components/navigation/pagination.d.ts +34 -0
- package/dist/components/navigation/pagination.d.ts.map +1 -0
- package/dist/components/navigation/pagination.js +109 -0
- package/dist/components/navigation/pagination.js.map +1 -0
- package/dist/components/navigation/pagination.styles.js +11 -0
- package/dist/components/navigation/pagination.styles.js.map +1 -0
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/visually-hidden/index.d.ts +3 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +13 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
- package/dist/components/visually-hidden/visually-hidden.js +19 -0
- package/dist/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/components/visually-hidden/visually-hidden.styles.js +7 -0
- package/dist/components/visually-hidden/visually-hidden.styles.js.map +1 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +8 -3
- package/dist/styles.css +640 -166
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,12 @@ import { CardMedia, CardMediaProps } from "./components/card/card-media.js";
|
|
|
15
15
|
import "./components/card/index.js";
|
|
16
16
|
import { Checkbox, CheckboxProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Switch, SwitchProps } from "./components/choice/choice.js";
|
|
17
17
|
import "./components/choice/index.js";
|
|
18
|
+
import { Combobox, ComboboxOption, ComboboxProps, defaultFilter } from "./components/combobox/combobox.js";
|
|
19
|
+
import "./components/combobox/index.js";
|
|
18
20
|
import { Dialog, DialogActions, DialogBody, DialogProps } from "./components/dialog/dialog.js";
|
|
19
21
|
import "./components/dialog/index.js";
|
|
22
|
+
import { EmptyState, EmptyStateProps, Skeleton, SkeletonProps } from "./components/feedback/feedback.js";
|
|
23
|
+
import "./components/feedback/index.js";
|
|
20
24
|
import { Field, FieldProps } from "./components/field/field.js";
|
|
21
25
|
import { FieldContextValue, useField } from "./components/field/field-context.js";
|
|
22
26
|
import "./components/field/index.js";
|
|
@@ -24,10 +28,13 @@ import { Icon, IconProps } from "./components/icon/icon.js";
|
|
|
24
28
|
import "./components/icon/index.js";
|
|
25
29
|
import { Input, InputProps, Textarea, TextareaProps } from "./components/input/input.js";
|
|
26
30
|
import "./components/input/index.js";
|
|
31
|
+
import { Placement } from "./components/popover/popover.css.js";
|
|
32
|
+
import { Menu, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuProps, MenuSeparator } from "./components/menu/menu.js";
|
|
33
|
+
import "./components/menu/index.js";
|
|
27
34
|
import { Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsProps } from "./components/navigation/tabs.js";
|
|
28
35
|
import { BottomNav, BottomNavItem, BottomNavProps, BottomNavSpacer, Breadcrumbs, BreadcrumbsProps, Crumb, SegmentedControl, SegmentedControlProps, SegmentedOption } from "./components/navigation/nav.js";
|
|
36
|
+
import { Pagination, PaginationLabels, PaginationProps, pageRange } from "./components/navigation/pagination.js";
|
|
29
37
|
import "./components/navigation/index.js";
|
|
30
|
-
import { Placement } from "./components/popover/popover.css.js";
|
|
31
38
|
import { Popover, PopoverProps, Tooltip, TooltipProps } from "./components/popover/popover.js";
|
|
32
39
|
import "./components/popover/index.js";
|
|
33
40
|
import { Select, SelectProps } from "./components/select/select.js";
|
|
@@ -40,9 +47,11 @@ import { Heading, HeadingProps, MarginProps, Text, TextProps } from "./component
|
|
|
40
47
|
import "./components/text/index.js";
|
|
41
48
|
import { ToastOptions, ToastProvider, ToastProviderProps, ToastTone, useToast } from "./components/toast/toast.js";
|
|
42
49
|
import "./components/toast/index.js";
|
|
50
|
+
import { VisuallyHidden, VisuallyHiddenProps } from "./components/visually-hidden/visually-hidden.js";
|
|
51
|
+
import "./components/visually-hidden/index.js";
|
|
43
52
|
import { ThemeScope, ThemeScopeProps } from "./components/theme-scope/theme-scope.js";
|
|
44
53
|
import { PresenceState, usePresence } from "./hooks/use-presence.js";
|
|
45
54
|
import { useDisclosure } from "./hooks/use-disclosure.js";
|
|
46
55
|
import "./hooks/index.js";
|
|
47
56
|
import { cx } from "./utils/cx.js";
|
|
48
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BottomNav, BottomNavItem, type BottomNavProps, BottomNavSpacer, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Card, CardHeader, CardMedia, type CardMediaProps, type CardProps, type CellProps, Checkbox, type CheckboxProps, type Crumb, Dialog, DialogActions, DialogBody, type DialogProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingProps, Icon, type IconProps, Input, type InputProps, type MarginProps, type Placement, Popover, type PopoverProps, type PresenceState, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Select, type SelectProps, Slider, type SliderProps, SliderValue, Stack, type StackProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableProps, Tabs, type TabsProps, Td, Text, type TextProps, Textarea, type TextareaProps, Th, ThemeScope, type ThemeScopeProps, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, Tooltip, type TooltipProps, cx, splitSprinkles, useDisclosure, useField, usePresence, useToast };
|
|
57
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BottomNav, BottomNavItem, type BottomNavProps, BottomNavSpacer, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Card, CardHeader, CardMedia, type CardMediaProps, type CardProps, type CellProps, Checkbox, type CheckboxProps, Combobox, type ComboboxOption, type ComboboxProps, type Crumb, Dialog, DialogActions, DialogBody, type DialogProps, EmptyState, type EmptyStateProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingProps, Icon, type IconProps, Input, type InputProps, type MarginProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuProps, MenuSeparator, Pagination, type PaginationLabels, type PaginationProps, type Placement, Popover, type PopoverProps, type PresenceState, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Select, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SliderValue, Stack, type StackProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableProps, Tabs, type TabsProps, Td, Text, type TextProps, Textarea, type TextareaProps, Th, ThemeScope, type ThemeScopeProps, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, Tooltip, type TooltipProps, VisuallyHidden, type VisuallyHiddenProps, cx, defaultFilter, pageRange, splitSprinkles, useDisclosure, useField, usePresence, useToast };
|
package/dist/index.js
CHANGED
|
@@ -10,19 +10,24 @@ import { Button } from "./components/button/button.js";
|
|
|
10
10
|
import { Card, CardHeader } from "./components/card/card.js";
|
|
11
11
|
import { CardMedia } from "./components/card/card-media.js";
|
|
12
12
|
import { Checkbox, Radio, RadioGroup, Switch } from "./components/choice/choice.js";
|
|
13
|
+
import { useField } from "./components/field/field-context.js";
|
|
14
|
+
import { Popover, Tooltip } from "./components/popover/popover.js";
|
|
15
|
+
import { Combobox, defaultFilter } from "./components/combobox/combobox.js";
|
|
13
16
|
import { usePresence } from "./hooks/use-presence.js";
|
|
14
17
|
import { Dialog, DialogActions, DialogBody } from "./components/dialog/dialog.js";
|
|
15
|
-
import {
|
|
18
|
+
import { EmptyState, Skeleton } from "./components/feedback/feedback.js";
|
|
16
19
|
import { Field } from "./components/field/field.js";
|
|
17
20
|
import { Input, Textarea } from "./components/input/input.js";
|
|
21
|
+
import { Menu, MenuGroup, MenuItem, MenuSeparator } from "./components/menu/menu.js";
|
|
18
22
|
import { Tab, TabList, TabPanel, Tabs } from "./components/navigation/tabs.js";
|
|
19
23
|
import { BottomNav, BottomNavItem, BottomNavSpacer, Breadcrumbs, SegmentedControl } from "./components/navigation/nav.js";
|
|
20
|
-
import {
|
|
24
|
+
import { Pagination, pageRange } from "./components/navigation/pagination.js";
|
|
21
25
|
import { Select } from "./components/select/select.js";
|
|
22
26
|
import { Slider, SliderValue } from "./components/slider/slider.js";
|
|
23
27
|
import { Table, Td, Th } from "./components/table/table.js";
|
|
24
28
|
import { Heading, Text } from "./components/text/text.js";
|
|
25
29
|
import { ToastProvider, useToast } from "./components/toast/toast.js";
|
|
30
|
+
import { VisuallyHidden } from "./components/visually-hidden/visually-hidden.js";
|
|
26
31
|
import { cx } from "./utils/cx.js";
|
|
27
32
|
import { useDisclosure } from "./hooks/use-disclosure.js";
|
|
28
|
-
export { Accordion, AccordionItem, Avatar, AvatarGroup, Badge, BottomNav, BottomNavItem, BottomNavSpacer, Box, Breadcrumbs, Button, Card, CardHeader, CardMedia, Checkbox, Dialog, DialogActions, DialogBody, Field, Heading, Icon, Input, Popover, Radio, RadioGroup, SegmentedControl, Select, Slider, SliderValue, Stack, Switch, Tab, TabList, TabPanel, Table, Tabs, Td, Text, Textarea, Th, ThemeScope, ToastProvider, Tooltip, cx, splitSprinkles, useDisclosure, useField, usePresence, useToast };
|
|
33
|
+
export { Accordion, AccordionItem, Avatar, AvatarGroup, Badge, BottomNav, BottomNavItem, BottomNavSpacer, Box, Breadcrumbs, Button, Card, CardHeader, CardMedia, Checkbox, Combobox, Dialog, DialogActions, DialogBody, EmptyState, Field, Heading, Icon, Input, Menu, MenuGroup, MenuItem, MenuSeparator, Pagination, Popover, Radio, RadioGroup, SegmentedControl, Select, Skeleton, Slider, SliderValue, Stack, Switch, Tab, TabList, TabPanel, Table, Tabs, Td, Text, Textarea, Th, ThemeScope, ToastProvider, Tooltip, VisuallyHidden, cx, defaultFilter, pageRange, splitSprinkles, useDisclosure, useField, usePresence, useToast };
|