@jbpark/ui-kit 10.2.0 → 10.3.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/Alert.d.mts +2 -2
- package/dist/Alert.d.mts.map +1 -1
- package/dist/Alert.mjs +1 -1
- package/dist/Anchor.d.mts +29 -0
- package/dist/Anchor.d.mts.map +1 -0
- package/dist/Anchor.mjs +120 -0
- package/dist/Anchor.mjs.map +1 -0
- package/dist/AutoComplete.d.mts +34 -0
- package/dist/AutoComplete.d.mts.map +1 -0
- package/dist/AutoComplete.mjs +82 -0
- package/dist/AutoComplete.mjs.map +1 -0
- package/dist/Avatar.d.mts +2 -2
- package/dist/Avatar.d.mts.map +1 -1
- package/dist/Avatar.mjs +2 -2
- package/dist/Badge.d.mts +2 -2
- package/dist/Badge.d.mts.map +1 -1
- package/dist/Breadcrumb.d.mts +3 -3
- package/dist/Breadcrumb.d.mts.map +1 -1
- package/dist/Breadcrumb.mjs +1 -1
- package/dist/Breadcrumb.mjs.map +1 -1
- package/dist/Button.d.mts +3 -3
- package/dist/Button.d.mts.map +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/Calendar.d.mts +28 -0
- package/dist/Calendar.d.mts.map +1 -0
- package/dist/Calendar.mjs +64 -0
- package/dist/Calendar.mjs.map +1 -0
- package/dist/Card.d.mts +2 -2
- package/dist/Card.d.mts.map +1 -1
- package/dist/Cascader.d.mts +34 -0
- package/dist/Cascader.d.mts.map +1 -0
- package/dist/Cascader.mjs +144 -0
- package/dist/Cascader.mjs.map +1 -0
- package/dist/CodeEditor.d.mts +2 -2
- package/dist/CodeEditor.d.mts.map +1 -1
- package/dist/ContextMenu.d.mts +33 -0
- package/dist/ContextMenu.d.mts.map +1 -0
- package/dist/ContextMenu.mjs +92 -0
- package/dist/ContextMenu.mjs.map +1 -0
- package/dist/Descriptions.d.mts +31 -0
- package/dist/Descriptions.d.mts.map +1 -0
- package/dist/Descriptions.mjs +67 -0
- package/dist/Descriptions.mjs.map +1 -0
- package/dist/Divider.d.mts +18 -0
- package/dist/Divider.d.mts.map +1 -0
- package/dist/Divider.mjs +44 -0
- package/dist/Divider.mjs.map +1 -0
- package/dist/Form.d.mts +12 -0
- package/dist/Form.d.mts.map +1 -0
- package/dist/Form.mjs +11 -0
- package/dist/Form.mjs.map +1 -0
- package/dist/Layout.d.mts.map +1 -1
- package/dist/Mentions.d.mts +34 -0
- package/dist/Mentions.d.mts.map +1 -0
- package/dist/Mentions.mjs +207 -0
- package/dist/Mentions.mjs.map +1 -0
- package/dist/Menu.mjs +1 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.d.mts.map +1 -1
- package/dist/Pagination.mjs +1 -1
- package/dist/Popconfirm.d.mts +33 -0
- package/dist/Popconfirm.d.mts.map +1 -0
- package/dist/Popconfirm.mjs +119 -0
- package/dist/Popconfirm.mjs.map +1 -0
- package/dist/Rate.d.mts +27 -0
- package/dist/Rate.d.mts.map +1 -0
- package/dist/Rate.mjs +81 -0
- package/dist/Rate.mjs.map +1 -0
- package/dist/Reveals.d.mts.map +1 -1
- package/dist/ScrollArea.d.mts +8 -0
- package/dist/ScrollArea.d.mts.map +1 -0
- package/dist/ScrollArea.mjs +11 -0
- package/dist/ScrollArea.mjs.map +1 -0
- package/dist/Segmented.d.mts +3 -3
- package/dist/Segmented.d.mts.map +1 -1
- package/dist/Space.d.mts +2 -2
- package/dist/Space.d.mts.map +1 -1
- package/dist/Statistic.d.mts +22 -0
- package/dist/Statistic.d.mts.map +1 -0
- package/dist/Statistic.mjs +53 -0
- package/dist/Statistic.mjs.map +1 -0
- package/dist/Steps.d.mts +3 -3
- package/dist/Steps.d.mts.map +1 -1
- package/dist/Steps.mjs +1 -1
- package/dist/Table.d.mts +4 -4
- package/dist/Table.d.mts.map +1 -1
- package/dist/Tag.d.mts +3 -3
- package/dist/Tag.d.mts.map +1 -1
- package/dist/TimePicker.d.mts +26 -0
- package/dist/TimePicker.d.mts.map +1 -0
- package/dist/TimePicker.mjs +77 -0
- package/dist/TimePicker.mjs.map +1 -0
- package/dist/Timeline.d.mts +35 -0
- package/dist/Timeline.d.mts.map +1 -0
- package/dist/Timeline.mjs +59 -0
- package/dist/Timeline.mjs.map +1 -0
- package/dist/Tour.d.mts +37 -0
- package/dist/Tour.d.mts.map +1 -0
- package/dist/Tour.mjs +192 -0
- package/dist/Tour.mjs.map +1 -0
- package/dist/Transfer.d.mts +36 -0
- package/dist/Transfer.d.mts.map +1 -0
- package/dist/Transfer.mjs +147 -0
- package/dist/Transfer.mjs.map +1 -0
- package/dist/Tree.d.mts +62 -0
- package/dist/Tree.d.mts.map +1 -0
- package/dist/Tree.mjs +462 -0
- package/dist/Tree.mjs.map +1 -0
- package/dist/TreeSelect.d.mts +34 -0
- package/dist/TreeSelect.d.mts.map +1 -0
- package/dist/TreeSelect.mjs +135 -0
- package/dist/TreeSelect.mjs.map +1 -0
- package/dist/Typography.d.mts.map +1 -1
- package/dist/components/atoms/checkbox/checkbox.d.mts +5 -3
- package/dist/components/atoms/checkbox/checkbox.d.mts.map +1 -1
- package/dist/components/atoms/checkbox/checkbox.mjs +8 -4
- package/dist/components/atoms/checkbox/checkbox.mjs.map +1 -1
- package/dist/components/atoms/checkbox/group.d.mts +2 -2
- package/dist/components/atoms/checkbox/group.d.mts.map +1 -1
- package/dist/components/atoms/checkbox/index.d.mts.map +1 -1
- package/dist/components/atoms/color-picker.d.mts +2 -2
- package/dist/components/atoms/color-picker.d.mts.map +1 -1
- package/dist/components/atoms/date-picker.d.mts +5 -1
- package/dist/components/atoms/date-picker.d.mts.map +1 -1
- package/dist/components/atoms/date-picker.mjs +54 -10
- package/dist/components/atoms/date-picker.mjs.map +1 -1
- package/dist/components/atoms/float-button/back-top.d.mts +2 -2
- package/dist/components/atoms/float-button/back-top.d.mts.map +1 -1
- package/dist/components/atoms/float-button/back-top.mjs +1 -1
- package/dist/components/atoms/float-button/float-button.d.mts +2 -2
- package/dist/components/atoms/float-button/float-button.d.mts.map +1 -1
- package/dist/components/atoms/float-button/index.d.mts.map +1 -1
- package/dist/components/atoms/index.d.mts +13 -6
- package/dist/components/atoms/input/index.d.mts +3 -1
- package/dist/components/atoms/input/index.d.mts.map +1 -1
- package/dist/components/atoms/input/index.mjs +3 -1
- package/dist/components/atoms/input/index.mjs.map +1 -1
- package/dist/components/atoms/input/number.d.mts +2 -2
- package/dist/components/atoms/input/number.d.mts.map +1 -1
- package/dist/components/atoms/input/number.mjs +1 -1
- package/dist/components/atoms/input/otp.d.mts +26 -0
- package/dist/components/atoms/input/otp.d.mts.map +1 -0
- package/dist/components/atoms/input/otp.mjs +52 -0
- package/dist/components/atoms/input/otp.mjs.map +1 -0
- package/dist/components/atoms/input/search.d.mts +2 -2
- package/dist/components/atoms/input/search.d.mts.map +1 -1
- package/dist/components/atoms/input/search.mjs +2 -2
- package/dist/components/atoms/mentions-token.mjs +31 -0
- package/dist/components/atoms/mentions-token.mjs.map +1 -0
- package/dist/components/atoms/option-group.d.mts +4 -5
- package/dist/components/atoms/option-group.d.mts.map +1 -1
- package/dist/components/atoms/popover.d.mts +2 -2
- package/dist/components/atoms/popover.d.mts.map +1 -1
- package/dist/components/atoms/progress.d.mts +2 -2
- package/dist/components/atoms/progress.d.mts.map +1 -1
- package/dist/components/atoms/radio/group.d.mts +2 -2
- package/dist/components/atoms/radio/group.d.mts.map +1 -1
- package/dist/components/atoms/radio/group.mjs +1 -1
- package/dist/components/atoms/radio/index.d.mts.map +1 -1
- package/dist/components/atoms/radio/radio.d.mts +2 -2
- package/dist/components/atoms/radio/radio.d.mts.map +1 -1
- package/dist/components/atoms/radio/radio.mjs +1 -1
- package/dist/components/atoms/rich-text-editor/rich-text-editor.d.mts +2 -2
- package/dist/components/atoms/rich-text-editor/rich-text-editor.d.mts.map +1 -1
- package/dist/components/atoms/rich-text-editor/toolbar-presets.mjs +2 -2
- package/dist/components/atoms/rich-text-editor/types.d.mts +2 -3
- package/dist/components/atoms/rich-text-editor/types.d.mts.map +1 -1
- package/dist/components/atoms/select-multiple.d.mts +2 -3
- package/dist/components/atoms/select-multiple.d.mts.map +1 -1
- package/dist/components/atoms/select-multiple.mjs +4 -3
- package/dist/components/atoms/select-multiple.mjs.map +1 -1
- package/dist/components/atoms/select-searchable-options.d.mts +3 -4
- package/dist/components/atoms/select-searchable-options.d.mts.map +1 -1
- package/dist/components/atoms/select-searchable.d.mts +2 -3
- package/dist/components/atoms/select-searchable.d.mts.map +1 -1
- package/dist/components/atoms/select-searchable.mjs +4 -3
- package/dist/components/atoms/select-searchable.mjs.map +1 -1
- package/dist/components/atoms/select.d.mts +3 -3
- package/dist/components/atoms/select.d.mts.map +1 -1
- package/dist/components/atoms/skeleton/button.d.mts.map +1 -1
- package/dist/components/atoms/skeleton/index.d.mts.map +1 -1
- package/dist/components/atoms/skeleton/node.d.mts.map +1 -1
- package/dist/components/atoms/skeleton/skeleton.d.mts +2 -2
- package/dist/components/atoms/skeleton/skeleton.d.mts.map +1 -1
- package/dist/components/atoms/slider/slider.d.mts +3 -3
- package/dist/components/atoms/slider/slider.d.mts.map +1 -1
- package/dist/components/atoms/spin.d.mts +2 -2
- package/dist/components/atoms/spin.d.mts.map +1 -1
- package/dist/components/atoms/spin.mjs +1 -1
- package/dist/components/atoms/switch.d.mts +2 -2
- package/dist/components/atoms/switch.d.mts.map +1 -1
- package/dist/components/atoms/tooltip.d.mts +2 -2
- package/dist/components/atoms/tooltip.d.mts.map +1 -1
- package/dist/components/atoms/typography/link.d.mts +2 -2
- package/dist/components/atoms/typography/link.d.mts.map +1 -1
- package/dist/components/atoms/typography/paragraph.d.mts +2 -2
- package/dist/components/atoms/typography/paragraph.d.mts.map +1 -1
- package/dist/components/atoms/typography/text.d.mts +2 -2
- package/dist/components/atoms/typography/text.d.mts.map +1 -1
- package/dist/components/atoms/typography/title.d.mts +2 -2
- package/dist/components/atoms/typography/title.d.mts.map +1 -1
- package/dist/components/atoms/typography/typography.d.mts +2 -2
- package/dist/components/atoms/typography/typography.d.mts.map +1 -1
- package/dist/components/molecules/collapse.d.mts +2 -2
- package/dist/components/molecules/collapse.d.mts.map +1 -1
- package/dist/components/molecules/dropdown.d.mts +2 -2
- package/dist/components/molecules/dropdown.d.mts.map +1 -1
- package/dist/components/molecules/index.d.mts +22 -14
- package/dist/components/molecules/marquees/index.d.mts.map +1 -1
- package/dist/components/molecules/marquees/item.d.mts +4 -4
- package/dist/components/molecules/marquees/item.d.mts.map +1 -1
- package/dist/components/molecules/marquees/item.mjs +5 -5
- package/dist/components/molecules/marquees/item.mjs.map +1 -1
- package/dist/components/molecules/marquees/marquees.d.mts +2 -2
- package/dist/components/molecules/marquees/marquees.d.mts.map +1 -1
- package/dist/components/molecules/marquees/marquees.mjs +4 -5
- package/dist/components/molecules/marquees/marquees.mjs.map +1 -1
- package/dist/components/molecules/menu/item/item.mjs +1 -1
- package/dist/components/molecules/menu/menu.d.mts +9 -9
- package/dist/components/molecules/menu/menu.d.mts.map +1 -1
- package/dist/components/molecules/reveals/item.d.mts +2 -2
- package/dist/components/molecules/reveals/item.d.mts.map +1 -1
- package/dist/components/molecules/reveals/reveals.d.mts +5 -5
- package/dist/components/molecules/reveals/reveals.d.mts.map +1 -1
- package/dist/components/molecules/splitter/index.d.mts.map +1 -1
- package/dist/components/molecules/splitter/panel.d.mts +3 -3
- package/dist/components/molecules/splitter/panel.d.mts.map +1 -1
- package/dist/components/molecules/splitter/splitter.d.mts +3 -3
- package/dist/components/molecules/splitter/splitter.d.mts.map +1 -1
- package/dist/components/molecules/tabs.d.mts +4 -4
- package/dist/components/molecules/tabs.d.mts.map +1 -1
- package/dist/components/molecules/upload.d.mts +3 -3
- package/dist/components/molecules/upload.d.mts.map +1 -1
- package/dist/components/molecules/upload.mjs +1 -1
- package/dist/components/organisms/drawer.d.mts +2 -2
- package/dist/components/organisms/drawer.d.mts.map +1 -1
- package/dist/components/organisms/drawer.mjs +2 -2
- package/dist/components/organisms/form/context.d.mts +4 -0
- package/dist/components/organisms/form/context.d.mts.map +1 -0
- package/dist/components/organisms/form/context.mjs +9 -0
- package/dist/components/organisms/form/context.mjs.map +1 -0
- package/dist/components/organisms/form/control.d.mts +11 -0
- package/dist/components/organisms/form/control.d.mts.map +1 -0
- package/dist/components/organisms/form/control.mjs +19 -0
- package/dist/components/organisms/form/control.mjs.map +1 -0
- package/dist/components/organisms/form/field.d.mts +25 -0
- package/dist/components/organisms/form/field.d.mts.map +1 -0
- package/dist/components/organisms/form/field.mjs +54 -0
- package/dist/components/organisms/form/field.mjs.map +1 -0
- package/dist/components/organisms/form/form.d.mts +14 -0
- package/dist/components/organisms/form/form.d.mts.map +1 -0
- package/dist/components/organisms/form/form.mjs +23 -0
- package/dist/components/organisms/form/form.mjs.map +1 -0
- package/dist/components/organisms/index.d.mts +14 -6
- package/dist/components/organisms/list/index.d.mts.map +1 -1
- package/dist/components/organisms/list/list.d.mts +2 -2
- package/dist/components/organisms/list/list.d.mts.map +1 -1
- package/dist/components/organisms/modal.d.mts +6 -3
- package/dist/components/organisms/modal.d.mts.map +1 -1
- package/dist/components/organisms/modal.mjs +25 -18
- package/dist/components/organisms/modal.mjs.map +1 -1
- package/dist/components/organisms/swiper/index.d.mts.map +1 -1
- package/dist/components/organisms/swiper/swiper.d.mts +2 -2
- package/dist/components/organisms/swiper/swiper.d.mts.map +1 -1
- package/dist/components/organisms/toast.d.mts +2 -2
- package/dist/components/organisms/toast.d.mts.map +1 -1
- package/dist/components/organisms/toast.mjs +1 -1
- package/dist/components/templates/container.d.mts +2 -2
- package/dist/components/templates/container.d.mts.map +1 -1
- package/dist/components/templates/empty.d.mts +2 -2
- package/dist/components/templates/empty.d.mts.map +1 -1
- package/dist/components/templates/empty.mjs +1 -1
- package/dist/components/templates/grid/col.d.mts +2 -2
- package/dist/components/templates/grid/col.d.mts.map +1 -1
- package/dist/components/templates/grid/row.d.mts +2 -2
- package/dist/components/templates/grid/row.d.mts.map +1 -1
- package/dist/components/templates/layout/content.d.mts +2 -2
- package/dist/components/templates/layout/content.d.mts.map +1 -1
- package/dist/components/templates/layout/footer.d.mts +2 -2
- package/dist/components/templates/layout/footer.d.mts.map +1 -1
- package/dist/components/templates/layout/header.d.mts +2 -2
- package/dist/components/templates/layout/header.d.mts.map +1 -1
- package/dist/components/templates/layout/layout.d.mts +2 -2
- package/dist/components/templates/layout/layout.d.mts.map +1 -1
- package/dist/components/templates/layout/sider.d.mts +2 -2
- package/dist/components/templates/layout/sider.d.mts.map +1 -1
- package/dist/components/templates/layout/sider.mjs +1 -1
- package/dist/components/templates/page-header.d.mts +2 -2
- package/dist/components/templates/page-header.d.mts.map +1 -1
- package/dist/components/templates/page-header.mjs +1 -1
- package/dist/components/templates/result.d.mts +2 -2
- package/dist/components/templates/result.d.mts.map +1 -1
- package/dist/components/templates/result.mjs +1 -1
- package/dist/core/accordion.mjs +1 -1
- package/dist/core/autocomplete.d.mts +2 -0
- package/dist/core/autocomplete.mjs +48 -0
- package/dist/core/autocomplete.mjs.map +1 -0
- package/dist/core/badge.d.mts +5 -3
- package/dist/core/badge.d.mts.map +1 -1
- package/dist/core/button.d.mts +6 -4
- package/dist/core/button.d.mts.map +1 -1
- package/dist/core/calendar.d.mts +13 -3
- package/dist/core/calendar.d.mts.map +1 -0
- package/dist/core/calendar.mjs +1 -1
- package/dist/core/checkbox.mjs +11 -8
- package/dist/core/checkbox.mjs.map +1 -1
- package/dist/core/combobox.d.mts +26 -4
- package/dist/core/combobox.d.mts.map +1 -1
- package/dist/core/combobox.mjs +2 -2
- package/dist/core/combobox.mjs.map +1 -1
- package/dist/core/dialog.mjs +2 -2
- package/dist/core/dialog.mjs.map +1 -1
- package/dist/core/form.d.mts +8 -0
- package/dist/core/form.d.mts.map +1 -0
- package/dist/core/form.mjs +3 -0
- package/dist/core/index.d.mts +13 -9
- package/dist/core/popover.mjs +10 -2
- package/dist/core/popover.mjs.map +1 -1
- package/dist/core/radio-group.mjs +1 -1
- package/dist/core/resizable.d.mts +7 -2
- package/dist/core/resizable.d.mts.map +1 -1
- package/dist/core/resizable.mjs +1 -1
- package/dist/core/scroll-area.d.mts +20 -0
- package/dist/core/scroll-area.d.mts.map +1 -0
- package/dist/core/scroll-area.mjs +57 -0
- package/dist/core/scroll-area.mjs.map +1 -0
- package/dist/core/select.d.mts +24 -2
- package/dist/core/select.d.mts.map +1 -1
- package/dist/core/select.mjs +1 -1
- package/dist/core/separator.d.mts +13 -2
- package/dist/core/separator.d.mts.map +1 -0
- package/dist/core/tabs.d.mts +16 -2
- package/dist/core/tabs.d.mts.map +1 -1
- package/dist/index.d.mts +59 -36
- package/dist/index.mjs +25 -6
- package/dist/lib/colors.d.mts +2 -3
- package/dist/lib/colors.d.mts.map +1 -1
- package/dist/providers/config/context.d.mts +2 -3
- package/dist/providers/config/context.d.mts.map +1 -1
- package/dist/providers/config/context.mjs +3 -1
- package/dist/providers/config/context.mjs.map +1 -1
- package/dist/providers/config/registry.d.mts +2 -3
- package/dist/providers/config/registry.d.mts.map +1 -1
- package/dist/providers/config/types.d.mts +8 -7
- package/dist/providers/config/types.d.mts.map +1 -1
- package/dist/style.css +689 -332
- package/dist/utils.d.mts +2 -3
- package/dist/utils.d.mts.map +1 -1
- package/package.json +122 -26
- package/dist/components/molecules/marquees/use-pause-on-hover.mjs +0 -26
- package/dist/components/molecules/marquees/use-pause-on-hover.mjs.map +0 -1
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { Separator } from "@base-ui/react/separator";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Separator } from "@base-ui/react/separator";
|
|
3
|
+
declare namespace separator_d_exports {
|
|
4
|
+
export { Separator$1 as Separator };
|
|
5
|
+
}
|
|
6
|
+
interface Props extends Omit<React$1.ComponentProps<typeof Separator>, 'className'> {
|
|
7
|
+
className?: string;
|
|
8
|
+
decorative?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function Separator$1({ className, orientation, decorative, ...props }: Props): React$1.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Separator$1 as Separator, separator_d_exports };
|
|
13
|
+
//# sourceMappingURL=separator.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.mts","names":["React","SeparatorPrimitive","Separator"],"sources":["../../src/core/separator.tsx"],"mappings":";;;;;UAQU,cAAc,KACtBA,QAAM,sBAAsBC;EAG5B;EACA;;iBAIOC,cACP,WACA,aACA,eACG,SACF,QAAKF,QAAA,IAAA"}
|
package/dist/core/tabs.d.mts
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { Tabs } from "@base-ui/react/tabs";
|
|
2
|
-
|
|
2
|
+
declare namespace tabs_d_exports {
|
|
3
|
+
export { Tabs$1 as Tabs, TabsList, TabsPanel, TabsTab };
|
|
4
|
+
}
|
|
3
5
|
type RootProps = Omit<React.ComponentProps<typeof Tabs.Root>, 'className'> & {
|
|
4
6
|
className?: string;
|
|
5
7
|
};
|
|
8
|
+
type ListProps = Omit<React.ComponentProps<typeof Tabs.List>, 'className'> & {
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
type TabProps = Omit<React.ComponentProps<typeof Tabs.Tab>, 'className'> & {
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
14
|
+
type PanelProps = Omit<React.ComponentProps<typeof Tabs.Panel>, 'className'> & {
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
6
17
|
declare function Tabs$1({ className, ...props }: RootProps): import("react").JSX.Element;
|
|
18
|
+
declare function TabsList({ className, ...props }: ListProps): import("react").JSX.Element;
|
|
19
|
+
declare function TabsTab({ className, ...props }: TabProps): import("react").JSX.Element;
|
|
20
|
+
declare function TabsPanel({ className, ...props }: PanelProps): import("react").JSX.Element;
|
|
7
21
|
//#endregion
|
|
8
|
-
export { Tabs$1 as Tabs };
|
|
22
|
+
export { Tabs$1 as Tabs, TabsList, TabsPanel, TabsTab, tabs_d_exports };
|
|
9
23
|
//# sourceMappingURL=tabs.d.mts.map
|
package/dist/core/tabs.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.mts","names":[],"sources":["../../src/core/tabs.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabs.d.mts","names":["TabsPrimitive","Tabs"],"sources":["../../src/core/tabs.tsx"],"mappings":";;;;KAMK,YAAY,KACf,MAAM,sBAAsBA,KAAc;EAG1C;;KAEG,YAAY,KACf,MAAM,sBAAsBA,KAAc;EAG1C;;KAEG,WAAW,KACd,MAAM,sBAAsBA,KAAc;EAG1C;;KAEG,aAAa,KAChB,MAAM,sBAAsBA,KAAc;EAG1C;;iBAGOC,SAAO,cAAc,SAAS,4BAAS,IAAA;iBAcvC,WAAW,cAAc,SAAS,4BAAS,IAAA;iBAiB3C,UAAU,cAAc,SAAS,2BAAQ,IAAA;iBAyBzC,YAAY,cAAc,SAAS,6BAAU,IAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,36 +1,59 @@
|
|
|
1
|
+
import AutoComplete, { Option, Props as Props$2 } from "./AutoComplete.mjs";
|
|
1
2
|
import { ComponentSize, DefaultProps, Locale, ThemeConfig, ThemeToken } from "./providers/config/types.mjs";
|
|
2
3
|
import { DEFAULT_LOCALE, useConfig } from "./providers/config/context.mjs";
|
|
3
|
-
import Config, { Props as Props$
|
|
4
|
+
import Config, { Props as Props$11 } from "./providers/config/config.mjs";
|
|
4
5
|
import { ConfigSnapshotProvider, getRootConfigValue } from "./providers/config/registry.mjs";
|
|
5
|
-
import Avatar, { Props as Props$
|
|
6
|
-
import Badge, { Props as Props$
|
|
6
|
+
import Avatar, { Props as Props$3 } from "./Avatar.mjs";
|
|
7
|
+
import Badge, { Props as Props$4 } from "./Badge.mjs";
|
|
7
8
|
import Button from "./Button.mjs";
|
|
8
|
-
import
|
|
9
|
+
import Cascader, { Option as Option$1, Props as Props$8 } from "./Cascader.mjs";
|
|
10
|
+
import Divider, { Props as Props$16 } from "./Divider.mjs";
|
|
11
|
+
import Mentions, { Option as Option$2, Props as Props$30 } from "./Mentions.mjs";
|
|
12
|
+
import Rate, { Props as Props$36 } from "./Rate.mjs";
|
|
13
|
+
import Segmented, { Props as Props$41 } from "./Segmented.mjs";
|
|
9
14
|
import Tag from "./Tag.mjs";
|
|
15
|
+
import TimePicker, { Props as Props$50 } from "./TimePicker.mjs";
|
|
10
16
|
import Typography from "./Typography.mjs";
|
|
11
17
|
import Alert, { Props } from "./Alert.mjs";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { Props as Props$
|
|
18
|
+
import Anchor, { Item, Props as Props$1 } from "./Anchor.mjs";
|
|
19
|
+
import Breadcrumb, { Props as Props$5 } from "./Breadcrumb.mjs";
|
|
20
|
+
import Card, { Props as Props$7 } from "./Card.mjs";
|
|
21
|
+
import ContextMenu, { Item as Item$1, Props as Props$14 } from "./ContextMenu.mjs";
|
|
22
|
+
import Descriptions, { Columns, Item as Item$2, Props as Props$15 } from "./Descriptions.mjs";
|
|
23
|
+
import Menu, { Props as Props$31 } from "./components/molecules/menu/menu.mjs";
|
|
24
|
+
import Pagination, { Props as Props$34 } from "./Pagination.mjs";
|
|
25
|
+
import Popover from "./components/atoms/popover.mjs";
|
|
26
|
+
import Popconfirm, { Props as Props$35 } from "./Popconfirm.mjs";
|
|
27
|
+
import { Props as Props$38 } from "./components/molecules/reveals/reveals.mjs";
|
|
17
28
|
import Reveals from "./Reveals.mjs";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import { Props as Props$
|
|
22
|
-
import { Props as Props$
|
|
23
|
-
import { Props as Props$
|
|
24
|
-
import { Props as Props$
|
|
25
|
-
import { Props as Props$
|
|
29
|
+
import ScrollArea, { Props as Props$40 } from "./ScrollArea.mjs";
|
|
30
|
+
import Space, { Props as Props$43 } from "./Space.mjs";
|
|
31
|
+
import Statistic, { Props as Props$45 } from "./Statistic.mjs";
|
|
32
|
+
import Steps, { Item as Item$3, Props as Props$46 } from "./Steps.mjs";
|
|
33
|
+
import Timeline, { Item as Item$4, Props as Props$51, Timestamp } from "./Timeline.mjs";
|
|
34
|
+
import Transfer, { Item as Item$5, Props as Props$53 } from "./Transfer.mjs";
|
|
35
|
+
import Calendar, { Props as Props$6 } from "./Calendar.mjs";
|
|
36
|
+
import { Props as Props$21 } from "./components/organisms/form/control.mjs";
|
|
37
|
+
import { Props as Props$22 } from "./components/organisms/form/field.mjs";
|
|
38
|
+
import { Props as Props$23 } from "./components/organisms/form/form.mjs";
|
|
39
|
+
import Form from "./Form.mjs";
|
|
40
|
+
import Table, { Column, PaginationOptions, Props as Props$48 } from "./Table.mjs";
|
|
41
|
+
import Tour, { Props as Props$52, Step } from "./Tour.mjs";
|
|
42
|
+
import Tree, { Actions, ExpandInfo, LoadOptions, Node, Props as Props$54, ScrollOptions } from "./Tree.mjs";
|
|
43
|
+
import TreeSelect, { Props as Props$55 } from "./TreeSelect.mjs";
|
|
44
|
+
import { Props as Props$13 } from "./components/templates/layout/content.mjs";
|
|
45
|
+
import { Props as Props$20 } from "./components/templates/layout/footer.mjs";
|
|
46
|
+
import { Props as Props$24 } from "./components/templates/layout/header.mjs";
|
|
47
|
+
import { Props as Props$27 } from "./components/templates/layout/layout.mjs";
|
|
48
|
+
import { Props as Props$42 } from "./components/templates/layout/sider.mjs";
|
|
26
49
|
import Layout from "./Layout.mjs";
|
|
27
50
|
import Checkbox from "./components/atoms/checkbox/index.mjs";
|
|
28
51
|
import ColorPicker from "./components/atoms/color-picker.mjs";
|
|
29
52
|
import DatePicker from "./components/atoms/date-picker.mjs";
|
|
30
53
|
import FloatButton from "./components/atoms/float-button/index.mjs";
|
|
31
|
-
import { Props as Props$
|
|
54
|
+
import { Props as Props$25 } from "./components/atoms/input/number.mjs";
|
|
55
|
+
import { Props as Props$26 } from "./components/atoms/input/otp.mjs";
|
|
32
56
|
import Input from "./components/atoms/input/index.mjs";
|
|
33
|
-
import Popover from "./components/atoms/popover.mjs";
|
|
34
57
|
import Progress from "./components/atoms/progress.mjs";
|
|
35
58
|
import Radio from "./components/atoms/radio/index.mjs";
|
|
36
59
|
import RichTextEditor from "./components/atoms/rich-text-editor/rich-text-editor.mjs";
|
|
@@ -41,28 +64,28 @@ import Spin from "./components/atoms/spin.mjs";
|
|
|
41
64
|
import Switch from "./components/atoms/switch.mjs";
|
|
42
65
|
import Tooltip from "./components/atoms/tooltip.mjs";
|
|
43
66
|
import "./components/atoms/index.mjs";
|
|
44
|
-
import Collapse, { Props as Props$
|
|
45
|
-
import Dropdown, { Props as Props$
|
|
46
|
-
import { Props as Props$
|
|
67
|
+
import Collapse, { Props as Props$10 } from "./components/molecules/collapse.mjs";
|
|
68
|
+
import Dropdown, { Props as Props$18 } from "./components/molecules/dropdown.mjs";
|
|
69
|
+
import { Props as Props$29 } from "./components/molecules/marquees/marquees.mjs";
|
|
47
70
|
import Marquees from "./components/molecules/marquees/index.mjs";
|
|
48
|
-
import { Props as Props$
|
|
71
|
+
import { Props as Props$44 } from "./components/molecules/splitter/splitter.mjs";
|
|
49
72
|
import Splitter from "./components/molecules/splitter/index.mjs";
|
|
50
|
-
import Tabs, { Props as Props$
|
|
51
|
-
import Upload, { Props as Props$
|
|
73
|
+
import Tabs, { Props as Props$49 } from "./components/molecules/tabs.mjs";
|
|
74
|
+
import Upload, { Props as Props$56, UploadFile } from "./components/molecules/upload.mjs";
|
|
52
75
|
import "./components/molecules/index.mjs";
|
|
53
|
-
import Drawer, { Props as Props$
|
|
54
|
-
import { Props as Props$
|
|
76
|
+
import Drawer, { Props as Props$17 } from "./components/organisms/drawer.mjs";
|
|
77
|
+
import { Props as Props$28 } from "./components/organisms/list/list.mjs";
|
|
55
78
|
import List from "./components/organisms/list/index.mjs";
|
|
56
|
-
import Modal, { Props as Props$
|
|
57
|
-
import { Props as Props$
|
|
79
|
+
import Modal, { Props as Props$32 } from "./components/organisms/modal.mjs";
|
|
80
|
+
import { Props as Props$47 } from "./components/organisms/swiper/swiper.mjs";
|
|
58
81
|
import Swiper from "./components/organisms/swiper/index.mjs";
|
|
59
82
|
import Toast, { ToastOptions as StaticProps } from "./components/organisms/toast.mjs";
|
|
60
83
|
import "./components/organisms/index.mjs";
|
|
61
|
-
import Container, { Props as Props$
|
|
62
|
-
import Empty, { Props as Props$
|
|
63
|
-
import Result, { Props as Props$
|
|
64
|
-
import PageHeader, { Props as Props$
|
|
65
|
-
import Row, { Props as Props$
|
|
66
|
-
import Col, { Props as Props$
|
|
84
|
+
import Container, { Props as Props$12 } from "./components/templates/container.mjs";
|
|
85
|
+
import Empty, { Props as Props$19 } from "./components/templates/empty.mjs";
|
|
86
|
+
import Result, { Props as Props$37 } from "./components/templates/result.mjs";
|
|
87
|
+
import PageHeader, { Props as Props$33 } from "./components/templates/page-header.mjs";
|
|
88
|
+
import Row, { Props as Props$39 } from "./components/templates/grid/row.mjs";
|
|
89
|
+
import Col, { Props as Props$9 } from "./components/templates/grid/col.mjs";
|
|
67
90
|
import "./components/templates/index.mjs";
|
|
68
|
-
export { Alert, type Props as AlertProps,
|
|
91
|
+
export { Alert, type Props as AlertProps, Anchor, type Item as AnchorItem, type Props$1 as AnchorProps, AutoComplete, type Option as AutoCompleteOption, type Props$2 as AutoCompleteProps, Avatar, type Props$3 as AvatarProps, Badge, type Props$4 as BadgeProps, Breadcrumb, type Props$5 as BreadcrumbProps, Button, Calendar, type Props$6 as CalendarProps, Card, type Props$7 as CardProps, Cascader, type Option$1 as CascaderOption, type Props$8 as CascaderProps, Checkbox, Col, type Props$9 as ColProps, Collapse, type Props$10 as CollapseProps, ColorPicker, type ComponentSize, Config, type Props$11 as ConfigProps, ConfigSnapshotProvider, Container, type Props$12 as ContainerProps, type Props$13 as ContentProps, ContextMenu, type Item$1 as ContextMenuItem, type Props$14 as ContextMenuProps, DEFAULT_LOCALE, DatePicker, type DefaultProps, type Item$2 as DescriptionItem, Descriptions, type Columns as DescriptionsColumns, type Props$15 as DescriptionsProps, Divider, type Props$16 as DividerProps, Drawer, type Props$17 as DrawerProps, Dropdown, type Props$18 as DropdownProps, Empty, type Props$19 as EmptyProps, FloatButton, type Props$20 as FooterProps, Form, type Props$21 as FormControlProps, type Props$22 as FormFieldProps, type Props$23 as FormProps, type Props$24 as HeaderProps, Input, type Props$25 as InputNumberProps, type Props$26 as InputOTPProps, Layout, type Props$27 as LayoutProps, List, type Props$28 as ListProps, type Locale, Marquees, type Props$29 as MarqueesProps, Mentions, type Option$2 as MentionsOption, type Props$30 as MentionsProps, Menu, type Props$31 as MenuProps, Modal, type Props$32 as ModalProps, PageHeader, type Props$33 as PageHeaderProps, Pagination, type Props$34 as PaginationProps, Popconfirm, type Props$35 as PopconfirmProps, Popover, Progress, Radio, Rate, type Props$36 as RateProps, Result, type Props$37 as ResultProps, Reveals, type Props$38 as RevealsProps, RichTextEditor, Row, type Props$39 as RowProps, ScrollArea, type Props$40 as ScrollAreaProps, Segmented, type Props$41 as SegmentedProps, Select, type Props$42 as SiderProps, Skeleton, Slider, Space, type Props$43 as SpaceProps, Spin, Splitter, type Props$44 as SplitterProps, Statistic, type Props$45 as StatisticProps, type Item$3 as StepItem, Steps, type Props$46 as StepsProps, Swiper, type Props$47 as SwiperProps, Switch, Table, type Column as TableColumn, type PaginationOptions as TablePaginationOptions, type Props$48 as TableProps, Tabs, type Props$49 as TabsProps, Tag, type ThemeConfig, type ThemeToken, TimePicker, type Props$50 as TimePickerProps, Timeline, type Item$4 as TimelineItem, type Props$51 as TimelineProps, type Timestamp as TimelineTimestamp, Toast, type StaticProps as ToastOptions, Tooltip, Tour, type Props$52 as TourProps, type Step as TourStep, Transfer, type Item$5 as TransferItem, type Props$53 as TransferProps, Tree, type Actions as TreeActions, type ExpandInfo as TreeExpandInfo, type LoadOptions as TreeLoadOptions, type Node as TreeNode, type Props$54 as TreeProps, type ScrollOptions as TreeScrollOptions, TreeSelect, type Node as TreeSelectNode, type Props$55 as TreeSelectProps, Typography, Upload, type UploadFile, type Props$56 as UploadProps, getRootConfigValue, useConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1,29 +1,39 @@
|
|
|
1
|
-
/* empty css */
|
|
2
1
|
import { DEFAULT_LOCALE, useConfig } from "./providers/config/context.mjs";
|
|
3
2
|
import { ConfigSnapshotProvider, getRootConfigValue } from "./providers/config/registry.mjs";
|
|
4
3
|
import Config from "./providers/config/config.mjs";
|
|
4
|
+
import Button from "./Button.mjs";
|
|
5
|
+
import Input from "./components/atoms/input/index.mjs";
|
|
6
|
+
import Mentions from "./Mentions.mjs";
|
|
7
|
+
import Typography from "./Typography.mjs";
|
|
8
|
+
import Anchor from "./Anchor.mjs";
|
|
9
|
+
import Calendar from "./Calendar.mjs";
|
|
10
|
+
import Skeleton from "./components/atoms/skeleton/index.mjs";
|
|
11
|
+
import Statistic from "./Statistic.mjs";
|
|
12
|
+
import Divider from "./Divider.mjs";
|
|
13
|
+
/* empty css */
|
|
5
14
|
import Avatar from "./Avatar.mjs";
|
|
6
15
|
import Badge from "./Badge.mjs";
|
|
7
|
-
import Button from "./Button.mjs";
|
|
8
16
|
import Checkbox from "./components/atoms/checkbox/index.mjs";
|
|
9
|
-
import Typography from "./Typography.mjs";
|
|
10
17
|
import Popover from "./components/atoms/popover.mjs";
|
|
11
18
|
import ColorPicker from "./components/atoms/color-picker.mjs";
|
|
19
|
+
import TimePicker from "./TimePicker.mjs";
|
|
12
20
|
import DatePicker from "./components/atoms/date-picker.mjs";
|
|
13
21
|
import FloatButton from "./components/atoms/float-button/index.mjs";
|
|
14
|
-
import Input from "./components/atoms/input/index.mjs";
|
|
15
22
|
import Progress from "./components/atoms/progress.mjs";
|
|
16
23
|
import Radio from "./components/atoms/radio/index.mjs";
|
|
17
24
|
import Select from "./components/atoms/select.mjs";
|
|
18
25
|
import RichTextEditor from "./components/atoms/rich-text-editor/rich-text-editor.mjs";
|
|
19
26
|
import Segmented from "./Segmented.mjs";
|
|
20
|
-
import Skeleton from "./components/atoms/skeleton/index.mjs";
|
|
21
27
|
import slider_default from "./components/atoms/slider/index.mjs";
|
|
22
28
|
import Spin from "./components/atoms/spin.mjs";
|
|
23
29
|
import Switch from "./components/atoms/switch.mjs";
|
|
24
30
|
import Tag from "./Tag.mjs";
|
|
25
31
|
import Tooltip from "./components/atoms/tooltip.mjs";
|
|
32
|
+
import Rate from "./Rate.mjs";
|
|
33
|
+
import Cascader from "./Cascader.mjs";
|
|
34
|
+
import AutoComplete from "./AutoComplete.mjs";
|
|
26
35
|
import Card from "./Card.mjs";
|
|
36
|
+
import Descriptions from "./Descriptions.mjs";
|
|
27
37
|
import Alert from "./Alert.mjs";
|
|
28
38
|
import Breadcrumb from "./Breadcrumb.mjs";
|
|
29
39
|
import Collapse from "./components/molecules/collapse.mjs";
|
|
@@ -33,10 +43,15 @@ import Marquees from "./components/molecules/marquees/index.mjs";
|
|
|
33
43
|
import Pagination from "./Pagination.mjs";
|
|
34
44
|
import Reveals from "./Reveals.mjs";
|
|
35
45
|
import Splitter from "./components/molecules/splitter/index.mjs";
|
|
46
|
+
import ScrollArea from "./ScrollArea.mjs";
|
|
36
47
|
import Space from "./Space.mjs";
|
|
37
48
|
import Steps from "./Steps.mjs";
|
|
49
|
+
import Timeline from "./Timeline.mjs";
|
|
38
50
|
import Tabs from "./components/molecules/tabs.mjs";
|
|
39
51
|
import Upload from "./components/molecules/upload.mjs";
|
|
52
|
+
import Popconfirm from "./Popconfirm.mjs";
|
|
53
|
+
import Transfer from "./Transfer.mjs";
|
|
54
|
+
import ContextMenu from "./ContextMenu.mjs";
|
|
40
55
|
import Drawer from "./components/organisms/drawer.mjs";
|
|
41
56
|
import List from "./components/organisms/list/index.mjs";
|
|
42
57
|
import Modal from "./components/organisms/modal.mjs";
|
|
@@ -44,10 +59,14 @@ import Swiper from "./components/organisms/swiper/index.mjs";
|
|
|
44
59
|
import Empty from "./components/templates/empty.mjs";
|
|
45
60
|
import Table from "./Table.mjs";
|
|
46
61
|
import Toast from "./components/organisms/toast.mjs";
|
|
62
|
+
import Tour from "./Tour.mjs";
|
|
63
|
+
import Tree from "./Tree.mjs";
|
|
64
|
+
import Form from "./Form.mjs";
|
|
65
|
+
import TreeSelect from "./TreeSelect.mjs";
|
|
47
66
|
import Layout from "./Layout.mjs";
|
|
48
67
|
import Container from "./components/templates/container.mjs";
|
|
49
68
|
import Result from "./components/templates/result.mjs";
|
|
50
69
|
import PageHeader from "./components/templates/page-header.mjs";
|
|
51
70
|
import Row from "./components/templates/grid/row.mjs";
|
|
52
71
|
import Col from "./components/templates/grid/col.mjs";
|
|
53
|
-
export { Alert, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Col, Collapse, ColorPicker, Config, ConfigSnapshotProvider, Container, DEFAULT_LOCALE, DatePicker, Drawer, Dropdown, Empty, FloatButton, Input, Layout, List, Marquees, Menu, Modal, PageHeader, Pagination, Popover, Progress, Radio, Result, Reveals, RichTextEditor, Row, Segmented, Select, Skeleton, slider_default as Slider, Space, Spin, Splitter, Steps, Swiper, Switch, Table, Tabs, Tag, Toast, Tooltip, Typography, Upload, getRootConfigValue, useConfig };
|
|
72
|
+
export { Alert, Anchor, AutoComplete, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Cascader, Checkbox, Col, Collapse, ColorPicker, Config, ConfigSnapshotProvider, Container, ContextMenu, DEFAULT_LOCALE, DatePicker, Descriptions, Divider, Drawer, Dropdown, Empty, FloatButton, Form, Input, Layout, List, Marquees, Mentions, Menu, Modal, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, Result, Reveals, RichTextEditor, Row, ScrollArea, Segmented, Select, Skeleton, slider_default as Slider, Space, Spin, Splitter, Statistic, Steps, Swiper, Switch, Table, Tabs, Tag, TimePicker, Timeline, Toast, Tooltip, Tour, Transfer, Tree, TreeSelect, Typography, Upload, getRootConfigValue, useConfig };
|
package/dist/lib/colors.d.mts
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* Keep this list in sync with the `[data-color='…']` rules there.
|
|
15
15
|
*/
|
|
16
|
-
declare const PRESET_COLORS: readonly ["blue", "purple", "cyan", "green", "fuchsia", "pink", "red", "orange", "yellow", "indigo", "lime", "amber"];
|
|
17
|
-
type PresetColor = (typeof PRESET_COLORS)[number];
|
|
16
|
+
export declare const PRESET_COLORS: readonly ["blue", "purple", "cyan", "green", "fuchsia", "pink", "red", "orange", "yellow", "indigo", "lime", "amber"];
|
|
17
|
+
export type PresetColor = (typeof PRESET_COLORS)[number];
|
|
18
18
|
//#endregion
|
|
19
|
-
export { PRESET_COLORS, PresetColor };
|
|
20
19
|
//# sourceMappingURL=colors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.mts","names":[],"sources":["../../src/lib/colors.ts"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"colors.d.mts","names":[],"sources":["../../src/lib/colors.ts"],"mappings":";;;;;;;;;;;;;;;qBAca;YAeD,sBAAsB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ContextValue, Locale } from "./types.mjs";
|
|
2
2
|
//#region src/providers/config/context.d.ts
|
|
3
|
-
declare const DEFAULT_LOCALE: Required<Locale>;
|
|
4
|
-
declare const useConfig: () => ContextValue;
|
|
3
|
+
export declare const DEFAULT_LOCALE: Required<Locale>;
|
|
4
|
+
export declare const useConfig: () => ContextValue;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { DEFAULT_LOCALE, useConfig };
|
|
7
6
|
//# sourceMappingURL=context.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.mts","names":[],"sources":["../../../src/providers/config/context.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"context.d.mts","names":[],"sources":["../../../src/providers/config/context.ts"],"mappings":";;qBAMa,gBAAgB,SAAS;qBAqBzB,iBAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.mjs","names":[],"sources":["../../../src/providers/config/context.ts"],"sourcesContent":["'use client';\n\nimport { createContext, useContext } from 'react';\n\nimport type { ContextValue, Locale } from './types';\n\nexport const DEFAULT_LOCALE: Required<Locale> = {\n close: '닫기',\n clear: '지우기',\n backToTop: '맨 위로',\n loading: '로딩 중',\n expand: '펼치기',\n collapse: '접기',\n back: '뒤로가기',\n ok: 'OK',\n cancel: 'Cancel',\n};\n\nexport const Context = createContext<ContextValue>({\n theme: {},\n locale: DEFAULT_LOCALE,\n getContainer: () => undefined,\n isConfigured: false,\n});\n\nexport const useConfig = () => useContext(Context);\n"],"mappings":";;;AAMA,MAAa,iBAAmC;CAC9C,OAAO;CACP,OAAO;CACP,WAAW;CACX,SAAS;CACT,QAAQ;CACR,UAAU;CACV,MAAM;CACN,IAAI;CACJ,QAAQ;
|
|
1
|
+
{"version":3,"file":"context.mjs","names":[],"sources":["../../../src/providers/config/context.ts"],"sourcesContent":["'use client';\n\nimport { createContext, useContext } from 'react';\n\nimport type { ContextValue, Locale } from './types';\n\nexport const DEFAULT_LOCALE: Required<Locale> = {\n close: '닫기',\n clear: '지우기',\n backToTop: '맨 위로',\n loading: '로딩 중',\n expand: '펼치기',\n collapse: '접기',\n back: '뒤로가기',\n ok: 'OK',\n cancel: 'Cancel',\n retry: '다시 시도',\n loadFailed: '불러오지 못함',\n};\n\nexport const Context = createContext<ContextValue>({\n theme: {},\n locale: DEFAULT_LOCALE,\n getContainer: () => undefined,\n isConfigured: false,\n});\n\nexport const useConfig = () => useContext(Context);\n"],"mappings":";;;AAMA,MAAa,iBAAmC;CAC9C,OAAO;CACP,OAAO;CACP,WAAW;CACX,SAAS;CACT,QAAQ;CACR,UAAU;CACV,MAAM;CACN,IAAI;CACJ,QAAQ;CACR,OAAO;CACP,YAAY;AACd;AAEA,MAAa,UAAU,cAA4B;CACjD,OAAO,CAAC;CACR,QAAQ;CACR,oBAAoB,KAAA;CACpB,cAAc;AAChB,CAAC;AAED,MAAa,kBAAkB,WAAW,OAAO"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ContextValue } from "./types.mjs";
|
|
2
2
|
//#region src/providers/config/registry.d.ts
|
|
3
|
-
declare const getRootConfigValue: () => ContextValue | null;
|
|
4
|
-
declare const ConfigSnapshotProvider: ({ children }: {
|
|
3
|
+
export declare const getRootConfigValue: () => ContextValue | null;
|
|
4
|
+
export declare const ConfigSnapshotProvider: ({ children }: {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { ConfigSnapshotProvider, getRootConfigValue };
|
|
9
8
|
//# sourceMappingURL=registry.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.mts","names":[],"sources":["../../../src/providers/config/registry.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"registry.d.mts","names":[],"sources":["../../../src/providers/config/registry.tsx"],"mappings":";;qBAkCa,0BAAyB;qBAOzB,2BAA0B;EAGrC,UAAU,MAAM;2CACjB,yBAAA,aAAA,6DAAA,8BAAA,+CAAA,8BAAA,yBAAA,iDAAA,IAAA"}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* `fontSans`/`fontMono` were inert for a different reason and were fixed
|
|
25
25
|
* rather than removed — see below.
|
|
26
26
|
*/
|
|
27
|
-
interface ThemeToken {
|
|
27
|
+
export interface ThemeToken {
|
|
28
28
|
colorPrimary?: string;
|
|
29
29
|
colorPrimaryForeground?: string;
|
|
30
30
|
colorBackground?: string;
|
|
@@ -47,12 +47,12 @@ interface ThemeToken {
|
|
|
47
47
|
fontSans?: string;
|
|
48
48
|
fontMono?: string;
|
|
49
49
|
}
|
|
50
|
-
interface ThemeConfig {
|
|
50
|
+
export interface ThemeConfig {
|
|
51
51
|
token?: ThemeToken;
|
|
52
52
|
darkToken?: ThemeToken;
|
|
53
53
|
dark?: 'light' | 'dark' | 'system';
|
|
54
54
|
}
|
|
55
|
-
interface Locale {
|
|
55
|
+
export interface Locale {
|
|
56
56
|
close?: string;
|
|
57
57
|
clear?: string;
|
|
58
58
|
backToTop?: string;
|
|
@@ -62,10 +62,12 @@ interface Locale {
|
|
|
62
62
|
back?: string;
|
|
63
63
|
ok?: string;
|
|
64
64
|
cancel?: string;
|
|
65
|
+
retry?: string;
|
|
66
|
+
loadFailed?: string;
|
|
65
67
|
}
|
|
66
|
-
type ComponentSize = 'small' | 'middle' | 'large';
|
|
67
|
-
type DefaultProps = Record<string, Record<string, unknown>>;
|
|
68
|
-
interface ContextValue {
|
|
68
|
+
export type ComponentSize = 'small' | 'middle' | 'large';
|
|
69
|
+
export type DefaultProps = Record<string, Record<string, unknown>>;
|
|
70
|
+
export interface ContextValue {
|
|
69
71
|
theme: ThemeConfig;
|
|
70
72
|
locale: Locale;
|
|
71
73
|
direction?: 'ltr' | 'rtl';
|
|
@@ -75,5 +77,4 @@ interface ContextValue {
|
|
|
75
77
|
isConfigured: boolean;
|
|
76
78
|
}
|
|
77
79
|
//#endregion
|
|
78
|
-
export { ComponentSize, ContextValue, DefaultProps, Locale, ThemeConfig, ThemeToken };
|
|
79
80
|
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":[],"sources":["../../../src/providers/config/types.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../../../src/providers/config/types.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBiB;EAEf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EASA;EAMA;EACA;;iBAGe;EACf,QAAQ;EAKR,YAAY;EASZ;;iBAQe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;YAMU;YAYA,eAAe,eAAe;iBAEzB;EACf,OAAO;EACP,QAAQ;EACR;EAUA,oBAAoB;EACpB,gBAAgB;EAChB,eAAe;EAKf"}
|