@tryghost/shade 0.1.0-alpha.4 → 0.1.0-alpha.41

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 (267) hide show
  1. package/README.md +31 -65
  2. package/es/assets/images/index.js +2 -2
  3. package/es/components/page-templates/list-page.js +2 -1
  4. package/es/components/page-templates/list-page.js.map +1 -1
  5. package/es/components/patterns/filter-bar.js +4 -6
  6. package/es/components/patterns/filter-bar.js.map +1 -1
  7. package/es/components/patterns/filters.js +35 -22
  8. package/es/components/patterns/filters.js.map +1 -1
  9. package/es/components/patterns/gh-chart.js +6 -3
  10. package/es/components/patterns/gh-chart.js.map +1 -1
  11. package/es/components/patterns/image-upload.js +20 -15
  12. package/es/components/patterns/image-upload.js.map +1 -1
  13. package/es/components/patterns/kpi-tabs.js +4 -1
  14. package/es/components/patterns/kpi-tabs.js.map +1 -1
  15. package/es/components/patterns/page-header.js +20 -44
  16. package/es/components/patterns/page-header.js.map +1 -1
  17. package/es/components/patterns/setting-group-variants.js +1 -1
  18. package/es/components/patterns/setting-group-variants.js.map +1 -1
  19. package/es/components/patterns/setting-group.js +2 -2
  20. package/es/components/patterns/setting-group.js.map +1 -1
  21. package/es/components/patterns/settings-modal-variants.js +3 -0
  22. package/es/components/patterns/settings-modal-variants.js.map +1 -1
  23. package/es/components/patterns/settings-modal.js +9 -2
  24. package/es/components/patterns/settings-modal.js.map +1 -1
  25. package/es/components/patterns/share-modal.js +5 -17
  26. package/es/components/patterns/share-modal.js.map +1 -1
  27. package/es/components/ui/alert-dialog.js +5 -7
  28. package/es/components/ui/alert-dialog.js.map +1 -1
  29. package/es/components/ui/avatar.js +8 -4
  30. package/es/components/ui/avatar.js.map +1 -1
  31. package/es/components/ui/badge-variants.js +2 -1
  32. package/es/components/ui/badge-variants.js.map +1 -1
  33. package/es/components/ui/banner-variants.js +13 -5
  34. package/es/components/ui/banner-variants.js.map +1 -1
  35. package/es/components/ui/banner.js +9 -3
  36. package/es/components/ui/banner.js.map +1 -1
  37. package/es/components/ui/button-variants.js +2 -33
  38. package/es/components/ui/button-variants.js.map +1 -1
  39. package/es/components/ui/button.js +17 -5
  40. package/es/components/ui/button.js.map +1 -1
  41. package/es/components/ui/calendar.js +5 -6
  42. package/es/components/ui/calendar.js.map +1 -1
  43. package/es/components/ui/card-variants.js +3 -2
  44. package/es/components/ui/card-variants.js.map +1 -1
  45. package/es/components/ui/card.js +7 -4
  46. package/es/components/ui/card.js.map +1 -1
  47. package/es/components/ui/chart.js +2 -29
  48. package/es/components/ui/chart.js.map +1 -1
  49. package/es/components/ui/checkbox.js +1 -1
  50. package/es/components/ui/checkbox.js.map +1 -1
  51. package/es/components/ui/code-editor-view.js +1 -1
  52. package/es/components/ui/code-editor-view.js.map +1 -1
  53. package/es/components/ui/combobox.js +2 -2
  54. package/es/components/ui/combobox.js.map +1 -1
  55. package/es/components/ui/copy-field.js +2 -4
  56. package/es/components/ui/copy-field.js.map +1 -1
  57. package/es/components/ui/data-list.js +2 -4
  58. package/es/components/ui/data-list.js.map +1 -1
  59. package/es/components/ui/dialog.js +34 -10
  60. package/es/components/ui/dialog.js.map +1 -1
  61. package/es/components/ui/dropzone-variants.js +26 -10
  62. package/es/components/ui/dropzone-variants.js.map +1 -1
  63. package/es/components/ui/dropzone.js +2 -2
  64. package/es/components/ui/dropzone.js.map +1 -1
  65. package/es/components/ui/field.js +4 -4
  66. package/es/components/ui/field.js.map +1 -1
  67. package/es/components/ui/floating-sidebar.js +49 -16
  68. package/es/components/ui/floating-sidebar.js.map +1 -1
  69. package/es/components/ui/image-overlay-button.js +2 -2
  70. package/es/components/ui/image-overlay-button.js.map +1 -1
  71. package/es/components/ui/indicator-variants.js +2 -2
  72. package/es/components/ui/indicator-variants.js.map +1 -1
  73. package/es/components/ui/input-group-variants.js +5 -5
  74. package/es/components/ui/input-group-variants.js.map +1 -1
  75. package/es/components/ui/input-group.js +4 -7
  76. package/es/components/ui/input-group.js.map +1 -1
  77. package/es/components/ui/input-surface.js +3 -3
  78. package/es/components/ui/input-surface.js.map +1 -1
  79. package/es/components/ui/input.js +1 -1
  80. package/es/components/ui/input.js.map +1 -1
  81. package/es/components/ui/navbar.js +1 -3
  82. package/es/components/ui/navbar.js.map +1 -1
  83. package/es/components/ui/pagemenu.js +51 -15
  84. package/es/components/ui/pagemenu.js.map +1 -1
  85. package/es/components/ui/radio-group-variants.js +1 -1
  86. package/es/components/ui/radio-group-variants.js.map +1 -1
  87. package/es/components/ui/select-variants.js +6 -14
  88. package/es/components/ui/select-variants.js.map +1 -1
  89. package/es/components/ui/select.js +1 -4
  90. package/es/components/ui/select.js.map +1 -1
  91. package/es/components/ui/sheet.js +1 -1
  92. package/es/components/ui/sheet.js.map +1 -1
  93. package/es/components/ui/sidebar.js +1 -1
  94. package/es/components/ui/simple-pagination.js +4 -7
  95. package/es/components/ui/simple-pagination.js.map +1 -1
  96. package/es/components/ui/sticky-footer.js +59 -22
  97. package/es/components/ui/sticky-footer.js.map +1 -1
  98. package/es/components/ui/table.js +2 -2
  99. package/es/components/ui/table.js.map +1 -1
  100. package/es/components/ui/tabs-variants.js +23 -1
  101. package/es/components/ui/tabs-variants.js.map +1 -1
  102. package/es/components/ui/tabs.js +102 -21
  103. package/es/components/ui/tabs.js.map +1 -1
  104. package/es/components/ui/textarea.js +1 -1
  105. package/es/components/ui/textarea.js.map +1 -1
  106. package/es/components/ui/toast.js +2 -0
  107. package/es/components/ui/toggle-group.js +1 -3
  108. package/es/components/ui/toggle-group.js.map +1 -1
  109. package/es/components/ui/toggle-variants.js +1 -7
  110. package/es/components/ui/toggle-variants.js.map +1 -1
  111. package/es/components/ui/toggle.js +1 -2
  112. package/es/components/ui/toggle.js.map +1 -1
  113. package/es/components/ui/token-field.js +4 -4
  114. package/es/components/ui/token-field.js.map +1 -1
  115. package/es/components/ui/tooltip.js +8 -17
  116. package/es/components/ui/tooltip.js.map +1 -1
  117. package/es/components/ui/trend-badge.js +46 -12
  118. package/es/components/ui/trend-badge.js.map +1 -1
  119. package/es/components.js +7 -6
  120. package/es/{images-CUcakpOD.js → images-DtbFINdz.js} +3 -23
  121. package/es/images-DtbFINdz.js.map +1 -0
  122. package/es/index.js +7 -6
  123. package/es/lib/date-utils.js +151 -0
  124. package/es/lib/date-utils.js.map +1 -0
  125. package/es/lib/ds-utils.js +16 -72
  126. package/es/lib/ds-utils.js.map +1 -1
  127. package/es/lib/utils.js +3 -2
  128. package/es/providers/header-tooltip-provider.js +1 -4
  129. package/es/providers/header-tooltip-provider.js.map +1 -1
  130. package/es/providers/shade-context.js +2 -1
  131. package/es/providers/shade-context.js.map +1 -1
  132. package/es/providers/shade-provider.js +4 -3
  133. package/es/providers/shade-provider.js.map +1 -1
  134. package/es/shade-app.js +5 -3
  135. package/es/shade-app.js.map +1 -1
  136. package/es/shade-scope.js +3 -2
  137. package/es/shade-scope.js.map +1 -1
  138. package/es/tokens.js +56 -8
  139. package/es/tokens.js.map +1 -1
  140. package/es/utils.js +3 -2
  141. package/package.json +6 -6
  142. package/preflight.css +0 -10
  143. package/styles.css +118 -12
  144. package/tailwind.theme.css +237 -187
  145. package/theme-variables.css +412 -44
  146. package/types/app.d.ts +5 -5
  147. package/types/assets/images/index.d.ts +0 -1
  148. package/types/assets/images/index.d.ts.map +1 -1
  149. package/types/components/page-templates/list-page.d.ts +2 -1
  150. package/types/components/page-templates/list-page.d.ts.map +1 -1
  151. package/types/components/page-templates/modal-page.d.ts +1 -1
  152. package/types/components/patterns/color-picker.d.ts +2 -2
  153. package/types/components/patterns/filter-bar.d.ts +2 -2
  154. package/types/components/patterns/filter-bar.d.ts.map +1 -1
  155. package/types/components/patterns/filters-helpers.d.ts +1 -1
  156. package/types/components/patterns/filters.d.ts +2 -4
  157. package/types/components/patterns/filters.d.ts.map +1 -1
  158. package/types/components/patterns/gh-chart.d.ts.map +1 -1
  159. package/types/components/patterns/image-upload.d.ts +3 -3
  160. package/types/components/patterns/image-upload.d.ts.map +1 -1
  161. package/types/components/patterns/kpi-tabs.d.ts +5 -2
  162. package/types/components/patterns/kpi-tabs.d.ts.map +1 -1
  163. package/types/components/patterns/page-header.d.ts +17 -14
  164. package/types/components/patterns/page-header.d.ts.map +1 -1
  165. package/types/components/patterns/setting-group.d.ts +8 -8
  166. package/types/components/patterns/settings-modal-variants.d.ts +3 -0
  167. package/types/components/patterns/settings-modal-variants.d.ts.map +1 -1
  168. package/types/components/patterns/settings-modal.d.ts +12 -3
  169. package/types/components/patterns/settings-modal.d.ts.map +1 -1
  170. package/types/components/patterns/share-modal.d.ts +3 -3
  171. package/types/components/patterns/share-modal.d.ts.map +1 -1
  172. package/types/components/patterns/use-dirty-confirmation.d.ts +1 -1
  173. package/types/components/ui/alert-dialog.d.ts +1 -1
  174. package/types/components/ui/alert-dialog.d.ts.map +1 -1
  175. package/types/components/ui/avatar.d.ts.map +1 -1
  176. package/types/components/ui/badge-variants.d.ts +1 -1
  177. package/types/components/ui/badge-variants.d.ts.map +1 -1
  178. package/types/components/ui/badge.d.ts +1 -1
  179. package/types/components/ui/banner-variants.d.ts +1 -1
  180. package/types/components/ui/banner-variants.d.ts.map +1 -1
  181. package/types/components/ui/banner.d.ts +3 -1
  182. package/types/components/ui/banner.d.ts.map +1 -1
  183. package/types/components/ui/button-variants.d.ts +0 -1
  184. package/types/components/ui/button-variants.d.ts.map +1 -1
  185. package/types/components/ui/button.d.ts +7 -2
  186. package/types/components/ui/button.d.ts.map +1 -1
  187. package/types/components/ui/calendar.d.ts +1 -1
  188. package/types/components/ui/calendar.d.ts.map +1 -1
  189. package/types/components/ui/card-variants.d.ts +1 -1
  190. package/types/components/ui/card-variants.d.ts.map +1 -1
  191. package/types/components/ui/card.d.ts +1 -1
  192. package/types/components/ui/card.d.ts.map +1 -1
  193. package/types/components/ui/chart.d.ts +1 -17
  194. package/types/components/ui/chart.d.ts.map +1 -1
  195. package/types/components/ui/code-editor.d.ts +1 -1
  196. package/types/components/ui/combobox.d.ts.map +1 -1
  197. package/types/components/ui/copy-field.d.ts +1 -1
  198. package/types/components/ui/copy-field.d.ts.map +1 -1
  199. package/types/components/ui/data-list.d.ts.map +1 -1
  200. package/types/components/ui/dialog.d.ts +11 -2
  201. package/types/components/ui/dialog.d.ts.map +1 -1
  202. package/types/components/ui/dropzone-variants.d.ts +3 -2
  203. package/types/components/ui/dropzone-variants.d.ts.map +1 -1
  204. package/types/components/ui/dropzone.d.ts +1 -1
  205. package/types/components/ui/field.d.ts +1 -1
  206. package/types/components/ui/field.d.ts.map +1 -1
  207. package/types/components/ui/floating-sidebar.d.ts +12 -3
  208. package/types/components/ui/floating-sidebar.d.ts.map +1 -1
  209. package/types/components/ui/image-overlay-button.d.ts +1 -1
  210. package/types/components/ui/image-overlay-button.d.ts.map +1 -1
  211. package/types/components/ui/indicator.d.ts +1 -1
  212. package/types/components/ui/input-group-variants.d.ts.map +1 -1
  213. package/types/components/ui/input-group.d.ts +2 -2
  214. package/types/components/ui/input-group.d.ts.map +1 -1
  215. package/types/components/ui/input-surface.d.ts +3 -3
  216. package/types/components/ui/input-surface.d.ts.map +1 -1
  217. package/types/components/ui/multi-select-combobox.d.ts +1 -1
  218. package/types/components/ui/navbar.d.ts.map +1 -1
  219. package/types/components/ui/pagemenu.d.ts +3 -0
  220. package/types/components/ui/pagemenu.d.ts.map +1 -1
  221. package/types/components/ui/preview-chrome.d.ts +1 -1
  222. package/types/components/ui/select-variants.d.ts +0 -1
  223. package/types/components/ui/select-variants.d.ts.map +1 -1
  224. package/types/components/ui/select.d.ts +2 -2
  225. package/types/components/ui/select.d.ts.map +1 -1
  226. package/types/components/ui/sheet.d.ts.map +1 -1
  227. package/types/components/ui/sidebar.d.ts +2 -2
  228. package/types/components/ui/simple-pagination.d.ts.map +1 -1
  229. package/types/components/ui/sticky-footer.d.ts +9 -2
  230. package/types/components/ui/sticky-footer.d.ts.map +1 -1
  231. package/types/components/ui/tabs-variants.d.ts +5 -1
  232. package/types/components/ui/tabs-variants.d.ts.map +1 -1
  233. package/types/components/ui/tabs.d.ts.map +1 -1
  234. package/types/components/ui/toast.d.ts +2 -0
  235. package/types/components/ui/toast.d.ts.map +1 -0
  236. package/types/components/ui/toggle-group.d.ts +4 -6
  237. package/types/components/ui/toggle-group.d.ts.map +1 -1
  238. package/types/components/ui/toggle-variants.d.ts +0 -1
  239. package/types/components/ui/toggle-variants.d.ts.map +1 -1
  240. package/types/components/ui/toggle.d.ts +2 -3
  241. package/types/components/ui/toggle.d.ts.map +1 -1
  242. package/types/components/ui/token-field.d.ts +3 -3
  243. package/types/components/ui/token-field.d.ts.map +1 -1
  244. package/types/components/ui/tooltip.d.ts.map +1 -1
  245. package/types/components/ui/trend-badge.d.ts +1 -0
  246. package/types/components/ui/trend-badge.d.ts.map +1 -1
  247. package/types/components.d.ts +2 -1
  248. package/types/components.d.ts.map +1 -1
  249. package/types/lib/date-utils.d.ts +17 -0
  250. package/types/lib/date-utils.d.ts.map +1 -0
  251. package/types/lib/ds-utils.d.ts +2 -16
  252. package/types/lib/ds-utils.d.ts.map +1 -1
  253. package/types/lib/utils.d.ts +1 -0
  254. package/types/lib/utils.d.ts.map +1 -1
  255. package/types/providers/header-tooltip-provider.d.ts.map +1 -1
  256. package/types/providers/shade-context.d.ts +4 -1
  257. package/types/providers/shade-context.d.ts.map +1 -1
  258. package/types/providers/shade-provider.d.ts +3 -2
  259. package/types/providers/shade-provider.d.ts.map +1 -1
  260. package/types/shade-app.d.ts +8 -3
  261. package/types/shade-app.d.ts.map +1 -1
  262. package/types/shade-scope.d.ts.map +1 -1
  263. package/types/tokens.d.ts +1 -1
  264. package/types/tokens.d.ts.map +1 -1
  265. package/types/utils.d.ts +2 -1
  266. package/types/utils.d.ts.map +1 -1
  267. package/es/images-CUcakpOD.js.map +0 -1
@@ -1,11 +1,20 @@
1
1
  import * as React from 'react';
2
2
  import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
3
+ declare const Dialog: ({ modal, ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) => React.JSX.Element;
4
4
  declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
6
  declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
7
  declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
9
+ /**
10
+ * How a dialog taller than the window scrolls. `fixed` (the default) pins the dialog near
11
+ * the top of the window, so it needs its own height limit and inner scroll. `overlay` makes
12
+ * the backdrop the scroll container instead: the whole dialog scrolls as one piece, the way
13
+ * a page does.
14
+ */
15
+ scroll?: 'fixed' | 'overlay';
16
+ }
17
+ declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
9
18
  declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
10
19
  declare namespace DialogHeader {
11
20
  var displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAK1D,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4G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,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;;;AAWnF,QAAA,MAAM,WAAW,oKAYf,CAAC;AAGH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
@@ -1,7 +1,8 @@
1
- import type { ControlShape } from '../../providers/shade-context';
1
+ import type { ControlShape } from '../../providers/shade-context.js';
2
2
  declare const dropzoneBaseVariants: (props?: ({
3
3
  variant?: "button" | "buttonSecondary" | "default" | "filled" | null | undefined;
4
+ admin7Design?: boolean | null | undefined;
4
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
- declare function dropzoneVariants(props?: Parameters<typeof dropzoneBaseVariants>[0], isAdmin7?: boolean, shape?: ControlShape): string;
6
+ declare function dropzoneVariants(props?: Omit<NonNullable<Parameters<typeof dropzoneBaseVariants>[0]>, 'admin7Design'>, shape?: ControlShape, admin7Design?: boolean): string;
6
7
  export { dropzoneVariants };
7
8
  //# sourceMappingURL=dropzone-variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;8EAqBzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAM,EACtD,QAAQ,UAAO,EACf,KAAK,GAAE,YAA4C,UASpD;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;;8EAiCzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAM,EACzF,KAAK,GAAE,YAAqB,EAC5B,YAAY,UAAO,UAUpB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Accept, DropEvent, FileRejection } from 'react-dropzone';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
- import { dropzoneVariants } from '../../components/ui/dropzone-variants';
4
+ import { dropzoneVariants } from './dropzone-variants.js';
5
5
  type DropzoneRenderProps = {
6
6
  isDragActive: boolean;
7
7
  isDragAccept: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
- import { Label } from '../../components/ui/label';
2
+ import { Label } from './label.js';
3
3
  declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): import("react").JSX.Element;
4
4
  declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
5
5
  variant?: 'legend' | 'label';
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,+BAY1E;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;I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AE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAWvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,+BAa3E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,+BAsBA;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC;CAClD,sCAmCA;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,UAAU,GACX,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type FloatingSidebarMorphStyle } from '../../components/ui/floating-sidebar-metrics';
2
+ import { type FloatingSidebarMorphStyle } from './floating-sidebar-metrics.js';
3
3
  interface FloatingSidebarProps extends Omit<React.ComponentProps<'div'>, 'children'> {
4
4
  /** Docked beside the content, rather than a circle that opens over it. */
5
5
  pinned: boolean;
@@ -31,9 +31,17 @@ interface FloatingSidebarProps extends Omit<React.ComponentProps<'div'>, 'childr
31
31
  label: string;
32
32
  /** Beside the icon in the open and pinned panel's header row (e.g. the site title); hidden while closed. */
33
33
  header: React.ReactNode;
34
+ /**
35
+ * Collapses the header row, icon included, giving its room to the body (e.g.
36
+ * a screen whose navigation has its own top row). It applies while pinned
37
+ * with `pinLocked`, as otherwise the pin button needs the row.
38
+ */
39
+ headerHidden?: boolean;
34
40
  /** Unfurls beneath the header when open or pinned. */
35
41
  children: React.ReactNode;
36
42
  bodyClassName?: string;
43
+ /** With Admin 7, let descendant effects paint outside the open panel. The caller must own content scrolling. */
44
+ overflow?: 'clip' | 'visible';
37
45
  /** The open and pinned panel's width. */
38
46
  openWidth?: number;
39
47
  /** Stops the panel opening (and closes it), e.g. while the page is locked. */
@@ -54,8 +62,9 @@ interface FloatingSidebarProps extends Omit<React.ComponentProps<'div'>, 'childr
54
62
  */
55
63
  armHoverOnRest?: boolean;
56
64
  /**
57
- * Changing it (e.g. to the route's path) cancels a pending close: a layout
58
- * shift inside the panel can fire a mouseleave though the pointer never left.
65
+ * Changing it (e.g. to the route's path) cancels a pending close while the
66
+ * pointer is over the panel: a layout shift inside the panel can fire a
67
+ * mouseleave though the pointer never left.
59
68
  */
60
69
  resetKey?: unknown;
61
70
  pinLabel?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"floating-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/floating-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAOL,KAAK,yBAAyB,EAC/B,MAAM,0CAA0C,CAAC;AAsJlD,UAAU,oBAAqB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAClF,0EAA0E;IAC1E,MAAM,EAAE,OAAO,CAAC;IAChB,0CAA0C;IAC1C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,wFAAwF;IACxF,IAAI,EAAE,KAAK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CAAC,EAAE,yBAAyB,CAAC;IACvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,wFAAwF;IACxF,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,sDAAsD;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gHAAgH;IAChH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IACnF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,0GAqnBpB,CAAC;AAGF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
@@ -3,5 +3,5 @@ export declare const imageOverlayButtonClasses: {
3
3
  readonly pressed: 'enabled:active:bg-surface-inverse enabled:active:text-surface-inverse-foreground enabled:aria-expanded:bg-surface-inverse enabled:aria-expanded:text-surface-inverse-foreground';
4
4
  };
5
5
  /** Keep image-overlay controls legible over the image in every button state. */
6
- export declare function imageOverlayButton(isAdmin7?: boolean): string;
6
+ export declare function imageOverlayButton(): string;
7
7
  //# sourceMappingURL=image-overlay-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,QAAQ,UAAO,UAEjD"}
1
+ {"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,WAEjC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
- import { indicatorVariants } from '../../components/ui/indicator-variants';
3
+ import { indicatorVariants } from './indicator-variants.js';
4
4
  export interface IndicatorProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof indicatorVariants> {
5
5
  label?: string;
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input-group-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group-variants.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,kBAAkB;;;8EAuCvB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"input-group-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group-variants.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,kBAAkB;;;8EA0CvB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
- import { inputGroupVariants } from '../../components/ui/input-group-variants';
3
+ import { inputGroupVariants } from './input-group-variants.js';
4
4
  export interface InputGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupVariants> {
5
5
  }
6
6
  declare function InputGroup({ className, variant, shape, ...props }: InputGroupProps): React.JSX.Element;
@@ -8,7 +8,7 @@ declare const inputGroupAddonVariants: (props?: ({
8
8
  align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
11
- declare const InputGroupButton: React.ForwardRefExoticComponent<Omit<Omit<import("../../components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "size"> & VariantProps<(props?: ({
11
+ declare const InputGroupButton: React.ForwardRefExoticComponent<Omit<Omit<import("./button.js").ButtonProps & React.RefAttributes<HTMLButtonElement>, "size"> & VariantProps<(props?: ({
12
12
  size?: "icon-sm" | "icon-xs" | "sm" | "xs" | null | undefined;
13
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
14
  declare function InputGroupText({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAEjF,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE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M,gBAAgB;;iIAoBpB,CAAC;AAGH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAU5E;AAED,QAAA,MAAM,eAAe,8KAYpB,CAAC;AAGF,QAAA,MAAM,kBAAkB,0LAYvB,CAAC;AAGF,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Shared visual recipe for input-like surfaces (Input, Textarea, InputGroup, Select trigger).
3
3
  *
4
- * The recipe owns: border, background, radius, transition, focus ring, invalid state.
4
+ * The recipe owns: border, background, radius, shadow, transition, focus ring, invalid state.
5
5
  * Consumers add their own size, padding, typography, and component-specific tweaks.
6
6
  *
7
7
  * `inputSurface()` covers the two common shapes:
@@ -31,13 +31,13 @@
31
31
  * )} />
32
32
  */
33
33
  export declare const inputSurfaceClasses: {
34
- readonly base: 'rounded-control border border-control-border bg-control-surface transition-colors';
34
+ readonly base: 'rounded-field border border-field-border bg-field-surface shadow-field transition-colors';
35
35
  readonly focusSelf: 'focus-visible:outline-hidden focus-visible:border-focus-ring focus-visible:ring-2 focus-visible:ring-focus-ring/25';
36
36
  readonly focusWithin: 'has-[:focus-visible]:outline-hidden has-[:focus-visible]:border-focus-ring has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-focus-ring/25';
37
37
  readonly invalidSelf: 'aria-[invalid=true]:border-destructive aria-[invalid=true]:ring-destructive/20 dark:aria-[invalid=true]:ring-destructive/40';
38
38
  readonly invalidWithin: 'has-[[aria-invalid=true]]:border-destructive has-[[aria-invalid=true]]:ring-destructive/20 dark:has-[[aria-invalid=true]]:ring-destructive/40';
39
39
  readonly disabledSelf: 'disabled:cursor-not-allowed disabled:opacity-50';
40
- readonly disabledFieldSelf: 'disabled:bg-control-disabled-surface disabled:text-muted-foreground disabled:opacity-100 disabled:hover:bg-control-disabled-surface';
40
+ readonly disabledFieldSelf: 'disabled:bg-field-disabled-surface disabled:text-muted-foreground disabled:opacity-100 disabled:hover:bg-field-disabled-surface';
41
41
  };
42
42
  export declare function inputSurface(mode?: 'self' | 'within'): string;
43
43
  //# sourceMappingURL=input-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-surface.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-surface.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,mBAAmB;aAC9B,IAAI,EAAE,mFAAmF;aACzF,SAAS,EACP,oHAAoH;aACtH,WAAW,EACT,gJAAgJ;aAClJ,WAAW,EACT,6HAA6H;aAC/H,aAAa,EACX,+IAA+I;aACjJ,YAAY,EAAE,iDAAiD;aAC/D,iBAAiB,EACf,qIAAqI;CAC/H,CAAC;AAEX,wBAAgB,YAAY,CAAC,IAAI,GAAE,MAAM,GAAG,QAAiB,UAc5D"}
1
+ {"version":3,"file":"input-surface.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-surface.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,mBAAmB;aAC9B,IAAI,EAAE,0FAA0F;aAChG,SAAS,EACP,oHAAoH;aACtH,WAAW,EACT,gJAAgJ;aAClJ,WAAW,EACT,6HAA6H;aAC/H,aAAa,EACX,+IAA+I;aACjJ,YAAY,EAAE,iDAAiD;aAC/D,iBAAiB,EACf,iIAAiI;CAC3H,CAAC;AAEX,wBAAgB,YAAY,CAAC,IAAI,GAAE,MAAM,GAAG,QAAiB,UAc5D"}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { FilterOption, ValueSource } from '../../components/patterns/filters';
2
+ import type { FilterOption, ValueSource } from '../patterns/filters.js';
3
3
  export interface MultiSelectComboboxI18n {
4
4
  searchPlaceholder: string;
5
5
  noResultsFound: string;
@@ -1 +1 @@
1
- {"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,2FAoBlB,CAAC;AAIF,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,8FAarB,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,oFAgBX,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,2FAelB,CAAC;AAIF,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,8FAarB,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,oFAgBX,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC"}
@@ -3,8 +3,11 @@ import { type ButtonProps } from './button';
3
3
  export interface PageMenuProps {
4
4
  children: React.ReactNode;
5
5
  responsive?: boolean;
6
+ /** The active item's value. Pass with `onValueChange` to control the menu, e.g. from the current route. */
6
7
  value?: string;
8
+ /** The item active on first render when the menu manages its own selection. */
7
9
  defaultValue?: string;
10
+ /** Called with the item's value when the user picks a different item. */
8
11
  onValueChange?: (value: string) => void;
9
12
  className?: string;
10
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pagemenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagemenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAUpD,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,sFA2Kb,CAAC;AAIF,QAAA,MAAM,YAAY,6FAsBjB,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"pagemenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagemenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAepD,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2GAA2G;IAC3G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,sFAwNb,CAAC;AAIF,QAAA,MAAM,YAAY,6FA+BjB,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
- import { previewChromeVariants } from '../../components/ui/preview-chrome-variants';
3
+ import { previewChromeVariants } from './preview-chrome-variants.js';
4
4
  export interface PreviewChromeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof previewChromeVariants> {
5
5
  }
6
6
  declare const PreviewChrome: React.ForwardRefExoticComponent<PreviewChromeProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,5 @@
1
1
  declare const selectTriggerVariants: (props?: ({
2
2
  variant?: "default" | "ghost" | "secondary" | null | undefined;
3
- isAdmin7?: boolean | null | undefined;
4
3
  shape?: "pill" | "rounded" | null | undefined;
5
4
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
5
  export { selectTriggerVariants };
@@ -1 +1 @@
1
- {"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB;;;;8EAwC1B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB;;;8EAqC1B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import * as SelectPrimitive from '@radix-ui/react-select';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
- import { selectTriggerVariants } from '../../components/ui/select-variants';
4
+ import { selectTriggerVariants } from './select-variants.js';
5
5
  declare const Select: React.FC<SelectPrimitive.SelectProps>;
6
6
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
7
7
  declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
8
- export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, Omit<VariantProps<typeof selectTriggerVariants>, 'isAdmin7'> {
8
+ export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
9
9
  /** Show the dropdown chevron. Defaults to hidden for the secondary variant. */
10
10
  showChevron?: boolean;
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAMxE,QAAA,MAAM,MAAM,uC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EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { TooltipContent } from '../../components/ui/tooltip';
3
+ import { TooltipContent } from './tooltip.js';
4
4
  declare const SidebarProvider: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
5
5
  defaultOpen?: boolean;
6
6
  open?: boolean;
@@ -11,7 +11,7 @@ declare const Sidebar: React.ForwardRefExoticComponent<Omit<React.ClassAttribute
11
11
  variant?: 'sidebar' | 'floating' | 'inset';
12
12
  collapsible?: 'offcanvas' | 'icon' | 'none';
13
13
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import("../../components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
+ declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import("./button.js").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
15
15
  declare const SidebarRail: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
16
16
  declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
17
  declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C;;GAEG;AAEH,QAAA,MAAM,gBAAgB,6GAYrB,CAAC;AAIF,UAAU,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,qBAAqB,oGAQ1B,CAAC;AAIF,QAAA,MAAM,0BAA0B,6GAS9B,CAAC;AAIH,QAAA,MAAM,8BAA8B,uFASnC,CAAC;AAIF,QAAA,MAAM,0BAA0B,uFAS/B,CAAC;AAIF,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
1
+ {"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C;;GAEG;AAEH,QAAA,MAAM,gBAAgB,6GAYrB,CAAC;AAIF,UAAU,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,qBAAqB,oGAQ1B,CAAC;AAIF,QAAA,MAAM,0BAA0B,6GAS9B,CAAC;AAIH,QAAA,MAAM,8BAA8B,uFAQnC,CAAC;AAIF,QAAA,MAAM,0BAA0B,uFAQ/B,CAAC;AAIF,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
@@ -1,10 +1,17 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  export interface StickyFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
3
3
  shiftY?: string;
4
4
  height?: number;
5
5
  children?: ReactNode;
6
6
  contentClassName?: string;
7
7
  }
8
- /** Keeps actions visible at the bottom of a scrolling surface. */
8
+ /**
9
+ * Keeps actions visible at the bottom of a scrolling surface.
10
+ *
11
+ * The footer takes its background from `--sticky-footer-background`, which
12
+ * Shade's Dialog sets to its own surface; anywhere else it falls back to
13
+ * `--background`. When the scroll container has bottom padding, the footer
14
+ * fills it so content doesn't show beneath the footer.
15
+ */
9
16
  export declare const StickyFooter: ({ shiftY, height, children, className, contentClassName, style, ...props }: StickyFooterProps) => import("react").JSX.Element;
10
17
  //# sourceMappingURL=sticky-footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sticky-footer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sticky-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,kEAAkE;AAClE,eAAO,MAAM,YAAY,+EAQtB,iBAAiB,gCAyBnB,CAAC"}
1
+ {"version":3,"file":"sticky-footer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sticky-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrF,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AASD;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,+EAQtB,iBAAiB,gCAqEnB,CAAC"}
@@ -1,5 +1,9 @@
1
+ declare const tabSurfaceVariants: (props?: ({
2
+ admin7Design?: boolean | null | undefined;
3
+ size?: "compact" | "default" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
5
  declare const tabsVariants: (props?: ({
2
6
  variant?: "button" | "button-sm" | "kpis" | "navbar" | "pill" | "segmented" | "segmented-sm" | "underline" | null | undefined;
3
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
4
- export { tabsVariants };
8
+ export { tabsVariants, tabSurfaceVariants };
5
9
  //# sourceMappingURL=tabs-variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY;;8EAgBhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"tabs-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs-variants.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,kBAAkB;;;8EAgBtB,CAAC;AAEH,QAAA,MAAM,YAAY;;8EAgBhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAOtD,KAAK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a,CAAC,IAAI,CAAC;IAC1F,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,QAAA,MAAM,IAAI,kFAWT,CAAC;AAwCF,QAAA,MAAM,QAAQ,uJAaZ,CAAC;AAiIH,QAAA,MAAM,WAAW,gKAmCf,CAAC;AAGH,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAWrD,CAAC;AAwBF,QAAA,MAAM,WAAW,0JAYf,CAAC;AAGH,UAAU,wBAAyB,SAAQ,IAAI,CAC7C,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,EAClD,SAAS,CACV;IACC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,mBAAmB,iHAwCxB,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { toast } from 'sonner';
2
+ //# sourceMappingURL=toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,17 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
- declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) & Omit<VariantProps<(props?: ({
4
+ declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
5
5
  variant?: "default" | null | undefined;
6
6
  size?: "button" | "default" | null | undefined;
7
- isAdmin7?: boolean | null | undefined;
8
7
  shape?: "pill" | "rounded" | null | undefined;
9
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "isAdmin7">) & React.RefAttributes<HTMLDivElement>>;
10
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & Omit<VariantProps<(props?: ({
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
9
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
11
10
  variant?: "default" | null | undefined;
12
11
  size?: "button" | "default" | null | undefined;
13
- isAdmin7?: boolean | null | undefined;
14
12
  shape?: "pill" | "rounded" | null | undefined;
15
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "isAdmin7"> & React.RefAttributes<HTMLButtonElement>>;
13
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
16
14
  export { ToggleGroup, ToggleGroupItem };
17
15
  //# sourceMappingURL=toggle-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW;;;;;oIAwBf,CAAC;AAIH,QAAA,MAAM,eAAe;;;;;sIA0BnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW;;;;uHAwBf,CAAC;AAIH,QAAA,MAAM,eAAe;;;;yHAyBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
@@ -1,7 +1,6 @@
1
1
  declare const toggleVariants: (props?: ({
2
2
  variant?: "default" | null | undefined;
3
3
  size?: "button" | "default" | null | undefined;
4
- isAdmin7?: boolean | null | undefined;
5
4
  shape?: "pill" | "rounded" | null | undefined;
6
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
6
  export { toggleVariants };
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;8EA+BnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;8EA4BnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import * as TogglePrimitive from '@radix-ui/react-toggle';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & Omit<VariantProps<(props?: ({
4
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
5
5
  variant?: "default" | null | undefined;
6
6
  size?: "button" | "default" | null | undefined;
7
- isAdmin7?: boolean | null | undefined;
8
7
  shape?: "pill" | "rounded" | null | undefined;
9
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "isAdmin7"> & React.RefAttributes<HTMLButtonElement>>;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
10
9
  export { Toggle };
11
10
  //# sourceMappingURL=toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM;;;;;sIAgBV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM;;;;yHAeV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /** Shared chip density for token inputs such as labels, tags and authors. */
2
2
  export declare const tokenFieldClasses: {
3
3
  readonly field: string;
4
- readonly input: 'min-w-20 flex-1 bg-transparent px-2 text-control outline-hidden placeholder:text-muted-foreground';
5
- readonly chip: 'h-6 max-w-full cursor-pointer gap-1 rounded-full border-transparent px-2 pr-1.5 text-sm';
6
- readonly chevron: 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2)] right-3 size-4 text-muted-foreground';
4
+ readonly input: 'min-w-20 flex-1 bg-transparent px-2 text-(length:--text-field) outline-hidden placeholder:text-muted-foreground';
5
+ readonly chip: 'h-auto min-h-6 max-w-full cursor-pointer gap-1 rounded-xl border-transparent bg-field-chip-surface px-2 py-0.75 pr-1.5 text-left text-sm leading-4 whitespace-normal';
6
+ readonly chevron: 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2-1px)] right-1.5 size-4 text-muted-foreground';
7
7
  };
8
8
  //# sourceMappingURL=token-field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"token-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-field.ts"],"names":[],"mappings":"AAGA,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB;aAC5B,KAAK;aAIL,KAAK,EACH,mGAAmG;aACrG,IAAI,EAAE,yFAAyF;aAC/F,OAAO,EACL,0HAA0H;CACpH,CAAC"}
1
+ {"version":3,"file":"token-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-field.ts"],"names":[],"mappings":"AAGA,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB;aAC5B,KAAK;aAIL,KAAK,EACH,iHAAiH;aAEnH,IAAI,EAAE,sKAAsK;aAE5K,OAAO,EACL,gIAAgI;CAC1H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAU5D;;;;GAIG;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AAsB;;8EAW3B,CAAC;AAEF,MAAM,WAAW,mBACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAC/D,YAAY,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAElD,QAAA,MAAM,cAAc,4FAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -3,6 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  declare const trendBadgeVariants: (props?: ({
4
4
  direction?: "down" | "hidden" | "same" | "up" | null | undefined;
5
5
  interactive?: boolean | null | undefined;
6
+ inverted?: boolean | null | undefined;
6
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
8
  export interface TrendBadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof trendBadgeVariants> {
8
9
  value: string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"trend-badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/trend-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,QAAA,MAAM,kBAAkB;;;8EAwBvB,CAAC;AAEF,MAAM,WAAW,eACf,SACE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EACtD,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,UAAU,wFAoCf,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"trend-badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/trend-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,QAAA,MAAM,kBAAkB;;;;8EA4CvB,CAAC;AAEF,MAAM,WAAW,eACf,SACE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EACtD,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,UAAU,wFAwCf,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -70,12 +70,13 @@ export * from './components/ui/table';
70
70
  export * from './components/ui/tabs';
71
71
  export * from './components/ui/tabs-variants';
72
72
  export * from './components/ui/textarea';
73
+ export * from './components/ui/toast';
73
74
  export * from './components/ui/toggle-group';
74
75
  export * from './components/ui/tooltip';
75
76
  export type { DropdownMenuCheckboxItemProps as DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
76
77
  export type { ContextMenuCheckboxItemProps as ContextMenuCheckboxItemProps } from '@radix-ui/react-context-menu';
77
78
  export { IconComponents as Icon } from './components/ui/icon';
78
- export { FacebookLogo, GhostLogo, GhostOrb, GoogleLogo, TwitterLogo, XLogo } from './assets/images';
79
+ export { FacebookLogo, GhostLogo, GhostOrb, GoogleLogo, XLogo } from './assets/images';
79
80
  export { TimePicker, type TimePickerProps } from './components/ui/time-picker';
80
81
  export { tokenFieldClasses } from './components/ui/token-field';
81
82
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC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AiB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,17 @@
1
+ export declare const formatDisplayDate: (dateString: string, timezone?: string) => string;
2
+ /**
3
+ * Format a plain time in a given time zone.
4
+ *
5
+ * @example
6
+ * formatDisplayTime('2020-04-20T18:09:12.345Z', 'Africa/Lagos')
7
+ * // 7:09pm
8
+ */
9
+ export declare const formatDisplayTime: (dateString: string, timezone: string) => string;
10
+ /**
11
+ * Formats a date based on the range, in the browser's time zone
12
+ * - For ranges of 365 days or more: shows month and year (e.g. "Apr 2025")
13
+ * - For ranges of 90 days or more: shows "Week of [date]"
14
+ * - For other ranges: shows the date in the same format as formatDisplayDate
15
+ */
16
+ export declare const formatDisplayDateWithRange: (date: string, range: number, showHours?: boolean, hoursOnly?: boolean) => string;
17
+ //# sourceMappingURL=date-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-utils.d.ts","sourceRoot":"","sources":["../../src/lib/date-utils.ts"],"names":[],"mappings":"AAiLA,eAAO,MAAM,iBAAiB,eAAgB,MAAM,aAAa,MAAM,KAAG,MAczE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,eAAgB,MAAM,YAAY,MAAM,KAAG,MAQxE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,SAC/B,MAAM,SACL,MAAM,cACF,OAAO,cACP,OAAO,KACjB,MAqBF,CAAC"}