@jonmilner/ui 0.11.1 → 0.11.2
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/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/AlertDialog/client.mjs +1 -2
- package/dist/AlertDialog/index.d.mts +0 -2
- package/dist/AlertDialog/index.mjs +1 -2
- package/dist/Avatar/Avatar.css.mjs +1 -2
- package/dist/Avatar/index.d.mts +0 -2
- package/dist/Avatar/index.mjs +1 -2
- package/dist/Avatar/ink.mjs +1 -2
- package/dist/Badge/Badge.css.mjs +1 -2
- package/dist/Badge/index.d.mts +1 -3
- package/dist/Badge/index.mjs +1 -2
- package/dist/Box/Box.css.mjs +1 -2
- package/dist/Box/ResponsiveCheck.mjs +1 -2
- package/dist/Box/base.d.mts +1 -3
- package/dist/Box/base.mjs +1 -2
- package/dist/Box/index.d.mts +0 -2
- package/dist/Box/index.mjs +1 -2
- package/dist/Button/Button.css.mjs +1 -2
- package/dist/Button/index.d.mts +1 -3
- package/dist/Button/index.mjs +1 -2
- package/dist/Checkbox/Checkbox.css.mjs +1 -2
- package/dist/Checkbox/index.d.mts +1 -3
- package/dist/Checkbox/index.mjs +1 -2
- package/dist/Chip/Chip.css.mjs +1 -2
- package/dist/Chip/index.d.mts +1 -3
- package/dist/Chip/index.mjs +1 -2
- package/dist/Clickable/Clickable.css.mjs +1 -2
- package/dist/Clickable/index.d.mts +1 -3
- package/dist/Clickable/index.mjs +1 -2
- package/dist/ColorField/ColorField.css.mjs +1 -2
- package/dist/ColorField/client.d.mts +1 -3
- package/dist/ColorField/client.mjs +1 -2
- package/dist/ColorField/index.d.mts +0 -2
- package/dist/ColorField/index.mjs +1 -2
- package/dist/Dialog/Dialog.css.d.mts +1 -3
- package/dist/Dialog/Dialog.css.mjs +1 -2
- package/dist/Dialog/client.d.mts +0 -2
- package/dist/Dialog/client.mjs +1 -2
- package/dist/Dialog/index.d.mts +0 -2
- package/dist/Dialog/index.mjs +1 -2
- package/dist/Field/Field.css.mjs +1 -2
- package/dist/Field/client.mjs +1 -2
- package/dist/Field/index.d.mts +0 -2
- package/dist/Field/index.mjs +1 -2
- package/dist/Heading/Heading.css.mjs +1 -2
- package/dist/Heading/index.d.mts +1 -3
- package/dist/Heading/index.mjs +1 -2
- package/dist/Icon/Icon.css.mjs +1 -2
- package/dist/Icon/index.d.mts +1 -3
- package/dist/Icon/index.mjs +1 -2
- package/dist/IconButton/IconButton.css.mjs +1 -2
- package/dist/IconButton/index.d.mts +1 -3
- package/dist/IconButton/index.mjs +1 -2
- package/dist/Inline/Inline.css.mjs +1 -2
- package/dist/Inline/index.d.mts +0 -2
- package/dist/Inline/index.mjs +1 -2
- package/dist/Menu/Menu.css.mjs +1 -2
- package/dist/Menu/client.d.mts +0 -2
- package/dist/Menu/client.mjs +1 -2
- package/dist/Menu/index.d.mts +0 -2
- package/dist/Menu/index.mjs +1 -2
- package/dist/MultiSelect/MultiSelect.css.mjs +1 -2
- package/dist/MultiSelect/client.d.mts +1 -3
- package/dist/MultiSelect/client.mjs +1 -2
- package/dist/MultiSelect/index.d.mts +1 -3
- package/dist/MultiSelect/index.mjs +1 -2
- package/dist/SearchField/SearchField.css.mjs +1 -2
- package/dist/SearchField/client.d.mts +1 -3
- package/dist/SearchField/client.mjs +1 -2
- package/dist/SearchField/index.d.mts +0 -2
- package/dist/SearchField/index.mjs +1 -2
- package/dist/Stack/Stack.css.mjs +1 -2
- package/dist/Stack/index.d.mts +0 -2
- package/dist/Stack/index.mjs +1 -2
- package/dist/Tabs/Tabs.css.mjs +1 -2
- package/dist/Tabs/index.d.mts +0 -2
- package/dist/Tabs/index.mjs +1 -2
- package/dist/Tag/Tag.css.mjs +1 -2
- package/dist/Tag/index.d.mts +1 -3
- package/dist/Tag/index.mjs +1 -2
- package/dist/Text/Text.css.mjs +1 -2
- package/dist/Text/index.d.mts +1 -3
- package/dist/Text/index.mjs +1 -2
- package/dist/TextField/TextField.css.mjs +1 -2
- package/dist/TextField/index.d.mts +1 -3
- package/dist/TextField/index.mjs +1 -2
- package/dist/Toast/Toast.css.mjs +1 -2
- package/dist/Toast/client.d.mts +0 -2
- package/dist/Toast/client.mjs +2 -3
- package/dist/Toast/index.d.mts +0 -2
- package/dist/Toast/index.mjs +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.css.mjs +1 -2
- package/dist/VisuallyHidden/index.d.mts +1 -3
- package/dist/VisuallyHidden/index.mjs +1 -2
- package/dist/brands/brand.d.mts +1 -3
- package/dist/brands/brand.mjs +1 -2
- package/dist/brands/check-fonts.mjs +1 -2
- package/dist/brands/default.d.mts +1 -3
- package/dist/brands/default.mjs +1 -2
- package/dist/brands/font.d.mts +1 -3
- package/dist/brands/font.mjs +1 -2
- package/dist/brands/forced-colors.mjs +1 -2
- package/dist/brands/index.d.mts +0 -2
- package/dist/brands/index.mjs +1 -2
- package/dist/brands/metrics.mjs +1 -2
- package/dist/contrast/color.d.mts +1 -3
- package/dist/contrast/color.mjs +1 -2
- package/dist/contrast/contrast.d.mts +0 -2
- package/dist/contrast/contrast.mjs +1 -2
- package/dist/contrast/mixes.mjs +1 -2
- package/dist/docs/Checkbox.md +2 -2
- package/dist/docs/Field.md +2 -2
- package/dist/docs/Menu.md +1 -1
- package/dist/docs/MultiSelect.md +2 -2
- package/dist/docs/SearchField.md +1 -1
- package/dist/docs/TextField.md +3 -3
- package/dist/docs/manifest.json +1 -1
- package/dist/icons/ArrowLeftIcon.d.mts +1 -3
- package/dist/icons/ArrowLeftIcon.mjs +1 -2
- package/dist/icons/ArrowRightIcon.d.mts +1 -3
- package/dist/icons/ArrowRightIcon.mjs +1 -2
- package/dist/icons/CheckIcon.d.mts +1 -3
- package/dist/icons/CheckIcon.mjs +1 -2
- package/dist/icons/ChevronDownIcon.d.mts +1 -3
- package/dist/icons/ChevronDownIcon.mjs +1 -2
- package/dist/icons/ChevronRightIcon.d.mts +1 -3
- package/dist/icons/ChevronRightIcon.mjs +1 -2
- package/dist/icons/CircleAlertIcon.d.mts +1 -3
- package/dist/icons/CircleAlertIcon.mjs +1 -2
- package/dist/icons/CircleCheckIcon.d.mts +1 -3
- package/dist/icons/CircleCheckIcon.mjs +1 -2
- package/dist/icons/CircleDotIcon.d.mts +1 -3
- package/dist/icons/CircleDotIcon.mjs +1 -2
- package/dist/icons/CircleSlashIcon.d.mts +1 -3
- package/dist/icons/CircleSlashIcon.mjs +1 -2
- package/dist/icons/EllipsisIcon.d.mts +1 -3
- package/dist/icons/EllipsisIcon.mjs +1 -2
- package/dist/icons/GitMergeIcon.d.mts +1 -3
- package/dist/icons/GitMergeIcon.mjs +1 -2
- package/dist/icons/GitPullRequestClosedIcon.d.mts +1 -3
- package/dist/icons/GitPullRequestClosedIcon.mjs +1 -2
- package/dist/icons/GitPullRequestDraftIcon.d.mts +1 -3
- package/dist/icons/GitPullRequestDraftIcon.mjs +1 -2
- package/dist/icons/GitPullRequestIcon.d.mts +1 -3
- package/dist/icons/GitPullRequestIcon.mjs +1 -2
- package/dist/icons/InboxIcon.d.mts +1 -3
- package/dist/icons/InboxIcon.mjs +1 -2
- package/dist/icons/InfoIcon.d.mts +1 -3
- package/dist/icons/InfoIcon.mjs +1 -2
- package/dist/icons/LoaderCircleIcon.d.mts +1 -3
- package/dist/icons/LoaderCircleIcon.mjs +1 -2
- package/dist/icons/LockOpenIcon.d.mts +1 -3
- package/dist/icons/LockOpenIcon.mjs +1 -2
- package/dist/icons/PencilIcon.d.mts +1 -3
- package/dist/icons/PencilIcon.mjs +1 -2
- package/dist/icons/PlayIcon.d.mts +1 -3
- package/dist/icons/PlayIcon.mjs +1 -2
- package/dist/icons/PlusIcon.d.mts +1 -3
- package/dist/icons/PlusIcon.mjs +1 -2
- package/dist/icons/RefreshCwIcon.d.mts +1 -3
- package/dist/icons/RefreshCwIcon.mjs +1 -2
- package/dist/icons/ReplyIcon.d.mts +1 -3
- package/dist/icons/ReplyIcon.mjs +1 -2
- package/dist/icons/SearchIcon.d.mts +1 -3
- package/dist/icons/SearchIcon.mjs +1 -2
- package/dist/icons/SettingsIcon.d.mts +1 -3
- package/dist/icons/SettingsIcon.mjs +1 -2
- package/dist/icons/Trash2Icon.d.mts +1 -3
- package/dist/icons/Trash2Icon.mjs +1 -2
- package/dist/icons/XIcon.d.mts +1 -3
- package/dist/icons/XIcon.mjs +1 -2
- package/dist/icons/index.d.mts +0 -2
- package/dist/icons/index.mjs +1 -2
- package/dist/lint/index.d.mts +1 -3
- package/dist/lint/index.mjs +1 -2
- package/dist/popup/client.d.mts +1 -3
- package/dist/popup/client.mjs +1 -2
- package/dist/styles/atoms.css.d.mts +1 -3
- package/dist/styles/atoms.css.mjs +1 -2
- package/dist/styles/button-fills.mjs +1 -2
- package/dist/styles/button-parts.css.mjs +1 -2
- package/dist/styles/control-size.mjs +1 -2
- package/dist/styles/highlight.mjs +1 -2
- package/dist/styles/hover-tint.mjs +1 -2
- package/dist/styles/join.mjs +1 -2
- package/dist/styles/part-props.d.mts +1 -3
- package/dist/styles/split-style-props.mjs +1 -2
- package/dist/styles/split-text-props.mjs +1 -2
- package/dist/styles/subtle-fills.d.mts +1 -3
- package/dist/styles/subtle-fills.mjs +1 -2
- package/dist/testing/motion.d.mts +1 -3
- package/dist/testing/motion.mjs +1 -2
- package/dist/theme/FontCheck.mjs +1 -2
- package/dist/theme/ThemeProvider.d.mts +1 -3
- package/dist/theme/ThemeProvider.mjs +1 -2
- package/dist/theme/define-theme.d.mts +1 -3
- package/dist/theme/define-theme.mjs +1 -2
- package/dist/theme/use-theme-container.mjs +1 -2
- package/dist/tokens/contract.d.mts +0 -2
- package/dist/tokens/contract.mjs +1 -2
- package/dist/tokens/roles.d.mts +1 -3
- package/dist/tokens/roles.mjs +1 -2
- package/dist/tokens/scales.d.mts +1 -3
- package/dist/tokens/scales.mjs +1 -2
- package/dist/types.d.mts +1 -3
- package/package.json +4 -4
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function GitPullRequestDraftIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function GitPullRequestDraftIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/GitPullRequestDraftIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -19,5 +19,4 @@ function r(r) {
|
|
|
19
19
|
]
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { r as GitPullRequestDraftIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function GitPullRequestIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function GitPullRequestIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/GitPullRequestIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -19,5 +19,4 @@ function r(r) {
|
|
|
19
19
|
]
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { r as GitPullRequestIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function InboxIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function InboxIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/InboxIcon.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/InboxIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
7
7
|
children: [/* @__PURE__ */ t("path", { d: "M22 12h-6l-2 3h-4l-2-3H2" }), /* @__PURE__ */ t("path", { d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11" })]
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { r as InboxIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function InfoIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function InfoIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/InfoIcon.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/InfoIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -11,5 +11,4 @@ function r(r) {
|
|
|
11
11
|
}), /* @__PURE__ */ t("path", { d: "M12 16v-4M12 8h.01" })]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { r as InfoIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function LoaderCircleIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function LoaderCircleIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/LoaderCircleIcon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as LoaderCircleIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function LockOpenIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function LockOpenIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/LockOpenIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -14,5 +14,4 @@ function r(r) {
|
|
|
14
14
|
}), /* @__PURE__ */ t("path", { d: "M7 11V7a5 5 0 0 1 9.9-1" })]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { r as LockOpenIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function PencilIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function PencilIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/PencilIcon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as PencilIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function PlayIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function PlayIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/PlayIcon.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/PlayIcon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as PlayIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function PlusIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function PlusIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/PlusIcon.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/PlusIcon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M5 12h14M12 5v14" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as PlusIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function RefreshCwIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function RefreshCwIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/RefreshCwIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -11,5 +11,4 @@ function r(r) {
|
|
|
11
11
|
]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { r as RefreshCwIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function ReplyIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function ReplyIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/ReplyIcon.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/ReplyIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
7
7
|
children: [/* @__PURE__ */ t("path", { d: "M20 18v-2a4 4 0 0 0-4-4H4" }), /* @__PURE__ */ t("path", { d: "m9 17-5-5 5-5" })]
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { r as ReplyIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function SearchIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function SearchIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/SearchIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -11,5 +11,4 @@ function r(r) {
|
|
|
11
11
|
})]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { r as SearchIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function SettingsIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function SettingsIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/SettingsIcon.tsx
|
|
4
4
|
function r(r) {
|
|
5
5
|
return /* @__PURE__ */ n(e, {
|
|
6
6
|
...r,
|
|
@@ -11,5 +11,4 @@ function r(r) {
|
|
|
11
11
|
})]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { r as SettingsIcon };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function Trash2Icon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function Trash2Icon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/Trash2Icon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M10 11v6M14 11v6M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as Trash2Icon };
|
package/dist/icons/XIcon.d.mts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { IconProps } from "../Icon/index.mjs";
|
|
2
|
-
|
|
3
|
-
export declare function XIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare function XIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
|
package/dist/icons/XIcon.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/index.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/icons/XIcon.tsx
|
|
4
4
|
function n(n) {
|
|
5
5
|
return /* @__PURE__ */ t(e, {
|
|
6
6
|
...n,
|
|
7
7
|
children: /* @__PURE__ */ t("path", { d: "M18 6 6 18M6 6l12 12" })
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as XIcon };
|
package/dist/icons/index.d.mts
CHANGED
|
@@ -25,8 +25,6 @@ import { SearchIcon } from "./SearchIcon.mjs";
|
|
|
25
25
|
import { SettingsIcon } from "./SettingsIcon.mjs";
|
|
26
26
|
import { Trash2Icon } from "./Trash2Icon.mjs";
|
|
27
27
|
import { XIcon } from "./XIcon.mjs";
|
|
28
|
-
//#region src/icons/index.d.ts
|
|
29
28
|
export declare const iconNames: readonly ["ArrowLeftIcon", "ArrowRightIcon", "CheckIcon", "ChevronDownIcon", "ChevronRightIcon", "CircleAlertIcon", "CircleCheckIcon", "CircleDotIcon", "CircleSlashIcon", "EllipsisIcon", "GitMergeIcon", "GitPullRequestClosedIcon", "GitPullRequestDraftIcon", "GitPullRequestIcon", "InboxIcon", "InfoIcon", "LoaderCircleIcon", "LockOpenIcon", "PencilIcon", "PlayIcon", "PlusIcon", "RefreshCwIcon", "ReplyIcon", "SearchIcon", "SettingsIcon", "Trash2Icon", "XIcon"];
|
|
30
29
|
export type IconName = (typeof iconNames)[number];
|
|
31
|
-
//#endregion
|
|
32
30
|
export { ArrowLeftIcon, ArrowRightIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CircleAlertIcon, CircleCheckIcon, CircleDotIcon, CircleSlashIcon, EllipsisIcon, GitMergeIcon, GitPullRequestClosedIcon, GitPullRequestDraftIcon, GitPullRequestIcon, InboxIcon, InfoIcon, LoaderCircleIcon, LockOpenIcon, PencilIcon, PlayIcon, PlusIcon, RefreshCwIcon, ReplyIcon, SearchIcon, SettingsIcon, Trash2Icon, XIcon };
|
package/dist/icons/index.mjs
CHANGED
|
@@ -25,7 +25,6 @@ import { RefreshCwIcon as C } from "./RefreshCwIcon.mjs";
|
|
|
25
25
|
import { ReplyIcon as w } from "./ReplyIcon.mjs";
|
|
26
26
|
import { SettingsIcon as T } from "./SettingsIcon.mjs";
|
|
27
27
|
import { Trash2Icon as E } from "./Trash2Icon.mjs";
|
|
28
|
-
|
|
28
|
+
// src/icons/index.ts
|
|
29
29
|
var D = /* @__PURE__ */ "ArrowLeftIcon.ArrowRightIcon.CheckIcon.ChevronDownIcon.ChevronRightIcon.CircleAlertIcon.CircleCheckIcon.CircleDotIcon.CircleSlashIcon.EllipsisIcon.GitMergeIcon.GitPullRequestClosedIcon.GitPullRequestDraftIcon.GitPullRequestIcon.InboxIcon.InfoIcon.LoaderCircleIcon.LockOpenIcon.PencilIcon.PlayIcon.PlusIcon.RefreshCwIcon.ReplyIcon.SearchIcon.SettingsIcon.Trash2Icon.XIcon".split(".");
|
|
30
|
-
//#endregion
|
|
31
30
|
export { s as ArrowLeftIcon, c as ArrowRightIcon, e as CheckIcon, n as ChevronDownIcon, l as ChevronRightIcon, t as CircleAlertIcon, a as CircleCheckIcon, u as CircleDotIcon, d as CircleSlashIcon, f as EllipsisIcon, p as GitMergeIcon, m as GitPullRequestClosedIcon, h as GitPullRequestDraftIcon, g as GitPullRequestIcon, _ as InboxIcon, o as InfoIcon, v as LoaderCircleIcon, y as LockOpenIcon, b as PencilIcon, x as PlayIcon, S as PlusIcon, C as RefreshCwIcon, w as ReplyIcon, r as SearchIcon, T as SettingsIcon, E as Trash2Icon, i as XIcon, D as iconNames };
|
package/dist/lint/index.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/lint/index.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The library's components and parts that render their children through `Text`, plus
|
|
4
3
|
* `VisuallyHidden`, whose children are hidden text, for the `textComponents` option of `uiLint()`
|
|
5
4
|
* from `@jonmilner/oxlint-config`. A part is named by its property (`Tabs.Tab` is `Tab`). Spread
|
|
6
5
|
* it and add the app's own text components; see `docs/lint.md`.
|
|
7
6
|
*/
|
|
8
|
-
export declare const textComponents: readonly string[];
|
|
9
|
-
//#endregion
|
|
7
|
+
export declare const textComponents: readonly string[];
|
package/dist/lint/index.mjs
CHANGED
package/dist/popup/client.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ClickableProps } from "../Clickable/index.mjs";
|
|
2
2
|
import { ButtonOwnProps } from "../Button/index.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
//#region src/popup/client.d.ts
|
|
5
4
|
export type TriggerLookProps = {
|
|
6
5
|
variant?: Exclude<ButtonOwnProps["variant"], "danger">;
|
|
7
6
|
} & Pick<ButtonOwnProps, "size" | "iconStart" | "iconEnd">;
|
|
8
|
-
export type TriggerElementProps = TriggerLookProps & Omit<ClickableProps<"button">, "as" | "busy">;
|
|
9
|
-
//#endregion
|
|
7
|
+
export type TriggerElementProps = TriggerLookProps & Omit<ClickableProps<"button">, "as" | "busy">;
|
package/dist/popup/client.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { Button as t } from "../Button/index.mjs";
|
|
|
4
4
|
import { useThemeContainer as n } from "../theme/use-theme-container.mjs";
|
|
5
5
|
import { createContext as r, use as i, useCallback as a, useLayoutEffect as o, useRef as s } from "react";
|
|
6
6
|
import { jsx as c } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/popup/client.tsx
|
|
8
8
|
var l = r({
|
|
9
9
|
container: { current: null },
|
|
10
10
|
ref: () => {},
|
|
@@ -114,5 +114,4 @@ function y(e, { finalFocus: t, modal: n = !1, open: r }) {
|
|
|
114
114
|
ref: p
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
//#endregion
|
|
118
117
|
export { d as PopupScope, p as triggerElement, y as useClosingRule, f as usePopupScope, m as useRecordOpenChange };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/styles/atoms.css.d.ts
|
|
2
1
|
export declare const sprinkles: ((props: {
|
|
3
2
|
readonly display?: "block" | "contents" | "flex" | "grid" | "inline" | "inline-block" | "inline-flex" | "none" | {
|
|
4
3
|
base?: {};
|
|
@@ -215,5 +214,4 @@ export declare const sprinkles: ((props: {
|
|
|
215
214
|
}) => string) & {
|
|
216
215
|
properties: Set<"alignItems" | "alignSelf" | "backgroundColor" | "blockSize" | "borderRadius" | "boxShadow" | "color" | "display" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gap" | "inlineSize" | "justifyContent" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "maxBlockSize" | "maxInlineSize" | "minBlockSize" | "minInlineSize" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "position" | "textAlign" | "zIndex">;
|
|
217
216
|
};
|
|
218
|
-
export type Sprinkles = Parameters<typeof sprinkles>[0];
|
|
219
|
-
//#endregion
|
|
217
|
+
export type Sprinkles = Parameters<typeof sprinkles>[0];
|
|
@@ -3,7 +3,7 @@ import "./atoms.css";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createSprinkles as e } from "@vanilla-extract/sprinkles/createRuntimeSprinkles";
|
|
6
|
-
|
|
6
|
+
// src/styles/atoms.css.ts
|
|
7
7
|
var t = {
|
|
8
8
|
conditions: {
|
|
9
9
|
defaultCondition: "base",
|
|
@@ -2698,5 +2698,4 @@ var t = {
|
|
|
2698
2698
|
} }
|
|
2699
2699
|
}
|
|
2700
2700
|
}, r = e(t, n);
|
|
2701
|
-
//#endregion
|
|
2702
2701
|
export { t as responsiveProperties, r as sprinkles, n as staticProperties };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// src/styles/highlight.ts
|
|
2
2
|
var e = (e) => `light-dark(${e.bgMuted}, color-mix(in srgb, ${e.fg} 10%, ${e.bgRaised}))`, t = [
|
|
3
3
|
"fg",
|
|
4
4
|
"fgMuted",
|
|
5
5
|
"danger"
|
|
6
6
|
];
|
|
7
|
-
//#endregion
|
|
8
7
|
export { e as highlightFill, t as highlightText };
|
package/dist/styles/join.mjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { StyleProps } from "../Box/base.mjs";
|
|
2
2
|
import { CSSProperties } from "react";
|
|
3
|
-
//#region src/styles/part-props.d.ts
|
|
4
3
|
export type PartProps<P> = StyleProps & Omit<P, "render" | "className" | "style" | keyof StyleProps> & {
|
|
5
4
|
className?: string;
|
|
6
5
|
style?: CSSProperties;
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
6
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { sprinkles as e } from "./atoms.css.mjs";
|
|
2
|
-
|
|
2
|
+
// src/styles/split-style-props.ts
|
|
3
3
|
function t(t) {
|
|
4
4
|
let n = {}, r = {};
|
|
5
5
|
for (let [i, a] of Object.entries(t)) (e.properties.has(i) ? n : r)[i] = a;
|
|
6
6
|
return [n, r];
|
|
7
7
|
}
|
|
8
|
-
//#endregion
|
|
9
8
|
export { t as splitStyleProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/styles/split-text-props.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"font",
|
|
4
4
|
"leading",
|
|
@@ -12,5 +12,4 @@ function n(e) {
|
|
|
12
12
|
for (let [i, a] of Object.entries(e)) (t.has(i) ? n : r)[i] = a;
|
|
13
13
|
return [n, r];
|
|
14
14
|
}
|
|
15
|
-
//#endregion
|
|
16
15
|
export { e as TEXT_PROP_NAMES, n as splitTextProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/styles/subtle-fills.d.ts
|
|
2
1
|
export declare const subtleFills: {
|
|
3
2
|
readonly neutral: {
|
|
4
3
|
readonly backgroundColor: "neutralSubtle";
|
|
@@ -25,5 +24,4 @@ export declare const subtleFills: {
|
|
|
25
24
|
readonly color: "doneSubtleFg";
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
|
-
export type Tone = keyof typeof subtleFills;
|
|
29
|
-
//#endregion
|
|
27
|
+
export type Tone = keyof typeof subtleFills;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/testing/motion.d.ts
|
|
2
1
|
export interface MediaEmulator {
|
|
3
2
|
emulateMedia(options: {
|
|
4
3
|
reducedMotion: "reduce" | "no-preference" | null;
|
|
@@ -18,5 +17,4 @@ export interface MotionStyle {
|
|
|
18
17
|
export declare function emulateReducedMotion(page: MediaEmulator): Promise<() => Promise<void>>;
|
|
19
18
|
export declare const readMotionStyle: (el: Element) => MotionStyle;
|
|
20
19
|
export declare function expectNoMotion(target: MotionTarget): Promise<void>;
|
|
21
|
-
export declare function expectCrossfadeOnly(target: MotionTarget): Promise<void>;
|
|
22
|
-
//#endregion
|
|
20
|
+
export declare function expectCrossfadeOnly(target: MotionTarget): Promise<void>;
|
package/dist/testing/motion.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/testing/motion.ts
|
|
2
2
|
async function e(e) {
|
|
3
3
|
return await e.emulateMedia({ reducedMotion: "reduce" }), () => e.emulateMedia({ reducedMotion: null });
|
|
4
4
|
}
|
|
@@ -45,5 +45,4 @@ async function a(e) {
|
|
|
45
45
|
throw Error(`Expected an opacity transition over 0ms, got ${e}`);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { e as emulateReducedMotion, a as expectCrossfadeOnly, i as expectNoMotion, t as readMotionStyle };
|
package/dist/theme/FontCheck.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { checkFonts as e } from "../brands/check-fonts.mjs";
|
|
3
3
|
import { useEffect as t } from "react";
|
|
4
|
-
|
|
4
|
+
// src/theme/FontCheck.tsx
|
|
5
5
|
function n({ font: n }) {
|
|
6
6
|
return t(() => {
|
|
7
7
|
e({ font: n });
|
|
8
8
|
}, [n]), null;
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as FontCheck };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { presets } from "../brands/index.mjs";
|
|
2
2
|
import { Theme } from "./define-theme.mjs";
|
|
3
3
|
import { ComponentPropsWithRef } from "react";
|
|
4
|
-
//#region src/theme/ThemeProvider.d.ts
|
|
5
4
|
export type ThemeProviderProps = ComponentPropsWithRef<"div"> & {
|
|
6
5
|
mode?: "light" | "dark" | "system";
|
|
7
6
|
} & ({
|
|
@@ -11,5 +10,4 @@ export type ThemeProviderProps = ComponentPropsWithRef<"div"> & {
|
|
|
11
10
|
brand?: undefined;
|
|
12
11
|
theme: Theme;
|
|
13
12
|
});
|
|
14
|
-
export declare function ThemeProvider({ brand, mode, theme, children, ...props }: ThemeProviderProps): import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare function ThemeProvider({ brand, mode, theme, children, ...props }: ThemeProviderProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { presets as e } from "../brands/index.mjs";
|
|
2
2
|
import { FontCheck as t } from "./FontCheck.mjs";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/theme/ThemeProvider.tsx
|
|
5
5
|
function i({ brand: i = "default", mode: a = "system", theme: o, children: s, ...c }) {
|
|
6
6
|
let l = o?.brand.name ?? i, u = o?.brand ?? e[i];
|
|
7
7
|
return /* @__PURE__ */ r("div", {
|
|
@@ -19,5 +19,4 @@ function i({ brand: i = "default", mode: a = "system", theme: o, children: s, ..
|
|
|
19
19
|
]
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { i as ThemeProvider };
|