@g4rcez/components 3.0.0-0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/components/core/button.d.ts +2 -8
  2. package/dist/components/core/button.d.ts.map +1 -1
  3. package/dist/components/core/button.jsx +11 -18
  4. package/dist/components/core/polymorph.d.ts.map +1 -1
  5. package/dist/components/core/slot.d.ts +1 -1
  6. package/dist/components/core/slot.d.ts.map +1 -1
  7. package/dist/components/core/slot.jsx +28 -35
  8. package/dist/components/core/tag.d.ts +1 -1
  9. package/dist/components/core/tag.d.ts.map +1 -1
  10. package/dist/components/core/tag.jsx +3 -3
  11. package/dist/components/core/typography.d.ts.map +1 -1
  12. package/dist/components/core/typography.jsx +16 -20
  13. package/dist/components/display/alert.d.ts.map +1 -1
  14. package/dist/components/display/alert.jsx +19 -17
  15. package/dist/components/display/calendar.d.ts.map +1 -1
  16. package/dist/components/display/calendar.jsx +6 -8
  17. package/dist/components/display/card.d.ts.map +1 -1
  18. package/dist/components/display/card.jsx +6 -6
  19. package/dist/components/display/empty.jsx +1 -1
  20. package/dist/components/display/notifications.d.ts +2 -0
  21. package/dist/components/display/notifications.d.ts.map +1 -1
  22. package/dist/components/display/notifications.jsx +76 -48
  23. package/dist/components/display/progress.d.ts.map +1 -1
  24. package/dist/components/display/progress.jsx +7 -9
  25. package/dist/components/display/shortcut.jsx +1 -1
  26. package/dist/components/display/skeleton.d.ts.map +1 -1
  27. package/dist/components/display/skeleton.jsx +3 -5
  28. package/dist/components/display/step.d.ts.map +1 -1
  29. package/dist/components/display/step.jsx +27 -27
  30. package/dist/components/display/tabs.d.ts.map +1 -1
  31. package/dist/components/display/tabs.jsx +5 -7
  32. package/dist/components/display/timeline.jsx +1 -1
  33. package/dist/components/floating/command-palette.d.ts +1 -0
  34. package/dist/components/floating/command-palette.d.ts.map +1 -1
  35. package/dist/components/floating/command-palette.jsx +92 -70
  36. package/dist/components/floating/dropdown.d.ts.map +1 -1
  37. package/dist/components/floating/dropdown.jsx +15 -15
  38. package/dist/components/floating/menu.d.ts +2 -2
  39. package/dist/components/floating/menu.jsx +2 -2
  40. package/dist/components/floating/modal.d.ts +20 -53
  41. package/dist/components/floating/modal.d.ts.map +1 -1
  42. package/dist/components/floating/modal.jsx +109 -51
  43. package/dist/components/floating/tooltip.d.ts.map +1 -1
  44. package/dist/components/floating/tooltip.jsx +2 -8
  45. package/dist/components/floating/wizard.d.ts +1 -1
  46. package/dist/components/floating/wizard.d.ts.map +1 -1
  47. package/dist/components/floating/wizard.jsx +50 -53
  48. package/dist/components/form/autocomplete.d.ts.map +1 -1
  49. package/dist/components/form/autocomplete.jsx +42 -38
  50. package/dist/components/form/checkbox.jsx +3 -3
  51. package/dist/components/form/date-picker.d.ts.map +1 -1
  52. package/dist/components/form/date-picker.jsx +14 -14
  53. package/dist/components/form/file-upload.jsx +13 -13
  54. package/dist/components/form/free-text.d.ts.map +1 -1
  55. package/dist/components/form/free-text.jsx +3 -3
  56. package/dist/components/form/input-field.d.ts +3 -2
  57. package/dist/components/form/input-field.d.ts.map +1 -1
  58. package/dist/components/form/input-field.jsx +43 -41
  59. package/dist/components/form/multi-select.d.ts.map +1 -1
  60. package/dist/components/form/multi-select.jsx +56 -56
  61. package/dist/components/form/select.d.ts.map +1 -1
  62. package/dist/components/form/select.jsx +3 -3
  63. package/dist/components/form/slider.d.ts.map +1 -1
  64. package/dist/components/form/slider.jsx +10 -10
  65. package/dist/components/form/switch.jsx +2 -2
  66. package/dist/components/form/transfer-list.jsx +3 -3
  67. package/dist/components/index.d.ts +2 -0
  68. package/dist/components/index.d.ts.map +1 -1
  69. package/dist/components/index.js +2 -0
  70. package/dist/components/page-calendar/calendar-header.d.ts +16 -0
  71. package/dist/components/page-calendar/calendar-header.d.ts.map +1 -0
  72. package/dist/components/page-calendar/calendar-header.jsx +81 -0
  73. package/dist/components/page-calendar/day-view.d.ts +12 -0
  74. package/dist/components/page-calendar/day-view.d.ts.map +1 -0
  75. package/dist/components/page-calendar/day-view.jsx +87 -0
  76. package/dist/components/page-calendar/event-pill.d.ts +9 -0
  77. package/dist/components/page-calendar/event-pill.d.ts.map +1 -0
  78. package/dist/components/page-calendar/event-pill.jsx +25 -0
  79. package/dist/components/page-calendar/index.d.ts +4 -0
  80. package/dist/components/page-calendar/index.d.ts.map +1 -0
  81. package/dist/components/page-calendar/index.js +2 -0
  82. package/dist/components/page-calendar/month-view.d.ts +11 -0
  83. package/dist/components/page-calendar/month-view.d.ts.map +1 -0
  84. package/dist/components/page-calendar/month-view.jsx +47 -0
  85. package/dist/components/page-calendar/page-calendar.d.ts +18 -0
  86. package/dist/components/page-calendar/page-calendar.d.ts.map +1 -0
  87. package/dist/components/page-calendar/page-calendar.jsx +41 -0
  88. package/dist/components/page-calendar/page-calendar.types.d.ts +18 -0
  89. package/dist/components/page-calendar/page-calendar.types.d.ts.map +1 -0
  90. package/dist/components/page-calendar/page-calendar.types.js +1 -0
  91. package/dist/components/page-calendar/page-calendar.utils.d.ts +18 -0
  92. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -0
  93. package/dist/components/page-calendar/page-calendar.utils.js +71 -0
  94. package/dist/components/page-calendar/week-view.d.ts +11 -0
  95. package/dist/components/page-calendar/week-view.d.ts.map +1 -0
  96. package/dist/components/page-calendar/week-view.jsx +64 -0
  97. package/dist/components/table/filter.jsx +4 -4
  98. package/dist/components/table/index.d.ts.map +1 -1
  99. package/dist/components/table/index.jsx +10 -10
  100. package/dist/components/table/inner-table.d.ts.map +1 -1
  101. package/dist/components/table/inner-table.jsx +18 -18
  102. package/dist/components/table/metadata.d.ts.map +1 -1
  103. package/dist/components/table/metadata.jsx +29 -30
  104. package/dist/components/table/pagination.jsx +1 -1
  105. package/dist/components/table/row.d.ts.map +1 -1
  106. package/dist/components/table/row.jsx +17 -17
  107. package/dist/components/table/sort.jsx +1 -1
  108. package/dist/components/table/table-lib.d.ts.map +1 -1
  109. package/dist/components/table/table-lib.js +1 -2
  110. package/dist/components/table/thead.d.ts.map +1 -1
  111. package/dist/components/table/thead.jsx +6 -6
  112. package/dist/config/context.d.ts.map +1 -1
  113. package/dist/config/default-translations.d.ts +17 -0
  114. package/dist/config/default-translations.d.ts.map +1 -1
  115. package/dist/config/default-translations.jsx +18 -1
  116. package/dist/constants.d.ts.map +1 -1
  117. package/dist/hooks/use-components-provider.d.ts.map +1 -1
  118. package/dist/hooks/use-components-provider.jsx +4 -1
  119. package/dist/hooks/use-form.d.ts +11 -11
  120. package/dist/hooks/use-form.d.ts.map +1 -1
  121. package/dist/hooks/use-form.js +1 -0
  122. package/dist/hooks/use-input-id.d.ts.map +1 -1
  123. package/dist/hooks/use-is-coarse-device.js +1 -1
  124. package/dist/hooks/use-preferences.d.ts.map +1 -1
  125. package/dist/hooks/use-previous.d.ts.map +1 -1
  126. package/dist/hooks/use-previous.js +1 -0
  127. package/dist/hooks/use-reactive.d.ts.map +1 -1
  128. package/dist/hooks/use-reactive.js +1 -0
  129. package/dist/hooks/use-resize-observer.d.ts.map +1 -1
  130. package/dist/hooks/use-stable-ref.d.ts.map +1 -1
  131. package/dist/hooks/use-stable-ref.js +1 -0
  132. package/dist/hooks/use-swipe.d.ts.map +1 -1
  133. package/dist/hooks/use-swipe.js +1 -0
  134. package/dist/hooks/use-translations.d.ts +17 -0
  135. package/dist/hooks/use-translations.d.ts.map +1 -1
  136. package/dist/index.css +1 -0
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/index.js.map +1 -1
  139. package/dist/index.mjs +13689 -12344
  140. package/dist/index.mjs.map +1 -1
  141. package/dist/index.umd.js +24 -17
  142. package/dist/index.umd.js.map +1 -1
  143. package/dist/lib/dom.d.ts +1 -0
  144. package/dist/lib/dom.d.ts.map +1 -1
  145. package/dist/lib/dom.js +20 -2
  146. package/dist/lib/fns.d.ts.map +1 -1
  147. package/dist/lib/fns.js +2 -2
  148. package/dist/preset/plugin.tailwind.d.ts +9 -0
  149. package/dist/preset/plugin.tailwind.d.ts.map +1 -0
  150. package/dist/preset/plugin.tailwind.js +27 -0
  151. package/dist/preset/preset.tailwind.d.ts +8 -0
  152. package/dist/preset/preset.tailwind.d.ts.map +1 -0
  153. package/dist/preset/preset.tailwind.js +54 -0
  154. package/dist/preset/src/styles/common.d.ts +2 -14
  155. package/dist/preset/src/styles/common.d.ts.map +1 -1
  156. package/dist/preset/src/styles/common.js +1 -0
  157. package/dist/preset/src/styles/dark.d.ts.map +1 -1
  158. package/dist/preset/src/styles/dark.js +119 -114
  159. package/dist/preset/src/styles/light.d.ts.map +1 -1
  160. package/dist/preset/src/styles/light.js +111 -106
  161. package/dist/preset/src/styles/theme.types.d.ts +17 -8
  162. package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
  163. package/dist/styles/common.d.ts +2 -14
  164. package/dist/styles/common.d.ts.map +1 -1
  165. package/dist/styles/common.js +1 -0
  166. package/dist/styles/dark.d.ts.map +1 -1
  167. package/dist/styles/dark.js +119 -114
  168. package/dist/styles/light.d.ts.map +1 -1
  169. package/dist/styles/light.js +111 -106
  170. package/dist/styles/theme.types.d.ts +17 -8
  171. package/dist/styles/theme.types.d.ts.map +1 -1
  172. package/package.json +299 -301
  173. package/dist/preset/tailwindcssv4.d.ts +0 -3
  174. package/dist/preset/tailwindcssv4.d.ts.map +0 -1
  175. package/dist/preset/tailwindcssv4.js +0 -75
@@ -1,10 +1,6 @@
1
1
  import React, { PropsWithChildren } from "react";
2
2
  import { CvaVariants, type Label } from "../../types";
3
3
  import { PolymorphicProps } from "./polymorph";
4
- /**
5
- * Button variant definitions for styling
6
- * @internal
7
- */
8
4
  declare const variants: {
9
5
  size: {
10
6
  icon: string;
@@ -39,13 +35,11 @@ declare const variants: {
39
35
  "ghost-primary": string;
40
36
  "ghost-success": string;
41
37
  "ghost-secondary": string;
38
+ "ghost-muted": string;
39
+ "ghost-neutral": string;
42
40
  };
43
41
  };
44
42
  type Variants = CvaVariants<typeof variants>;
45
- /**
46
- * Props for the Button component
47
- * @template T - The HTML element type to render as (defaults to "button")
48
- */
49
43
  export type ButtonProps<T extends React.ElementType = "button"> = PropsWithChildren<PolymorphicProps<Variants & Partial<{
50
44
  /** Icon to display in the button */
51
45
  icon: Label;
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/core/button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAa,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1D;;;GAGG;AACH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCb,CAAC;AAeF,KAAK,QAAQ,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,iBAAiB,CAC/E,gBAAgB,CAAC,QAAQ,GAAG,OAAO,CAAC;IAChC,oCAAoC;IACpC,IAAI,EAAE,KAAK,CAAC;IACZ,+CAA+C;IAC/C,OAAO,EAAE,OAAO,CAAA;CACnB,CAAC,EAAE,CAAC,CAAC,CACT,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,MAAM,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAwBjF,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/core/button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAa,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1D,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCb,CAAC;AAUF,KAAK,QAAQ,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,iBAAiB,CAC/E,gBAAgB,CACZ,QAAQ,GACJ,OAAO,CAAC;IACJ,oCAAoC;IACpC,IAAI,EAAE,KAAK,CAAC;IACZ,+CAA+C;IAC/C,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC,EACN,CAAC,CACJ,CACJ,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,MAAM,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAwBjF,CAAC"}
@@ -2,10 +2,6 @@ import { cva } from "class-variance-authority";
2
2
  import React, { forwardRef } from "react";
3
3
  import { css } from "../../lib/dom";
4
4
  import { Polymorph } from "./polymorph";
5
- /**
6
- * Button variant definitions for styling
7
- * @internal
8
- */
9
5
  const variants = {
10
6
  size: {
11
7
  icon: "p-1",
@@ -16,7 +12,7 @@ const variants = {
16
12
  tiny: "h-6 px-2 py-1 text-sm",
17
13
  },
18
14
  rounded: {
19
- rough: "rounded-xs",
15
+ rough: "rounded-sm",
20
16
  squared: "rounded-none",
21
17
  default: "rounded-button",
22
18
  circle: "rounded-full aspect-square",
@@ -30,24 +26,21 @@ const variants = {
30
26
  warn: "bg-button-warn-bg text-button-warn-text",
31
27
  muted: "bg-button-muted-bg text-button-muted-text",
32
28
  danger: "bg-button-danger-bg text-button-danger-text",
33
- neutral: "bg-transparent border-2 border-card-border",
29
+ neutral: "bg-transparent border-1 border-card-border",
34
30
  primary: "bg-button-primary-bg text-button-primary-text",
35
31
  success: "bg-button-success-bg text-button-success-text",
36
32
  secondary: "bg-button-secondary-bg text-button-secondary-text",
37
- "ghost-info": "bg-transparent hover:bg-info/20 border border-info text-info",
38
- "ghost-warn": "bg-transparent hover:bg-warn/20 border border-warn text-warn",
39
- "ghost-danger": "bg-transparent hover:bg-danger/20 border border-danger text-danger",
40
- "ghost-primary": "bg-transparent hover:bg-primary/20 border border-primary text-primary",
41
- "ghost-success": "bg-transparent hover:bg-success/20 border border-success text-success",
42
- "ghost-secondary": "bg-transparent hover:bg-secondary/20 border border-secondary text-secondary",
33
+ "ghost-info": "bg-transparent hover:bg-info/20 border-0 border-transparent text-info",
34
+ "ghost-warn": "bg-transparent hover:bg-warn/20 border-0 border-transparent text-warn",
35
+ "ghost-danger": "bg-transparent hover:bg-danger/20 border-0 border-transparent text-danger",
36
+ "ghost-primary": "bg-transparent hover:bg-primary/20 border-0 border-transparent text-primary",
37
+ "ghost-success": "bg-transparent hover:bg-success/20 border-0 border-transparent text-success",
38
+ "ghost-secondary": "bg-transparent hover:bg-secondary/20 border-0 border-transparent text-secondary",
39
+ "ghost-muted": "bg-transparent hover:bg-muted/20 border-0 border-transparent text-muted-foreground",
40
+ "ghost-neutral": "bg-transparent border-0 border-card-border",
43
41
  },
44
42
  };
45
- /**
46
- * Class variance authority configuration for button styling
47
- * Handles all visual states and variants of the button component
48
- * @internal
49
- */
50
- const buttonVariants = cva("relative overflow-hidden inline-flex duration-500 enabled:hover:bg-opacity-70 enabled:focus:bg-opacity-70 data-[loading=true]:opacity-30 data-[loading=true]:animate-pulse gap-1.5 items-center justify-center align-middle cursor-pointer whitespace-nowrap font-medium transition-colors ease-in disabled:cursor-not-allowed disabled:bg-opacity-40 disabled:text-opacity-80 focus-visible:outline-hidden focus-visible:ring-4 focus-visible:ring-ring", {
43
+ const buttonVariants = cva("relative overflow-hidden inline-flex duration-300 enabled:hover:bg-opacity-70 enabled:focus:bg-opacity-70 data-[loading=true]:opacity-30 data-[loading=true]:animate-pulse gap-1.5 items-center justify-center align-middle cursor-pointer whitespace-nowrap font-medium transition-colors ease-linear disabled:cursor-not-allowed disabled:bg-opacity-40 disabled:text-opacity-80 focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring", {
51
44
  variants,
52
45
  defaultVariants: { theme: "main", size: "default", rounded: "default" },
53
46
  });
@@ -1 +1 @@
1
- {"version":3,"file":"polymorph.d.ts","sourceRoot":"","sources":["../../../src/components/core/polymorph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,OAAO,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;AAE9E,MAAM,MAAM,gBAAgB,CAAC,KAAK,EAAE,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,GAAG;IACzE,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG;IACjD,GAAG,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,SAAS,kFAKrB,CAAC"}
1
+ {"version":3,"file":"polymorph.d.ts","sourceRoot":"","sources":["../../../src/components/core/polymorph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,OAAO,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;AAE9E,MAAM,MAAM,gBAAgB,CAAC,KAAK,EAAE,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,GAAG;IACvE,EAAE,CAAC,EAAE,CAAC,CAAC;CACV,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG;IAC3C,GAAG,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AAEN,eAAO,MAAM,SAAS,kFAGpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React from "react";
2
2
  export type Usable<T> = PromiseLike<T> | React.Context<T>;
3
3
  interface SlotProps extends React.HTMLAttributes<HTMLElement> {
4
4
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../src/components/core/slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiD/B,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAI1D,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAiBD,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,iFA6C3C;AAED,eAAO,MAAM,IAAI,+EAAqB,CAAC;AAgCvC,UAAU,cAAc;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,UAAU,kBAAmB,SAAQ,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC;IAC3D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,sBAOhD"}
1
+ {"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../src/components/core/slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgD/B,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAI1D,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAiBD,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,iFAyC3C;AAED,eAAO,MAAM,IAAI,+EAAqB,CAAC;AAgCvC,UAAU,cAAc;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,UAAU,kBAAmB,SAAQ,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC;IACzD,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,sBAOhD"}
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- const REACT_LAZY_TYPE = Symbol.for('react.lazy');
1
+ import * as React from "react";
2
+ const REACT_LAZY_TYPE = Symbol.for("react.lazy");
3
3
  function setRef(ref, value) {
4
- if (typeof ref === 'function') {
4
+ if (typeof ref === "function") {
5
5
  return ref(value);
6
6
  }
7
7
  else if (ref !== null && ref !== undefined) {
@@ -13,7 +13,7 @@ function composeRefs(...refs) {
13
13
  let hasCleanup = false;
14
14
  const cleanups = refs.map((ref) => {
15
15
  const cleanup = setRef(ref, node);
16
- if (!hasCleanup && typeof cleanup == 'function') {
16
+ if (!hasCleanup && typeof cleanup == "function") {
17
17
  hasCleanup = true;
18
18
  }
19
19
  return cleanup;
@@ -22,7 +22,7 @@ function composeRefs(...refs) {
22
22
  return () => {
23
23
  for (let i = 0; i < cleanups.length; i++) {
24
24
  const cleanup = cleanups[i];
25
- if (typeof cleanup == 'function') {
25
+ if (typeof cleanup == "function") {
26
26
  cleanup();
27
27
  }
28
28
  else {
@@ -33,23 +33,23 @@ function composeRefs(...refs) {
33
33
  }
34
34
  };
35
35
  }
36
- const use = React[' use '.trim().toString()];
36
+ const use = React[" use ".trim().toString()];
37
37
  function isPromiseLike(value) {
38
- return typeof value === 'object' && value !== null && 'then' in value;
38
+ return typeof value === "object" && value !== null && "then" in value;
39
39
  }
40
40
  function isLazyComponent(element) {
41
41
  return (element != null &&
42
- typeof element === 'object' &&
43
- '$$typeof' in element &&
42
+ typeof element === "object" &&
43
+ "$$typeof" in element &&
44
44
  element.$$typeof === REACT_LAZY_TYPE &&
45
- '_payload' in element &&
45
+ "_payload" in element &&
46
46
  isPromiseLike(element._payload));
47
47
  }
48
48
  export function createSlot(ownerName) {
49
49
  const SlotClone = createSlotClone(ownerName);
50
50
  const Slot = React.forwardRef((props, forwardedRef) => {
51
51
  let { children, ...slotProps } = props;
52
- if (isLazyComponent(children) && typeof use === 'function') {
52
+ if (isLazyComponent(children) && typeof use === "function") {
53
53
  children = use(children._payload);
54
54
  }
55
55
  const childrenArray = React.Children.toArray(children);
@@ -63,32 +63,28 @@ export function createSlot(ownerName) {
63
63
  // in grabbing its children (`newElement.props.children`)
64
64
  if (React.Children.count(newElement) > 1)
65
65
  return React.Children.only(null);
66
- return React.isValidElement(newElement)
67
- ? newElement.props.children
68
- : null;
66
+ return React.isValidElement(newElement) ? newElement.props.children : null;
69
67
  }
70
68
  else {
71
69
  return child;
72
70
  }
73
71
  });
74
72
  return (<SlotClone {...slotProps} ref={forwardedRef}>
75
- {React.isValidElement(newElement)
76
- ? React.cloneElement(newElement, undefined, newChildren)
77
- : null}
78
- </SlotClone>);
73
+ {React.isValidElement(newElement) ? React.cloneElement(newElement, undefined, newChildren) : null}
74
+ </SlotClone>);
79
75
  }
80
76
  return (<SlotClone {...slotProps} ref={forwardedRef}>
81
- {children}
82
- </SlotClone>);
77
+ {children}
78
+ </SlotClone>);
83
79
  });
84
80
  Slot.displayName = `${ownerName}.Slot`;
85
81
  return Slot;
86
82
  }
87
- export const Slot = createSlot('Slot');
83
+ export const Slot = createSlot("Slot");
88
84
  function createSlotClone(ownerName) {
89
85
  const SlotClone = React.forwardRef((props, forwardedRef) => {
90
86
  let { children, ...slotProps } = props;
91
- if (isLazyComponent(children) && typeof use === 'function') {
87
+ if (isLazyComponent(children) && typeof use === "function") {
92
88
  children = use(children._payload);
93
89
  }
94
90
  if (React.isValidElement(children)) {
@@ -105,7 +101,7 @@ function createSlotClone(ownerName) {
105
101
  SlotClone.displayName = `${ownerName}.SlotClone`;
106
102
  return SlotClone;
107
103
  }
108
- const SLOTTABLE_IDENTIFIER = Symbol('radix.slottable');
104
+ const SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
109
105
  export function createSlottable(ownerName) {
110
106
  const Slottable = ({ children }) => {
111
107
  return <>{children}</>;
@@ -114,12 +110,9 @@ export function createSlottable(ownerName) {
114
110
  Slottable.__radixId = SLOTTABLE_IDENTIFIER;
115
111
  return Slottable;
116
112
  }
117
- const Slottable = createSlottable('Slottable');
113
+ const Slottable = createSlottable("Slottable");
118
114
  function isSlottable(child) {
119
- return (React.isValidElement(child) &&
120
- typeof child.type === 'function' &&
121
- '__radixId' in child.type &&
122
- child.type.__radixId === SLOTTABLE_IDENTIFIER);
115
+ return (React.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER);
123
116
  }
124
117
  function mergeProps(slotProps, childProps) {
125
118
  const overrideProps = { ...childProps };
@@ -139,23 +132,23 @@ function mergeProps(slotProps, childProps) {
139
132
  overrideProps[propName] = slotPropValue;
140
133
  }
141
134
  }
142
- else if (propName === 'style') {
135
+ else if (propName === "style") {
143
136
  overrideProps[propName] = { ...slotPropValue, ...childPropValue };
144
137
  }
145
- else if (propName === 'className') {
146
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(' ');
138
+ else if (propName === "className") {
139
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
147
140
  }
148
141
  }
149
142
  return { ...slotProps, ...overrideProps };
150
143
  }
151
144
  function getElementRef(element) {
152
- let getter = Object.getOwnPropertyDescriptor(element.props, 'ref')?.get;
153
- let mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;
145
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
146
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
154
147
  if (mayWarn) {
155
148
  return element.ref;
156
149
  }
157
- getter = Object.getOwnPropertyDescriptor(element, 'ref')?.get;
158
- mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;
150
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
151
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
159
152
  if (mayWarn) {
160
153
  return element.props.ref;
161
154
  }
@@ -6,8 +6,8 @@ declare const variants: {
6
6
  icon: string;
7
7
  big: string;
8
8
  default: string;
9
- small: string;
10
9
  tiny: string;
10
+ small: string;
11
11
  };
12
12
  theme: {
13
13
  custom: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/core/tag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAa,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1D,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAqBb,CAAC;AAEF,KAAK,QAAQ,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C,KAAK,MAAM,GAAG,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAsB7C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,IAAI,gBAAgB,CACzE,WAAW,CAAC,OAAO,QAAQ,CAAC,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,EAC5F,CAAC,CACJ,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,GAkBnE,CAAC"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/core/tag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAa,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1D,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAqBb,CAAC;AAEF,KAAK,QAAQ,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C,KAAK,MAAM,GAAG,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAyB7C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,IAAI,gBAAgB,CACzE,WAAW,CAAC,OAAO,QAAQ,CAAC,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,EAC5F,CAAC,CACJ,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,GAkBnE,CAAC"}
@@ -7,8 +7,8 @@ const variants = {
7
7
  icon: "p-1",
8
8
  big: "h-12 px-6 py-4",
9
9
  default: "h-8 px-4 py-2",
10
+ tiny: "h-5 p-1 px-2 text-xs",
10
11
  small: "h-6 p-2 px-3 text-sm",
11
- tiny: "h-6 p-2 px-3 text-xs",
12
12
  },
13
13
  theme: {
14
14
  custom: "",
@@ -24,7 +24,7 @@ const variants = {
24
24
  loading: "animate-pulse bg-disabled duration-700 opacity-70",
25
25
  },
26
26
  };
27
- const indicatorVariant = cva("size-2.5 aspect-square rounded-full border-0", {
27
+ const indicatorVariant = cva("size-2 aspect-square rounded-full border-0", {
28
28
  variants: {
29
29
  theme: {
30
30
  info: "bg-info",
@@ -38,7 +38,7 @@ const indicatorVariant = cva("size-2.5 aspect-square rounded-full border-0", {
38
38
  },
39
39
  },
40
40
  });
41
- const tagVariants = cva("inline-flex rounded-pill gap-1.5 border-0 items-center justify-center align-middle whitespace-nowrap", {
41
+ const tagVariants = cva("inline-flex rounded-pill gap-1.5 border-0 items-center justify-center align-middle whitespace-nowrap ease-linear duration-300 transition-all", {
42
42
  variants,
43
43
  defaultVariants: { theme: "primary", size: "default" },
44
44
  });
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/core/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,CAAC,GAAG,CAAC,sBAEnD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,cAAc,CAAC,GAAG,CAAC,sBAErD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,sBAS7D,C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F,eAAO,MAAM,UAAU,GAAI,OAAO,iBAAiB,CAAC,eAAe,CAAC,sBASnE,CAAC"}
@@ -1,26 +1,22 @@
1
1
  import React, { Fragment } from "react";
2
2
  import { css } from "../../lib/dom";
3
- export const Paragraph = (props) => (<p {...props} className={css("text-base leading-snug", props.className)}/>);
4
- export const Description = (props) => (<p {...props} className={css("mb-kilo text-sm text-secondary", props.className)}/>);
3
+ export const Paragraph = (props) => <p {...props} className={css("text-base leading-snug", props.className)}/>;
4
+ export const Description = (props) => <p {...props} className={css("mb-kilo text-sm text-secondary", props.className)}/>;
5
5
  export const Info = (props) => (<div className={css(`flex ${props.row ? "flex-row items-center" : "flex-col"} gap-1`, props.className)}>
6
- <Fragment>
7
- <span className="text-sm font-medium tracking-wide">{props.row ? `${props.label}:` : props.label}</span>
8
- <span className={`w-fit ${props.disabled ? "text-disabled" : ""} ${props.row ? "text-base" : "text-lg"}`}>
9
- {props.children}
10
- </span>
11
- </Fragment>
12
- </div>);
6
+ <Fragment>
7
+ <span className="text-sm font-medium tracking-wide">{props.row ? `${props.label}:` : props.label}</span>
8
+ <span className={css(props.disabled ? "text-disabled" : "", props.row ? "w-fit text-base" : "w-full text-lg")}>{props.children}</span>
9
+ </Fragment>
10
+ </div>);
13
11
  export const PageTitle = (props) => (<div>
14
- <h2 className="text-3xl font-bold typography tracking-wide">{props.title}</h2>
15
- <p className="text-secondary typography">{props.children}</p>
16
- </div>);
12
+ <h2 className="typography text-3xl font-bold tracking-wide">{props.title}</h2>
13
+ <p className="typography text-secondary">{props.children}</p>
14
+ </div>);
17
15
  export const PageHeader = (props) => {
18
- return (<header className="flex flex-row flex-wrap justify-between items-center gap-mega">
19
- <div>
20
- <PageTitle title={props.title}>{props.description}</PageTitle>
21
- </div>
22
- <div className="flex gap-kilo items-center flex-wrap">
23
- {props.children}
24
- </div>
25
- </header>);
16
+ return (<header className="gap-mega flex flex-row flex-wrap items-center justify-between">
17
+ <div>
18
+ <PageTitle title={props.title}>{props.description}</PageTitle>
19
+ </div>
20
+ <div className="gap-kilo flex flex-wrap items-center">{props.children}</div>
21
+ </header>);
26
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/display/alert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,eAAe,EAAU,MAAM,cAAc,CAAC;AAExE,OAAO,KAAK,EAAE,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAa,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAahE,KAAK,aAAa,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpE,eAAO,MAAM,QAAQ,GAAI,OAAO,iBAAiB,CAAC,aAAa,CAAC,sBAiB/D,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;CAUlB,CAAC;AAOF,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI,gBAAgB,CAC1E,WAAW,CAAC,OAAO,aAAa,CAAC,GACjC,OAAO,CAAC;IACJ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC,EACF,CAAC,CACJ,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,GA6CxE,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/display/alert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,eAAe,EAAU,MAAM,cAAc,CAAC;AAExE,OAAO,KAAK,EAAE,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAa,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAahE,KAAK,aAAa,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpE,eAAO,MAAM,QAAQ,GAAI,OAAO,iBAAiB,CAAC,aAAa,CAAC,sBAiB/D,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;CAUlB,CAAC;AAOF,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI,gBAAgB,CAC1E,WAAW,CAAC,OAAO,aAAa,CAAC,GAC7B,OAAO,CAAC;IACJ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC,EACN,CAAC,CACJ,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,GAiDxE,CAAC"}
@@ -35,22 +35,24 @@ const alertVariants = cva("p-4 w-full block border relative rounded-lg text-sm",
35
35
  export const Alert = forwardRef(function Alert({ className, theme, Icon, onClose, open = true, ...props }, ref) {
36
36
  const close = () => onClose?.(false);
37
37
  return (<AnimatePresence presenceAffectsLayout propagate mode="sync">
38
- {open ? <motion.div data-open={!!open} aria-hidden={!open} data-component="alert" className={css("isolate w-full", open ? "pointer-events-auto" : "pointer-events-none")}>
39
- <Collapse data-open={!!open} open={!!open}>
40
- <Polymorph {...props} ref={ref} role="alert" data-theme={theme} as={props.as ?? "div"} className={css(alertVariants({ theme }), className)}>
41
- <h4 className="flex gap-2 items-center mb-2">
42
- {!Icon && theme === "success" ? <CheckCircleIcon aria-hidden="true" size={20}/> : null}
43
- {!Icon && theme === "info" ? <InfoIcon aria-hidden="true" size={20}/> : null}
44
- {!Icon && theme === "danger" ? <TriangleAlertIcon aria-hidden="true" size={20}/> : null}
45
- {Icon}
46
- <span className="text-lg font-semibold tracking-3 text-balance">{props.title}</span>
47
- </h4>
48
- {props.children}
49
- {onClose !== undefined && open ? (<button type="button" onClick={close} className="absolute top-3 right-3 transition-colors duration-300 ease-in-out text-foreground hover:text-danger">
50
- <XIcon size={20}/>
51
- </button>) : null}
52
- </Polymorph>
53
- </Collapse>
54
- </motion.div> : null}
38
+ {open ? (<motion.div data-open={!!open} aria-hidden={!open} data-component="alert" className={css("isolate w-full", open ? "pointer-events-auto" : "pointer-events-none")}>
39
+ <Collapse data-open={!!open} open={!!open}>
40
+ <Polymorph {...props} ref={ref} role="alert" data-theme={theme} as={props.as ?? "div"} className={css(alertVariants({ theme }), className)}>
41
+ <div className="grid grid-cols-[auto_1fr] gap-base">
42
+ {onClose !== undefined && open ? (<button type="button" onClick={close} className="absolute right-3 top-3 text-foreground transition-colors duration-300 ease-in-out hover:text-danger">
43
+ <XIcon size={20}/>
44
+ </button>) : null}
45
+ <div className={css("flex items-center gap-2", props.title ? "" : "w-fit")}>
46
+ {!Icon && theme === "success" ? <CheckCircleIcon aria-hidden="true" size={20}/> : null}
47
+ {!Icon && theme === "info" ? <InfoIcon aria-hidden="true" size={20}/> : null}
48
+ {!Icon && theme === "danger" ? <TriangleAlertIcon aria-hidden="true" size={20}/> : null}
49
+ {Icon}
50
+ </div>
51
+ {props.title ? <h4 className="tracking-3 col-start-2 text-balance text-lg font-semibold">{props.title}</h4> : null}
52
+ <div className="col-start-2 w-full">{props.children}</div>
53
+ </div>
54
+ </Polymorph>
55
+ </Collapse>
56
+ </motion.div>) : null}
55
57
  </AnimatePresence>);
56
58
  });
@@ -1 +1 @@
1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AI,EAAE,IAAI,EAAE,KAAK,MAAM,CAAC,CAAC;IAC1C,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,MAAM,CAAC,CAAC;CACxD,CAAC,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAChC,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,YAAY,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACtC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC;IACtC,QAAQ,EAAE,aAAa,GAAG,YAAY,CAAC;IACvC,UAAU,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5C,CAAC,CAAC;AA2IH,eAAO,MAAM,QAAQ,GAAI,qLAgBtB,aAAa,sBAwRf,CAAC"}
@@ -79,8 +79,9 @@ const CalendarBody = (props) => {
79
79
  const sameMonth = isSameMonth(day, props.stateDate);
80
80
  const disableDate = !sameMonth || disabledByFn;
81
81
  const isInRange = props.rangeMode ? inRange(props.range?.from, day, props.range?.to) : false;
82
- return (<td key={key} align="center" className={css("relative", Is.function(props.styles?.dayFrame) ? props.styles?.dayFrame(day) : props.styles?.dayFrame)}>
83
- <button type="button" data-date={key} disabled={disabledByFn} data-samemonth={sameMonth} data-range={props.rangeMode} onClick={props.dispatch.onSelectDate} data-view={props.stateDate.getMonth().toString()} className={css(`flex size-10 items-center justify-center rounded-full proportional-nums disabled:cursor-not-allowed ${today ? "text-emphasis" : ""} ${disableDate ? "text-disabled" : ""} ${isSelected ? "bg-primary text-primary-foreground" : ""}`, isInRange && props.markRange ? "size-10 border border-dashed border-card-border" : "", Is.function(props.styles?.day) ? props.styles?.day(day) : props.styles?.day)}>
82
+ return (<td key={key} align="center" className={css("relative p-1", Is.function(props.styles?.dayFrame) ? props.styles?.dayFrame(day) : props.styles?.dayFrame)}>
83
+ <button type="button" data-date={key} disabled={disabledByFn} data-samemonth={sameMonth} data-range={props.rangeMode} onClick={props.dispatch.onSelectDate} data-view={props.stateDate.getMonth().toString()} className={css(`relative flex size-9 items-center justify-center rounded-full proportional-nums disabled:cursor-not-allowed ${today ? "text-emphasis" : ""} ${disableDate ? "text-disabled" : ""} ${isSelected ? "bg-primary text-primary-foreground" : ""}`, isInRange && props.markRange ? "size-9 border border-dashed border-card-border" : "", Is.function(props.styles?.day) ? props.styles?.day(day) : props.styles?.day)}>
84
+ <div></div>
84
85
  {day.getDate()}
85
86
  {isSelected && props.stateRange.from?.toISOString() === key ? (<span className="absolute -top-2 left-0 h-full w-full">
86
87
  <span className="text-xs text-foreground">
@@ -243,7 +244,7 @@ export const Calendar = ({ RenderOnDay, changeOnlyOnClick = false, labelRange, d
243
244
  };
244
245
  return (<MotionConfig transition={transition}>
245
246
  <div ref={root} data-component="calendar" onTouchEnd={swipe.onTouchEnd} onTouchStart={swipe.onTouchStart} className={css("relative overflow-hidden", Is.function(styles?.calendar) ? styles?.calendar(allDaysOfMonth) : styles?.calendar)}>
246
- <div className="flex flex-col justify-center rounded-sm text-center">
247
+ <div className="flex flex-col justify-center rounded text-center">
247
248
  <AnimatePresence initial={false} mode="popLayout" custom={state.direction} onExitComplete={dispatch.onExitComplete}>
248
249
  <motion.div key={monthString} initial="enter" animate="middle" exit="exit">
249
250
  <header className="relative flex justify-between">
@@ -261,9 +262,6 @@ export const Calendar = ({ RenderOnDay, changeOnlyOnClick = false, labelRange, d
261
262
  <motion.button layout type="button" data-focustrap="next" variants={removeImmediately} onClick={dispatch.nextMonth} title={translations.calendarNextMonth} className="z-calendar rounded-full p-1.5 hover:bg-primary hover:text-primary-foreground">
262
263
  <ChevronRightIcon className="h-4 w-4"/>
263
264
  </motion.button>
264
- <div className="absolute inset-0" style={{
265
- backgroundImage: "linear-gradient(to right, hsla(var(--card-background)) 15%, transparent 30%, transparent 70%, hsla(var(--card-background)) 85%)",
266
- }}/>
267
265
  </header>
268
266
  <motion.table className="mt-2 table min-w-full table-auto border-0">
269
267
  <thead>
@@ -278,8 +276,8 @@ export const Calendar = ({ RenderOnDay, changeOnlyOnClick = false, labelRange, d
278
276
  </motion.div>
279
277
  </AnimatePresence>
280
278
  </div>
281
- {type === "datetime" ? (<section className="grid items-center my-4">
282
- <Input info={null} mask="time" optionalText=" " container="w-full" reportStatus={false} defaultValue={date ? format(date, "HH:mm") : undefined} title={datetimeTitle || translations.calendarDatetimeTitle} onChange={e => {
279
+ {type === "datetime" ? (<section className="my-4 grid items-center">
280
+ <Input info={null} mask="time" optionalText=" " container="w-full" reportStatus={false} defaultValue={date ? format(date, "HH:mm") : undefined} title={datetimeTitle || translations.calendarDatetimeTitle} onChange={(e) => {
283
281
  const value = e.target.value;
284
282
  const match = timeRegex.exec(value);
285
283
  if (!match)
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/display/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAa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c,sBAuB9C,CAAC"}
@@ -4,8 +4,8 @@ import { Is } from "sidekicker";
4
4
  import { css } from "../../lib/dom";
5
5
  import { Polymorph } from "../core/polymorph";
6
6
  import { Skeleton } from "./skeleton";
7
- export const Card = ({ title, loading, children, as, header = null, container = "", titleClassName = "", ...props }) => (<Polymorph {...props} as={as || "div"} data-component="card" className={css("flex shadow-shadow-card flex-col gap-4 rounded-card border border-card-border bg-card-background w-full py-4", container)}>
8
- {title ? (<header data-component="card-title" className={css("mb-2 w-full border-b border-card-border px-6 pb-4 text-xl font-medium", titleClassName)}>
7
+ export const Card = ({ title, loading, children, as, header = null, container = "", titleClassName = "", ...props }) => (<Polymorph {...props} as={as || "div"} data-component="card" className={css("flex w-full flex-col gap-4 rounded-card border border-card-border bg-card-background py-3 shadow-shadow-card", container)}>
8
+ {title ? (<header data-component="card-title" className={css("mb-2 w-full border-b border-card-border px-6 pb-2 text-xl font-medium", titleClassName)}>
9
9
  {title}
10
10
  </header>) : (header)}
11
11
  <div data-component="card-body" className={css("min-w-full px-6", props.className)}>
@@ -14,7 +14,7 @@ export const Card = ({ title, loading, children, as, header = null, container =
14
14
  <Skeleton className="w-8/12"/>
15
15
  <Skeleton className="w-10/12"/>
16
16
  <Skeleton className="w-1/2"/>
17
- </div>) : children}
17
+ </div>) : (children)}
18
18
  </div>
19
19
  </Polymorph>);
20
20
  Card.Title = ({ as, titleTag, navTag, children, ...props }) => {
@@ -23,18 +23,18 @@ Card.Title = ({ as, titleTag, navTag, children, ...props }) => {
23
23
  const Nav = (navTag || "nav");
24
24
  return (<Component {...props} title={Is.string(props.title) ? props.title : undefined} className={css("flex w-full flex-col flex-wrap items-start justify-between gap-base sm:flex-row sm:items-center", props.className)}>
25
25
  <Title className="font-semibold">{props.title}</Title>
26
- {children ? (<Nav className="flex flex-col justify-start items-start sm:flex-row sm:justify-end sm:items-center gap-kilo">{children}</Nav>) : null}
26
+ {children ? (<Nav className="gap-kilo flex flex-col items-start justify-start sm:flex-row sm:items-center sm:justify-end">{children}</Nav>) : null}
27
27
  </Component>);
28
28
  };
29
29
  export const StatsCard = (props) => {
30
30
  const interactive = props.interactive ?? true;
31
31
  const Icon = props.Icon ?? InfoIcon;
32
- return (<Card {...props} title={null} loading={undefined} container="px-0 py-0" className="flex gap-4 items-center px-0">
32
+ return (<Card {...props} title={null} loading={undefined} container="px-0 py-0" className="flex items-center gap-4 px-0">
33
33
  <div className={`flex w-full items-center gap-4 rounded-card px-0 lg:px-0 ${interactive ? "transition-colors duration-300 ease-linear hover:bg-primary-hover/10" : ""}`}>
34
34
  <div className={css("flex aspect-square h-[stretch] w-20 items-center justify-center rounded-l-card bg-primary p-4 text-primary-foreground", props.mark)}>
35
35
  {<Icon size={48}/>}
36
36
  </div>
37
- <div className="flex flex-col gap-2 justify-center py-2">
37
+ <div className="flex flex-col justify-center gap-2 py-2">
38
38
  <p className="text-lg">{props.title}</p>
39
39
  {props.loading ? <Skeleton className="h-10"/> : <p className="text-4xl font-bold tracking-wide">{props.value}</p>}
40
40
  </div>
@@ -4,7 +4,7 @@ import { useTranslations } from "../../hooks/use-translations";
4
4
  export const Empty = (props) => {
5
5
  const Icon = props.Icon ?? FileIcon;
6
6
  const translate = useTranslations();
7
- return (<div className="flex flex-col gap-4 justify-center items-center py-12 px-8 w-full">
7
+ return (<div className="flex w-full flex-col items-center justify-center gap-4 px-8 py-12">
8
8
  <Icon size={64} className="text-disabled"/>
9
9
  <p className="text-disabled">{props.message ?? translate.emptyDataMessage}</p>
10
10
  </div>);
@@ -5,9 +5,11 @@ declare const variants: (props?: ({
5
5
  theme?: "info" | "warn" | "muted" | "danger" | "success" | "secondary" | "default" | null | undefined;
6
6
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
7
  type NotificationOptions = Partial<{
8
+ id: string;
8
9
  title: Label;
9
10
  timeout: number;
10
11
  closable: boolean;
12
+ loading: boolean;
11
13
  theme: VariantProps<typeof variants>["theme"];
12
14
  }>;
13
15
  type NotificationSubscriber = {
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../src/components/display/notifications.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAiB,KAAK,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAE/F,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,QAAA,MAAM,QAAQ;;mFAgBb,CAAC;AAEF,KAAK,mBAAmB,GAAG,OAAO,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,CAAC,CAAC;AAIH,KAAK,sBAAsB,GAAG;IAAE,KAAK,EAAE,MAAM,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEvE,KAAK,eAAe,GAAG,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,mBAAmB,KAAK,sBAAsB,CAAC;AAMlG,eAAO,MAAM,eAAe,uBAAwC,CAAC;AAwDrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAqE1E,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAO,EAAE,OAAc,EAAE,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,+BAMxG"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../src/components/display/notifications.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAiB,KAAK,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAG/F,OAAO,EAAE,K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