@dnanpm/ui-components 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AccordionItem/AccordionItem.css +16 -16
- package/dist/components/AccordionItem/AccordionItem.module.css.cjs +11 -11
- package/dist/components/AccordionItem/AccordionItem.module.css.js +11 -11
- package/dist/components/Breadcrumb/Breadcrumb.css +9 -9
- package/dist/components/Breadcrumb/Breadcrumb.module.css.cjs +6 -6
- package/dist/components/Breadcrumb/Breadcrumb.module.css.js +6 -6
- package/dist/components/Button/Button.css +32 -30
- package/dist/components/Button/Button.module.css.cjs +11 -11
- package/dist/components/Button/Button.module.css.js +11 -11
- package/dist/components/ButtonCard/ButtonCard.cjs +105 -0
- package/dist/components/ButtonCard/ButtonCard.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.css +167 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts +3 -0
- package/dist/components/ButtonCard/ButtonCard.d.ts.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.js +105 -0
- package/dist/components/ButtonCard/ButtonCard.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs +18 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.cjs.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js +19 -0
- package/dist/components/ButtonCard/ButtonCard.module.css.js.map +1 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts +103 -0
- package/dist/components/ButtonCard/ButtonCard.types.d.ts.map +1 -0
- package/dist/components/ButtonCard/index.d.ts +3 -0
- package/dist/components/ButtonCard/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.cjs +101 -0
- package/dist/components/Drawer/Drawer.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.css +219 -0
- package/dist/components/Drawer/Drawer.d.ts +3 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.js +101 -0
- package/dist/components/Drawer/Drawer.js.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.cjs +37 -0
- package/dist/components/Drawer/Drawer.module.css.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.module.css.js +37 -0
- package/dist/components/Drawer/Drawer.module.css.js.map +1 -0
- package/dist/components/Drawer/Drawer.types.d.ts +63 -0
- package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +3 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Footer/Footer.cjs +272 -0
- package/dist/components/Footer/Footer.cjs.map +1 -0
- package/dist/components/Footer/Footer.css +473 -0
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.js +272 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.module.css.cjs +80 -0
- package/dist/components/Footer/Footer.module.css.cjs.map +1 -0
- package/dist/components/Footer/Footer.module.css.js +80 -0
- package/dist/components/Footer/Footer.module.css.js.map +1 -0
- package/dist/components/Footer/Footer.types.d.ts +128 -0
- package/dist/components/Footer/Footer.types.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.cjs +41 -0
- package/dist/components/Footer/Footer.utils.cjs.map +1 -0
- package/dist/components/Footer/Footer.utils.d.ts +13 -0
- package/dist/components/Footer/Footer.utils.d.ts.map +1 -0
- package/dist/components/Footer/Footer.utils.js +41 -0
- package/dist/components/Footer/Footer.utils.js.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/app-store-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js +5 -0
- package/dist/components/Footer/assets/app-store-badge.svg.js.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs +4 -0
- package/dist/components/Footer/assets/google-play-badge.svg.cjs.map +1 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js +5 -0
- package/dist/components/Footer/assets/google-play-badge.svg.js.map +1 -0
- package/dist/components/Footer/index.d.ts +3 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.cjs +34 -0
- package/dist/components/FunctionButton/FunctionButton.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.css +125 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts +3 -0
- package/dist/components/FunctionButton/FunctionButton.d.ts.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.js +34 -0
- package/dist/components/FunctionButton/FunctionButton.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs +11 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.cjs.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js +12 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js.map +1 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts +21 -0
- package/dist/components/FunctionButton/FunctionButton.types.d.ts.map +1 -0
- package/dist/components/FunctionButton/index.d.ts +3 -0
- package/dist/components/FunctionButton/index.d.ts.map +1 -0
- package/dist/components/Hero/Hero.cjs +44 -30
- package/dist/components/Hero/Hero.cjs.map +1 -1
- package/dist/components/Hero/Hero.css +89 -100
- package/dist/components/Hero/Hero.d.ts +1 -1
- package/dist/components/Hero/Hero.d.ts.map +1 -1
- package/dist/components/Hero/Hero.js +45 -31
- package/dist/components/Hero/Hero.js.map +1 -1
- package/dist/components/Hero/Hero.module.css.cjs +17 -20
- package/dist/components/Hero/Hero.module.css.cjs.map +1 -1
- package/dist/components/Hero/Hero.module.css.js +17 -20
- package/dist/components/Hero/Hero.module.css.js.map +1 -1
- package/dist/components/Hero/Hero.types.d.ts +8 -3
- package/dist/components/Hero/Hero.types.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.cjs +5 -8
- package/dist/components/Hero/Hero.utils.cjs.map +1 -1
- package/dist/components/Hero/Hero.utils.d.ts +2 -2
- package/dist/components/Hero/Hero.utils.d.ts.map +1 -1
- package/dist/components/Hero/Hero.utils.js +5 -8
- package/dist/components/Hero/Hero.utils.js.map +1 -1
- package/dist/components/IconButton/IconButton.css +31 -32
- package/dist/components/IconButton/IconButton.module.css.cjs +9 -9
- package/dist/components/IconButton/IconButton.module.css.js +9 -9
- package/dist/components/MainNavigation/MainNavigation.cjs +1094 -0
- package/dist/components/MainNavigation/MainNavigation.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.css +948 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts +3 -0
- package/dist/components/MainNavigation/MainNavigation.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.js +1094 -0
- package/dist/components/MainNavigation/MainNavigation.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs +74 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js +75 -0
- package/dist/components/MainNavigation/MainNavigation.module.css.js.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts +149 -0
- package/dist/components/MainNavigation/MainNavigation.types.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.cjs.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts +29 -0
- package/dist/components/MainNavigation/MainNavigation.utils.d.ts.map +1 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js +168 -0
- package/dist/components/MainNavigation/MainNavigation.utils.js.map +1 -0
- package/dist/components/MainNavigation/index.d.ts +3 -0
- package/dist/components/MainNavigation/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.cjs +101 -0
- package/dist/components/Modal/Modal.cjs.map +1 -0
- package/dist/components/Modal/Modal.css +205 -0
- package/dist/components/Modal/Modal.d.ts +3 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.js +101 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.module.css.cjs +39 -0
- package/dist/components/Modal/Modal.module.css.cjs.map +1 -0
- package/dist/components/Modal/Modal.module.css.js +39 -0
- package/dist/components/Modal/Modal.module.css.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +62 -0
- package/dist/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.cjs +41 -0
- package/dist/components/Modal/useDialogDismissal.cjs.map +1 -0
- package/dist/components/Modal/useDialogDismissal.d.ts +17 -0
- package/dist/components/Modal/useDialogDismissal.d.ts.map +1 -0
- package/dist/components/Modal/useDialogDismissal.js +41 -0
- package/dist/components/Modal/useDialogDismissal.js.map +1 -0
- package/dist/components/Modal/useNativeDialog.cjs +126 -0
- package/dist/components/Modal/useNativeDialog.cjs.map +1 -0
- package/dist/components/Modal/useNativeDialog.d.ts +14 -0
- package/dist/components/Modal/useNativeDialog.d.ts.map +1 -0
- package/dist/components/Modal/useNativeDialog.js +126 -0
- package/dist/components/Modal/useNativeDialog.js.map +1 -0
- package/dist/components/Pictograph/Pictograph.css +69 -57
- package/dist/components/Pictograph/Pictograph.module.css.cjs +11 -11
- package/dist/components/Pictograph/Pictograph.module.css.js +11 -11
- package/dist/components/Pictograph/Pictograph.types.d.ts +2 -2
- package/dist/components/Pictograph/PictographItem.cjs +15 -4
- package/dist/components/Pictograph/PictographItem.cjs.map +1 -1
- package/dist/components/Pictograph/PictographItem.css +26 -23
- package/dist/components/Pictograph/PictographItem.d.ts.map +1 -1
- package/dist/components/Pictograph/PictographItem.js +15 -4
- package/dist/components/Pictograph/PictographItem.js.map +1 -1
- package/dist/components/Pictograph/PictographItem.module.css.cjs +3 -3
- package/dist/components/Pictograph/PictographItem.module.css.js +3 -3
- package/dist/components/Quote/Quote.cjs +32 -0
- package/dist/components/Quote/Quote.cjs.map +1 -0
- package/dist/components/Quote/Quote.css +95 -0
- package/dist/components/Quote/Quote.d.ts +3 -0
- package/dist/components/Quote/Quote.d.ts.map +1 -0
- package/dist/components/Quote/Quote.js +32 -0
- package/dist/components/Quote/Quote.js.map +1 -0
- package/dist/components/Quote/Quote.module.css.cjs +22 -0
- package/dist/components/Quote/Quote.module.css.cjs.map +1 -0
- package/dist/components/Quote/Quote.module.css.js +22 -0
- package/dist/components/Quote/Quote.module.css.js.map +1 -0
- package/dist/components/Quote/Quote.types.d.ts +12 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -0
- package/dist/components/Quote/index.d.ts +3 -0
- package/dist/components/Quote/index.d.ts.map +1 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/utils/elevation.module.css.cjs +3 -0
- package/dist/styles/utils/elevation.module.css.cjs.map +1 -1
- package/dist/styles/utils/elevation.module.css.js +4 -1
- package/dist/styles/utils/elevation.module.css.js.map +1 -1
- package/dist/styles/utils/focus.css +21 -13
- package/dist/styles/utils/focus.module.css.cjs +3 -3
- package/dist/styles/utils/focus.module.css.js +3 -3
- package/dist/styles/utils/overlay.css +37 -0
- package/dist/styles/utils/overlay.module.css.cjs +13 -0
- package/dist/styles/utils/overlay.module.css.cjs.map +1 -0
- package/dist/styles/utils/overlay.module.css.js +13 -0
- package/dist/styles/utils/overlay.module.css.js.map +1 -0
- package/dist/styles/utils/text-decoration.css +9 -1
- package/dist/styles/utils/text-decoration.module.css.cjs +5 -2
- package/dist/styles/utils/text-decoration.module.css.cjs.map +1 -1
- package/dist/styles/utils/text-decoration.module.css.js +6 -3
- package/dist/styles/utils/text-decoration.module.css.js.map +1 -1
- package/dist/styles.css +24 -7
- package/package.json +4 -3
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* === Box variant === */
|
|
9
9
|
|
|
10
|
-
._accordion-item--
|
|
10
|
+
._accordion-item--box_koqlc_10 {
|
|
11
11
|
background: var(--color-semantic-surface-base);
|
|
12
12
|
color: var(--color-semantic-foreground-default);
|
|
13
13
|
}
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
/* === Panel variant === */
|
|
16
16
|
/* Inherits text color from parent context intentionally */
|
|
17
17
|
|
|
18
|
-
._accordion-item--
|
|
18
|
+
._accordion-item--panel_koqlc_18 {
|
|
19
19
|
border-bottom: var(--borderwidth-semantic-xs) solid var(--color-semantic-border-neutral-mid);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* === Summary (clickable header) === */
|
|
23
23
|
|
|
24
|
-
._accordion-
|
|
24
|
+
._accordion-item__summary_koqlc_24 {
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
gap: var(--spacing-space-20);
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Remove default marker in all browsers */
|
|
36
|
-
._accordion-
|
|
37
|
-
._accordion-
|
|
36
|
+
._accordion-item__summary_koqlc_24::-webkit-details-marker,
|
|
37
|
+
._accordion-item__summary_koqlc_24::marker {
|
|
38
38
|
display: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* === Image === */
|
|
42
42
|
|
|
43
|
-
._accordion-
|
|
43
|
+
._accordion-item__image_koqlc_43 {
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
justify-content: center;
|
|
@@ -57,45 +57,45 @@
|
|
|
57
57
|
|
|
58
58
|
/* === Image size variants === */
|
|
59
59
|
|
|
60
|
-
._accordion-item__image--
|
|
60
|
+
._accordion-item__image--sm_koqlc_60 {
|
|
61
61
|
width: 1.5rem;
|
|
62
62
|
height: 1.5rem;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
._accordion-item__image--
|
|
65
|
+
._accordion-item__image--md_koqlc_65 {
|
|
66
66
|
width: 2.5rem;
|
|
67
67
|
height: 2.5rem;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
._accordion-item__image--
|
|
70
|
+
._accordion-item__image--lg_koqlc_70 {
|
|
71
71
|
width: 5rem;
|
|
72
72
|
height: 5rem;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* === Label === */
|
|
76
76
|
|
|
77
|
-
._accordion-
|
|
77
|
+
._accordion-item__label_koqlc_77 {
|
|
78
78
|
flex: 1 1 auto;
|
|
79
79
|
min-width: 0;
|
|
80
|
-
font
|
|
80
|
+
font: var(--typography-body-md-bold);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* === Chevron icon === */
|
|
84
84
|
|
|
85
|
-
._accordion-
|
|
85
|
+
._accordion-item__chevron_koqlc_85 {
|
|
86
86
|
flex: 0 0 auto;
|
|
87
87
|
width: 1.5rem;
|
|
88
88
|
height: 1.5rem;
|
|
89
89
|
transition: transform 0.2s ease-in-out;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
._accordion-
|
|
92
|
+
._accordion-item_koqlc_10[open] > ._accordion-item__summary_koqlc_24 ._accordion-item__chevron_koqlc_85 {
|
|
93
93
|
transform: rotate(180deg);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/* === Content area === */
|
|
97
97
|
|
|
98
|
-
._accordion-
|
|
98
|
+
._accordion-item__content_koqlc_98 {
|
|
99
99
|
padding: 0 var(--spacing-space-20) var(--spacing-space-20);
|
|
100
100
|
|
|
101
101
|
& > *:last-child {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* === Animation === */
|
|
107
|
-
._accordion-
|
|
107
|
+
._accordion-item_koqlc_10::details-content {
|
|
108
108
|
display: block;
|
|
109
109
|
block-size: 0;
|
|
110
110
|
opacity: 0;
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
transition-behavior: allow-discrete;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
._accordion-
|
|
119
|
+
._accordion-item_koqlc_10[open]::details-content {
|
|
120
120
|
/* Fallback for browsers that don't support calc-size() function */
|
|
121
121
|
block-size: auto;
|
|
122
122
|
opacity: 1;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
require('./AccordionItem.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
const styles = {
|
|
4
|
-
"accordion-item--box": "_accordion-item--
|
|
5
|
-
"accordion-item--panel": "_accordion-item--
|
|
6
|
-
"accordion-item__summary": "_accordion-
|
|
7
|
-
"accordion-item__image": "_accordion-
|
|
8
|
-
"accordion-item__image--sm": "_accordion-item__image--
|
|
9
|
-
"accordion-item__image--md": "_accordion-item__image--
|
|
10
|
-
"accordion-item__image--lg": "_accordion-item__image--
|
|
11
|
-
"accordion-item__label": "_accordion-
|
|
12
|
-
"accordion-item__chevron": "_accordion-
|
|
13
|
-
"accordion-item": "_accordion-
|
|
14
|
-
"accordion-item__content": "_accordion-
|
|
4
|
+
"accordion-item--box": "_accordion-item--box_koqlc_10",
|
|
5
|
+
"accordion-item--panel": "_accordion-item--panel_koqlc_18",
|
|
6
|
+
"accordion-item__summary": "_accordion-item__summary_koqlc_24",
|
|
7
|
+
"accordion-item__image": "_accordion-item__image_koqlc_43",
|
|
8
|
+
"accordion-item__image--sm": "_accordion-item__image--sm_koqlc_60",
|
|
9
|
+
"accordion-item__image--md": "_accordion-item__image--md_koqlc_65",
|
|
10
|
+
"accordion-item__image--lg": "_accordion-item__image--lg_koqlc_70",
|
|
11
|
+
"accordion-item__label": "_accordion-item__label_koqlc_77",
|
|
12
|
+
"accordion-item__chevron": "_accordion-item__chevron_koqlc_85",
|
|
13
|
+
"accordion-item": "_accordion-item_koqlc_10",
|
|
14
|
+
"accordion-item__content": "_accordion-item__content_koqlc_98"
|
|
15
15
|
};
|
|
16
16
|
module.exports = styles;
|
|
17
17
|
//# sourceMappingURL=AccordionItem.module.css.cjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import './AccordionItem.css';
|
|
2
2
|
const styles = {
|
|
3
|
-
"accordion-item--box": "_accordion-item--
|
|
4
|
-
"accordion-item--panel": "_accordion-item--
|
|
5
|
-
"accordion-item__summary": "_accordion-
|
|
6
|
-
"accordion-item__image": "_accordion-
|
|
7
|
-
"accordion-item__image--sm": "_accordion-item__image--
|
|
8
|
-
"accordion-item__image--md": "_accordion-item__image--
|
|
9
|
-
"accordion-item__image--lg": "_accordion-item__image--
|
|
10
|
-
"accordion-item__label": "_accordion-
|
|
11
|
-
"accordion-item__chevron": "_accordion-
|
|
12
|
-
"accordion-item": "_accordion-
|
|
13
|
-
"accordion-item__content": "_accordion-
|
|
3
|
+
"accordion-item--box": "_accordion-item--box_koqlc_10",
|
|
4
|
+
"accordion-item--panel": "_accordion-item--panel_koqlc_18",
|
|
5
|
+
"accordion-item__summary": "_accordion-item__summary_koqlc_24",
|
|
6
|
+
"accordion-item__image": "_accordion-item__image_koqlc_43",
|
|
7
|
+
"accordion-item__image--sm": "_accordion-item__image--sm_koqlc_60",
|
|
8
|
+
"accordion-item__image--md": "_accordion-item__image--md_koqlc_65",
|
|
9
|
+
"accordion-item__image--lg": "_accordion-item__image--lg_koqlc_70",
|
|
10
|
+
"accordion-item__label": "_accordion-item__label_koqlc_77",
|
|
11
|
+
"accordion-item__chevron": "_accordion-item__chevron_koqlc_85",
|
|
12
|
+
"accordion-item": "_accordion-item_koqlc_10",
|
|
13
|
+
"accordion-item__content": "_accordion-item__content_koqlc_98"
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
styles as default
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
* Uses a container query (ch units) to switch between default and collapsed mode.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
._breadcrumb_1c8nk_10 {
|
|
11
11
|
container-name: breadcrumb;
|
|
12
12
|
container-type: inline-size;
|
|
13
13
|
width: 100%;
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
._breadcrumb__list_1c8nk_17 {
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
gap: var(--spacing-space-4);
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
list-style: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
._breadcrumb__item_1c8nk_26 {
|
|
27
27
|
flex: 0 0 auto;
|
|
28
28
|
margin: 0;
|
|
29
29
|
padding: 0;
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
._breadcrumb__link_1c8nk_45 {
|
|
46
46
|
color: var(--color-semantic-interactive-primary-default);
|
|
47
|
-
border-radius: var(--radius-semantic-sm);
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
.
|
|
49
|
+
._breadcrumb__link_1c8nk_45:hover,
|
|
50
|
+
._breadcrumb__link_1c8nk_45:focus-visible {
|
|
51
51
|
color: var(--color-semantic-interactive-primary-hover);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
._breadcrumb__current_1c8nk_54 {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
text-overflow: ellipsis;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
._breadcrumb__separator_1c8nk_59 {
|
|
60
60
|
flex: 0 0 auto;
|
|
61
61
|
width: 0.875rem;
|
|
62
62
|
height: 0.875rem;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
/* Collapsed mode: hide all items except the last two */
|
|
67
67
|
@container breadcrumb (max-width: 75ch) {
|
|
68
|
-
.
|
|
68
|
+
._breadcrumb__item_1c8nk_26:not(:nth-last-child(-n + 2)) {
|
|
69
69
|
display: none;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
require('./Breadcrumb.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
-
const breadcrumb = "
|
|
5
|
-
const breadcrumb__list = "
|
|
6
|
-
const breadcrumb__item = "
|
|
7
|
-
const breadcrumb__link = "
|
|
8
|
-
const breadcrumb__current = "
|
|
9
|
-
const breadcrumb__separator = "
|
|
4
|
+
const breadcrumb = "_breadcrumb_1c8nk_10";
|
|
5
|
+
const breadcrumb__list = "_breadcrumb__list_1c8nk_17";
|
|
6
|
+
const breadcrumb__item = "_breadcrumb__item_1c8nk_26";
|
|
7
|
+
const breadcrumb__link = "_breadcrumb__link_1c8nk_45";
|
|
8
|
+
const breadcrumb__current = "_breadcrumb__current_1c8nk_54";
|
|
9
|
+
const breadcrumb__separator = "_breadcrumb__separator_1c8nk_59";
|
|
10
10
|
const styles = {
|
|
11
11
|
breadcrumb,
|
|
12
12
|
breadcrumb__list,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './Breadcrumb.css';
|
|
2
|
-
const breadcrumb = "
|
|
3
|
-
const breadcrumb__list = "
|
|
4
|
-
const breadcrumb__item = "
|
|
5
|
-
const breadcrumb__link = "
|
|
6
|
-
const breadcrumb__current = "
|
|
7
|
-
const breadcrumb__separator = "
|
|
2
|
+
const breadcrumb = "_breadcrumb_1c8nk_10";
|
|
3
|
+
const breadcrumb__list = "_breadcrumb__list_1c8nk_17";
|
|
4
|
+
const breadcrumb__item = "_breadcrumb__item_1c8nk_26";
|
|
5
|
+
const breadcrumb__link = "_breadcrumb__link_1c8nk_45";
|
|
6
|
+
const breadcrumb__current = "_breadcrumb__current_1c8nk_54";
|
|
7
|
+
const breadcrumb__separator = "_breadcrumb__separator_1c8nk_59";
|
|
8
8
|
const styles = {
|
|
9
9
|
breadcrumb,
|
|
10
10
|
breadcrumb__list,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer dds-components {.
|
|
1
|
+
@layer dds-components {._button_1utks_1 {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
border-color 0.2s ease-in-out;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
._button--full-
|
|
18
|
+
._button--full-width_1utks_18 {
|
|
19
19
|
width: 100%;
|
|
20
20
|
min-width: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* ─── Sizes ─── */
|
|
24
24
|
|
|
25
|
-
._button--
|
|
25
|
+
._button--normal_1utks_25 {
|
|
26
26
|
font: var(--typography-label-lg-bold);
|
|
27
27
|
height: 40px;
|
|
28
28
|
min-width: 128px;
|
|
29
29
|
padding: var(--spacing-space-8) var(--spacing-space-20);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
._button--
|
|
32
|
+
._button--small_1utks_32 {
|
|
33
33
|
font: var(--typography-label-md-bold);
|
|
34
34
|
height: 32px;
|
|
35
35
|
min-width: 100px;
|
|
@@ -38,91 +38,92 @@
|
|
|
38
38
|
|
|
39
39
|
/* ─── Primary variant ─── */
|
|
40
40
|
|
|
41
|
-
._button--
|
|
41
|
+
._button--primary_1utks_41 {
|
|
42
42
|
background-color: var(--color-semantic-interactive-primary-default);
|
|
43
43
|
color: var(--color-semantic-foreground-inverse);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
._button--
|
|
46
|
+
._button--primary_1utks_41:hover {
|
|
47
47
|
background-color: var(--color-semantic-interactive-primary-hover);
|
|
48
48
|
color: var(--color-semantic-foreground-inverse);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
._button--
|
|
51
|
+
._button--primary_1utks_41:active {
|
|
52
52
|
background-color: var(--color-semantic-interactive-primary-active);
|
|
53
53
|
color: var(--color-semantic-foreground-inverse);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
._button--
|
|
56
|
+
._button--primary_1utks_41:focus-visible {
|
|
57
57
|
background-color: var(--color-semantic-interactive-primary-focus);
|
|
58
58
|
color: var(--color-semantic-foreground-inverse);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* ─── Secondary variant ─── */
|
|
62
62
|
|
|
63
|
-
._button--
|
|
63
|
+
._button--secondary_1utks_63 {
|
|
64
64
|
background-color: transparent;
|
|
65
65
|
border: var(--borderwidth-semantic-sm) solid var(--color-semantic-interactive-secondary-default);
|
|
66
66
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
._button--
|
|
69
|
+
._button--secondary_1utks_63:hover {
|
|
70
70
|
background-color: var(--color-semantic-interactive-secondary-hover);
|
|
71
71
|
border-color: var(--color-semantic-interactive-secondary-hover);
|
|
72
72
|
color: var(--color-semantic-foreground-inverse);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
._button--
|
|
75
|
+
._button--secondary_1utks_63:active {
|
|
76
76
|
background-color: var(--color-semantic-interactive-secondary-active);
|
|
77
77
|
border-color: var(--color-semantic-interactive-secondary-active);
|
|
78
78
|
color: var(--color-semantic-foreground-inverse);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
._button--
|
|
81
|
+
._button--secondary_1utks_63:focus-visible {
|
|
82
82
|
background-color: var(--color-semantic-interactive-secondary-focus);
|
|
83
|
+
border-color: var(--color-semantic-interactive-secondary-focus);
|
|
83
84
|
color: var(--color-semantic-foreground-inverse);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
/* ─── Tertiary variant ─── */
|
|
87
88
|
|
|
88
|
-
._button--
|
|
89
|
+
._button--tertiary_1utks_89 {
|
|
89
90
|
background-color: var(--color-semantic-interactive-neutral-default);
|
|
90
91
|
border: var(--borderwidth-semantic-sm) solid var(--color-semantic-border-neutral-mid);
|
|
91
92
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
._button--
|
|
95
|
+
._button--tertiary_1utks_89:hover {
|
|
95
96
|
background-color: var(--color-semantic-interactive-neutral-hover);
|
|
96
97
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
97
98
|
}
|
|
98
99
|
|
|
99
|
-
._button--
|
|
100
|
+
._button--tertiary_1utks_89:active {
|
|
100
101
|
background-color: var(--color-semantic-interactive-neutral-active);
|
|
101
102
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
102
103
|
}
|
|
103
104
|
|
|
104
|
-
._button--
|
|
105
|
+
._button--tertiary_1utks_89:focus-visible {
|
|
105
106
|
background-color: var(--color-semantic-interactive-neutral-focus);
|
|
106
107
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
/* ─── Disabled state ─── */
|
|
110
111
|
|
|
111
|
-
._button--
|
|
112
|
+
._button--disabled_1utks_112 {
|
|
112
113
|
pointer-events: none;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
._button--
|
|
116
|
+
._button--primary_1utks_41._button--disabled_1utks_112 {
|
|
116
117
|
background-color: var(--color-semantic-interactive-primary-disabled);
|
|
117
118
|
color: var(--color-semantic-foreground-muted);
|
|
118
119
|
}
|
|
119
120
|
|
|
120
|
-
._button--
|
|
121
|
+
._button--secondary_1utks_63._button--disabled_1utks_112 {
|
|
121
122
|
border-color: var(--color-semantic-interactive-secondary-disabled);
|
|
122
123
|
color: var(--color-semantic-foreground-muted);
|
|
123
124
|
}
|
|
124
125
|
|
|
125
|
-
._button--
|
|
126
|
+
._button--tertiary_1utks_89._button--disabled_1utks_112 {
|
|
126
127
|
background-color: var(--color-semantic-interactive-neutral-disabled);
|
|
127
128
|
color: var(--color-semantic-foreground-muted);
|
|
128
129
|
}
|
|
@@ -131,38 +132,39 @@
|
|
|
131
132
|
/* Styles apply from [data-color-scheme="dark"] down to (but not into) [data-color-scheme="light"]. */
|
|
132
133
|
|
|
133
134
|
@scope ([data-color-scheme='dark']) to ([data-color-scheme='light']) {
|
|
134
|
-
._button--
|
|
135
|
+
._button--primary_1utks_41._button--disabled_1utks_112 {
|
|
135
136
|
color: var(--color-semantic-foreground-inverse-muted);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
._button--
|
|
139
|
+
._button--secondary_1utks_63 {
|
|
139
140
|
border-color: var(--color-semantic-interactive-inverse-default);
|
|
140
141
|
color: var(--color-semantic-foreground-inverse);
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
._button--
|
|
144
|
+
._button--secondary_1utks_63:hover {
|
|
144
145
|
background-color: var(--color-semantic-interactive-inverse-hover);
|
|
145
146
|
border-color: var(--color-semantic-interactive-inverse-hover);
|
|
146
147
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
147
148
|
}
|
|
148
149
|
|
|
149
|
-
._button--
|
|
150
|
+
._button--secondary_1utks_63:active {
|
|
150
151
|
background-color: var(--color-semantic-interactive-inverse-active);
|
|
151
152
|
border-color: var(--color-semantic-interactive-inverse-active);
|
|
152
153
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
153
154
|
}
|
|
154
155
|
|
|
155
|
-
._button--
|
|
156
|
+
._button--secondary_1utks_63:focus-visible {
|
|
156
157
|
background-color: var(--color-semantic-interactive-inverse-focus);
|
|
158
|
+
border-color: var(--color-semantic-interactive-inverse-focus);
|
|
157
159
|
color: var(--color-semantic-foreground-secondary-strong);
|
|
158
160
|
}
|
|
159
161
|
|
|
160
|
-
._button--
|
|
162
|
+
._button--secondary_1utks_63._button--disabled_1utks_112 {
|
|
161
163
|
border-color: var(--color-semantic-interactive-inverse-disabled);
|
|
162
164
|
color: var(--color-semantic-foreground-inverse-muted);
|
|
163
165
|
}
|
|
164
166
|
|
|
165
|
-
._button--
|
|
167
|
+
._button--tertiary_1utks_89._button--disabled_1utks_112 {
|
|
166
168
|
border-color: var(--color-semantic-interactive-neutral-disabled);
|
|
167
169
|
color: var(--color-semantic-foreground-inverse-muted);
|
|
168
170
|
}
|
|
@@ -170,11 +172,11 @@
|
|
|
170
172
|
|
|
171
173
|
/* ─── Loading state ─── */
|
|
172
174
|
|
|
173
|
-
._button--
|
|
175
|
+
._button--loading_1utks_175 {
|
|
174
176
|
pointer-events: none;
|
|
175
177
|
}
|
|
176
178
|
|
|
177
|
-
.
|
|
179
|
+
._button__content_1utks_179 {
|
|
178
180
|
flex: 0 1 auto;
|
|
179
181
|
min-width: 0;
|
|
180
182
|
overflow: hidden;
|
|
@@ -182,7 +184,7 @@
|
|
|
182
184
|
white-space: nowrap;
|
|
183
185
|
}
|
|
184
186
|
|
|
185
|
-
.
|
|
187
|
+
._button__spinner_1utks_187 {
|
|
186
188
|
flex: 0 0 auto;
|
|
187
189
|
}
|
|
188
190
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
require('./Button.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
-
const button = "
|
|
5
|
-
const button__content = "
|
|
6
|
-
const button__spinner = "
|
|
4
|
+
const button = "_button_1utks_1";
|
|
5
|
+
const button__content = "_button__content_1utks_179";
|
|
6
|
+
const button__spinner = "_button__spinner_1utks_187";
|
|
7
7
|
const styles = {
|
|
8
8
|
button,
|
|
9
|
-
"button--full-width": "_button--full-
|
|
10
|
-
"button--normal": "_button--
|
|
11
|
-
"button--small": "_button--
|
|
12
|
-
"button--primary": "_button--
|
|
13
|
-
"button--secondary": "_button--
|
|
14
|
-
"button--tertiary": "_button--
|
|
15
|
-
"button--disabled": "_button--
|
|
16
|
-
"button--loading": "_button--
|
|
9
|
+
"button--full-width": "_button--full-width_1utks_18",
|
|
10
|
+
"button--normal": "_button--normal_1utks_25",
|
|
11
|
+
"button--small": "_button--small_1utks_32",
|
|
12
|
+
"button--primary": "_button--primary_1utks_41",
|
|
13
|
+
"button--secondary": "_button--secondary_1utks_63",
|
|
14
|
+
"button--tertiary": "_button--tertiary_1utks_89",
|
|
15
|
+
"button--disabled": "_button--disabled_1utks_112",
|
|
16
|
+
"button--loading": "_button--loading_1utks_175",
|
|
17
17
|
button__content,
|
|
18
18
|
button__spinner
|
|
19
19
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import './Button.css';
|
|
2
|
-
const button = "
|
|
3
|
-
const button__content = "
|
|
4
|
-
const button__spinner = "
|
|
2
|
+
const button = "_button_1utks_1";
|
|
3
|
+
const button__content = "_button__content_1utks_179";
|
|
4
|
+
const button__spinner = "_button__spinner_1utks_187";
|
|
5
5
|
const styles = {
|
|
6
6
|
button,
|
|
7
|
-
"button--full-width": "_button--full-
|
|
8
|
-
"button--normal": "_button--
|
|
9
|
-
"button--small": "_button--
|
|
10
|
-
"button--primary": "_button--
|
|
11
|
-
"button--secondary": "_button--
|
|
12
|
-
"button--tertiary": "_button--
|
|
13
|
-
"button--disabled": "_button--
|
|
14
|
-
"button--loading": "_button--
|
|
7
|
+
"button--full-width": "_button--full-width_1utks_18",
|
|
8
|
+
"button--normal": "_button--normal_1utks_25",
|
|
9
|
+
"button--small": "_button--small_1utks_32",
|
|
10
|
+
"button--primary": "_button--primary_1utks_41",
|
|
11
|
+
"button--secondary": "_button--secondary_1utks_63",
|
|
12
|
+
"button--tertiary": "_button--tertiary_1utks_89",
|
|
13
|
+
"button--disabled": "_button--disabled_1utks_112",
|
|
14
|
+
"button--loading": "_button--loading_1utks_175",
|
|
15
15
|
button__content,
|
|
16
16
|
button__spinner
|
|
17
17
|
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const icons = require("@dnanpm/icons");
|
|
5
|
+
const focus_module = require("../../styles/utils/focus.module.css.cjs");
|
|
6
|
+
const elevation_module = require("../../styles/utils/elevation.module.css.cjs");
|
|
7
|
+
const ButtonCard_module = require("./ButtonCard.module.css.cjs");
|
|
8
|
+
const cn = require("../../utils/cn/cn.cjs");
|
|
9
|
+
const ButtonCard = ({
|
|
10
|
+
title,
|
|
11
|
+
subtitle,
|
|
12
|
+
size = "medium",
|
|
13
|
+
icon,
|
|
14
|
+
image,
|
|
15
|
+
isExternal = false,
|
|
16
|
+
externalLinkAriaLabel = "avautuu uuteen välilehteen",
|
|
17
|
+
className,
|
|
18
|
+
ref,
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
const isAnchor = "href" in props && props.href != null;
|
|
22
|
+
const classes = cn.cn(
|
|
23
|
+
ButtonCard_module["button-card"],
|
|
24
|
+
ButtonCard_module[`button-card--${size}`],
|
|
25
|
+
focus_module.default.focusable,
|
|
26
|
+
elevation_module.default.elevationLow,
|
|
27
|
+
className
|
|
28
|
+
);
|
|
29
|
+
const IconComponent = icon;
|
|
30
|
+
const media = IconComponent != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31
|
+
"span",
|
|
32
|
+
{
|
|
33
|
+
className: cn.cn(ButtonCard_module["button-card__media"], ButtonCard_module["button-card__media--icon"]),
|
|
34
|
+
"aria-hidden": "true",
|
|
35
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { "aria-hidden": "true" })
|
|
36
|
+
}
|
|
37
|
+
) : image ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn.cn(ButtonCard_module["button-card__media"], ButtonCard_module["button-card__media--image"]), children: image }) : null;
|
|
38
|
+
const explicitTarget = isAnchor ? props.target?.toLowerCase() : void 0;
|
|
39
|
+
const opensInNewTab = isExternal || explicitTarget === "_blank";
|
|
40
|
+
const Indicator = opensInNewTab ? icons.Open : icons.ChevronRight;
|
|
41
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
42
|
+
media,
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: ButtonCard_module["button-card__content"], children: [
|
|
44
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: ButtonCard_module["button-card__text"], children: [
|
|
45
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ButtonCard_module["button-card__title"], children: title }),
|
|
46
|
+
subtitle != null && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ButtonCard_module["button-card__subtitle"], children: subtitle })
|
|
47
|
+
] }),
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ButtonCard_module["button-card__indicator"], "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(Indicator, { "aria-hidden": "true" }) })
|
|
49
|
+
] }),
|
|
50
|
+
opensInNewTab && externalLinkAriaLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ButtonCard_module["button-card__sr-only"], children: ` (${externalLinkAriaLabel})` })
|
|
51
|
+
] });
|
|
52
|
+
if (isAnchor) {
|
|
53
|
+
const {
|
|
54
|
+
href,
|
|
55
|
+
renderLink,
|
|
56
|
+
target: targetProp,
|
|
57
|
+
rel,
|
|
58
|
+
disabled: _disabled,
|
|
59
|
+
...safeAnchorProps
|
|
60
|
+
} = props;
|
|
61
|
+
const target = isExternal ? "_blank" : targetProp;
|
|
62
|
+
const shouldHardenRel = target?.toLowerCase() === "_blank";
|
|
63
|
+
const relTokens = new Set(
|
|
64
|
+
(rel ?? "").split(/\s+/).filter(Boolean).map((token) => token.toLowerCase())
|
|
65
|
+
);
|
|
66
|
+
if (shouldHardenRel) {
|
|
67
|
+
relTokens.add("noopener");
|
|
68
|
+
relTokens.add("noreferrer");
|
|
69
|
+
}
|
|
70
|
+
const hardenedRel = relTokens.size > 0 ? Array.from(relTokens).join(" ") : void 0;
|
|
71
|
+
const linkProps = {
|
|
72
|
+
...safeAnchorProps,
|
|
73
|
+
ref,
|
|
74
|
+
href,
|
|
75
|
+
target,
|
|
76
|
+
rel: hardenedRel,
|
|
77
|
+
className: classes,
|
|
78
|
+
children: content
|
|
79
|
+
};
|
|
80
|
+
if (renderLink) {
|
|
81
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: renderLink(linkProps) });
|
|
82
|
+
}
|
|
83
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { ...linkProps });
|
|
84
|
+
}
|
|
85
|
+
const {
|
|
86
|
+
type = "button",
|
|
87
|
+
href: _href,
|
|
88
|
+
target: _target,
|
|
89
|
+
rel: _rel,
|
|
90
|
+
renderLink: _renderLink,
|
|
91
|
+
...buttonProps
|
|
92
|
+
} = props;
|
|
93
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
94
|
+
"button",
|
|
95
|
+
{
|
|
96
|
+
ref,
|
|
97
|
+
type,
|
|
98
|
+
className: classes,
|
|
99
|
+
...buttonProps,
|
|
100
|
+
children: content
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
exports.ButtonCard = ButtonCard;
|
|
105
|
+
//# sourceMappingURL=ButtonCard.cjs.map
|