@jonmilner/ui 0.11.1 → 0.11.3

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.
Files changed (209) hide show
  1. package/THIRD_PARTY_NOTICES.md +1 -1
  2. package/dist/AlertDialog/client.mjs +1 -2
  3. package/dist/AlertDialog/index.d.mts +0 -2
  4. package/dist/AlertDialog/index.mjs +1 -2
  5. package/dist/Avatar/Avatar.css.mjs +1 -2
  6. package/dist/Avatar/index.d.mts +0 -2
  7. package/dist/Avatar/index.mjs +1 -2
  8. package/dist/Avatar/ink.mjs +1 -2
  9. package/dist/Badge/Badge.css.mjs +1 -2
  10. package/dist/Badge/index.d.mts +1 -3
  11. package/dist/Badge/index.mjs +1 -2
  12. package/dist/Box/Box.css.mjs +1 -2
  13. package/dist/Box/ResponsiveCheck.mjs +1 -2
  14. package/dist/Box/base.d.mts +1 -3
  15. package/dist/Box/base.mjs +1 -2
  16. package/dist/Box/index.d.mts +0 -2
  17. package/dist/Box/index.mjs +1 -2
  18. package/dist/Button/Button.css.mjs +1 -2
  19. package/dist/Button/index.d.mts +1 -3
  20. package/dist/Button/index.mjs +1 -2
  21. package/dist/Checkbox/Checkbox.css.mjs +1 -2
  22. package/dist/Checkbox/index.d.mts +1 -3
  23. package/dist/Checkbox/index.mjs +1 -2
  24. package/dist/Chip/Chip.css.mjs +1 -2
  25. package/dist/Chip/index.d.mts +1 -3
  26. package/dist/Chip/index.mjs +1 -2
  27. package/dist/Clickable/Clickable.css.mjs +1 -2
  28. package/dist/Clickable/index.d.mts +1 -3
  29. package/dist/Clickable/index.mjs +1 -2
  30. package/dist/ColorField/ColorField.css.mjs +1 -2
  31. package/dist/ColorField/client.d.mts +1 -3
  32. package/dist/ColorField/client.mjs +1 -2
  33. package/dist/ColorField/index.d.mts +0 -2
  34. package/dist/ColorField/index.mjs +1 -2
  35. package/dist/Dialog/Dialog.css.d.mts +1 -3
  36. package/dist/Dialog/Dialog.css.mjs +1 -2
  37. package/dist/Dialog/client.d.mts +0 -2
  38. package/dist/Dialog/client.mjs +1 -2
  39. package/dist/Dialog/index.d.mts +0 -2
  40. package/dist/Dialog/index.mjs +1 -2
  41. package/dist/Field/Field.css.mjs +1 -2
  42. package/dist/Field/client.mjs +1 -2
  43. package/dist/Field/index.d.mts +0 -2
  44. package/dist/Field/index.mjs +1 -2
  45. package/dist/Heading/Heading.css.mjs +1 -2
  46. package/dist/Heading/index.d.mts +1 -3
  47. package/dist/Heading/index.mjs +1 -2
  48. package/dist/Icon/Icon.css.mjs +1 -2
  49. package/dist/Icon/index.d.mts +1 -3
  50. package/dist/Icon/index.mjs +1 -2
  51. package/dist/IconButton/IconButton.css.mjs +1 -2
  52. package/dist/IconButton/index.d.mts +1 -3
  53. package/dist/IconButton/index.mjs +1 -2
  54. package/dist/Inline/Inline.css.mjs +1 -2
  55. package/dist/Inline/index.d.mts +0 -2
  56. package/dist/Inline/index.mjs +1 -2
  57. package/dist/Menu/Menu.css.mjs +1 -2
  58. package/dist/Menu/client.d.mts +0 -2
  59. package/dist/Menu/client.mjs +1 -2
  60. package/dist/Menu/index.d.mts +0 -2
  61. package/dist/Menu/index.mjs +1 -2
  62. package/dist/MultiSelect/MultiSelect.css.mjs +1 -2
  63. package/dist/MultiSelect/client.d.mts +1 -3
  64. package/dist/MultiSelect/client.mjs +1 -2
  65. package/dist/MultiSelect/index.d.mts +1 -3
  66. package/dist/MultiSelect/index.mjs +1 -2
  67. package/dist/SearchField/SearchField.css.mjs +1 -2
  68. package/dist/SearchField/client.d.mts +1 -3
  69. package/dist/SearchField/client.mjs +1 -2
  70. package/dist/SearchField/index.d.mts +0 -2
  71. package/dist/SearchField/index.mjs +1 -2
  72. package/dist/Stack/Stack.css.mjs +1 -2
  73. package/dist/Stack/index.d.mts +0 -2
  74. package/dist/Stack/index.mjs +1 -2
  75. package/dist/Tabs/Tabs.css.mjs +1 -2
  76. package/dist/Tabs/index.d.mts +0 -2
  77. package/dist/Tabs/index.mjs +1 -2
  78. package/dist/Tag/Tag.css.mjs +1 -2
  79. package/dist/Tag/index.d.mts +1 -3
  80. package/dist/Tag/index.mjs +1 -2
  81. package/dist/Text/Text.css.mjs +1 -2
  82. package/dist/Text/index.d.mts +1 -3
  83. package/dist/Text/index.mjs +1 -2
  84. package/dist/TextField/TextField.css.mjs +1 -2
  85. package/dist/TextField/index.d.mts +1 -3
  86. package/dist/TextField/index.mjs +1 -2
  87. package/dist/Toast/Toast.css.mjs +1 -2
  88. package/dist/Toast/client.d.mts +0 -2
  89. package/dist/Toast/client.mjs +2 -3
  90. package/dist/Toast/index.d.mts +0 -2
  91. package/dist/Toast/index.mjs +1 -2
  92. package/dist/VisuallyHidden/VisuallyHidden.css.mjs +1 -2
  93. package/dist/VisuallyHidden/index.d.mts +1 -3
  94. package/dist/VisuallyHidden/index.mjs +1 -2
  95. package/dist/brands/brand.d.mts +1 -3
  96. package/dist/brands/brand.mjs +1 -2
  97. package/dist/brands/check-fonts.mjs +1 -2
  98. package/dist/brands/default.d.mts +1 -3
  99. package/dist/brands/default.mjs +1 -2
  100. package/dist/brands/font.d.mts +1 -3
  101. package/dist/brands/font.mjs +1 -2
  102. package/dist/brands/forced-colors.mjs +1 -2
  103. package/dist/brands/index.d.mts +0 -2
  104. package/dist/brands/index.mjs +1 -2
  105. package/dist/brands/metrics.mjs +1 -2
  106. package/dist/contrast/color.d.mts +1 -3
  107. package/dist/contrast/color.mjs +1 -2
  108. package/dist/contrast/contrast.d.mts +0 -2
  109. package/dist/contrast/contrast.mjs +1 -2
  110. package/dist/contrast/mixes.mjs +1 -2
  111. package/dist/docs/Box.md +24 -3
  112. package/dist/docs/Checkbox.md +2 -2
  113. package/dist/docs/Field.md +2 -2
  114. package/dist/docs/Menu.md +1 -1
  115. package/dist/docs/MultiSelect.md +2 -2
  116. package/dist/docs/SearchField.md +1 -1
  117. package/dist/docs/Stack.md +26 -0
  118. package/dist/docs/TextField.md +3 -3
  119. package/dist/docs/llms.txt +7 -0
  120. package/dist/docs/manifest.json +1 -1
  121. package/dist/icons/ArrowLeftIcon.d.mts +1 -3
  122. package/dist/icons/ArrowLeftIcon.mjs +1 -2
  123. package/dist/icons/ArrowRightIcon.d.mts +1 -3
  124. package/dist/icons/ArrowRightIcon.mjs +1 -2
  125. package/dist/icons/CheckIcon.d.mts +1 -3
  126. package/dist/icons/CheckIcon.mjs +1 -2
  127. package/dist/icons/ChevronDownIcon.d.mts +1 -3
  128. package/dist/icons/ChevronDownIcon.mjs +1 -2
  129. package/dist/icons/ChevronRightIcon.d.mts +1 -3
  130. package/dist/icons/ChevronRightIcon.mjs +1 -2
  131. package/dist/icons/CircleAlertIcon.d.mts +1 -3
  132. package/dist/icons/CircleAlertIcon.mjs +1 -2
  133. package/dist/icons/CircleCheckIcon.d.mts +1 -3
  134. package/dist/icons/CircleCheckIcon.mjs +1 -2
  135. package/dist/icons/CircleDotIcon.d.mts +1 -3
  136. package/dist/icons/CircleDotIcon.mjs +1 -2
  137. package/dist/icons/CircleSlashIcon.d.mts +1 -3
  138. package/dist/icons/CircleSlashIcon.mjs +1 -2
  139. package/dist/icons/EllipsisIcon.d.mts +1 -3
  140. package/dist/icons/EllipsisIcon.mjs +1 -2
  141. package/dist/icons/GitMergeIcon.d.mts +1 -3
  142. package/dist/icons/GitMergeIcon.mjs +1 -2
  143. package/dist/icons/GitPullRequestClosedIcon.d.mts +1 -3
  144. package/dist/icons/GitPullRequestClosedIcon.mjs +1 -2
  145. package/dist/icons/GitPullRequestDraftIcon.d.mts +1 -3
  146. package/dist/icons/GitPullRequestDraftIcon.mjs +1 -2
  147. package/dist/icons/GitPullRequestIcon.d.mts +1 -3
  148. package/dist/icons/GitPullRequestIcon.mjs +1 -2
  149. package/dist/icons/InboxIcon.d.mts +1 -3
  150. package/dist/icons/InboxIcon.mjs +1 -2
  151. package/dist/icons/InfoIcon.d.mts +1 -3
  152. package/dist/icons/InfoIcon.mjs +1 -2
  153. package/dist/icons/LoaderCircleIcon.d.mts +1 -3
  154. package/dist/icons/LoaderCircleIcon.mjs +1 -2
  155. package/dist/icons/LockOpenIcon.d.mts +1 -3
  156. package/dist/icons/LockOpenIcon.mjs +1 -2
  157. package/dist/icons/PencilIcon.d.mts +1 -3
  158. package/dist/icons/PencilIcon.mjs +1 -2
  159. package/dist/icons/PlayIcon.d.mts +1 -3
  160. package/dist/icons/PlayIcon.mjs +1 -2
  161. package/dist/icons/PlusIcon.d.mts +1 -3
  162. package/dist/icons/PlusIcon.mjs +1 -2
  163. package/dist/icons/RefreshCwIcon.d.mts +1 -3
  164. package/dist/icons/RefreshCwIcon.mjs +1 -2
  165. package/dist/icons/ReplyIcon.d.mts +1 -3
  166. package/dist/icons/ReplyIcon.mjs +1 -2
  167. package/dist/icons/SearchIcon.d.mts +1 -3
  168. package/dist/icons/SearchIcon.mjs +1 -2
  169. package/dist/icons/SettingsIcon.d.mts +1 -3
  170. package/dist/icons/SettingsIcon.mjs +1 -2
  171. package/dist/icons/Trash2Icon.d.mts +1 -3
  172. package/dist/icons/Trash2Icon.mjs +1 -2
  173. package/dist/icons/XIcon.d.mts +1 -3
  174. package/dist/icons/XIcon.mjs +1 -2
  175. package/dist/icons/index.d.mts +0 -2
  176. package/dist/icons/index.mjs +1 -2
  177. package/dist/lint/index.d.mts +1 -3
  178. package/dist/lint/index.mjs +1 -2
  179. package/dist/popup/client.d.mts +1 -3
  180. package/dist/popup/client.mjs +1 -2
  181. package/dist/styles/atoms.css.d.mts +1 -3
  182. package/dist/styles/atoms.css.mjs +1 -2
  183. package/dist/styles/button-fills.mjs +1 -2
  184. package/dist/styles/button-parts.css.mjs +1 -2
  185. package/dist/styles/control-size.mjs +1 -2
  186. package/dist/styles/highlight.mjs +1 -2
  187. package/dist/styles/hover-tint.mjs +1 -2
  188. package/dist/styles/join.mjs +1 -2
  189. package/dist/styles/part-props.d.mts +1 -3
  190. package/dist/styles/split-style-props.mjs +1 -2
  191. package/dist/styles/split-text-props.mjs +1 -2
  192. package/dist/styles/subtle-fills.d.mts +1 -3
  193. package/dist/styles/subtle-fills.mjs +1 -2
  194. package/dist/testing/motion.d.mts +1 -3
  195. package/dist/testing/motion.mjs +1 -2
  196. package/dist/theme/FontCheck.mjs +1 -2
  197. package/dist/theme/ThemeProvider.d.mts +1 -3
  198. package/dist/theme/ThemeProvider.mjs +1 -2
  199. package/dist/theme/define-theme.d.mts +1 -3
  200. package/dist/theme/define-theme.mjs +1 -2
  201. package/dist/theme/use-theme-container.mjs +1 -2
  202. package/dist/tokens/contract.d.mts +0 -2
  203. package/dist/tokens/contract.mjs +1 -2
  204. package/dist/tokens/roles.d.mts +1 -3
  205. package/dist/tokens/roles.mjs +1 -2
  206. package/dist/tokens/scales.d.mts +1 -3
  207. package/dist/tokens/scales.mjs +1 -2
  208. package/dist/types.d.mts +1 -3
  209. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- //#region src/styles/split-text-props.ts
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,4 @@
1
- //#region src/styles/subtle-fills.ts
1
+ // src/styles/subtle-fills.ts
2
2
  var e = {
3
3
  neutral: {
4
4
  backgroundColor: "neutralSubtle",
@@ -25,5 +25,4 @@ var e = {
25
25
  color: "doneSubtleFg"
26
26
  }
27
27
  };
28
- //#endregion
29
28
  export { e as 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>;
@@ -1,4 +1,4 @@
1
- //#region src/testing/motion.ts
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 };
@@ -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
- //#region src/theme/FontCheck.tsx
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
- //#region src/theme/ThemeProvider.tsx
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 };
@@ -1,9 +1,7 @@
1
1
  import { Brand } from "../brands/brand.mjs";
2
- //#region src/theme/define-theme.d.ts
3
2
  export interface Theme {
4
3
  readonly brand: Brand;
5
4
  readonly href: string;
6
5
  readonly css: string;
7
6
  }
8
- export declare function defineTheme(brand: Brand): Theme;
9
- //#endregion
7
+ export declare function defineTheme(brand: Brand): Theme;
@@ -6,7 +6,7 @@ import { checkContrast as c, contrastPairs as l } from "../contrast/contrast.mjs
6
6
  import { checkMixes as u, contrastMixes as d } from "../contrast/mixes.mjs";
7
7
  import { colorRoles as f, fontRoles as p } from "../tokens/roles.mjs";
8
8
  import { vars as m } from "../tokens/contract.mjs";
9
- //#region src/theme/define-theme.ts
9
+ // src/theme/define-theme.ts
10
10
  var h = (e) => e.slice(4, -1), g = (e) => e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), _ = (e, t) => `${e} {\n${t.map(([e, t]) => ` ${e}: ${t};\n`).join("")}}`;
11
11
  function v(s) {
12
12
  let c = (e) => {
@@ -80,5 +80,4 @@ function w(e, t) {
80
80
  }))].toSorted((e, t) => e.mode === t.mode ? 0 : e.mode === "light" ? -1 : 1);
81
81
  o.length > 0 && t(`fails WCAG AA contrast:\n${o.map(({ fg: e, bg: t, mode: n, ratio: r, min: i }) => ` ${e} on ${t} (${n}): ${r.toFixed(2)}, needs ${i}`).join("\n")}`);
82
82
  }
83
- //#endregion
84
83
  export { v as defineTheme };
@@ -1,5 +1,5 @@
1
1
  import { useCallback as e, useMemo as t, useRef as n } from "react";
2
- //#region src/theme/use-theme-container.ts
2
+ // src/theme/use-theme-container.ts
3
3
  function r() {
4
4
  let r = n(null), i = e((e) => {
5
5
  r.current = e;
@@ -12,5 +12,4 @@ function r() {
12
12
  trigger: r
13
13
  }), [i]);
14
14
  }
15
- //#endregion
16
15
  export { r as useThemeContainer };
@@ -1,4 +1,3 @@
1
- //#region src/tokens/contract.d.ts
2
1
  type CssVar = `var(--${string})`;
3
2
  export type Contract<T> = { readonly [K in keyof T]: T[K] extends string ? CssVar : Contract<T[K]>; };
4
3
  export declare const contract: {
@@ -106,5 +105,4 @@ export declare const contract: {
106
105
  }>;
107
106
  };
108
107
  export declare const vars: Contract<typeof contract>;
109
- //#endregion
110
108
  export {};
@@ -1,6 +1,6 @@
1
1
  import { tokens as e } from "./scales.mjs";
2
2
  import { colorRoles as t, fontRoles as n } from "./roles.mjs";
3
- //#region src/tokens/contract.ts
3
+ // src/tokens/contract.ts
4
4
  function r(e, t) {
5
5
  return typeof e == "string" ? `var(--${t.join("-").replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`)})` : Object.fromEntries(Object.entries(e).map(([e, n]) => [e, r(n, [...t, e])]));
6
6
  }
@@ -13,5 +13,4 @@ var i = (e, t) => Object.fromEntries(e.map((e) => [e, t])), a = {
13
13
  baseline: ""
14
14
  })
15
15
  }, o = r(a, []);
16
- //#endregion
17
16
  export { a as contract, o as vars };
@@ -1,6 +1,4 @@
1
- //#region src/tokens/roles.d.ts
2
1
  export declare const colorRoles: readonly ["bg", "bgMuted", "bgRaised", "fg", "fgMuted", "border", "borderStrong", "accent", "accentFg", "accentFill", "accentFillFg", "danger", "dangerFg", "success", "successFg", "warning", "warningFg", "done", "doneFg", "neutralSubtle", "neutralSubtleFg", "accentSubtle", "accentSubtleFg", "successSubtle", "successSubtleFg", "warningSubtle", "warningSubtleFg", "dangerSubtle", "dangerSubtleFg", "doneSubtle", "doneSubtleFg", "focus", "shadow"];
3
2
  export type ColorRole = (typeof colorRoles)[number];
4
3
  export declare const fontRoles: readonly ["body", "heading", "display", "label", "mono"];
5
- export type FontRole = (typeof fontRoles)[number];
6
- //#endregion
4
+ export type FontRole = (typeof fontRoles)[number];
@@ -1,4 +1,4 @@
1
- //#region src/tokens/roles.ts
1
+ // src/tokens/roles.ts
2
2
  var e = /* @__PURE__ */ "bg.bgMuted.bgRaised.fg.fgMuted.border.borderStrong.accent.accentFg.accentFill.accentFillFg.danger.dangerFg.success.successFg.warning.warningFg.done.doneFg.neutralSubtle.neutralSubtleFg.accentSubtle.accentSubtleFg.successSubtle.successSubtleFg.warningSubtle.warningSubtleFg.dangerSubtle.dangerSubtleFg.doneSubtle.doneSubtleFg.focus.shadow".split("."), t = [
3
3
  "body",
4
4
  "heading",
@@ -6,5 +6,4 @@ var e = /* @__PURE__ */ "bg.bgMuted.bgRaised.fg.fgMuted.border.borderStrong.acce
6
6
  "label",
7
7
  "mono"
8
8
  ];
9
- //#endregion
10
9
  export { e as colorRoles, t as fontRoles };
@@ -1,4 +1,3 @@
1
- //#region src/tokens/scales.d.ts
2
1
  export declare const tokens: {
3
2
  space: {
4
3
  0: string;
@@ -96,5 +95,4 @@ export declare const tokens: {
96
95
  med: string;
97
96
  lg: string;
98
97
  };
99
- };
100
- //#endregion
98
+ };
@@ -1,4 +1,4 @@
1
- //#region src/tokens/scales.ts
1
+ // src/tokens/scales.ts
2
2
  var e = (e) => `${e / 16}rem`, t = Object.fromEntries([
3
3
  0,
4
4
  1,
@@ -99,5 +99,4 @@ var g = {
99
99
  dir: "1",
100
100
  shadow: m
101
101
  };
102
- //#endregion
103
102
  export { r as container, d as distance, l as duration, u as easing, a as fontSize, o as fontWeight, s as lineHeight, i as radius, f as scale, m as shadow, n as size, t as space, g as tokens, c as zIndex };
package/dist/types.d.mts CHANGED
@@ -1,7 +1,5 @@
1
1
  import { ComponentPropsWithRef, ElementType } from "react";
2
- //#region src/types.d.ts
3
2
  export type OmitEach<P, K extends PropertyKey> = P extends unknown ? Omit<P, K> : never;
4
3
  export type PolymorphicProps<T extends ElementType, Own = object, Omitted extends PropertyKey = never> = {
5
4
  as?: T;
6
- } & Own & OmitEach<ComponentPropsWithRef<T>, "as" | keyof Own | Omitted>;
7
- //#endregion
5
+ } & Own & OmitEach<ComponentPropsWithRef<T>, "as" | keyof Own | Omitted>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jonmilner/ui",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "THIRD_PARTY_NOTICES.md"
@@ -148,18 +148,18 @@
148
148
  "@base-ui/react": "1.9.0",
149
149
  "@capsizecss/core": "4.1.3",
150
150
  "@capsizecss/metrics": "4.4.0",
151
- "@size-limit/file": "14.2.0",
151
+ "@size-limit/file": "14.3.0",
152
152
  "@types/react": "19.3.0",
153
153
  "@types/react-dom": "19.3.0",
154
154
  "@vanilla-extract/css": "1.21.3",
155
155
  "@vanilla-extract/vite-plugin": "5.2.6",
156
156
  "ajv": "8.20.0",
157
- "lucide-static": "1.61.0",
157
+ "lucide-static": "1.65.0",
158
158
  "playwright": "1.64.1",
159
159
  "publint": "0.3.25",
160
160
  "react": "19.3.1",
161
161
  "react-dom": "19.3.1",
162
- "size-limit": "14.2.0",
162
+ "size-limit": "14.3.0",
163
163
  "svgo": "4.1.0"
164
164
  },
165
165
  "peerDependencies": {