@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.
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/button/button-group.js +2 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/button/combo-button.js +8 -8
- package/dist/components/button/control-buttons.js +4 -4
- package/dist/components/button/copy-button.js +3 -3
- package/dist/components/button/icon-button.js +2 -2
- package/dist/components/card/card.js +7 -7
- package/dist/components/chips/chip.js +6 -6
- package/dist/components/container/container.js +2 -2
- package/dist/components/dropdown/dropdown.js +9 -9
- package/dist/components/hamburger/hamburger.js +4 -4
- package/dist/components/inputs/autocomplete.js +10 -10
- package/dist/components/inputs/calendar.js +24 -24
- package/dist/components/inputs/checkbox-group.js +2 -2
- package/dist/components/inputs/checkbox.js +6 -6
- package/dist/components/inputs/error-text.js +2 -2
- package/dist/components/inputs/help-text.js +2 -2
- package/dist/components/inputs/input-adornment.js +2 -2
- package/dist/components/inputs/input.js +6 -6
- package/dist/components/inputs/label.js +2 -2
- package/dist/components/inputs/radio-group.js +3 -3
- package/dist/components/inputs/select.js +6 -6
- package/dist/components/inputs/text-area.js +3 -3
- package/dist/components/notifications/alert.js +11 -11
- package/dist/components/notifications/toast.js +8 -8
- package/dist/components/pager/ellipses.js +2 -2
- package/dist/components/pager/first-button.js +2 -2
- package/dist/components/pager/last-button.js +2 -2
- package/dist/components/pager/next-button.js +2 -2
- package/dist/components/pager/number-button.js +3 -3
- package/dist/components/pager/pagination.js +3 -3
- package/dist/components/pager/previous-button.js +2 -2
- package/dist/components/scroll-area/scroll-area.js +8 -8
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/section/section.js +2 -2
- package/dist/components/shimmer/shimmer.js +4 -4
- package/dist/components/table/table.js +10 -10
- package/dist/components/tabs/tabs.js +5 -5
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/dnd/draggable-sortable/demo/draggable-list-demo.js +5 -5
- package/dist/icons/activity-icon.js +3 -3
- package/dist/icons/ai-icon.js +3 -3
- package/dist/icons/byline-icon.js +3 -3
- package/dist/icons/calendar-icon.js +3 -3
- package/dist/icons/check-icon.js +3 -3
- package/dist/icons/chevron-down-icon.js +3 -3
- package/dist/icons/chevron-left-double-icon.js +3 -3
- package/dist/icons/chevron-left-icon.js +3 -3
- package/dist/icons/chevron-right-double-icon.js +3 -3
- package/dist/icons/chevron-right-icon.js +3 -3
- package/dist/icons/chevron-up-icon.js +3 -3
- package/dist/icons/chevrons-up-down.js +3 -3
- package/dist/icons/close-icon.js +3 -3
- package/dist/icons/copy-icon.js +3 -3
- package/dist/icons/danger-icon.js +3 -3
- package/dist/icons/dashboard-icon.js +3 -3
- package/dist/icons/delete-icon.js +3 -3
- package/dist/icons/document-icon.js +3 -3
- package/dist/icons/download-icon.js +3 -3
- package/dist/icons/edit-icon.js +3 -3
- package/dist/icons/ellipsis-icon.js +3 -3
- package/dist/icons/email-icon.js +3 -3
- package/dist/icons/external-link-icon.js +3 -3
- package/dist/icons/eye-closed-icon.js +3 -3
- package/dist/icons/eye-open-icon.js +3 -3
- package/dist/icons/github-icon.js +3 -3
- package/dist/icons/globe-icon.js +3 -3
- package/dist/icons/google-icon.js +2 -2
- package/dist/icons/gripper-vertical-icon.js +3 -3
- package/dist/icons/history-icon.js +3 -3
- package/dist/icons/home-icon.js +3 -3
- package/dist/icons/icon-element.js +2 -2
- package/dist/icons/info-icon.js +3 -3
- package/dist/icons/infonomic-icon.js +3 -3
- package/dist/icons/light-icon.js +3 -3
- package/dist/icons/location-pin-icon.js +3 -3
- package/dist/icons/markdown-icon.js +3 -3
- package/dist/icons/moon-icon.js +3 -3
- package/dist/icons/plus-icon.js +3 -3
- package/dist/icons/primary-icon.js +3 -3
- package/dist/icons/refresh-icon.js +3 -3
- package/dist/icons/return-icon.js +3 -3
- package/dist/icons/roles-icon.js +3 -3
- package/dist/icons/search-icon.js +3 -3
- package/dist/icons/search-menu-icon.js +3 -3
- package/dist/icons/settings-gear-icon.js +3 -3
- package/dist/icons/settings-sliders-icon.js +3 -3
- package/dist/icons/sign-out-icon.js +3 -3
- package/dist/icons/stop-icon.js +3 -3
- package/dist/icons/stopwatch-icon.js +3 -3
- package/dist/icons/success-icon.js +3 -3
- package/dist/icons/user-icon.js +3 -3
- package/dist/icons/users-icon.js +3 -3
- package/dist/icons/video-icon.js +3 -3
- package/dist/icons/wallet-icon.js +3 -3
- package/dist/icons/warning-icon.js +3 -3
- package/dist/icons/x-icon.js +3 -3
- package/dist/loaders/ellipses.js +3 -3
- package/dist/loaders/ring.js +3 -3
- package/dist/loaders/spinner.js +4 -4
- package/dist/widgets/datepicker/datepicker.js +12 -12
- package/dist/widgets/drawer/drawer-container.js +2 -2
- package/dist/widgets/drawer/drawer-content.js +2 -2
- package/dist/widgets/drawer/drawer-header.js +2 -2
- package/dist/widgets/drawer/drawer-top-actions.js +2 -2
- package/dist/widgets/drawer/drawer.js +4 -4
- package/dist/widgets/image-lightbox/image-lightbox.js +9 -9
- package/dist/widgets/modal/modal-actions.js +2 -2
- package/dist/widgets/modal/modal-container.js +2 -2
- package/dist/widgets/modal/modal-content.js +2 -2
- package/dist/widgets/modal/modal-header.js +2 -2
- package/dist/widgets/modal/modal.js +3 -3
- package/dist/widgets/timeline/timeline.js +8 -8
- package/package.json +13 -13
- package/src/components/accordion/accordion.tsx +1 -1
- package/src/components/avatar/avatar.tsx +1 -1
- package/src/components/badge/badge.tsx +1 -1
- package/src/components/button/button-group.tsx +1 -1
- package/src/components/button/button.tsx +1 -1
- package/src/components/button/combo-button.tsx +1 -1
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.tsx +1 -1
- package/src/components/button/icon-button.tsx +1 -1
- package/src/components/card/card.tsx +1 -1
- package/src/components/chips/chip.tsx +1 -1
- package/src/components/container/container.tsx +1 -1
- package/src/components/dropdown/dropdown.tsx +1 -1
- package/src/components/hamburger/hamburger.tsx +1 -1
- package/src/components/inputs/autocomplete.tsx +1 -1
- package/src/components/inputs/calendar.tsx +1 -1
- package/src/components/inputs/checkbox-group.tsx +1 -1
- package/src/components/inputs/checkbox.tsx +1 -1
- package/src/components/inputs/error-text.tsx +1 -1
- package/src/components/inputs/help-text.tsx +1 -1
- package/src/components/inputs/input-adornment.tsx +1 -1
- package/src/components/inputs/input.tsx +1 -1
- package/src/components/inputs/label.tsx +1 -1
- package/src/components/inputs/radio-group.tsx +1 -1
- package/src/components/inputs/select.tsx +1 -1
- package/src/components/inputs/text-area.tsx +1 -1
- package/src/components/notifications/alert.tsx +1 -1
- package/src/components/notifications/toast.tsx +1 -1
- package/src/components/pager/ellipses.tsx +1 -1
- package/src/components/pager/first-button.tsx +1 -1
- package/src/components/pager/last-button.tsx +1 -1
- package/src/components/pager/next-button.tsx +1 -1
- package/src/components/pager/number-button.tsx +1 -1
- package/src/components/pager/pagination.tsx +1 -1
- package/src/components/pager/previous-button.tsx +1 -1
- package/src/components/scroll-area/scroll-area.tsx +1 -1
- package/src/components/scroll-to-top/scroll-to-top.tsx +1 -1
- package/src/components/section/section.tsx +1 -1
- package/src/components/shimmer/shimmer.tsx +1 -1
- package/src/components/table/table.tsx +1 -1
- package/src/components/tabs/tabs.tsx +1 -1
- package/src/components/tooltip/tooltip.tsx +1 -1
- package/src/dnd/draggable-sortable/demo/draggable-list-demo.tsx +1 -1
- package/src/icons/activity-icon.tsx +1 -1
- package/src/icons/ai-icon.tsx +1 -1
- package/src/icons/byline-icon.tsx +1 -1
- package/src/icons/calendar-icon.tsx +1 -1
- package/src/icons/check-icon.tsx +1 -1
- package/src/icons/chevron-down-icon.tsx +1 -1
- package/src/icons/chevron-left-double-icon.tsx +1 -1
- package/src/icons/chevron-left-icon.tsx +1 -1
- package/src/icons/chevron-right-double-icon.tsx +1 -1
- package/src/icons/chevron-right-icon.tsx +1 -1
- package/src/icons/chevron-up-icon.tsx +1 -1
- package/src/icons/chevrons-up-down.tsx +1 -1
- package/src/icons/close-icon.tsx +1 -1
- package/src/icons/copy-icon.tsx +1 -1
- package/src/icons/danger-icon.tsx +1 -1
- package/src/icons/dashboard-icon.tsx +1 -1
- package/src/icons/delete-icon.tsx +1 -1
- package/src/icons/document-icon.tsx +1 -1
- package/src/icons/download-icon.tsx +1 -1
- package/src/icons/edit-icon.tsx +1 -1
- package/src/icons/ellipsis-icon.tsx +1 -1
- package/src/icons/email-icon.tsx +1 -1
- package/src/icons/external-link-icon.tsx +1 -1
- package/src/icons/eye-closed-icon.tsx +1 -1
- package/src/icons/eye-open-icon.tsx +1 -1
- package/src/icons/github-icon.tsx +1 -1
- package/src/icons/globe-icon.tsx +1 -1
- package/src/icons/google-icon.tsx +1 -1
- package/src/icons/gripper-vertical-icon.tsx +1 -1
- package/src/icons/history-icon.tsx +1 -1
- package/src/icons/home-icon.tsx +1 -1
- package/src/icons/icon-element.tsx +1 -1
- package/src/icons/info-icon.tsx +1 -1
- package/src/icons/infonomic-icon.tsx +1 -1
- package/src/icons/light-icon.tsx +1 -1
- package/src/icons/location-pin-icon.tsx +1 -1
- package/src/icons/markdown-icon.tsx +1 -1
- package/src/icons/moon-icon.tsx +1 -1
- package/src/icons/plus-icon.tsx +1 -1
- package/src/icons/primary-icon.tsx +1 -1
- package/src/icons/refresh-icon.tsx +1 -1
- package/src/icons/return-icon.tsx +1 -1
- package/src/icons/roles-icon.tsx +1 -1
- package/src/icons/search-icon.tsx +1 -1
- package/src/icons/search-menu-icon.tsx +1 -1
- package/src/icons/settings-gear-icon.tsx +1 -1
- package/src/icons/settings-sliders-icon.tsx +1 -1
- package/src/icons/sign-out-icon.tsx +1 -1
- package/src/icons/stop-icon.tsx +1 -1
- package/src/icons/stopwatch-icon.tsx +1 -1
- package/src/icons/success-icon.tsx +1 -1
- package/src/icons/user-icon.tsx +1 -1
- package/src/icons/users-icon.tsx +1 -1
- package/src/icons/video-icon.tsx +1 -1
- package/src/icons/wallet-icon.tsx +1 -1
- package/src/icons/warning-icon.tsx +1 -1
- package/src/icons/x-icon.tsx +1 -1
- package/src/loaders/ellipses.tsx +1 -1
- package/src/loaders/ring.tsx +1 -1
- package/src/loaders/spinner.tsx +1 -1
- package/src/widgets/datepicker/datepicker.tsx +1 -1
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer.tsx +1 -1
- package/src/widgets/image-lightbox/image-lightbox.tsx +1 -1
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-header.tsx +1 -1
- package/src/widgets/modal/modal.tsx +1 -1
- 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
|
|
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:
|
|
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
|
|
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:
|
|
7
|
+
className: clsx('byline-scroll-area', scroll_area_module.root, className),
|
|
8
8
|
children: [
|
|
9
9
|
/*#__PURE__*/ jsx(ScrollArea.Viewport, {
|
|
10
|
-
className:
|
|
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:
|
|
16
|
+
className: clsx('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
17
17
|
orientation: "vertical",
|
|
18
18
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
19
|
-
className:
|
|
19
|
+
className: clsx('byline-scroll-area-thumb', scroll_area_module.thumb)
|
|
20
20
|
})
|
|
21
21
|
}),
|
|
22
22
|
/*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
23
|
-
className:
|
|
23
|
+
className: clsx('byline-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
24
24
|
orientation: "horizontal",
|
|
25
25
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
26
|
-
className:
|
|
26
|
+
className: clsx('byline-scroll-area-thumb', scroll_area_module.thumb)
|
|
27
27
|
})
|
|
28
28
|
}),
|
|
29
29
|
/*#__PURE__*/ jsx(ScrollArea.Corner, {
|
|
30
|
-
className:
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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 =
|
|
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 =
|
|
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:
|
|
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:
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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:
|
|
48
|
+
className: clsx(tooltip_module.tooltip, 'byline-tooltip'),
|
|
49
49
|
children: [
|
|
50
50
|
/*#__PURE__*/ jsx(tooltip_Tooltip.Arrow, {
|
|
51
|
-
className:
|
|
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
|
|
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:
|
|
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:
|
|
64
|
+
className: clsx('byline-demo-card-header', draggable_list_demo_module["card-header"]),
|
|
65
65
|
children: [
|
|
66
66
|
/*#__PURE__*/ jsx("div", {
|
|
67
|
-
className:
|
|
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:
|
|
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('activity-icon', className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: /*#__PURE__*/ jsxs("svg", {
|
|
11
11
|
className: applied,
|
package/dist/icons/ai-icon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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
|
-
|
|
6
|
+
clsx(icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(svgStylesDefault, svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('calendar-icon', className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: /*#__PURE__*/ jsx("svg", {
|
|
11
11
|
className: applied,
|
package/dist/icons/check-icon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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",
|
package/dist/icons/close-icon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('close-icon', className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: /*#__PURE__*/ jsxs("svg", {
|
|
11
11
|
className: applied,
|
package/dist/icons/copy-icon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-danger"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-none"], icons_module["stroke-danger"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
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
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('download-icon', className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: /*#__PURE__*/ jsx("svg", {
|
|
11
11
|
className: applied,
|
package/dist/icons/edit-icon.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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 =
|
|
6
|
+
const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
|
|
7
7
|
return /*#__PURE__*/ jsx(IconElement, {
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('edit-icon', className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: /*#__PURE__*/ jsxs("svg", {
|
|
11
11
|
className: applied,
|