@forgedevstack/bear 1.1.4 → 1.1.8
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 +19 -0
- package/dist/components/Anchor/Anchor.cjs +1 -1
- package/dist/components/Anchor/Anchor.js +37 -45
- package/dist/components/Anchor/Anchor.utils.cjs +1 -0
- package/dist/components/Anchor/Anchor.utils.d.ts +2 -0
- package/dist/components/Anchor/Anchor.utils.js +12 -0
- package/dist/components/Autocomplete/Autocomplete.cjs +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +60 -67
- package/dist/components/Autocomplete/Autocomplete.utils.cjs +1 -0
- package/dist/components/Autocomplete/Autocomplete.utils.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.utils.js +12 -0
- package/dist/components/BackTop/BackTop.cjs +1 -1
- package/dist/components/BackTop/BackTop.js +10 -11
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.constants.cjs +2 -2
- package/dist/components/Button/Button.constants.d.ts +1 -0
- package/dist/components/Button/Button.constants.js +12 -5
- package/dist/components/Button/Button.d.ts +0 -27
- package/dist/components/Button/Button.js +93 -105
- package/dist/components/Button/Button.types.d.ts +1 -0
- package/dist/components/Button/Button.utils.cjs +1 -0
- package/dist/components/Button/Button.utils.d.ts +2 -0
- package/dist/components/Button/Button.utils.js +5 -0
- package/dist/components/Button/useSpotlight.cjs +1 -0
- package/dist/components/Button/useSpotlight.d.ts +21 -0
- package/dist/components/Button/useSpotlight.js +28 -0
- package/dist/components/Chart/Chart.cjs +1 -1
- package/dist/components/Chart/Chart.const.cjs +1 -0
- package/dist/components/Chart/Chart.const.js +21 -0
- package/dist/components/Chart/Chart.js +55 -71
- package/dist/components/Chart/Chart.utils.cjs +1 -0
- package/dist/components/Chart/Chart.utils.js +5 -0
- package/dist/components/Confetti/Confetti.cjs +1 -1
- package/dist/components/Confetti/Confetti.js +37 -34
- package/dist/components/ContextMenu/ContextMenu.cjs +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +31 -30
- package/dist/components/ContextMenu/ContextMenu.utils.cjs +1 -0
- package/dist/components/ContextMenu/ContextMenu.utils.d.ts +5 -0
- package/dist/components/ContextMenu/ContextMenu.utils.js +4 -0
- package/dist/components/CountdownTimer/CountdownTimer.cjs +1 -1
- package/dist/components/CountdownTimer/CountdownTimer.js +62 -71
- package/dist/components/CountdownTimer/CountdownTimer.utils.cjs +1 -0
- package/dist/components/CountdownTimer/CountdownTimer.utils.d.ts +3 -0
- package/dist/components/CountdownTimer/CountdownTimer.utils.js +16 -0
- package/dist/components/Dock/Dock.cjs +1 -1
- package/dist/components/Dock/Dock.js +38 -43
- package/dist/components/Dock/Dock.utils.cjs +1 -0
- package/dist/components/Dock/Dock.utils.d.ts +1 -0
- package/dist/components/Dock/Dock.utils.js +10 -0
- package/dist/components/Dropdown/Dropdown.cjs +1 -1
- package/dist/components/Dropdown/Dropdown.js +59 -60
- package/dist/components/FileTree/FileTree.cjs +1 -1
- package/dist/components/FileTree/FileTree.js +20 -32
- package/dist/components/FileTree/FileTree.utils.cjs +1 -0
- package/dist/components/FileTree/FileTree.utils.d.ts +4 -0
- package/dist/components/FileTree/FileTree.utils.js +15 -0
- package/dist/components/GradientText/GradientText.cjs +1 -1
- package/dist/components/GradientText/GradientText.js +27 -29
- package/dist/components/Icon/icons/bear.cjs +1 -0
- package/dist/components/Icon/icons/bear.d.ts +12 -0
- package/dist/components/Icon/icons/bear.js +47 -0
- package/dist/components/Icon/index.cjs +1 -1
- package/dist/components/Icon/index.d.ts +18 -0
- package/dist/components/Icon/index.js +17 -15
- package/dist/components/InfiniteScroll/InfiniteScroll.cjs +1 -1
- package/dist/components/InfiniteScroll/InfiniteScroll.const.cjs +1 -1
- package/dist/components/InfiniteScroll/InfiniteScroll.const.js +6 -7
- package/dist/components/InfiniteScroll/InfiniteScroll.js +41 -41
- package/dist/components/MentionsInput/MentionsInput.cjs +1 -1
- package/dist/components/MentionsInput/MentionsInput.js +64 -68
- package/dist/components/MentionsInput/MentionsInput.utils.cjs +1 -0
- package/dist/components/MentionsInput/MentionsInput.utils.d.ts +2 -0
- package/dist/components/MentionsInput/MentionsInput.utils.js +9 -0
- package/dist/components/PageNav/PageNav.cjs +1 -0
- package/dist/components/PageNav/PageNav.const.cjs +1 -0
- package/dist/components/PageNav/PageNav.const.d.ts +22 -0
- package/dist/components/PageNav/PageNav.const.js +42 -0
- package/dist/components/PageNav/PageNav.d.ts +3 -0
- package/dist/components/PageNav/PageNav.js +81 -0
- package/dist/components/PageNav/PageNav.types.d.ts +17 -0
- package/dist/components/PageNav/index.d.ts +2 -0
- package/dist/components/Progress/Progress.cjs +1 -1
- package/dist/components/Progress/Progress.js +6 -6
- package/dist/components/PropsPlayground/PropsPlayground.cjs +1 -0
- package/dist/components/PropsPlayground/PropsPlayground.const.cjs +1 -0
- package/dist/components/PropsPlayground/PropsPlayground.const.d.ts +11 -0
- package/dist/components/PropsPlayground/PropsPlayground.const.js +23 -0
- package/dist/components/PropsPlayground/PropsPlayground.d.ts +3 -0
- package/dist/components/PropsPlayground/PropsPlayground.js +221 -0
- package/dist/components/PropsPlayground/PropsPlayground.types.d.ts +29 -0
- package/dist/components/PropsPlayground/PropsPlayground.utils.cjs +1 -0
- package/dist/components/PropsPlayground/PropsPlayground.utils.d.ts +2 -0
- package/dist/components/PropsPlayground/PropsPlayground.utils.js +9 -0
- package/dist/components/PropsPlayground/index.d.ts +2 -0
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.js +28 -30
- package/dist/components/SignPad/SignPad.cjs +1 -1
- package/dist/components/SignPad/SignPad.js +24 -24
- package/dist/components/Skeleton/Skeleton.cjs +1 -1
- package/dist/components/Skeleton/Skeleton.js +89 -94
- package/dist/components/Skeleton/Skeleton.utils.cjs +1 -0
- package/dist/components/Skeleton/Skeleton.utils.d.ts +1 -0
- package/dist/components/Skeleton/Skeleton.utils.js +10 -0
- package/dist/components/SliderRange/SliderRange.cjs +1 -1
- package/dist/components/SliderRange/SliderRange.js +61 -63
- package/dist/components/SliderRange/SliderRange.utils.cjs +1 -0
- package/dist/components/SliderRange/SliderRange.utils.d.ts +1 -0
- package/dist/components/SliderRange/SliderRange.utils.js +7 -0
- package/dist/components/Spotlight/Spotlight.cjs +1 -1
- package/dist/components/Spotlight/Spotlight.js +62 -73
- package/dist/components/Spotlight/Spotlight.utils.cjs +1 -0
- package/dist/components/Spotlight/Spotlight.utils.d.ts +3 -0
- package/dist/components/Spotlight/Spotlight.utils.js +18 -0
- package/dist/components/Tabs/Tabs.cjs +1 -1
- package/dist/components/Tabs/Tabs.js +39 -38
- package/dist/components/Tabs/Tabs.types.d.ts +3 -1
- package/dist/components/Toast/Toast.cjs +1 -1
- package/dist/components/Toast/Toast.js +18 -17
- package/dist/components/Toast/Toast.utils.cjs +1 -0
- package/dist/components/Toast/Toast.utils.d.ts +1 -0
- package/dist/components/Toast/Toast.utils.js +4 -0
- package/dist/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/components/Tooltip/Tooltip.js +10 -11
- package/dist/components/Tour/Tour.cjs +1 -1
- package/dist/components/Tour/Tour.js +1 -2
- package/dist/components/VirtualList/VirtualList.cjs +1 -1
- package/dist/components/VirtualList/VirtualList.js +38 -43
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +66 -62
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +60 -58
- package/dist/hooks/useResizeObserver/index.d.ts +2 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.cjs +1 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.js +20 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.types.d.ts +8 -0
- package/dist/icons.cjs +1 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +175 -169
- package/dist/styles/_base.css +7 -3
- package/dist/styles.css +1 -1
- package/package.json +6 -1
package/dist/index.js
CHANGED
|
@@ -4,16 +4,16 @@ import { Grid as a, GridCompound as i, GridItem as n } from "./components/Grid/G
|
|
|
4
4
|
import { ActionIcon as u } from "./components/ActionIcon/ActionIcon.js";
|
|
5
5
|
import { Button as d } from "./components/Button/Button.js";
|
|
6
6
|
import { ButtonGroup as C } from "./components/ButtonGroup/ButtonGroup.js";
|
|
7
|
-
import { Card as S, CardBody as h, CardCompound as
|
|
8
|
-
import { Badge as
|
|
7
|
+
import { Card as S, CardBody as h, CardCompound as g, CardFooter as P, CardHeader as T } from "./components/Card/Card.js";
|
|
8
|
+
import { Badge as B } from "./components/Badge/Badge.js";
|
|
9
9
|
import { Paper as v } from "./components/Paper/Paper.js";
|
|
10
10
|
import { Divider as L } from "./components/Divider/Divider.js";
|
|
11
|
-
import { Typography as
|
|
12
|
-
import { Link as
|
|
11
|
+
import { Typography as M } from "./components/Typography/Typography.js";
|
|
12
|
+
import { Link as A } from "./components/Link/Link.js";
|
|
13
13
|
import { Spinner as w } from "./components/Spinner/Spinner.js";
|
|
14
14
|
import { Alert as E } from "./components/Alert/Alert.js";
|
|
15
|
-
import { Rating as
|
|
16
|
-
import { BearIcons as
|
|
15
|
+
import { Rating as N } from "./components/Rating/Rating.js";
|
|
16
|
+
import { BearIcons as z } from "./components/Icon/index.js";
|
|
17
17
|
import { ChevronDownIcon as H, ChevronLeftIcon as q, ChevronRightIcon as J, ChevronUpIcon as Q, MenuIcon as U, CloseIcon as W } from "./components/Icon/icons/navigation.js";
|
|
18
18
|
import { RemoveIcon as X, AddIcon as _, SearchIcon as Y, SettingsIcon as Z } from "./components/Icon/icons/action.js";
|
|
19
19
|
import { CheckIcon as oo } from "./components/Icon/icons/status.js";
|
|
@@ -25,15 +25,15 @@ import { Drawer as no } from "./components/Drawer/Drawer.js";
|
|
|
25
25
|
import { Tooltip as uo } from "./components/Tooltip/Tooltip.js";
|
|
26
26
|
import { Menu as co, MenuDivider as Co, MenuItem as Io } from "./components/Menu/Menu.js";
|
|
27
27
|
import { Dropdown as ho } from "./components/Dropdown/Dropdown.js";
|
|
28
|
-
import { SpeedDial as
|
|
29
|
-
import { Input as
|
|
28
|
+
import { SpeedDial as Po } from "./components/SpeedDial/SpeedDial.js";
|
|
29
|
+
import { Input as bo } from "./components/Input/Input.js";
|
|
30
30
|
import { Select as ko } from "./components/Select/Select.js";
|
|
31
31
|
import { Switch as Do } from "./components/Switch/Switch.js";
|
|
32
|
-
import { Checkbox as
|
|
33
|
-
import { CheckboxCard as
|
|
32
|
+
import { Checkbox as Ro } from "./components/Checkbox/Checkbox.js";
|
|
33
|
+
import { CheckboxCard as yo, CheckboxCardGroup as Ao } from "./components/CheckboxCard/CheckboxCard.js";
|
|
34
34
|
import { Radio as wo, RadioGroup as Go } from "./components/Radio/Radio.js";
|
|
35
|
-
import { RadioCard as Oo, RadioCardGroup as
|
|
36
|
-
import { MultiSelect as
|
|
35
|
+
import { RadioCard as Oo, RadioCardGroup as No } from "./components/RadioCard/RadioCard.js";
|
|
36
|
+
import { MultiSelect as zo } from "./components/MultiSelect/MultiSelect.js";
|
|
37
37
|
import { NavigableSelect as Ho } from "./components/NavigableSelect/NavigableSelect.js";
|
|
38
38
|
import { Autocomplete as Jo } from "./components/Autocomplete/Autocomplete.js";
|
|
39
39
|
import { TransferList as Uo } from "./components/TransferList/TransferList.js";
|
|
@@ -45,14 +45,14 @@ import { Avatar as xr, AvatarGroup as ar } from "./components/Avatar/Avatar.js";
|
|
|
45
45
|
import { Progress as nr } from "./components/Progress/Progress.js";
|
|
46
46
|
import { List as ur, ListItem as lr, ListItemButton as dr, ListItemIcon as cr, ListItemText as Cr, ListSubheader as Ir } from "./components/List/List.js";
|
|
47
47
|
import { Fab as hr } from "./components/Fab/Fab.js";
|
|
48
|
-
import { ToastContainer as
|
|
48
|
+
import { ToastContainer as Pr, ToastProvider as Tr, useToast as br } from "./components/Toast/Toast.js";
|
|
49
49
|
import { Skeleton as kr, SkeletonAvatar as vr, SkeletonCard as Dr, SkeletonText as Lr } from "./components/Skeleton/Skeleton.js";
|
|
50
|
-
import { Pagination as
|
|
51
|
-
import { Slider as
|
|
50
|
+
import { Pagination as Mr } from "./components/Pagination/Pagination.js";
|
|
51
|
+
import { Slider as Ar } from "./components/Slider/Slider.js";
|
|
52
52
|
import { BearLoader as wr } from "./components/BearLoader/BearLoader.js";
|
|
53
53
|
import { Calendar as Er } from "./components/Calendar/Calendar.js";
|
|
54
|
-
import { DatePicker as
|
|
55
|
-
import { TimePicker as
|
|
54
|
+
import { DatePicker as Nr } from "./components/DatePicker/DatePicker.js";
|
|
55
|
+
import { TimePicker as zr } from "./components/TimePicker/TimePicker.js";
|
|
56
56
|
import { Breadcrumbs as Hr } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
57
57
|
import { Stepper as Jr, StepperControls as Qr } from "./components/Stepper/Stepper.js";
|
|
58
58
|
import { BottomNavigation as Wr } from "./components/BottomNavigation/BottomNavigation.js";
|
|
@@ -69,18 +69,18 @@ import { FileUpload as le } from "./components/FileUpload/FileUpload.js";
|
|
|
69
69
|
import { NumberInput as ce } from "./components/NumberInput/NumberInput.js";
|
|
70
70
|
import { OTPInput as Ie } from "./components/OTPInput/OTPInput.js";
|
|
71
71
|
import { ColorPicker as he } from "./components/ColorPicker/ColorPicker.js";
|
|
72
|
-
import { ScrollArea as
|
|
73
|
-
import { ResizablePanel as
|
|
72
|
+
import { ScrollArea as Pe } from "./components/ScrollArea/ScrollArea.js";
|
|
73
|
+
import { ResizablePanel as be } from "./components/ResizablePanel/ResizablePanel.js";
|
|
74
74
|
import { ResizableTextarea as ke } from "./components/ResizableTextarea/ResizableTextarea.js";
|
|
75
75
|
import { Collapsible as De } from "./components/Collapsible/Collapsible.js";
|
|
76
|
-
import { Kbd as
|
|
77
|
-
import { CopyButton as
|
|
76
|
+
import { Kbd as Re } from "./components/Kbd/Kbd.js";
|
|
77
|
+
import { CopyButton as ye } from "./components/CopyButton/CopyButton.js";
|
|
78
78
|
import { Sidebar as Fe } from "./components/Sidebar/Sidebar.js";
|
|
79
79
|
import { SidebarGroup as Ge } from "./components/Sidebar/components/SidebarGroup/SidebarGroup.js";
|
|
80
80
|
import "react/jsx-runtime";
|
|
81
81
|
import "react";
|
|
82
|
-
import { cn as Oe, styleForge as
|
|
83
|
-
import { deepMerge as
|
|
82
|
+
import { cn as Oe, styleForge as Ne } from "./utils/cn.js";
|
|
83
|
+
import { deepMerge as ze } from "./utils/deepMerge.js";
|
|
84
84
|
import { createSlots as He } from "./utils/createSlots.js";
|
|
85
85
|
import { Column as Je, Columns as Qe } from "./components/Columns/Columns.js";
|
|
86
86
|
import { Box as We } from "./components/Box/Box.js";
|
|
@@ -95,17 +95,17 @@ import { RichEditor as it } from "./components/RichEditor/RichEditor.js";
|
|
|
95
95
|
import { StatCard as st } from "./components/StatCard/StatCard.js";
|
|
96
96
|
import { ActivityItem as lt } from "./components/ActivityItem/ActivityItem.js";
|
|
97
97
|
import { BarChart as ct, Chart as Ct, LineChart as It, PieChart as St } from "./components/Chart/Chart.js";
|
|
98
|
-
import { Sparkline as
|
|
99
|
-
import { Gauge as
|
|
100
|
-
import { SignPad as
|
|
98
|
+
import { Sparkline as gt } from "./components/Sparkline/Sparkline.js";
|
|
99
|
+
import { Gauge as Tt } from "./components/Gauge/Gauge.js";
|
|
100
|
+
import { SignPad as Bt } from "./components/SignPad/SignPad.js";
|
|
101
101
|
import { Cascader as vt } from "./components/Cascader/Cascader.js";
|
|
102
102
|
import { Form as Lt } from "./components/Form/Form.js";
|
|
103
|
-
import { useFormContext as
|
|
103
|
+
import { useFormContext as Mt, useFormContextSafe as yt } from "./components/Form/Form.context.js";
|
|
104
104
|
import { NotificationCenter as Ft } from "./components/NotificationCenter/NotificationCenter.js";
|
|
105
105
|
import { PhoneInput as Gt } from "./components/PhoneInput/PhoneInput.js";
|
|
106
106
|
import { CreditInput as Ot } from "./components/CreditInput/CreditInput.js";
|
|
107
|
-
import { CommandPalette as
|
|
108
|
-
import { SegmentedControl as
|
|
107
|
+
import { CommandPalette as Vt } from "./components/CommandPalette/CommandPalette.js";
|
|
108
|
+
import { SegmentedControl as Kt } from "./components/SegmentedControl/SegmentedControl.js";
|
|
109
109
|
import { TagsInput as qt } from "./components/TagsInput/TagsInput.js";
|
|
110
110
|
import { BottomSheet as Qt } from "./components/BottomSheet/BottomSheet.js";
|
|
111
111
|
import { SliderRange as Wt } from "./components/SliderRange/SliderRange.js";
|
|
@@ -122,16 +122,16 @@ import { useTour as lp } from "./components/Tour/useTour.js";
|
|
|
122
122
|
import { QRCode as cp } from "./components/QRCode/QRCode.js";
|
|
123
123
|
import { JsonViewer as Ip } from "./components/JsonViewer/JsonViewer.js";
|
|
124
124
|
import { DiffViewer as hp } from "./components/DiffViewer/DiffViewer.js";
|
|
125
|
-
import { Chat as
|
|
126
|
-
import { FloatingChat as
|
|
125
|
+
import { Chat as Pp } from "./components/Chat/Chat.js";
|
|
126
|
+
import { FloatingChat as bp } from "./components/FloatingChat/FloatingChat.js";
|
|
127
127
|
import { Terminal as kp } from "./components/Terminal/Terminal.js";
|
|
128
128
|
import { Map as Dp } from "./components/Map/Map.js";
|
|
129
|
-
import { CodeEditor as
|
|
130
|
-
import { Cropper as
|
|
129
|
+
import { CodeEditor as Rp } from "./components/CodeEditor/CodeEditor.js";
|
|
130
|
+
import { Cropper as yp } from "./components/Cropper/Cropper.js";
|
|
131
131
|
import { Motion as Fp, Transition as wp } from "./components/Transition/Transition.js";
|
|
132
132
|
import { Masonry as Ep } from "./components/Masonry/Masonry.js";
|
|
133
|
-
import { Watermark as
|
|
134
|
-
import { Marquee as
|
|
133
|
+
import { Watermark as Np } from "./components/Watermark/Watermark.js";
|
|
134
|
+
import { Marquee as zp } from "./components/Marquee/Marquee.js";
|
|
135
135
|
import { CountdownTimer as Hp } from "./components/CountdownTimer/CountdownTimer.js";
|
|
136
136
|
import { Spotlight as Jp } from "./components/Spotlight/Spotlight.js";
|
|
137
137
|
import { Typewriter as Up } from "./components/Typewriter/Typewriter.js";
|
|
@@ -148,50 +148,53 @@ import { TreeSelect as um } from "./components/TreeSelect/TreeSelect.js";
|
|
|
148
148
|
import { ImageGallery as dm } from "./components/ImageGallery/ImageGallery.js";
|
|
149
149
|
import { ContextMenu as Cm } from "./components/ContextMenu/ContextMenu.js";
|
|
150
150
|
import { NumberFormatter as Sm } from "./components/NumberFormatter/NumberFormatter.js";
|
|
151
|
-
import { InfiniteScroll as
|
|
152
|
-
import { ColorSwatch as
|
|
151
|
+
import { InfiniteScroll as gm } from "./components/InfiniteScroll/InfiniteScroll.js";
|
|
152
|
+
import { ColorSwatch as Tm, ColorSwatchGroup as bm } from "./components/ColorSwatch/ColorSwatch.js";
|
|
153
153
|
import { SplitButton as km } from "./components/SplitButton/SplitButton.js";
|
|
154
154
|
import { Popconfirm as Dm } from "./components/Popconfirm/Popconfirm.js";
|
|
155
|
-
import { Result as
|
|
156
|
-
import { Descriptions as
|
|
155
|
+
import { Result as Rm } from "./components/Result/Result.js";
|
|
156
|
+
import { Descriptions as ym } from "./components/Descriptions/Descriptions.js";
|
|
157
157
|
import { Anchor as Fm } from "./components/Anchor/Anchor.js";
|
|
158
158
|
import { Affix as Gm } from "./components/Affix/Affix.js";
|
|
159
159
|
import { RingProgress as Om } from "./components/RingProgress/RingProgress.js";
|
|
160
|
-
import { Spoiler as
|
|
161
|
-
import { LoadingOverlay as
|
|
160
|
+
import { Spoiler as Vm } from "./components/Spoiler/Spoiler.js";
|
|
161
|
+
import { LoadingOverlay as Km } from "./components/LoadingOverlay/LoadingOverlay.js";
|
|
162
162
|
import { Blockquote as qm } from "./components/Blockquote/Blockquote.js";
|
|
163
163
|
import { Indicator as Qm } from "./components/Indicator/Indicator.js";
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
164
|
+
import { PageNav as Wm } from "./components/PageNav/PageNav.js";
|
|
165
|
+
import { PropsPlayground as Xm } from "./components/PropsPlayground/PropsPlayground.js";
|
|
166
|
+
import { BearProvider as Ym, useBear as Zm, useBearMode as $m, useBearTheme as of, useBearThemeOptional as rf } from "./context/BearProvider.js";
|
|
167
|
+
import { defaultDarkTheme as tf, defaultLightTheme as pf } from "./context/defaultTheme.js";
|
|
168
|
+
import { useIsDesktop as ff, useIsMobile as xf, useIsTablet as af, useMediaQuery as nf, usePrefersDark as sf, usePrefersReducedMotion as uf } from "./hooks/useMediaQuery.js";
|
|
169
|
+
import { useClickOutside as df } from "./hooks/useClickOutside.js";
|
|
170
|
+
import { useResizeObserver as Cf } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
171
|
+
import { useDisclosure as Sf } from "./hooks/useDisclosure.js";
|
|
172
|
+
import { useBearStyles as gf } from "./hooks/useBearStyles.js";
|
|
173
|
+
import { bearStyled as Tf } from "./hooks/bearStyled.js";
|
|
174
|
+
import { useSlide as Bf } from "./hooks/useSlide/useSlide.js";
|
|
175
|
+
import { useParallax as vf } from "./hooks/useParallax/useParallax.js";
|
|
176
|
+
import { useBounce as Lf } from "./hooks/useBounce/useBounce.js";
|
|
177
|
+
import { useFloat as Mf } from "./hooks/useFloat/useFloat.js";
|
|
178
|
+
import { usePulse as Af } from "./hooks/usePulse/usePulse.js";
|
|
179
|
+
import { useShake as wf } from "./hooks/useShake/useShake.js";
|
|
180
|
+
import { useClipboard as Ef } from "./hooks/useClipboard/useClipboard.js";
|
|
181
|
+
import { useDebounce as Nf, useDebouncedCallback as Vf } from "./hooks/useDebounce/useDebounce.js";
|
|
182
|
+
import { useThrottle as Kf, useThrottledCallback as Hf } from "./hooks/useThrottle/useThrottle.js";
|
|
183
|
+
import { useLocalStorage as Jf } from "./hooks/useLocalStorage/useLocalStorage.js";
|
|
184
|
+
import { useKeyPress as Uf, useKeyPressState as Wf } from "./hooks/useKeyPress/useKeyPress.js";
|
|
185
|
+
import { useInView as Xf, useIntersectionObserver as _f } from "./hooks/useIntersectionObserver/useIntersectionObserver.js";
|
|
186
|
+
import { useDragDrop as Zf } from "./hooks/useDragDrop/useDragDrop.js";
|
|
187
|
+
import { useLazyLoad as ox } from "./hooks/useLazyLoad/useLazyLoad.js";
|
|
188
|
+
import { BearComponentProvider as ex, useBC as tx, useBearComponent as px, useBearComponentContext as mx } from "./hooks/useBearComponent/useBearComponent.js";
|
|
189
|
+
import { useSpotlight as xx } from "./hooks/useSpotlight/useSpotlight.js";
|
|
190
|
+
import { useOnline as ix } from "./hooks/useOnline/useOnline.js";
|
|
191
|
+
import { useWebSocket as sx } from "./hooks/useWebSocket/useWebSocket.js";
|
|
192
|
+
import { useIdle as lx } from "./hooks/useIdle/useIdle.js";
|
|
193
|
+
import { usePageVisibility as cx } from "./hooks/usePageVisibility/usePageVisibility.js";
|
|
194
|
+
import { useLongPress as Ix } from "./hooks/useLongPress/useLongPress.js";
|
|
195
|
+
import { useAnimate as hx } from "./hooks/useAnimate.js";
|
|
196
|
+
import { useResponsive as Px, useResponsiveProps as Tx } from "./hooks/useResponsive.js";
|
|
197
|
+
import { Icon as Bx } from "./components/Icon/Icon.js";
|
|
195
198
|
export {
|
|
196
199
|
$o as Accordion,
|
|
197
200
|
or as AccordionItem,
|
|
@@ -209,14 +212,14 @@ export {
|
|
|
209
212
|
ar as AvatarGroup,
|
|
210
213
|
rp as BEAR_EMOJIS,
|
|
211
214
|
mp as BackTop,
|
|
212
|
-
|
|
215
|
+
B as Badge,
|
|
213
216
|
ct as BarChart,
|
|
214
|
-
|
|
215
|
-
|
|
217
|
+
ex as BearComponentProvider,
|
|
218
|
+
z as BearIcons,
|
|
216
219
|
wr as BearLoader,
|
|
217
220
|
po as BearLogo,
|
|
218
221
|
eo as BearPawIcon,
|
|
219
|
-
|
|
222
|
+
Ym as BearProvider,
|
|
220
223
|
qm as Blockquote,
|
|
221
224
|
Wr as BottomNavigation,
|
|
222
225
|
Qt as BottomSheet,
|
|
@@ -227,42 +230,42 @@ export {
|
|
|
227
230
|
Er as Calendar,
|
|
228
231
|
S as Card,
|
|
229
232
|
h as CardBody,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
+
g as CardCompound,
|
|
234
|
+
P as CardFooter,
|
|
235
|
+
T as CardHeader,
|
|
233
236
|
Yo as Carousel,
|
|
234
237
|
vt as Cascader,
|
|
235
238
|
Ct as Chart,
|
|
236
|
-
|
|
239
|
+
Pp as Chat,
|
|
237
240
|
oo as CheckIcon,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
+
Ro as Checkbox,
|
|
242
|
+
yo as CheckboxCard,
|
|
243
|
+
Ao as CheckboxCardGroup,
|
|
241
244
|
H as ChevronDownIcon,
|
|
242
245
|
q as ChevronLeftIcon,
|
|
243
246
|
J as ChevronRightIcon,
|
|
244
247
|
Q as ChevronUpIcon,
|
|
245
248
|
$r as Chip,
|
|
246
249
|
mt as CodeBlock,
|
|
247
|
-
|
|
250
|
+
Rp as CodeEditor,
|
|
248
251
|
De as Collapsible,
|
|
249
252
|
he as ColorPicker,
|
|
250
|
-
|
|
251
|
-
|
|
253
|
+
Tm as ColorSwatch,
|
|
254
|
+
bm as ColorSwatchGroup,
|
|
252
255
|
Je as Column,
|
|
253
256
|
Qe as Columns,
|
|
254
|
-
|
|
257
|
+
Vt as CommandPalette,
|
|
255
258
|
xp as Confetti,
|
|
256
259
|
p as Container,
|
|
257
260
|
Cm as ContextMenu,
|
|
258
|
-
|
|
261
|
+
ye as CopyButton,
|
|
259
262
|
Hp as CountdownTimer,
|
|
260
263
|
Ot as CreditInput,
|
|
261
|
-
|
|
264
|
+
yp as Cropper,
|
|
262
265
|
jo as DataTable,
|
|
263
|
-
|
|
266
|
+
Nr as DatePicker,
|
|
264
267
|
nm as DateRangePicker,
|
|
265
|
-
|
|
268
|
+
ym as Descriptions,
|
|
266
269
|
hp as DiffViewer,
|
|
267
270
|
L as Divider,
|
|
268
271
|
jp as Dock,
|
|
@@ -278,38 +281,38 @@ export {
|
|
|
278
281
|
te as FileTree,
|
|
279
282
|
le as FileUpload,
|
|
280
283
|
f as Flex,
|
|
281
|
-
|
|
284
|
+
bp as FloatingChat,
|
|
282
285
|
Lt as Form,
|
|
283
286
|
pm as FormField,
|
|
284
|
-
|
|
287
|
+
Tt as Gauge,
|
|
285
288
|
_p as GradientText,
|
|
286
289
|
a as Grid,
|
|
287
290
|
i as GridCompound,
|
|
288
291
|
n as GridItem,
|
|
289
292
|
Ye as Highlight,
|
|
290
293
|
tt as HoverCard,
|
|
291
|
-
|
|
294
|
+
Bx as Icon,
|
|
292
295
|
se as Image,
|
|
293
296
|
dm as ImageGallery,
|
|
294
297
|
Qm as Indicator,
|
|
295
|
-
|
|
296
|
-
|
|
298
|
+
gm as InfiniteScroll,
|
|
299
|
+
bo as Input,
|
|
297
300
|
em as InputGroup,
|
|
298
301
|
Ip as JsonViewer,
|
|
299
302
|
Yt as Kanban,
|
|
300
|
-
|
|
303
|
+
Re as Kbd,
|
|
301
304
|
It as LineChart,
|
|
302
|
-
|
|
305
|
+
A as Link,
|
|
303
306
|
ur as List,
|
|
304
307
|
lr as ListItem,
|
|
305
308
|
dr as ListItemButton,
|
|
306
309
|
cr as ListItemIcon,
|
|
307
310
|
Cr as ListItemText,
|
|
308
311
|
Ir as ListSubheader,
|
|
309
|
-
|
|
312
|
+
Km as LoadingOverlay,
|
|
310
313
|
Dp as Map,
|
|
311
314
|
$e as Mark,
|
|
312
|
-
|
|
315
|
+
zp as Marquee,
|
|
313
316
|
Ep as Masonry,
|
|
314
317
|
Xt as MentionsInput,
|
|
315
318
|
co as Menu,
|
|
@@ -319,13 +322,14 @@ export {
|
|
|
319
322
|
X as MinusIcon,
|
|
320
323
|
ao as Modal,
|
|
321
324
|
Fp as Motion,
|
|
322
|
-
|
|
325
|
+
zo as MultiSelect,
|
|
323
326
|
Ho as NavigableSelect,
|
|
324
327
|
Ft as NotificationCenter,
|
|
325
328
|
Sm as NumberFormatter,
|
|
326
329
|
ce as NumberInput,
|
|
327
330
|
Ie as OTPInput,
|
|
328
|
-
|
|
331
|
+
Wm as PageNav,
|
|
332
|
+
Mr as Pagination,
|
|
329
333
|
v as Paper,
|
|
330
334
|
Zp as PasswordInput,
|
|
331
335
|
Gt as PhoneInput,
|
|
@@ -334,36 +338,37 @@ export {
|
|
|
334
338
|
Dm as Popconfirm,
|
|
335
339
|
Yr as Popover,
|
|
336
340
|
nr as Progress,
|
|
341
|
+
Xm as PropsPlayground,
|
|
337
342
|
cp as QRCode,
|
|
338
343
|
wo as Radio,
|
|
339
344
|
Oo as RadioCard,
|
|
340
|
-
|
|
345
|
+
No as RadioCardGroup,
|
|
341
346
|
Go as RadioGroup,
|
|
342
|
-
|
|
343
|
-
|
|
347
|
+
N as Rating,
|
|
348
|
+
be as ResizablePanel,
|
|
344
349
|
ke as ResizableTextarea,
|
|
345
|
-
|
|
350
|
+
Rm as Result,
|
|
346
351
|
it as RichEditor,
|
|
347
352
|
Om as RingProgress,
|
|
348
|
-
|
|
353
|
+
Pe as ScrollArea,
|
|
349
354
|
Y as SearchIcon,
|
|
350
|
-
|
|
355
|
+
Kt as SegmentedControl,
|
|
351
356
|
ko as Select,
|
|
352
357
|
Z as SettingsIcon,
|
|
353
358
|
Fe as Sidebar,
|
|
354
359
|
Ge as SidebarGroup,
|
|
355
|
-
|
|
360
|
+
Bt as SignPad,
|
|
356
361
|
kr as Skeleton,
|
|
357
362
|
vr as SkeletonAvatar,
|
|
358
363
|
Dr as SkeletonCard,
|
|
359
364
|
Lr as SkeletonText,
|
|
360
|
-
|
|
365
|
+
Ar as Slider,
|
|
361
366
|
Wt as SliderRange,
|
|
362
|
-
|
|
363
|
-
|
|
367
|
+
gt as Sparkline,
|
|
368
|
+
Po as SpeedDial,
|
|
364
369
|
w as Spinner,
|
|
365
370
|
km as SplitButton,
|
|
366
|
-
|
|
371
|
+
Vm as Spoiler,
|
|
367
372
|
Jp as Spotlight,
|
|
368
373
|
st as StatCard,
|
|
369
374
|
xe as Statistic,
|
|
@@ -376,10 +381,10 @@ export {
|
|
|
376
381
|
mr as Tabs,
|
|
377
382
|
qt as TagsInput,
|
|
378
383
|
kp as Terminal,
|
|
379
|
-
|
|
384
|
+
zr as TimePicker,
|
|
380
385
|
me as Timeline,
|
|
381
|
-
|
|
382
|
-
|
|
386
|
+
Pr as ToastContainer,
|
|
387
|
+
Tr as ToastProvider,
|
|
383
388
|
uo as Tooltip,
|
|
384
389
|
sp as Tour,
|
|
385
390
|
Uo as TransferList,
|
|
@@ -387,64 +392,65 @@ export {
|
|
|
387
392
|
um as TreeSelect,
|
|
388
393
|
re as TreeView,
|
|
389
394
|
Up as Typewriter,
|
|
390
|
-
|
|
395
|
+
M as Typography,
|
|
391
396
|
tp as VirtualList,
|
|
392
|
-
|
|
397
|
+
Np as Watermark,
|
|
393
398
|
W as XIcon,
|
|
394
|
-
|
|
399
|
+
Tf as bearStyled,
|
|
395
400
|
Oe as cn,
|
|
396
401
|
Xo as createColumns,
|
|
397
402
|
He as createSlots,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
403
|
+
ze as deepMerge,
|
|
404
|
+
tf as defaultDarkTheme,
|
|
405
|
+
pf as defaultLightTheme,
|
|
406
|
+
Ne as styleForge,
|
|
407
|
+
hx as useAnimate,
|
|
408
|
+
tx as useBC,
|
|
409
|
+
Zm as useBear,
|
|
410
|
+
px as useBearComponent,
|
|
411
|
+
mx as useBearComponentContext,
|
|
412
|
+
$m as useBearMode,
|
|
413
|
+
gf as useBearStyles,
|
|
414
|
+
of as useBearTheme,
|
|
415
|
+
rf as useBearThemeOptional,
|
|
416
|
+
Lf as useBounce,
|
|
417
|
+
df as useClickOutside,
|
|
418
|
+
Ef as useClipboard,
|
|
414
419
|
ip as useConfetti,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
420
|
+
Nf as useDebounce,
|
|
421
|
+
Vf as useDebouncedCallback,
|
|
422
|
+
Sf as useDisclosure,
|
|
423
|
+
Zf as useDragDrop,
|
|
424
|
+
Mf as useFloat,
|
|
425
|
+
Mt as useFormContext,
|
|
426
|
+
yt as useFormContextSafe,
|
|
427
|
+
lx as useIdle,
|
|
428
|
+
Xf as useInView,
|
|
429
|
+
_f as useIntersectionObserver,
|
|
430
|
+
ff as useIsDesktop,
|
|
431
|
+
xf as useIsMobile,
|
|
432
|
+
af as useIsTablet,
|
|
433
|
+
Uf as useKeyPress,
|
|
434
|
+
Wf as useKeyPressState,
|
|
435
|
+
ox as useLazyLoad,
|
|
436
|
+
Jf as useLocalStorage,
|
|
437
|
+
Ix as useLongPress,
|
|
438
|
+
nf as useMediaQuery,
|
|
439
|
+
ix as useOnline,
|
|
440
|
+
cx as usePageVisibility,
|
|
441
|
+
vf as useParallax,
|
|
442
|
+
sf as usePrefersDark,
|
|
443
|
+
uf as usePrefersReducedMotion,
|
|
444
|
+
Af as usePulse,
|
|
445
|
+
Cf as useResizeObserver,
|
|
446
|
+
Px as useResponsive,
|
|
447
|
+
Tx as useResponsiveProps,
|
|
448
|
+
wf as useShake,
|
|
449
|
+
Bf as useSlide,
|
|
450
|
+
xx as useSpotlight,
|
|
451
|
+
Kf as useThrottle,
|
|
452
|
+
Hf as useThrottledCallback,
|
|
453
|
+
br as useToast,
|
|
448
454
|
lp as useTour,
|
|
449
|
-
|
|
455
|
+
sx as useWebSocket
|
|
450
456
|
};
|
package/dist/styles/_base.css
CHANGED
|
@@ -46,11 +46,15 @@
|
|
|
46
46
|
|
|
47
47
|
/* Base component layer */
|
|
48
48
|
@layer components {
|
|
49
|
-
.bear-focus-ring {
|
|
50
|
-
|
|
49
|
+
.bear-focus-ring:focus {
|
|
50
|
+
outline: none;
|
|
51
|
+
box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.5);
|
|
52
|
+
box-shadow: 0 0 0 2px var(--bear-primary-500, rgba(236, 72, 153, 0.5)), 0 0 0 4px #fff;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
.bear-transition {
|
|
54
|
-
|
|
56
|
+
transition-property: all;
|
|
57
|
+
transition-duration: 200ms;
|
|
58
|
+
transition-timing-function: ease-in-out;
|
|
55
59
|
}
|
|
56
60
|
}
|