@bysages/react 0.4.0 → 0.4.1
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/{ai-response-B4DX7nmJ.mjs → ai-response-nhDOlELQ.mjs} +1 -1
- package/dist/components/accordion/index.mjs +1 -1
- package/dist/components/affix/index.mjs +2 -2
- package/dist/components/ai/index.d.mts +1 -1
- package/dist/components/ai/index.mjs +2 -2
- package/dist/components/ai-action/index.mjs +1 -1
- package/dist/components/ai-attachments/index.mjs +1 -1
- package/dist/components/ai-message/index.mjs +1 -1
- package/dist/components/ai-prompt-input/index.mjs +2 -2
- package/dist/components/ai-reasoning/index.mjs +1 -1
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-source/index.mjs +1 -1
- package/dist/components/ai-suggestion/index.mjs +1 -1
- package/dist/components/ai-tool/index.mjs +1 -1
- package/dist/components/alert/index.mjs +1 -1
- package/dist/components/angle-slider/index.mjs +1 -1
- package/dist/components/aspect-ratio/index.mjs +1 -1
- package/dist/components/autocomplete/index.mjs +9 -2
- package/dist/components/avatar/index.mjs +1 -1
- package/dist/components/avatar-group/index.mjs +1 -1
- package/dist/components/back-top/index.mjs +1 -1
- package/dist/components/badge/index.mjs +1 -1
- package/dist/components/banner/index.mjs +1 -1
- package/dist/components/bento/index.mjs +1 -1
- package/dist/components/block-ui/index.mjs +1 -1
- package/dist/components/breadcrumb/index.mjs +1 -1
- package/dist/components/browser/index.mjs +1 -1
- package/dist/components/button/index.mjs +1 -1
- package/dist/components/button-group/index.mjs +1 -1
- package/dist/components/calendar/index.mjs +1 -1
- package/dist/components/card/index.mjs +1 -1
- package/dist/components/carousel/index.mjs +1 -1
- package/dist/components/cascade-select/index.mjs +2 -2
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/checkbox-group/index.mjs +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/clipboard/index.mjs +1 -1
- package/dist/components/collapsible/index.mjs +1 -1
- package/dist/components/color-picker/index.mjs +1 -1
- package/dist/components/combobox/index.mjs +1 -1
- package/dist/components/command/index.mjs +1 -1
- package/dist/components/comment/index.mjs +1 -1
- package/dist/components/container/index.mjs +1 -1
- package/dist/components/data-view/index.mjs +1 -1
- package/dist/components/date-input/index.mjs +1 -1
- package/dist/components/date-picker/index.mjs +1 -1
- package/dist/components/deferred-content/index.mjs +1 -1
- package/dist/components/descriptions/index.mjs +1 -1
- package/dist/components/dialog/index.mjs +1 -1
- package/dist/components/dock/index.mjs +1 -1
- package/dist/components/drawer/index.mjs +1 -1
- package/dist/components/dynamic-input/index.mjs +2 -2
- package/dist/components/editable/index.mjs +1 -1
- package/dist/components/ellipsis/index.mjs +1 -1
- package/dist/components/empty/index.mjs +1 -1
- package/dist/components/field/index.mjs +1 -1
- package/dist/components/fieldset/index.mjs +1 -1
- package/dist/components/file-upload/index.mjs +1 -1
- package/dist/components/float-button/index.mjs +1 -1
- package/dist/components/floating-panel/index.mjs +1 -1
- package/dist/components/form/index.mjs +1 -1
- package/dist/components/grid/index.mjs +1 -1
- package/dist/components/highlight/index.mjs +1 -1
- package/dist/components/hover-card/index.mjs +1 -1
- package/dist/components/icon/index.mjs +1 -1
- package/dist/components/image/index.mjs +1 -1
- package/dist/components/image-cropper/index.mjs +1 -1
- package/dist/components/image-viewer/index.mjs +1 -1
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input-group/index.mjs +1 -1
- package/dist/components/json-tree-view/index.mjs +1 -1
- package/dist/components/kbd/index.mjs +1 -1
- package/dist/components/layout/index.mjs +1 -1
- package/dist/components/link/index.mjs +1 -1
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/listbox/index.mjs +1 -1
- package/dist/components/marquee/index.mjs +1 -1
- package/dist/components/masonry/index.mjs +1 -1
- package/dist/components/media-player/index.mjs +1 -1
- package/dist/components/mentions/index.mjs +1 -1
- package/dist/components/menu/index.mjs +1 -1
- package/dist/components/menubar/index.mjs +1 -1
- package/dist/components/meter/index.mjs +1 -1
- package/dist/components/navigation-menu/index.mjs +1 -1
- package/dist/components/number-input/index.mjs +1 -1
- package/dist/components/order-list/index.mjs +1 -1
- package/dist/components/page-header/index.mjs +1 -1
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/password-input/index.mjs +1 -1
- package/dist/components/pin-input/index.mjs +1 -1
- package/dist/components/popconfirm/index.mjs +1 -1
- package/dist/components/popover/index.mjs +1 -1
- package/dist/components/progress/index.mjs +1 -1
- package/dist/components/progress-group/index.mjs +1 -1
- package/dist/components/qr-code/index.mjs +1 -1
- package/dist/components/radio-group/index.mjs +1 -1
- package/dist/components/rating-group/index.mjs +1 -1
- package/dist/components/result/index.mjs +1 -1
- package/dist/components/scroll-area/index.mjs +1 -1
- package/dist/components/segment-group/index.mjs +1 -1
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/separator/index.mjs +1 -1
- package/dist/components/signature-pad/index.mjs +1 -1
- package/dist/components/skeleton/index.mjs +1 -1
- package/dist/components/slider/index.mjs +1 -1
- package/dist/components/spinner/index.mjs +1 -1
- package/dist/components/split-button/index.mjs +1 -1
- package/dist/components/splitter/index.mjs +1 -1
- package/dist/components/spotlight/index.mjs +1 -1
- package/dist/components/stack/index.mjs +1 -1
- package/dist/components/stat/index.mjs +1 -1
- package/dist/components/steps/index.mjs +1 -1
- package/dist/components/swap/index.mjs +1 -1
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/table/index.mjs +13 -5
- package/dist/components/tabs/index.mjs +1 -1
- package/dist/components/tags-input/index.mjs +1 -1
- package/dist/components/terminal/index.mjs +1 -1
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/timeline/index.mjs +1 -1
- package/dist/components/timer/index.mjs +1 -1
- package/dist/components/toast/index.mjs +1 -1
- package/dist/components/toc/index.mjs +1 -1
- package/dist/components/toggle/index.mjs +1 -1
- package/dist/components/toggle-group/index.mjs +1 -1
- package/dist/components/toolbar/index.mjs +1 -1
- package/dist/components/tooltip/index.mjs +1 -1
- package/dist/components/tour/index.mjs +1 -1
- package/dist/components/transfer/index.mjs +2 -2
- package/dist/components/tree-select/index.mjs +2 -2
- package/dist/components/tree-view/index.mjs +1 -1
- package/dist/components/typography/index.mjs +1 -1
- package/dist/components/user/index.mjs +1 -1
- package/dist/components/virtual-list/index.mjs +1 -1
- package/dist/components/watermark/index.mjs +1 -1
- package/dist/{image-viewer-Cf6thHax.mjs → image-viewer-B-hKFkEw.mjs} +1 -1
- package/dist/{index-DdNKngUQ.d.mts → index-B4twHAQC.d.mts} +138 -89
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +6 -6
- package/dist/{input-C21Zzuy6.mjs → input-BDpQ0e6G.mjs} +1 -1
- package/dist/{media-player-gQrnxU52.mjs → media-player-DjVvo1_7.mjs} +2 -2
- package/dist/{mentions-BuWibdci.mjs → mentions-BwnyvdXz.mjs} +1 -1
- package/dist/{select-ozUFq0zd.mjs → select-i9UZsQCU.mjs} +1 -1
- package/package.json +9 -81
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "./family-DE_GQeeM.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "./messages-1jJWtaYU.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useEffect, useRef } from "react";
|
|
6
6
|
import { renderHtml } from "@tanstack/markdown/html";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
3
|
import { Accordion as Accordion$1 } from "@ark-ui/react/accordion";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/accordion/index.tsx
|
|
7
7
|
/** Ark's Accordion, dressed in the paper-and-ink system: a ruled sheet
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/affix/index.tsx
|
|
5
|
-
function AffixImpl({ offsetTop
|
|
5
|
+
function AffixImpl({ offsetTop, offsetBottom, ...rest }) {
|
|
6
6
|
injectComponentStyle("affix");
|
|
7
7
|
return /* @__PURE__ */ jsx("div", {
|
|
8
8
|
...rest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FileUIPart, c as SourceUrlUIPart, d as ToolUIPart, f as UIMessage, i as DataUIPart, l as StepStartUIPart, n as AiActions, o as ReasoningUIPart, p as UIMessagePart, r as AiContent, s as SourceDocumentUIPart, t as Ai, u as TextUIPart } from "../../index-
|
|
1
|
+
import { a as FileUIPart, c as SourceUrlUIPart, d as ToolUIPart, f as UIMessage, i as DataUIPart, l as StepStartUIPart, n as AiActions, o as ReasoningUIPart, p as UIMessagePart, r as AiContent, s as SourceDocumentUIPart, t as Ai, u as TextUIPart } from "../../index-B4twHAQC.mjs";
|
|
2
2
|
export { Ai, AiActions, AiContent, type DataUIPart, type FileUIPart, type ReasoningUIPart, type SourceDocumentUIPart, type SourceUrlUIPart, type StepStartUIPart, type TextUIPart, type ToolUIPart, type UIMessage, type UIMessagePart };
|
|
@@ -4,11 +4,11 @@ import { Action } from "../ai-action/index.mjs";
|
|
|
4
4
|
import { AiMessage as Message } from "../ai-message/index.mjs";
|
|
5
5
|
import { AiPromptInput as PromptInput } from "../ai-prompt-input/index.mjs";
|
|
6
6
|
import { AiReasoning as Reasoning } from "../ai-reasoning/index.mjs";
|
|
7
|
-
import { t as Response } from "../../ai-response-
|
|
7
|
+
import { t as Response } from "../../ai-response-nhDOlELQ.mjs";
|
|
8
8
|
import { AiSource as Source, AiSources as Sources } from "../ai-source/index.mjs";
|
|
9
9
|
import { AiSuggestion as Suggestion } from "../ai-suggestion/index.mjs";
|
|
10
10
|
import { AiTool as Tool } from "../ai-tool/index.mjs";
|
|
11
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
11
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/ai/index.tsx
|
|
14
14
|
/** A conversation column: Root is the log, Message carries a role, and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { Button } from "../button/index.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ai-action/index.tsx
|
|
6
6
|
function ActionImpl({ label, children, ...rest }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
3
3
|
import { n as useComponentMessages, t as formatMessage } from "../../messages-1jJWtaYU.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-attachments/index.tsx
|
|
7
7
|
const imageIcon = iconNode("image", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ai-message/index.tsx
|
|
5
5
|
function MessageImpl({ role = "assistant", children, ...rest }) {
|
|
@@ -3,8 +3,8 @@ import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
|
3
3
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
4
4
|
import { Button } from "../button/index.mjs";
|
|
5
5
|
import { Field } from "../field/index.mjs";
|
|
6
|
-
import { n as MentionsVessel, r as useMentions } from "../../mentions-
|
|
7
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
6
|
+
import { n as MentionsVessel, r as useMentions } from "../../mentions-BwnyvdXz.mjs";
|
|
7
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useRef } from "react";
|
|
10
10
|
//#region src/components/ai-prompt-input/index.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { t as chevron } from "../../chevron-a2nIZKN4.mjs";
|
|
3
3
|
import { Collapsible } from "../collapsible/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-reasoning/index.tsx
|
|
7
7
|
function ReasoningImpl({ label = "Thinking", children, ...rest }) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Response } from "../../ai-response-
|
|
1
|
+
import { t as Response } from "../../ai-response-nhDOlELQ.mjs";
|
|
2
2
|
export { Response as AiResponse, Response };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ai-source/index.tsx
|
|
5
5
|
function SourceImpl({ href, children, ...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { Button } from "../button/index.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ai-suggestion/index.tsx
|
|
6
6
|
function SuggestionImpl({ prompt, onSelect, ...rest }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { t as chevron } from "../../chevron-a2nIZKN4.mjs";
|
|
3
3
|
import { Collapsible } from "../collapsible/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-tool/index.tsx
|
|
7
7
|
function ToolImpl({ name, label, status, input, output, ...rest }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { createContext, useContext } from "react";
|
|
5
5
|
//#region src/components/alert/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { AngleSlider as AngleSlider$1 } from "@ark-ui/react/angle-slider";
|
|
5
5
|
//#region src/components/angle-slider/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/aspect-ratio/index.tsx
|
|
5
5
|
function AspectRatioImpl({ ratio = "1 / 1", ...rest }) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
3
3
|
import { Combobox as Combobox$1 } from "../combobox/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { useEffect, useRef } from "react";
|
|
6
7
|
import { Portal } from "@ark-ui/react/portal";
|
|
7
8
|
import { useListCollection } from "@ark-ui/react/collection";
|
|
8
9
|
import { Combobox } from "@ark-ui/react/combobox";
|
|
@@ -11,10 +12,15 @@ function AutoCompleteImpl({ value = "", items = [], placeholder, filter, size =
|
|
|
11
12
|
injectComponentStyle("combobox");
|
|
12
13
|
const messages = useComponentMessages();
|
|
13
14
|
const hostId = useElementId("autocomplete", rest);
|
|
14
|
-
const
|
|
15
|
+
const fieldText = useRef("");
|
|
16
|
+
const { collection, set, filter: filterItems } = useListCollection({
|
|
15
17
|
initialItems: items,
|
|
16
18
|
filter: (item, input) => filter ? filter(item, input) : item.toLowerCase().includes(input.toLowerCase())
|
|
17
19
|
});
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
set(items);
|
|
22
|
+
filterItems(fieldText.current);
|
|
23
|
+
}, [items]);
|
|
18
24
|
return /* @__PURE__ */ jsxs(Combobox.Root, {
|
|
19
25
|
...rest,
|
|
20
26
|
id: `${hostId}:combobox`,
|
|
@@ -27,6 +33,7 @@ function AutoCompleteImpl({ value = "", items = [], placeholder, filter, size =
|
|
|
27
33
|
if (first != null) onValueChange?.(first);
|
|
28
34
|
},
|
|
29
35
|
onInputValueChange: (details) => {
|
|
36
|
+
fieldText.current = details.inputValue;
|
|
30
37
|
filterItems(details.inputValue);
|
|
31
38
|
onValueChange?.(details.inputValue);
|
|
32
39
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Avatar as Avatar$1 } from "@ark-ui/react/avatar";
|
|
5
5
|
//#region src/components/avatar/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/avatar-group/index.tsx
|
|
5
5
|
function AvatarGroupImpl({ size, children, ...rest }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
3
3
|
import { Button } from "../button/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
//#region src/components/back-top/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/badge/index.tsx
|
|
5
5
|
function BadgeImpl({ tone = "ink", variant = "solid", ...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/banner/index.tsx
|
|
6
6
|
/** A page-level notice, spoken across the full measure: a wash of the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/bento/index.tsx
|
|
4
4
|
/** The bento lattice: a grid of unequal tiles that reads as one plate.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { Spinner } from "../spinner/index.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/block-ui/index.tsx
|
|
6
6
|
/** A curtain over content that must wait: the blocked region keeps its
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/breadcrumb/index.tsx
|
|
5
5
|
/** A trail of waymarks: Root wraps the nav, List the ordered trail, and
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/browser/index.tsx
|
|
4
4
|
/** The three lamps are the system's own fixed pigments — the same
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Children, cloneElement, isValidElement } from "react";
|
|
5
5
|
//#region src/components/button/index.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
3
|
import { DatePicker as DatePicker$1 } from "../date-picker/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { DatePicker } from "@ark-ui/react/date-picker";
|
|
7
7
|
//#region src/components/calendar/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Carousel as Carousel$1 } from "@ark-ui/react/carousel";
|
|
6
6
|
//#region src/components/carousel/index.tsx
|
|
@@ -2,8 +2,8 @@ import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
3
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
4
4
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
5
|
-
import { t as Input } from "../../input-
|
|
6
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
5
|
+
import { t as Input } from "../../input-BDpQ0e6G.mjs";
|
|
6
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useMemo, useState } from "react";
|
|
9
9
|
import { Portal } from "@ark-ui/react/portal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Checkbox as Checkbox$1 } from "@ark-ui/react/checkbox";
|
|
6
6
|
//#region src/components/checkbox/index.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
3
|
import { Checkbox as Checkbox$1 } from "../checkbox/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useFieldContext } from "@ark-ui/react/field";
|
|
7
7
|
import { Checkbox } from "@ark-ui/react/checkbox";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/chip/index.tsx
|
|
5
5
|
function ChipImpl({ value, max, tone = "ink", variant = "solid", ...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Clipboard as Clipboard$1 } from "@ark-ui/react/clipboard";
|
|
6
6
|
//#region src/components/clipboard/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Collapsible as Collapsible$1 } from "@ark-ui/react/collapsible";
|
|
6
6
|
//#region src/components/collapsible/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { ColorPicker as ColorPicker$1, parseColor } from "@ark-ui/react/color-picker";
|
|
6
6
|
//#region src/components/color-picker/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Combobox as Combobox$1, createListCollection } from "@ark-ui/react/combobox";
|
|
6
6
|
//#region src/components/combobox/index.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
3
3
|
import { Dialog as Dialog$1 } from "../dialog/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { Portal } from "@ark-ui/react/portal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/comment/index.tsx
|
|
5
5
|
function CommentImpl({ author, datetime, avatar, actions, children, ...rest }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/container/index.tsx
|
|
5
5
|
function ContainerImpl({ size = "readable", padding = true, ...rest }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
3
3
|
import { Pagination } from "../pagination/index.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
//#region src/components/data-view/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { DateInput as DateInput$1 } from "@ark-ui/react/date-input";
|
|
5
5
|
//#region src/components/date-input/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { DatePicker as DatePicker$1 } from "@ark-ui/react/date-picker";
|
|
6
6
|
//#region src/components/date-picker/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
//#region src/components/deferred-content/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/descriptions/index.tsx
|
|
5
5
|
function DescriptionsRoot({ layout = "horizontal", bordered = false, column = 1, items, children, ...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Dialog as Dialog$1 } from "@ark-ui/react/dialog";
|
|
6
6
|
//#region src/components/dialog/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Drawer as Drawer$1 } from "@ark-ui/react/drawer";
|
|
6
6
|
//#region src/components/drawer/index.tsx
|
|
@@ -2,8 +2,8 @@ import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
|
2
2
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
3
3
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
4
4
|
import { Button } from "../button/index.mjs";
|
|
5
|
-
import { t as Input } from "../../input-
|
|
6
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
5
|
+
import { t as Input } from "../../input-BDpQ0e6G.mjs";
|
|
6
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/dynamic-input/index.tsx
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Editable as Editable$1 } from "@ark-ui/react/editable";
|
|
6
6
|
//#region src/components/editable/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ellipsis/index.tsx
|
|
5
5
|
function EllipsisImpl({ lines = 1, ...rest }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/empty/index.tsx
|
|
4
4
|
/** An empty state: the page holds its breath. Root centers the column,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Field as Field$1 } from "@ark-ui/react/field";
|
|
5
5
|
//#region src/components/field/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Fieldset as Fieldset$1 } from "@ark-ui/react/fieldset";
|
|
5
5
|
//#region src/components/fieldset/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { FileUpload as FileUpload$1 } from "@ark-ui/react/file-upload";
|
|
6
6
|
//#region src/components/file-upload/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
|
|
2
2
|
import { Button } from "../button/index.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { createContext, useContext, useState } from "react";
|
|
6
6
|
//#region src/components/float-button/index.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as iconNode } from "../../icon-BALgGtNK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-C37UYLwJ.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { FloatingPanel as FloatingPanel$1 } from "@ark-ui/react/floating-panel";
|
|
6
6
|
//#region src/components/floating-panel/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { createContext, useContext } from "react";
|
|
5
5
|
import { Field } from "@ark-ui/react/field";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/grid/index.tsx
|
|
5
5
|
/** The same named steps of the space ramp the stack uses — one
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Highlight as Highlight$1 } from "@ark-ui/react/highlight";
|
|
5
5
|
//#region src/components/highlight/index.tsx
|