@byline/ui 4.11.0 → 4.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/components/accordion/accordion.js +6 -6
  2. package/dist/components/avatar/avatar.js +5 -5
  3. package/dist/components/badge/badge.js +2 -2
  4. package/dist/components/button/button-group.js +2 -2
  5. package/dist/components/button/button.js +2 -2
  6. package/dist/components/button/combo-button.js +8 -8
  7. package/dist/components/button/control-buttons.js +4 -4
  8. package/dist/components/button/copy-button.js +3 -3
  9. package/dist/components/button/icon-button.js +2 -2
  10. package/dist/components/card/card.js +7 -7
  11. package/dist/components/chips/chip.js +6 -6
  12. package/dist/components/container/container.js +2 -2
  13. package/dist/components/dropdown/dropdown.js +9 -9
  14. package/dist/components/hamburger/hamburger.js +4 -4
  15. package/dist/components/inputs/autocomplete.js +10 -10
  16. package/dist/components/inputs/calendar.js +24 -24
  17. package/dist/components/inputs/checkbox-group.js +2 -2
  18. package/dist/components/inputs/checkbox.js +6 -6
  19. package/dist/components/inputs/error-text.js +2 -2
  20. package/dist/components/inputs/help-text.js +2 -2
  21. package/dist/components/inputs/input-adornment.js +2 -2
  22. package/dist/components/inputs/input.js +6 -6
  23. package/dist/components/inputs/label.js +2 -2
  24. package/dist/components/inputs/radio-group.js +3 -3
  25. package/dist/components/inputs/select.js +6 -6
  26. package/dist/components/inputs/text-area.js +3 -3
  27. package/dist/components/notifications/alert.js +11 -11
  28. package/dist/components/notifications/toast.js +8 -8
  29. package/dist/components/pager/ellipses.js +2 -2
  30. package/dist/components/pager/first-button.js +2 -2
  31. package/dist/components/pager/last-button.js +2 -2
  32. package/dist/components/pager/next-button.js +2 -2
  33. package/dist/components/pager/number-button.js +3 -3
  34. package/dist/components/pager/pagination.js +3 -3
  35. package/dist/components/pager/previous-button.js +2 -2
  36. package/dist/components/scroll-area/scroll-area.js +8 -8
  37. package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
  38. package/dist/components/section/section.js +2 -2
  39. package/dist/components/shimmer/shimmer.js +4 -4
  40. package/dist/components/table/table.js +10 -10
  41. package/dist/components/tabs/tabs.js +5 -5
  42. package/dist/components/tooltip/tooltip.js +3 -3
  43. package/dist/dnd/draggable-sortable/demo/draggable-list-demo.js +5 -5
  44. package/dist/icons/activity-icon.js +3 -3
  45. package/dist/icons/ai-icon.js +3 -3
  46. package/dist/icons/byline-icon.js +3 -3
  47. package/dist/icons/calendar-icon.js +3 -3
  48. package/dist/icons/check-icon.js +3 -3
  49. package/dist/icons/chevron-down-icon.js +3 -3
  50. package/dist/icons/chevron-left-double-icon.js +3 -3
  51. package/dist/icons/chevron-left-icon.js +3 -3
  52. package/dist/icons/chevron-right-double-icon.js +3 -3
  53. package/dist/icons/chevron-right-icon.js +3 -3
  54. package/dist/icons/chevron-up-icon.js +3 -3
  55. package/dist/icons/chevrons-up-down.js +3 -3
  56. package/dist/icons/close-icon.js +3 -3
  57. package/dist/icons/copy-icon.js +3 -3
  58. package/dist/icons/danger-icon.js +3 -3
  59. package/dist/icons/dashboard-icon.js +3 -3
  60. package/dist/icons/delete-icon.js +3 -3
  61. package/dist/icons/document-icon.js +3 -3
  62. package/dist/icons/download-icon.js +3 -3
  63. package/dist/icons/edit-icon.js +3 -3
  64. package/dist/icons/ellipsis-icon.js +3 -3
  65. package/dist/icons/email-icon.js +3 -3
  66. package/dist/icons/external-link-icon.js +3 -3
  67. package/dist/icons/eye-closed-icon.js +3 -3
  68. package/dist/icons/eye-open-icon.js +3 -3
  69. package/dist/icons/github-icon.js +3 -3
  70. package/dist/icons/globe-icon.js +3 -3
  71. package/dist/icons/google-icon.js +2 -2
  72. package/dist/icons/gripper-vertical-icon.js +3 -3
  73. package/dist/icons/history-icon.js +3 -3
  74. package/dist/icons/home-icon.js +3 -3
  75. package/dist/icons/icon-element.js +2 -2
  76. package/dist/icons/info-icon.js +3 -3
  77. package/dist/icons/infonomic-icon.js +3 -3
  78. package/dist/icons/light-icon.js +3 -3
  79. package/dist/icons/location-pin-icon.js +3 -3
  80. package/dist/icons/markdown-icon.js +3 -3
  81. package/dist/icons/moon-icon.js +3 -3
  82. package/dist/icons/plus-icon.js +3 -3
  83. package/dist/icons/primary-icon.js +3 -3
  84. package/dist/icons/refresh-icon.js +3 -3
  85. package/dist/icons/return-icon.js +3 -3
  86. package/dist/icons/roles-icon.js +3 -3
  87. package/dist/icons/search-icon.js +3 -3
  88. package/dist/icons/search-menu-icon.js +3 -3
  89. package/dist/icons/settings-gear-icon.js +3 -3
  90. package/dist/icons/settings-sliders-icon.js +3 -3
  91. package/dist/icons/sign-out-icon.js +3 -3
  92. package/dist/icons/stop-icon.js +3 -3
  93. package/dist/icons/stopwatch-icon.js +3 -3
  94. package/dist/icons/success-icon.js +3 -3
  95. package/dist/icons/user-icon.js +3 -3
  96. package/dist/icons/users-icon.js +3 -3
  97. package/dist/icons/video-icon.js +3 -3
  98. package/dist/icons/wallet-icon.js +3 -3
  99. package/dist/icons/warning-icon.js +3 -3
  100. package/dist/icons/x-icon.js +3 -3
  101. package/dist/loaders/ellipses.js +3 -3
  102. package/dist/loaders/ring.js +3 -3
  103. package/dist/loaders/spinner.js +4 -4
  104. package/dist/widgets/datepicker/datepicker.js +12 -12
  105. package/dist/widgets/drawer/drawer-container.js +2 -2
  106. package/dist/widgets/drawer/drawer-content.js +2 -2
  107. package/dist/widgets/drawer/drawer-header.js +2 -2
  108. package/dist/widgets/drawer/drawer-top-actions.js +2 -2
  109. package/dist/widgets/drawer/drawer.js +4 -4
  110. package/dist/widgets/image-lightbox/image-lightbox.js +9 -9
  111. package/dist/widgets/modal/modal-actions.js +2 -2
  112. package/dist/widgets/modal/modal-container.js +2 -2
  113. package/dist/widgets/modal/modal-content.js +2 -2
  114. package/dist/widgets/modal/modal-header.js +2 -2
  115. package/dist/widgets/modal/modal.js +3 -3
  116. package/dist/widgets/timeline/timeline.js +8 -8
  117. package/package.json +13 -13
  118. package/src/components/accordion/accordion.tsx +1 -1
  119. package/src/components/avatar/avatar.tsx +1 -1
  120. package/src/components/badge/badge.tsx +1 -1
  121. package/src/components/button/button-group.tsx +1 -1
  122. package/src/components/button/button.tsx +1 -1
  123. package/src/components/button/combo-button.tsx +1 -1
  124. package/src/components/button/control-buttons.tsx +1 -1
  125. package/src/components/button/copy-button.tsx +1 -1
  126. package/src/components/button/icon-button.tsx +1 -1
  127. package/src/components/card/card.tsx +1 -1
  128. package/src/components/chips/chip.tsx +1 -1
  129. package/src/components/container/container.tsx +1 -1
  130. package/src/components/dropdown/dropdown.tsx +1 -1
  131. package/src/components/hamburger/hamburger.tsx +1 -1
  132. package/src/components/inputs/autocomplete.tsx +1 -1
  133. package/src/components/inputs/calendar.tsx +1 -1
  134. package/src/components/inputs/checkbox-group.tsx +1 -1
  135. package/src/components/inputs/checkbox.tsx +1 -1
  136. package/src/components/inputs/error-text.tsx +1 -1
  137. package/src/components/inputs/help-text.tsx +1 -1
  138. package/src/components/inputs/input-adornment.tsx +1 -1
  139. package/src/components/inputs/input.tsx +1 -1
  140. package/src/components/inputs/label.tsx +1 -1
  141. package/src/components/inputs/radio-group.tsx +1 -1
  142. package/src/components/inputs/select.tsx +1 -1
  143. package/src/components/inputs/text-area.tsx +1 -1
  144. package/src/components/notifications/alert.tsx +1 -1
  145. package/src/components/notifications/toast.tsx +1 -1
  146. package/src/components/pager/ellipses.tsx +1 -1
  147. package/src/components/pager/first-button.tsx +1 -1
  148. package/src/components/pager/last-button.tsx +1 -1
  149. package/src/components/pager/next-button.tsx +1 -1
  150. package/src/components/pager/number-button.tsx +1 -1
  151. package/src/components/pager/pagination.tsx +1 -1
  152. package/src/components/pager/previous-button.tsx +1 -1
  153. package/src/components/scroll-area/scroll-area.tsx +1 -1
  154. package/src/components/scroll-to-top/scroll-to-top.tsx +1 -1
  155. package/src/components/section/section.tsx +1 -1
  156. package/src/components/shimmer/shimmer.tsx +1 -1
  157. package/src/components/table/table.tsx +1 -1
  158. package/src/components/tabs/tabs.tsx +1 -1
  159. package/src/components/tooltip/tooltip.tsx +1 -1
  160. package/src/dnd/draggable-sortable/demo/draggable-list-demo.tsx +1 -1
  161. package/src/icons/activity-icon.tsx +1 -1
  162. package/src/icons/ai-icon.tsx +1 -1
  163. package/src/icons/byline-icon.tsx +1 -1
  164. package/src/icons/calendar-icon.tsx +1 -1
  165. package/src/icons/check-icon.tsx +1 -1
  166. package/src/icons/chevron-down-icon.tsx +1 -1
  167. package/src/icons/chevron-left-double-icon.tsx +1 -1
  168. package/src/icons/chevron-left-icon.tsx +1 -1
  169. package/src/icons/chevron-right-double-icon.tsx +1 -1
  170. package/src/icons/chevron-right-icon.tsx +1 -1
  171. package/src/icons/chevron-up-icon.tsx +1 -1
  172. package/src/icons/chevrons-up-down.tsx +1 -1
  173. package/src/icons/close-icon.tsx +1 -1
  174. package/src/icons/copy-icon.tsx +1 -1
  175. package/src/icons/danger-icon.tsx +1 -1
  176. package/src/icons/dashboard-icon.tsx +1 -1
  177. package/src/icons/delete-icon.tsx +1 -1
  178. package/src/icons/document-icon.tsx +1 -1
  179. package/src/icons/download-icon.tsx +1 -1
  180. package/src/icons/edit-icon.tsx +1 -1
  181. package/src/icons/ellipsis-icon.tsx +1 -1
  182. package/src/icons/email-icon.tsx +1 -1
  183. package/src/icons/external-link-icon.tsx +1 -1
  184. package/src/icons/eye-closed-icon.tsx +1 -1
  185. package/src/icons/eye-open-icon.tsx +1 -1
  186. package/src/icons/github-icon.tsx +1 -1
  187. package/src/icons/globe-icon.tsx +1 -1
  188. package/src/icons/google-icon.tsx +1 -1
  189. package/src/icons/gripper-vertical-icon.tsx +1 -1
  190. package/src/icons/history-icon.tsx +1 -1
  191. package/src/icons/home-icon.tsx +1 -1
  192. package/src/icons/icon-element.tsx +1 -1
  193. package/src/icons/info-icon.tsx +1 -1
  194. package/src/icons/infonomic-icon.tsx +1 -1
  195. package/src/icons/light-icon.tsx +1 -1
  196. package/src/icons/location-pin-icon.tsx +1 -1
  197. package/src/icons/markdown-icon.tsx +1 -1
  198. package/src/icons/moon-icon.tsx +1 -1
  199. package/src/icons/plus-icon.tsx +1 -1
  200. package/src/icons/primary-icon.tsx +1 -1
  201. package/src/icons/refresh-icon.tsx +1 -1
  202. package/src/icons/return-icon.tsx +1 -1
  203. package/src/icons/roles-icon.tsx +1 -1
  204. package/src/icons/search-icon.tsx +1 -1
  205. package/src/icons/search-menu-icon.tsx +1 -1
  206. package/src/icons/settings-gear-icon.tsx +1 -1
  207. package/src/icons/settings-sliders-icon.tsx +1 -1
  208. package/src/icons/sign-out-icon.tsx +1 -1
  209. package/src/icons/stop-icon.tsx +1 -1
  210. package/src/icons/stopwatch-icon.tsx +1 -1
  211. package/src/icons/success-icon.tsx +1 -1
  212. package/src/icons/user-icon.tsx +1 -1
  213. package/src/icons/users-icon.tsx +1 -1
  214. package/src/icons/video-icon.tsx +1 -1
  215. package/src/icons/wallet-icon.tsx +1 -1
  216. package/src/icons/warning-icon.tsx +1 -1
  217. package/src/icons/x-icon.tsx +1 -1
  218. package/src/loaders/ellipses.tsx +1 -1
  219. package/src/loaders/ring.tsx +1 -1
  220. package/src/loaders/spinner.tsx +1 -1
  221. package/src/widgets/datepicker/datepicker.tsx +1 -1
  222. package/src/widgets/drawer/drawer-container.tsx +1 -1
  223. package/src/widgets/drawer/drawer-content.tsx +1 -1
  224. package/src/widgets/drawer/drawer-header.tsx +1 -1
  225. package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
  226. package/src/widgets/drawer/drawer.tsx +1 -1
  227. package/src/widgets/image-lightbox/image-lightbox.tsx +1 -1
  228. package/src/widgets/modal/modal-actions.tsx +1 -1
  229. package/src/widgets/modal/modal-container.tsx +1 -1
  230. package/src/widgets/modal/modal-content.tsx +1 -1
  231. package/src/widgets/modal/modal-header.tsx +1 -1
  232. package/src/widgets/modal/modal.tsx +1 -1
  233. package/src/widgets/timeline/timeline.tsx +1 -1
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import react from "react";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { ChevronLeftIcon } from "../../icons/chevron-left-icon.js";
6
6
  import { usePager } from "./pagination.js";
7
7
  import pagination_module from "./pagination.module.js";
8
8
  const PreviousButton = ({ ref, className, disabled, render, children, ...rest })=>{
9
9
  const { showFirstButton, variant } = usePager();
10
10
  const sharedProps = {
11
- className: classnames(pagination_module["previous-button"], pagination_module[variant], {
11
+ className: clsx(pagination_module["previous-button"], pagination_module[variant], {
12
12
  [pagination_module["rounded-left"]]: null == showFirstButton || false === showFirstButton
13
13
  }, 'pagination-previous', className),
14
14
  disabled,
@@ -1,33 +1,33 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { ScrollArea } from "@base-ui/react/scroll-area";
3
- import classnames from "classnames";
3
+ import clsx from "clsx";
4
4
  import scroll_area_module from "./scroll-area.module.js";
5
5
  const scroll_area_ScrollArea = ({ children, style, className })=>/*#__PURE__*/ jsxs(ScrollArea.Root, {
6
6
  style: style,
7
- className: classnames('byline-scroll-area', scroll_area_module.root, className),
7
+ className: clsx('byline-scroll-area', scroll_area_module.root, className),
8
8
  children: [
9
9
  /*#__PURE__*/ jsx(ScrollArea.Viewport, {
10
- className: classnames('byline-scroll-area-viewport', scroll_area_module.viewport),
10
+ className: clsx('byline-scroll-area-viewport', scroll_area_module.viewport),
11
11
  children: /*#__PURE__*/ jsx(ScrollArea.Content, {
12
12
  children: children
13
13
  })
14
14
  }),
15
15
  /*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
16
- className: classnames('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
16
+ className: clsx('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
17
17
  orientation: "vertical",
18
18
  children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
19
- className: classnames('byline-scroll-area-thumb', scroll_area_module.thumb)
19
+ className: clsx('byline-scroll-area-thumb', scroll_area_module.thumb)
20
20
  })
21
21
  }),
22
22
  /*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
23
- className: classnames('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
23
+ className: clsx('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
24
24
  orientation: "horizontal",
25
25
  children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
26
- className: classnames('byline-scroll-area-thumb', scroll_area_module.thumb)
26
+ className: clsx('byline-scroll-area-thumb', scroll_area_module.thumb)
27
27
  })
28
28
  }),
29
29
  /*#__PURE__*/ jsx(ScrollArea.Corner, {
30
- className: classnames('byline-scroll-area-corner', scroll_area_module.corner)
30
+ className: clsx('byline-scroll-area-corner', scroll_area_module.corner)
31
31
  })
32
32
  ]
33
33
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import scroll_to_top_module from "./scroll-to-top.module.js";
6
6
  function ScrollToTop({ className, showAt = 200, offset = -65, type = 'button', 'aria-label': ariaLabel = 'Scroll to top', onClick, ...props }) {
7
7
  const [show, setShow] = useState(false);
@@ -38,7 +38,7 @@ function ScrollToTop({ className, showAt = 200, offset = -65, type = 'button', '
38
38
  type: type,
39
39
  "aria-label": ariaLabel,
40
40
  onClick: handleOnClick,
41
- className: classnames('byline-scroll-to-top', scroll_to_top_module["scroll-to-top"], {
41
+ className: clsx('byline-scroll-to-top', scroll_to_top_module["scroll-to-top"], {
42
42
  'byline-scroll-to-top-shown': show,
43
43
  [scroll_to_top_module["scroll-to-top-shown"]]: show
44
44
  }, className),
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import section_module from "./section.module.js";
4
4
  const section_Section = function({ ref, className, children, ...rest }) {
5
5
  return /*#__PURE__*/ jsx("section", {
6
- className: classnames('byline-section', section_module.section, className),
6
+ className: clsx('byline-section', section_module.section, className),
7
7
  ref: ref,
8
8
  ...rest,
9
9
  children: children
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import shimmer_module from "./shimmer.module.js";
4
4
  const toCssSize = (value)=>'number' == typeof value ? `${value}px` : value;
5
5
  function Shimmer({ className, width = '100%', height, lineHeight, borderRadius, variant = 'rectangular', lines = 1, children, ...other }) {
@@ -16,7 +16,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
16
16
  if ('text' === variant && lines > 1) {
17
17
  const resolvedLineHeight = toCssSize(lineHeight);
18
18
  return /*#__PURE__*/ jsx("div", {
19
- className: classnames(shimmer_module.shimmerContainer, className),
19
+ className: clsx(shimmer_module.shimmerContainer, className),
20
20
  style: {
21
21
  width: toCssSize(width),
22
22
  height: toCssSize(height)
@@ -25,7 +25,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
25
25
  children: Array.from({
26
26
  length: lines
27
27
  }, (_, index)=>/*#__PURE__*/ jsx("div", {
28
- className: classnames(shimmer_module.shimmer, shimmer_module.text),
28
+ className: clsx(shimmer_module.shimmer, shimmer_module.text),
29
29
  style: {
30
30
  width: index === lines - 1 ? '75%' : '100%',
31
31
  height: resolvedLineHeight,
@@ -41,7 +41,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
41
41
  borderRadius
42
42
  };
43
43
  return /*#__PURE__*/ jsx("div", {
44
- className: classnames(shimmer_module.shimmer, getVariantClass(), className),
44
+ className: clsx(shimmer_module.shimmer, getVariantClass(), className),
45
45
  style: shimmerStyle,
46
46
  ...other,
47
47
  children: children
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import table_module from "./table.module.js";
4
4
  function Table({ ref, className, children, ...rest }) {
5
- const classes = classnames(table_module.table, 'byline-table', className);
5
+ const classes = clsx(table_module.table, 'byline-table', className);
6
6
  return /*#__PURE__*/ jsx("table", {
7
7
  ref: ref,
8
8
  className: classes,
@@ -11,13 +11,13 @@ function Table({ ref, className, children, ...rest }) {
11
11
  });
12
12
  }
13
13
  function Container({ ref, className, children, ...rest }) {
14
- const classes = classnames(table_module["table-container"], 'byline-table-container', className);
14
+ const classes = clsx(table_module["table-container"], 'byline-table-container', className);
15
15
  return /*#__PURE__*/ jsx("div", {
16
16
  ref: ref,
17
17
  className: classes,
18
18
  ...rest,
19
19
  children: /*#__PURE__*/ jsx("div", {
20
- className: classnames('byline-table-scroller', table_module["table-scroller"]),
20
+ className: clsx('byline-table-scroller', table_module["table-scroller"]),
21
21
  children: children
22
22
  })
23
23
  });
@@ -25,13 +25,13 @@ function Container({ ref, className, children, ...rest }) {
25
25
  function Body({ ref, className, children, ...rest }) {
26
26
  return /*#__PURE__*/ jsx("tbody", {
27
27
  ref: ref,
28
- className: classnames('byline-table-body', className),
28
+ className: clsx('byline-table-body', className),
29
29
  ...rest,
30
30
  children: children
31
31
  });
32
32
  }
33
33
  function Header({ ref, className, children, ...rest }) {
34
- const classes = classnames(table_module["table-header"], 'byline-table-header', className);
34
+ const classes = clsx(table_module["table-header"], 'byline-table-header', className);
35
35
  return /*#__PURE__*/ jsx("thead", {
36
36
  ref: ref,
37
37
  className: classes,
@@ -40,7 +40,7 @@ function Header({ ref, className, children, ...rest }) {
40
40
  });
41
41
  }
42
42
  function Row({ ref, className, children, ...rest }) {
43
- const classes = classnames(table_module["table-row"], 'byline-table-row', className);
43
+ const classes = clsx(table_module["table-row"], 'byline-table-row', className);
44
44
  return /*#__PURE__*/ jsx("tr", {
45
45
  ref: ref,
46
46
  className: classes,
@@ -49,7 +49,7 @@ function Row({ ref, className, children, ...rest }) {
49
49
  });
50
50
  }
51
51
  function HeadingCell({ ref, className, children, ...rest }) {
52
- const classes = classnames(table_module["table-heading-cell"], 'byline-table-heading-cell', 'not-prose', className);
52
+ const classes = clsx(table_module["table-heading-cell"], 'byline-table-heading-cell', 'not-prose', className);
53
53
  return /*#__PURE__*/ jsx("th", {
54
54
  ref: ref,
55
55
  className: classes,
@@ -58,7 +58,7 @@ function HeadingCell({ ref, className, children, ...rest }) {
58
58
  });
59
59
  }
60
60
  function Cell({ ref, className, children, ...rest }) {
61
- const classes = classnames(table_module["table-cell"], 'byline-table-cell', className);
61
+ const classes = clsx(table_module["table-cell"], 'byline-table-cell', className);
62
62
  return /*#__PURE__*/ jsx("td", {
63
63
  ref: ref,
64
64
  className: classes,
@@ -67,7 +67,7 @@ function Cell({ ref, className, children, ...rest }) {
67
67
  });
68
68
  }
69
69
  function Footer({ ref, className, children, ...rest }) {
70
- const classes = classnames('text-xs text-gray-700 uppercase bg-canvas-100 dark:bg-canvas-700 dark:text-gray-400', className);
70
+ const classes = clsx('text-xs text-gray-700 uppercase bg-canvas-100 dark:bg-canvas-700 dark:text-gray-400', className);
71
71
  return /*#__PURE__*/ jsx("tfoot", {
72
72
  ref: ref,
73
73
  className: classes,
@@ -1,30 +1,30 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Tabs } from "@base-ui/react/tabs";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import tabs_module from "./tabs.module.js";
6
6
  const tabs_Tabs = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.Root, {
7
7
  ref: ref,
8
- className: classnames(tabs_module["tabs-root"], 'byline-tabs-root', className),
8
+ className: clsx(tabs_module["tabs-root"], 'byline-tabs-root', className),
9
9
  ...props
10
10
  });
11
11
  tabs_Tabs.displayName = 'Tabs';
12
12
  const TabsList = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.List, {
13
13
  ref: ref,
14
- className: classnames(tabs_module["tabs-list"], 'byline-tabs-list', className),
14
+ className: clsx(tabs_module["tabs-list"], 'byline-tabs-list', className),
15
15
  ...props
16
16
  });
17
17
  TabsList.displayName = 'TabsList';
18
18
  const TabsTrigger = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.Tab, {
19
19
  ref: ref,
20
- className: classnames(tabs_module["tabs-trigger"], 'byline-tabs-trigger', className),
20
+ className: clsx(tabs_module["tabs-trigger"], 'byline-tabs-trigger', className),
21
21
  ...props
22
22
  });
23
23
  TabsTrigger.displayName = 'TabsTrigger';
24
24
  const TabsContent = ({ ref, className, keepMounted = true, ...props })=>/*#__PURE__*/ jsx(Tabs.Panel, {
25
25
  ref: ref,
26
26
  keepMounted: keepMounted,
27
- className: classnames(tabs_module["tabs-content"], 'byline-tabs-content', className),
27
+ className: clsx(tabs_module["tabs-content"], 'byline-tabs-content', className),
28
28
  ...props
29
29
  });
30
30
  TabsContent.displayName = 'TabsContent';
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Tooltip as tooltip_Tooltip } from "@base-ui/react/tooltip";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import tooltip_module from "./tooltip.module.js";
6
6
  function ArrowSvg(props) {
7
7
  return /*#__PURE__*/ jsxs("svg", {
@@ -45,10 +45,10 @@ const tooltip_tooltip_Tooltip = function({ ref, text, delay = 500, side = 'top',
45
45
  side: side,
46
46
  sideOffset: sideOffset,
47
47
  children: /*#__PURE__*/ jsxs(tooltip_Tooltip.Popup, {
48
- className: classnames(tooltip_module.tooltip, 'byline-tooltip'),
48
+ className: clsx(tooltip_module.tooltip, 'byline-tooltip'),
49
49
  children: [
50
50
  /*#__PURE__*/ jsx(tooltip_Tooltip.Arrow, {
51
- className: classnames(tooltip_module["tooltip-arrow"], 'byline-tooltip-arrow'),
51
+ className: clsx(tooltip_module["tooltip-arrow"], 'byline-tooltip-arrow'),
52
52
  children: /*#__PURE__*/ jsx(ArrowSvg, {})
53
53
  }),
54
54
  text
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import { Card, GripperVerticalIcon } from "@byline/ui/react";
5
- import classnames from "classnames";
5
+ import clsx from "clsx";
6
6
  import { DraggableSortable, moveItem, useSortable } from "../index.js";
7
7
  import draggable_list_demo_module from "./draggable-list-demo.module.js";
8
8
  const sourceItems = [
@@ -50,7 +50,7 @@ const DraggableCard = ({ item, disabled, isSortable = true })=>{
50
50
  });
51
51
  return /*#__PURE__*/ jsxs(Card, {
52
52
  ref: setNodeRef,
53
- className: classnames('byline-demo-card', draggable_list_demo_module.card, isDragging && [
53
+ className: clsx('byline-demo-card', draggable_list_demo_module.card, isDragging && [
54
54
  'byline-demo-card-dragging',
55
55
  draggable_list_demo_module["card-dragging"]
56
56
  ]),
@@ -61,10 +61,10 @@ const DraggableCard = ({ item, disabled, isSortable = true })=>{
61
61
  },
62
62
  children: [
63
63
  /*#__PURE__*/ jsxs("div", {
64
- className: classnames('byline-demo-card-header', draggable_list_demo_module["card-header"]),
64
+ className: clsx('byline-demo-card-header', draggable_list_demo_module["card-header"]),
65
65
  children: [
66
66
  /*#__PURE__*/ jsx("div", {
67
- className: classnames('byline-demo-card-grip', draggable_list_demo_module["card-grip"]),
67
+ className: clsx('byline-demo-card-grip', draggable_list_demo_module["card-grip"]),
68
68
  ...attributes,
69
69
  ...listeners,
70
70
  children: /*#__PURE__*/ jsx(GripperVerticalIcon, {})
@@ -90,7 +90,7 @@ function DraggableList() {
90
90
  setItems(newItems);
91
91
  };
92
92
  return /*#__PURE__*/ jsx("div", {
93
- className: classnames('byline-demo-list', draggable_list_demo_module.list),
93
+ className: clsx('byline-demo-list', draggable_list_demo_module.list),
94
94
  children: /*#__PURE__*/ jsx(DraggableSortable, {
95
95
  ids: items.map((item)=>item.id),
96
96
  onDragEnd: handleOnDragEnd,
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ActivityIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('activity-icon', className),
8
+ className: clsx('activity-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const AiIcon = ({ className, svgClassName, ...rest })=>{
6
- classnames(icons_module["stroke-current"], svgClassName);
6
+ clsx(icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('ai-icon', className),
8
+ className: clsx('ai-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  const svgStylesDefault = '';
5
5
  const BylineIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(svgStylesDefault, svgClassName);
6
+ const applied = clsx(svgStylesDefault, svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('byline-icon', className),
8
+ className: clsx('byline-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const CalendarIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('calendar-icon', className),
8
+ className: clsx('calendar-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const CheckIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('check-icon', className),
8
+ className: clsx('check-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronDownIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-down-icon', className),
8
+ className: clsx('chevron-down-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronLeftDoubleIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-left-double-icon', className),
8
+ className: clsx('chevron-left-double-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronLeftIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-left-icon', className),
8
+ className: clsx('chevron-left-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronRightDoubleIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-right-double-icon', className),
8
+ className: clsx('chevron-right-double-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronRightIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-right-icon', className),
8
+ className: clsx('chevron-right-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronUpIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevron-up-icon', className),
8
+ className: clsx('chevron-up-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const ChevronsUpDown = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('chevrons-up-down', className),
8
+ className: clsx('chevrons-up-down', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const CloseIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('close-icon', className),
8
+ className: clsx('close-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const CopyIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('copy-icon', className),
8
+ className: clsx('copy-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const DangerIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-danger"], svgClassName);
6
+ const applied = clsx(icons_module["fill-danger"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('danger-icon', className),
8
+ className: clsx('danger-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const DashboardIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('dashboard-icon', className),
8
+ className: clsx('dashboard-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const DeleteIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-none"], icons_module["stroke-danger"], svgClassName);
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-danger"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('delete-icon', className),
8
+ className: clsx('delete-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const DocumentIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('document-icon', className),
8
+ className: clsx('document-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const DownloadIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('download-icon', className),
8
+ className: clsx('download-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsx("svg", {
11
11
  className: applied,
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { IconElement } from "./icon-element.js";
4
4
  import icons_module from "./icons.module.js";
5
5
  const EditIcon = ({ className, svgClassName, ...rest })=>{
6
- const applied = classnames(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
7
7
  return /*#__PURE__*/ jsx(IconElement, {
8
- className: classnames('edit-icon', className),
8
+ className: clsx('edit-icon', className),
9
9
  ...rest,
10
10
  children: /*#__PURE__*/ jsxs("svg", {
11
11
  className: applied,