@byline/ui 4.10.2 → 4.11.1

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 +2 -2
  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,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Select } from "@base-ui/react/select";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { DayPicker } from "react-day-picker";
6
6
  import { ChevronsUpDown } from "../../icons/chevrons-up-down.js";
7
7
  import { Button } from "../button/button.js";
@@ -9,26 +9,26 @@ import { ScrollArea } from "../scroll-area/scroll-area.js";
9
9
  import calendar_module from "./calendar.module.js";
10
10
  import * as __rspack_external_react from "react";
11
11
  function Calendar({ ref, className, classNames, hideNavigation, showOutsideDays = true, components: customComponents, ...props }) {
12
- const _monthsClassName = classnames(calendar_module.months, props.monthsClassName);
13
- const _monthCaptionClassName = classnames(calendar_module["months-caption"], props.monthCaptionClassName);
14
- const _dropdownsClassName = classnames(calendar_module.dropdowns, props.dropdownsClassName);
15
- const _footerClassName = classnames(calendar_module.footer, props.footerClassName);
16
- const _weekdaysClassName = classnames(calendar_module.weekdays, props.weekdaysClassName);
17
- const _weekdayClassName = classnames(calendar_module.weekday, props.weekdayClassName);
18
- const _captionLabelClassName = classnames(calendar_module["caption-label"], props.captionLabelClassName);
19
- const _monthGridClassName = classnames(calendar_module["month-grid"], props.monthGridClassName);
20
- const _weekClassName = classnames(calendar_module.week, props.weekClassName);
21
- const _dayClassName = classnames(calendar_module.day, props.dayClassName);
22
- const _dayButtonClassName = classnames(calendar_module["day-button"], props.dayButtonClassName);
23
- const buttonRangeClassName = classnames(calendar_module["button-range"]);
24
- const _rangeStartClassName = classnames(buttonRangeClassName, calendar_module["range-start"], props.rangeStartClassName);
25
- const _rangeEndClassName = classnames(buttonRangeClassName, calendar_module["range-end"], props.rangeEndClassName);
26
- const _rangeMiddleClassName = classnames(calendar_module["range-middle"], props.rangeMiddleClassName);
27
- const _selectedClassName = classnames(calendar_module["day-selected"], props.selectedClassName);
28
- const _todayClassName = classnames(calendar_module.today, props.todayClassName);
29
- const _outsideClassName = classnames(calendar_module.outside, props.outsideClassName);
30
- const _disabledClassName = classnames(calendar_module.disabled, props.disabledClassName);
31
- const _hiddenClassName = classnames(calendar_module.hidden, props.hiddenClassName);
12
+ const _monthsClassName = clsx(calendar_module.months, props.monthsClassName);
13
+ const _monthCaptionClassName = clsx(calendar_module["months-caption"], props.monthCaptionClassName);
14
+ const _dropdownsClassName = clsx(calendar_module.dropdowns, props.dropdownsClassName);
15
+ const _footerClassName = clsx(calendar_module.footer, props.footerClassName);
16
+ const _weekdaysClassName = clsx(calendar_module.weekdays, props.weekdaysClassName);
17
+ const _weekdayClassName = clsx(calendar_module.weekday, props.weekdayClassName);
18
+ const _captionLabelClassName = clsx(calendar_module["caption-label"], props.captionLabelClassName);
19
+ const _monthGridClassName = clsx(calendar_module["month-grid"], props.monthGridClassName);
20
+ const _weekClassName = clsx(calendar_module.week, props.weekClassName);
21
+ const _dayClassName = clsx(calendar_module.day, props.dayClassName);
22
+ const _dayButtonClassName = clsx(calendar_module["day-button"], props.dayButtonClassName);
23
+ const buttonRangeClassName = clsx(calendar_module["button-range"]);
24
+ const _rangeStartClassName = clsx(buttonRangeClassName, calendar_module["range-start"], props.rangeStartClassName);
25
+ const _rangeEndClassName = clsx(buttonRangeClassName, calendar_module["range-end"], props.rangeEndClassName);
26
+ const _rangeMiddleClassName = clsx(calendar_module["range-middle"], props.rangeMiddleClassName);
27
+ const _selectedClassName = clsx(calendar_module["day-selected"], props.selectedClassName);
28
+ const _todayClassName = clsx(calendar_module.today, props.todayClassName);
29
+ const _outsideClassName = clsx(calendar_module.outside, props.outsideClassName);
30
+ const _disabledClassName = clsx(calendar_module.disabled, props.disabledClassName);
31
+ const _hiddenClassName = clsx(calendar_module.hidden, props.hiddenClassName);
32
32
  const Dropdown = __rspack_external_react.useCallback(({ value, onChange, options })=>{
33
33
  const selected = options?.find((option)=>option.value === value);
34
34
  const handleChange = (newValue)=>{
@@ -49,7 +49,7 @@ function Calendar({ ref, className, classNames, hideNavigation, showOutsideDays
49
49
  render: /*#__PURE__*/ jsx(Button, {
50
50
  variant: "outlined",
51
51
  size: "sm",
52
- className: classnames(calendar_module["select-trigger"], props.selectTriggerClassName)
52
+ className: clsx(calendar_module["select-trigger"], props.selectTriggerClassName)
53
53
  }),
54
54
  children: [
55
55
  /*#__PURE__*/ jsx(Select.Value, {
@@ -72,7 +72,7 @@ function Calendar({ ref, className, classNames, hideNavigation, showOutsideDays
72
72
  alignItemWithTrigger: false,
73
73
  children: /*#__PURE__*/ jsx(Select.Popup, {
74
74
  children: /*#__PURE__*/ jsx(ScrollArea, {
75
- className: classnames(calendar_module["scroll-area"]),
75
+ className: clsx(calendar_module["scroll-area"]),
76
76
  children: /*#__PURE__*/ jsx(Select.List, {
77
77
  children: options?.map(({ value, label, disabled }, id)=>/*#__PURE__*/ jsx(Select.Item, {
78
78
  className: calendar_module["select-item"],
@@ -95,7 +95,7 @@ function Calendar({ ref, className, classNames, hideNavigation, showOutsideDays
95
95
  return /*#__PURE__*/ jsx(DayPicker, {
96
96
  showOutsideDays: showOutsideDays,
97
97
  hideNavigation: true,
98
- className: classnames(calendar_module["day-picker"], className),
98
+ className: clsx(calendar_module["day-picker"], className),
99
99
  classNames: {
100
100
  caption_label: _captionLabelClassName,
101
101
  day: _dayClassName,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { Checkbox } from "./checkbox.js";
6
6
  import checkbox_group_module from "./checkbox-group.module.js";
7
7
  const CheckboxGroup = ({ groupName, className, checkBoxClasses, checkBoxes, defaultValues, controlledValue, disabled = false, onChange })=>{
@@ -30,7 +30,7 @@ const CheckboxGroup = ({ groupName, className, checkBoxClasses, checkBoxes, defa
30
30
  onChange?.(s);
31
31
  };
32
32
  return /*#__PURE__*/ jsx("div", {
33
- className: classnames('byline-checkbox-group', checkbox_group_module["checkbox-group"], className),
33
+ className: clsx('byline-checkbox-group', checkbox_group_module["checkbox-group"], className),
34
34
  children: checkBoxes.map((cb)=>/*#__PURE__*/ jsx(Checkbox, {
35
35
  id: `${groupName}-${cb.id}`,
36
36
  name: `${groupName}-${cb.id}`,
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Checkbox as checkbox_Checkbox } from "@base-ui/react/checkbox";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { CheckIcon } from "../../icons/check-icon.js";
6
6
  import checkbox_module from "./checkbox.module.js";
7
7
  import { ErrorText } from "./error-text.js";
8
8
  import { HelpText } from "./help-text.js";
9
9
  const inputs_checkbox_Checkbox = function({ ref, id, name, label, variant = 'outlined', size = 'md', intent = 'primary', reverse = false, className, checkBoxClasses, containerClasses, componentClasses, labelClasses, error = false, helpText = '', errorText = '', ...rest }) {
10
10
  return /*#__PURE__*/ jsxs("div", {
11
- className: classnames('byline-checkbox-container', checkbox_module.container, containerClasses),
11
+ className: clsx('byline-checkbox-container', checkbox_module.container, containerClasses),
12
12
  children: [
13
13
  /*#__PURE__*/ jsxs("div", {
14
- className: classnames('byline-checkbox-component', checkbox_module.component, componentClasses, {
14
+ className: clsx('byline-checkbox-component', checkbox_module.component, componentClasses, {
15
15
  [checkbox_module.reverse]: reverse
16
16
  }),
17
17
  children: [
@@ -23,11 +23,11 @@ const inputs_checkbox_Checkbox = function({ ref, id, name, label, variant = 'out
23
23
  render: /*#__PURE__*/ jsx("button", {
24
24
  type: "button"
25
25
  }),
26
- className: classnames('byline-checkbox', `byline-checkbox-${variant}`, `byline-checkbox-${size}`, `byline-checkbox-${intent}`, checkbox_module.checkbox, checkbox_module[variant], checkbox_module[size], checkbox_module[intent], checkBoxClasses, className),
26
+ className: clsx('byline-checkbox', `byline-checkbox-${variant}`, `byline-checkbox-${size}`, `byline-checkbox-${intent}`, checkbox_module.checkbox, checkbox_module[variant], checkbox_module[size], checkbox_module[intent], checkBoxClasses, className),
27
27
  ...rest,
28
28
  children: /*#__PURE__*/ jsx(checkbox_Checkbox.Indicator, {
29
29
  keepMounted: true,
30
- className: classnames('byline-checkbox-indicator', checkbox_module.indicator),
30
+ className: clsx('byline-checkbox-indicator', checkbox_module.indicator),
31
31
  children: /*#__PURE__*/ jsx(CheckIcon, {
32
32
  className: checkbox_module.icon
33
33
  })
@@ -35,7 +35,7 @@ const inputs_checkbox_Checkbox = function({ ref, id, name, label, variant = 'out
35
35
  }),
36
36
  null != label && /*#__PURE__*/ jsx("label", {
37
37
  htmlFor: id,
38
- className: classnames('byline-checkbox-label', checkbox_module.label, labelClasses),
38
+ className: clsx('byline-checkbox-label', checkbox_module.label, labelClasses),
39
39
  children: label
40
40
  })
41
41
  ]
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import error_text_module from "./error-text.module.js";
4
4
  function ErrorText({ id, className, size, text }) {
5
5
  return /*#__PURE__*/ jsx("p", {
6
6
  id: id,
7
- className: classnames('error-text', error_text_module.text, size && error_text_module[size], className),
7
+ className: clsx('error-text', error_text_module.text, size && error_text_module[size], className),
8
8
  children: text
9
9
  });
10
10
  }
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import help_text_module from "./help-text.module.js";
4
4
  function HelpText({ id, className, size, text }) {
5
5
  return /*#__PURE__*/ jsx("p", {
6
6
  id: id,
7
- className: classnames('byline-help-text', help_text_module.text, size && help_text_module[size], className),
7
+ className: clsx('byline-help-text', help_text_module.text, size && help_text_module[size], className),
8
8
  children: text
9
9
  });
10
10
  }
@@ -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 input_adornment_module from "./input-adornment.module.js";
4
4
  function InputAdornment({ position = 'start', margins = true, className, children, ...rest }) {
5
5
  return /*#__PURE__*/ jsx("div", {
6
- className: classnames('byline-input-adornment', `byline-input-adornment-${position}`, input_adornment_module.adornment, {
6
+ className: clsx('byline-input-adornment', `byline-input-adornment-${position}`, input_adornment_module.adornment, {
7
7
  [input_adornment_module.start]: 'start' === position
8
8
  }, {
9
9
  [input_adornment_module.end]: 'end' === position
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import classnames from "classnames";
3
+ import clsx from "clsx";
4
4
  import { ErrorText } from "./error-text.js";
5
5
  import { HelpText } from "./help-text.js";
6
6
  import input_module from "./input.module.js";
7
7
  import { Label } from "./label.js";
8
8
  const Input = ({ ref, id, name, type = 'text', variant = 'outlined', inputSize = 'md', intent = 'primary', required, label, startAdornment, endAdornment, placeHolder = '', autoComplete = 'off', error = false, helpText = '', errorText = '', inputWrapperClassName, className, ...rest })=>/*#__PURE__*/ jsxs("div", {
9
- className: classnames('byline-input-wrapper', input_module["input-wrapper"], inputWrapperClassName),
9
+ className: clsx('byline-input-wrapper', input_module["input-wrapper"], inputWrapperClassName),
10
10
  children: [
11
11
  null != label && /*#__PURE__*/ jsx(Label, {
12
12
  id: id,
@@ -15,10 +15,10 @@ const Input = ({ ref, id, name, type = 'text', variant = 'outlined', inputSize =
15
15
  label: label
16
16
  }),
17
17
  /*#__PURE__*/ jsxs("div", {
18
- className: classnames('byline-input-container', input_module["input-container"]),
18
+ className: clsx('byline-input-container', input_module["input-container"]),
19
19
  children: [
20
20
  null != startAdornment && /*#__PURE__*/ jsx("div", {
21
- className: classnames('byline-input-start-adornment', input_module["start-adornment"], input_module[variant]),
21
+ className: clsx('byline-input-start-adornment', input_module["start-adornment"], input_module[variant]),
22
22
  children: startAdornment
23
23
  }),
24
24
  /*#__PURE__*/ jsx("input", {
@@ -34,7 +34,7 @@ const Input = ({ ref, id, name, type = 'text', variant = 'outlined', inputSize =
34
34
  "aria-required": required,
35
35
  "aria-errormessage": errorText,
36
36
  "aria-describedby": error ? `error-for-${id}` : helpText.length > 0 ? `help-for-${id}` : void 0,
37
- className: classnames('byline-input', `byline-input-${variant}`, `byline-input-${inputSize}`, `byline-input-${intent}`, input_module.input, input_module[variant], input_module[inputSize], input_module[intent], {
37
+ className: clsx('byline-input', `byline-input-${variant}`, `byline-input-${inputSize}`, `byline-input-${intent}`, input_module.input, input_module[variant], input_module[inputSize], input_module[intent], {
38
38
  [input_module["start-adornment-padding"]]: null != startAdornment
39
39
  }, {
40
40
  [input_module["end-adornment-padding"]]: null != endAdornment
@@ -44,7 +44,7 @@ const Input = ({ ref, id, name, type = 'text', variant = 'outlined', inputSize =
44
44
  ...rest
45
45
  }),
46
46
  null != endAdornment && /*#__PURE__*/ jsx("div", {
47
- className: classnames('byline-input-end-adornment', input_module["end-adornment"], input_module[variant]),
47
+ className: clsx('byline-input-end-adornment', input_module["end-adornment"], input_module[variant]),
48
48
  children: endAdornment
49
49
  })
50
50
  ]
@@ -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 label_module from "./label.module.js";
4
4
  function Label({ className, id, htmlFor, label, required }) {
5
5
  return /*#__PURE__*/ jsxs("label", {
6
6
  id: `label-for-${id}`,
7
7
  htmlFor: htmlFor,
8
- className: classnames('label', label_module.label, className),
8
+ className: clsx('label', label_module.label, className),
9
9
  children: [
10
10
  label,
11
11
  required && /*#__PURE__*/ jsx("span", {
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Radio } from "@base-ui/react/radio";
4
4
  import { RadioGroup } from "@base-ui/react/radio-group";
5
- import classnames from "classnames";
5
+ import clsx from "clsx";
6
6
  import radio_group_module from "./radio-group.module.js";
7
7
  const RadioGroupItem = ({ intent = 'primary', className, id, value, label, ref: forwardedRef, ...props })=>/*#__PURE__*/ jsxs("div", {
8
8
  ref: forwardedRef,
@@ -10,7 +10,7 @@ const RadioGroupItem = ({ intent = 'primary', className, id, value, label, ref:
10
10
  children: [
11
11
  /*#__PURE__*/ jsx(Radio.Root, {
12
12
  ...props,
13
- className: classnames(radio_group_module.item, radio_group_module[intent]),
13
+ className: clsx(radio_group_module.item, radio_group_module[intent]),
14
14
  value: value,
15
15
  id: id,
16
16
  nativeButton: true,
@@ -30,7 +30,7 @@ const RadioGroupItem = ({ intent = 'primary', className, id, value, label, ref:
30
30
  });
31
31
  const radio_group_RadioGroup = ({ ref: forwardedRef, className, direction = 'column', children, ...props })=>/*#__PURE__*/ jsx(RadioGroup, {
32
32
  ref: forwardedRef,
33
- className: classnames('byline-radio-group', radio_group_module[direction], className),
33
+ className: clsx('byline-radio-group', radio_group_module[direction], className),
34
34
  ...props,
35
35
  children: children
36
36
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Select } from "@base-ui/react/select";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { CheckIcon } from "../../icons/check-icon.js";
6
6
  import { ChevronDownIcon } from "../../icons/chevron-down-icon.js";
7
7
  import { ChevronUpIcon } from "../../icons/chevron-up-icon.js";
@@ -10,7 +10,7 @@ import { HelpText } from "./help-text.js";
10
10
  import select_module from "./select.module.js";
11
11
  function select_Select({ id, children, placeholder, disabledValue, intent, variant, size, position, containerClassName, className, ariaLabel, helpText, items, ...rest }) {
12
12
  return /*#__PURE__*/ jsxs("div", {
13
- className: classnames('byline-select-container', containerClassName),
13
+ className: clsx('byline-select-container', containerClassName),
14
14
  children: [
15
15
  /*#__PURE__*/ jsxs(Select.Root, {
16
16
  items: items,
@@ -23,7 +23,7 @@ function select_Select({ id, children, placeholder, disabledValue, intent, varia
23
23
  intent: intent,
24
24
  variant: variant,
25
25
  size: size,
26
- className: classnames('whitespace-nowrap', className)
26
+ className: clsx('whitespace-nowrap', className)
27
27
  }),
28
28
  children: [
29
29
  /*#__PURE__*/ jsx(Select.Value, {
@@ -44,7 +44,7 @@ function select_Select({ id, children, placeholder, disabledValue, intent, varia
44
44
  children: /*#__PURE__*/ jsx(ChevronUpIcon, {})
45
45
  }),
46
46
  /*#__PURE__*/ jsx(Select.Popup, {
47
- className: classnames(select_module.popup, null != size && select_module[`popup-${size}`]),
47
+ className: clsx(select_module.popup, null != size && select_module[`popup-${size}`]),
48
48
  children: /*#__PURE__*/ jsx(Select.List, {
49
49
  className: select_module.list,
50
50
  children: children ?? items?.map((item)=>/*#__PURE__*/ jsx(SelectItem, {
@@ -70,12 +70,12 @@ function select_Select({ id, children, placeholder, disabledValue, intent, varia
70
70
  });
71
71
  }
72
72
  const SelectItem = ({ ref: forwardedRef, children, className, ...props })=>/*#__PURE__*/ jsxs(Select.Item, {
73
- className: classnames('byline-select-item', select_module["select-item"], className),
73
+ className: clsx('byline-select-item', select_module["select-item"], className),
74
74
  ...props,
75
75
  ref: forwardedRef,
76
76
  children: [
77
77
  /*#__PURE__*/ jsx(Select.ItemIndicator, {
78
- className: classnames('byline-select-item-indicator', select_module["select-item-indicator"]),
78
+ className: clsx('byline-select-item-indicator', select_module["select-item-indicator"]),
79
79
  children: /*#__PURE__*/ jsx(CheckIcon, {})
80
80
  }),
81
81
  /*#__PURE__*/ jsx(Select.ItemText, {
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import classnames from "classnames";
2
+ import clsx from "clsx";
3
3
  import { ErrorText } from "./error-text.js";
4
4
  import { HelpText } from "./help-text.js";
5
5
  import input_module from "./input.module.js";
@@ -7,7 +7,7 @@ import { Label } from "./label.js";
7
7
  import text_area_module from "./text-area.module.js";
8
8
  const text_area_TextArea = function({ ref, id, name, label, rows = 4, required = false, variant = 'outlined', intent = 'primary', placeHolder = '', autoComplete = 'off', error = false, helpText = '', errorText = '', className, ...rest }) {
9
9
  return /*#__PURE__*/ jsxs("div", {
10
- className: classnames('text-area-wrapper', input_module["input-wrapper"]),
10
+ className: clsx('text-area-wrapper', input_module["input-wrapper"]),
11
11
  children: [
12
12
  null != label && /*#__PURE__*/ jsx(Label, {
13
13
  id: id,
@@ -28,7 +28,7 @@ const text_area_TextArea = function({ ref, id, name, label, rows = 4, required =
28
28
  "aria-required": required,
29
29
  "aria-errormessage": errorText,
30
30
  "aria-describedby": error ? `error-for-${id}` : helpText.length > 0 ? `help-for-${id}` : void 0,
31
- className: classnames('byline-text-area', `byline-text-area-${variant}`, `byline-text-area-${intent}`, input_module.input, input_module[variant], input_module[intent], text_area_module["text-area"], text_area_module[variant], {
31
+ className: clsx('byline-text-area', `byline-text-area-${variant}`, `byline-text-area-${intent}`, input_module.input, input_module[variant], input_module[intent], text_area_module["text-area"], text_area_module[variant], {
32
32
  [input_module.error]: error
33
33
  }, className),
34
34
  ...rest
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Fragment, 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 { CloseIcon } from "../../icons/close-icon.js";
6
6
  import { DangerIcon } from "../../icons/danger-icon.js";
7
7
  import { InfoIcon } from "../../icons/info-icon.js";
@@ -31,21 +31,21 @@ const alert_Alert = function({ ref, intent = 'success', icon = true, close = tru
31
31
  if (false === show) return null;
32
32
  return /*#__PURE__*/ jsx("div", {
33
33
  ref: ref,
34
- className: classnames('byline-alert', `byline-alert-${intent}`, alert_module.alert, alert_module[intent], className, {
34
+ className: clsx('byline-alert', `byline-alert-${intent}`, alert_module.alert, alert_module[intent], className, {
35
35
  [alert_module.fade]: fade
36
36
  }),
37
37
  ...rest,
38
38
  children: null != title ? /*#__PURE__*/ jsxs("div", {
39
- className: classnames('byline-alert-with-title', alert_module["alert-with-title"]),
39
+ className: clsx('byline-alert-with-title', alert_module["alert-with-title"]),
40
40
  children: [
41
41
  /*#__PURE__*/ jsxs("div", {
42
- className: classnames('byline-alert-header', alert_module.header),
42
+ className: clsx('byline-alert-header', alert_module.header),
43
43
  children: [
44
44
  icon && /*#__PURE__*/ jsx(Icon, {
45
- className: classnames('byline-alert-icon', alert_module.icon)
45
+ className: clsx('byline-alert-icon', alert_module.icon)
46
46
  }),
47
47
  /*#__PURE__*/ jsx("div", {
48
- className: classnames('byline-alert-title', alert_module.title),
48
+ className: clsx('byline-alert-title', alert_module.title),
49
49
  children: /*#__PURE__*/ jsx("span", {
50
50
  children: title
51
51
  })
@@ -54,7 +54,7 @@ const alert_Alert = function({ ref, intent = 'success', icon = true, close = tru
54
54
  intent: intent,
55
55
  variant: "filled",
56
56
  "aria-label": "Close",
57
- className: classnames('byline-alert-close', alert_module.close),
57
+ className: clsx('byline-alert-close', alert_module.close),
58
58
  type: "button",
59
59
  onClick: handleOnClose,
60
60
  ...rest,
@@ -66,24 +66,24 @@ const alert_Alert = function({ ref, intent = 'success', icon = true, close = tru
66
66
  ]
67
67
  }),
68
68
  /*#__PURE__*/ jsx("div", {
69
- className: classnames('byline-alert-content', alert_module.content),
69
+ className: clsx('byline-alert-content', alert_module.content),
70
70
  children: children
71
71
  })
72
72
  ]
73
73
  }) : /*#__PURE__*/ jsxs(Fragment, {
74
74
  children: [
75
75
  icon && /*#__PURE__*/ jsx(Icon, {
76
- className: classnames('byline-alert-icon', alert_module.icon)
76
+ className: clsx('byline-alert-icon', alert_module.icon)
77
77
  }),
78
78
  /*#__PURE__*/ jsx("div", {
79
- className: classnames('byline-alert-content', alert_module.content),
79
+ className: clsx('byline-alert-content', alert_module.content),
80
80
  children: children
81
81
  }),
82
82
  true === close && /*#__PURE__*/ jsx(Button, {
83
83
  intent: intent,
84
84
  variant: "filled",
85
85
  "aria-label": "Close",
86
- className: classnames('byline-alert-close', alert_module.close),
86
+ className: clsx('byline-alert-close', alert_module.close),
87
87
  type: "button",
88
88
  onClick: handleOnClose,
89
89
  ...rest,
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import react from "react";
4
4
  import { Toast } from "@base-ui/react/toast";
5
- import classnames from "classnames";
5
+ import clsx from "clsx";
6
6
  import { CloseIcon } from "../../icons/close-icon.js";
7
7
  import { DangerIcon } from "../../icons/danger-icon.js";
8
8
  import { InfoIcon } from "../../icons/info-icon.js";
@@ -30,7 +30,7 @@ function ToastViewport({ position = 'bottom-right', className }) {
30
30
  const { toasts } = Toast.useToastManager();
31
31
  return /*#__PURE__*/ jsx(Toast.Portal, {
32
32
  children: /*#__PURE__*/ jsx(Toast.Viewport, {
33
- className: classnames('byline-toast-viewport', toast_module.viewport, toast_module[position], className),
33
+ className: clsx('byline-toast-viewport', toast_module.viewport, toast_module[position], className),
34
34
  children: toasts.map((toast)=>/*#__PURE__*/ jsx(ToastItem, {
35
35
  toast: toast
36
36
  }, toast.id))
@@ -48,12 +48,12 @@ function ToastItem({ toast }) {
48
48
  return /*#__PURE__*/ jsx(Toast.Root, {
49
49
  toast: toast,
50
50
  swipeDirection: swipeDirection,
51
- className: classnames('byline-toast', toast_module.root),
51
+ className: clsx('byline-toast', toast_module.root),
52
52
  children: /*#__PURE__*/ jsxs(Toast.Content, {
53
- className: classnames('byline-toast-content', toast_module.content),
53
+ className: clsx('byline-toast-content', toast_module.content),
54
54
  children: [
55
55
  /*#__PURE__*/ jsxs("div", {
56
- className: classnames('byline-toast-header', toast_module.header),
56
+ className: clsx('byline-toast-header', toast_module.header),
57
57
  children: [
58
58
  /*#__PURE__*/ jsx("time", {
59
59
  dateTime: eventDateRef.current.toISOString(),
@@ -70,7 +70,7 @@ function ToastItem({ toast }) {
70
70
  tabIndex: 0,
71
71
  variant: "filled",
72
72
  "aria-label": "Close",
73
- className: classnames('byline-toast-close', toast_module.close),
73
+ className: clsx('byline-toast-close', toast_module.close),
74
74
  type: "button"
75
75
  }),
76
76
  children: /*#__PURE__*/ jsx(CloseIcon, {
@@ -81,14 +81,14 @@ function ToastItem({ toast }) {
81
81
  ]
82
82
  }),
83
83
  /*#__PURE__*/ jsxs(Toast.Title, {
84
- className: classnames('byline-toast-title', toast_module.title),
84
+ className: clsx('byline-toast-title', toast_module.title),
85
85
  children: [
86
86
  icon && Icon && /*#__PURE__*/ jsx(Icon, {}),
87
87
  toast.title
88
88
  ]
89
89
  }),
90
90
  /*#__PURE__*/ jsx(Toast.Description, {
91
- className: classnames("byline-toast-description", toast_module.description),
91
+ className: clsx("byline-toast-description", toast_module.description),
92
92
  children: toast.description
93
93
  })
94
94
  ]
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import classnames from "classnames";
3
+ import clsx from "clsx";
4
4
  import { usePager } from "./pagination.js";
5
5
  import pagination_module from "./pagination.module.js";
6
6
  function Ellipses() {
@@ -8,7 +8,7 @@ function Ellipses() {
8
8
  return /*#__PURE__*/ jsx("li", {
9
9
  className: "flex",
10
10
  children: /*#__PURE__*/ jsx("div", {
11
- className: classnames(pagination_module.ellipses, 'pagination-ellipses'),
11
+ className: clsx(pagination_module.ellipses, 'pagination-ellipses'),
12
12
  children: "..."
13
13
  })
14
14
  });
@@ -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 { ChevronLeftDoubleIcon } from "../../icons/chevron-left-double-icon.js";
6
6
  import { usePager } from "./pagination.js";
7
7
  import pagination_module from "./pagination.module.js";
8
8
  const FirstButton = ({ ref, className, disabled, render, children, ...rest })=>{
9
9
  const { variant } = usePager();
10
10
  const sharedProps = {
11
- className: classnames(pagination_module["first-button"], pagination_module[variant], pagination_module["rounded-left"], 'pagination-first', className),
11
+ className: clsx(pagination_module["first-button"], pagination_module[variant], pagination_module["rounded-left"], 'pagination-first', className),
12
12
  disabled,
13
13
  'data-testid': 'pagination-first',
14
14
  title: 'First',
@@ -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 { ChevronRightDoubleIcon } from "../../icons/chevron-right-double-icon.js";
6
6
  import { usePager } from "./pagination.js";
7
7
  import pagination_module from "./pagination.module.js";
8
8
  const LastButton = ({ ref, className, disabled, count, render, children, ...rest })=>{
9
9
  const { variant } = usePager();
10
10
  const sharedProps = {
11
- className: classnames(pagination_module["last-button"], pagination_module[variant], pagination_module["rounded-right"], 'pagination-last', className),
11
+ className: clsx(pagination_module["last-button"], pagination_module[variant], pagination_module["rounded-right"], 'pagination-last', className),
12
12
  disabled,
13
13
  title: 'Last',
14
14
  'data-testid': 'pagination-last',
@@ -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 { ChevronRightIcon } from "../../icons/chevron-right-icon.js";
6
6
  import { usePager } from "./pagination.js";
7
7
  import pagination_module from "./pagination.module.js";
8
8
  const NextButton = ({ ref, className, disabled, page, render, children, ...rest })=>{
9
9
  const { variant, showLastButton } = usePager();
10
10
  const sharedProps = {
11
- className: classnames(pagination_module["next-button"], [
11
+ className: clsx(pagination_module["next-button"], [
12
12
  pagination_module[variant]
13
13
  ], {
14
14
  [pagination_module["rounded-right"]]: null == showLastButton || false === showLastButton
@@ -1,7 +1,7 @@
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 { useMediaQuery } from "../../hooks/use-media-query.js";
6
6
  import { usePager } from "./pagination.js";
7
7
  import pagination_module from "./pagination.module.js";
@@ -10,7 +10,7 @@ const NumberButton = ({ ref, page, className, disabled, activeClassName, render,
10
10
  const { variant, currentPage, count, showFirstButton, showLastButton, hideNextButton, hidePrevButton } = usePager();
11
11
  const active = page === currentPage;
12
12
  const sharedProps = {
13
- className: classnames(pagination_module["number-button"], [
13
+ className: clsx(pagination_module["number-button"], [
14
14
  pagination_module[variant]
15
15
  ], {
16
16
  [pagination_module.active]: true === active,
@@ -20,7 +20,7 @@ const NumberButton = ({ ref, page, className, disabled, activeClassName, render,
20
20
  }, {
21
21
  [pagination_module["rounded-right"]]: page === count && (!(showLastButton ?? false) && (hideNextButton ?? false) || mobile)
22
22
  }, 'pagination-number', className),
23
- 'data-testid': classnames({
23
+ 'data-testid': clsx({
24
24
  'pager-number-active': currentPage === page,
25
25
  [`pager-number-${page}`]: currentPage !== page
26
26
  }).length > 0 || void 0,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { Fragment, jsx } from "react/jsx-runtime";
3
3
  import react, { useContext } from "react";
4
- import classnames from "classnames";
4
+ import clsx from "clsx";
5
5
  import { Ellipses } from "./ellipses.js";
6
6
  import { FirstButton } from "./first-button.js";
7
7
  import { usePagination } from "./hooks/usePagination.js";
@@ -113,11 +113,11 @@ const Root = ({ ref, className, itemsClassName, children, ariaLabel, dataTestId,
113
113
  return /*#__PURE__*/ jsx("nav", {
114
114
  "data-testid": dataTestId,
115
115
  ref: ref,
116
- className: classnames('byline-pagination-root', pagination_module["pagination-root"], 'pagination-root', className),
116
+ className: clsx('byline-pagination-root', pagination_module["pagination-root"], 'pagination-root', className),
117
117
  ...rest,
118
118
  "aria-label": ariaLabel ?? 'Pager navigation',
119
119
  children: /*#__PURE__*/ jsx("ul", {
120
- className: classnames('byline-pagination-items', pagination_module["pagination-items"], pagination_module[variant], itemsClassName),
120
+ className: clsx('byline-pagination-items', pagination_module["pagination-items"], pagination_module[variant], itemsClassName),
121
121
  children: children
122
122
  })
123
123
  });