@fluidattacks/design 3.1.13 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/components/@core/index.js +15 -16
  2. package/dist/components/accordion/accordion-content/index.js +3 -20
  3. package/dist/components/accordion/index.js +5 -76
  4. package/dist/components/alert/index.js +4 -162
  5. package/dist/components/button/index.js +4 -67
  6. package/dist/components/card/card-header/index.js +4 -81
  7. package/dist/components/card/card-with-image/index.js +5 -91
  8. package/dist/components/card/card-with-input/index.js +5 -103
  9. package/dist/components/card/card-with-selector/index.js +4 -69
  10. package/dist/components/card/card-with-switch/index.js +4 -48
  11. package/dist/components/card/index.js +6 -10
  12. package/dist/components/carousel/index.js +4 -73
  13. package/dist/components/checkbox/index.js +4 -116
  14. package/dist/components/cloud-image/index.js +2 -2
  15. package/dist/components/code-snippet/index.js +6 -70
  16. package/dist/components/code-snippet/location-code/index.js +7 -169
  17. package/dist/components/colors/index.js +7 -222
  18. package/dist/components/confirm-dialog/index.js +4 -43
  19. package/dist/components/container/index.js +4 -49
  20. package/dist/components/content-card/category-tag/index.js +4 -40
  21. package/dist/components/content-card/event-date/index.js +5 -59
  22. package/dist/components/content-card/index.js +4 -166
  23. package/dist/components/content-card-carousel/index.js +4 -93
  24. package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
  25. package/dist/components/divider/index.js +4 -23
  26. package/dist/components/empty-state/empty-button/index.js +3 -4
  27. package/dist/components/empty-state/index.js +3 -83
  28. package/dist/components/file-preview/index.js +3 -42
  29. package/dist/components/form/index.js +4 -61
  30. package/dist/components/grid-container/index.js +4 -46
  31. package/dist/components/group-selector/index.js +6 -133
  32. package/dist/components/group-selector/option-container/index.js +3 -7
  33. package/dist/components/icon/index.js +4 -106
  34. package/dist/components/icon-button/index.js +4 -74
  35. package/dist/components/indicator-card/index.js +5 -72
  36. package/dist/components/info-sidebar/index.js +4 -114
  37. package/dist/components/inputs/fields/combobox/index.js +7 -144
  38. package/dist/components/inputs/fields/combobox/option/index.js +2 -3
  39. package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
  40. package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
  41. package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
  42. package/dist/components/inputs/fields/date/calendar/index.js +6 -28
  43. package/dist/components/inputs/fields/date/index.js +8 -66
  44. package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
  45. package/dist/components/inputs/fields/date-range/index.js +6 -106
  46. package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
  47. package/dist/components/inputs/fields/date-time/index.js +6 -67
  48. package/dist/components/inputs/fields/editable/index.js +4 -26
  49. package/dist/components/inputs/fields/input/index.js +5 -75
  50. package/dist/components/inputs/fields/input-file/index.js +6 -123
  51. package/dist/components/inputs/fields/input-tags/index.js +4 -66
  52. package/dist/components/inputs/fields/number/index.js +4 -55
  53. package/dist/components/inputs/fields/number-range/index.js +4 -47
  54. package/dist/components/inputs/fields/phone/index.js +7 -577
  55. package/dist/components/inputs/fields/text-area/index.js +5 -79
  56. package/dist/components/inputs/index.js +14 -26
  57. package/dist/components/inputs/label/index.js +5 -36
  58. package/dist/components/inputs/outline-container/index.js +4 -102
  59. package/dist/components/inputs/utils/action-button/index.js +4 -29
  60. package/dist/components/inputs/utils/calendar-button/index.js +5 -35
  61. package/dist/components/inputs/utils/date-selector/index.js +3 -60
  62. package/dist/components/inputs/utils/date-time-field/index.js +10 -131
  63. package/dist/components/inputs/utils/dialog/index.js +5 -12
  64. package/dist/components/inputs/utils/number-field/index.js +5 -84
  65. package/dist/components/inputs/utils/popover/index.js +5 -42
  66. package/dist/components/interactive-card/icon/index.js +2 -4
  67. package/dist/components/interactive-card/index.js +4 -116
  68. package/dist/components/language-selector/index.js +4 -35
  69. package/dist/components/language-selector/item-list/index.js +2 -5
  70. package/dist/components/link/index.js +3 -104
  71. package/dist/components/list-item/index.js +6 -65
  72. package/dist/components/little-flag/index.js +3 -30
  73. package/dist/components/loading/index.js +4 -92
  74. package/dist/components/logo/index.js +2 -10
  75. package/dist/components/logo-carousel/index.js +4 -85
  76. package/dist/components/lottie/index.js +3 -18
  77. package/dist/components/menu/index.js +5 -64
  78. package/dist/components/message-banner/index.js +5 -99
  79. package/dist/components/modal/index.js +6 -63
  80. package/dist/components/modal/modal-confirm/index.js +3 -49
  81. package/dist/components/modal/modal-footer/index.js +5 -23
  82. package/dist/components/modal/modal-header/index.js +6 -49
  83. package/dist/components/notification/index.js +5 -111
  84. package/dist/components/notification-sign/index.js +4 -45
  85. package/dist/components/number-input/index.js +5 -87
  86. package/dist/components/oauth-selector/index.js +6 -98
  87. package/dist/components/oauth-selector/option-container/index.js +4 -74
  88. package/dist/components/plan-card/index.js +3 -153
  89. package/dist/components/plan-card/recommended-tag/index.js +3 -29
  90. package/dist/components/pop-up/description/index.js +5 -49
  91. package/dist/components/pop-up/index.js +7 -150
  92. package/dist/components/premium-feature/index.js +4 -83
  93. package/dist/components/priority-score/index.js +4 -27
  94. package/dist/components/progress/index.js +5 -45
  95. package/dist/components/progress-bar/index.js +3 -151
  96. package/dist/components/radio-button/index.js +4 -123
  97. package/dist/components/scroll-button/index.js +4 -40
  98. package/dist/components/search/index.js +7 -103
  99. package/dist/components/search-bar/index.js +4 -217
  100. package/dist/components/search-bar/item-searching/index.js +2 -7
  101. package/dist/components/severity-badge/index.js +4 -72
  102. package/dist/components/severity-overview/badge/index.js +4 -67
  103. package/dist/components/severity-overview/index.js +3 -15
  104. package/dist/components/show-on-hover/index.js +3 -29
  105. package/dist/components/slide-out-menu/index.js +6 -3453
  106. package/dist/components/slide-out-menu/menu-item/index.js +4 -65
  107. package/dist/components/slider/index.js +7 -122
  108. package/dist/components/slider/thumb/index.js +5 -15
  109. package/dist/components/step-lapse/index.js +4 -157
  110. package/dist/components/table-button/index.js +4 -95
  111. package/dist/components/tabs/fixed-tabs/index.js +3 -27
  112. package/dist/components/tabs/index.js +6 -55
  113. package/dist/components/tabs/tab/index.js +3 -37
  114. package/dist/components/tag/index.js +4 -182
  115. package/dist/components/timeline/card/index.js +2 -5
  116. package/dist/components/timeline/index.js +4 -15
  117. package/dist/components/toggle/index.js +4 -101
  118. package/dist/components/toggle-buttons/index.js +4 -101
  119. package/dist/components/tooltip/index.js +3 -6
  120. package/dist/components/tour/index.js +7 -4582
  121. package/dist/components/typography/heading/index.js +4 -45
  122. package/dist/components/typography/index.js +4 -6
  123. package/dist/components/typography/span/index.js +4 -39
  124. package/dist/components/typography/text/index.js +4 -45
  125. package/dist/components/web-form/index.js +4 -78
  126. package/dist/components-C7JPRIEW.mjs +9653 -0
  127. package/dist/hooks/index.js +6 -10
  128. package/dist/index.js +112 -204
  129. package/dist/vendor-_XDhaIzo.mjs +14504 -0
  130. package/package.json +3 -7
  131. package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
  132. package/dist/index-BMHVi812.mjs +0 -234
  133. package/dist/index-BzAniA2J.mjs +0 -135
  134. package/dist/index-C6LbClYh.mjs +0 -146
  135. package/dist/index-CAIe8hBv.mjs +0 -130
  136. package/dist/index-CUQBAqt_.mjs +0 -75
  137. package/dist/index-CWlrSlUk.mjs +0 -68
  138. package/dist/index-Ckmu1TfV.mjs +0 -86
  139. package/dist/index-DwznImvK.mjs +0 -1678
  140. package/dist/index-maWH3JYC.mjs +0 -3561
  141. package/dist/styles-B2N0JLw1.mjs +0 -114
  142. package/dist/styles-B64DVBIF.mjs +0 -115
  143. package/dist/styles-BXFVwnWT.mjs +0 -133
  144. package/dist/styles-BZQOqe8p.mjs +0 -141
  145. package/dist/styles-Bdque9TT.mjs +0 -65
  146. package/dist/styles-BlHspTrz.mjs +0 -144
  147. package/dist/styles-CROOwXEH.mjs +0 -76
  148. package/dist/styles-CplEd2kw.mjs +0 -228
  149. package/dist/styles-D1eTIklB.mjs +0 -110
  150. package/dist/styles-ePGii_9g.mjs +0 -74
  151. package/dist/use-carousel-CgAF78h3.mjs +0 -23
  152. package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
  153. package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
  154. package/dist/use-modal-CtgexKnf.mjs +0 -14
  155. package/dist/use-search-Dj47QDw9.mjs +0 -15
  156. package/dist/utils-V0EumEPM.mjs +0 -6
  157. /package/dist/assets/{index2.css → vendor.css} +0 -0
@@ -1,219 +1,6 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { useState as y, useRef as x, useCallback as n } from "react";
3
- import { S as $, a as D, b as H, c as T, d as m, I as u } from "../../index-BMHVi812.mjs";
4
- import { Button as j } from "../button/index.js";
5
- import { M as V } from "../../index-maWH3JYC.mjs";
6
- import { theme as d } from "../colors/index.js";
7
- import { Icon as b } from "../icon/index.js";
8
- import { Heading as W } from "../typography/heading/index.js";
9
- import "../typography/span/index.js";
10
- import { Text as h } from "../typography/text/index.js";
11
- import { u as A } from "../../use-click-outside-BUll8Ag-.mjs";
12
- const F = [
13
- {
14
- hit: {
15
- slug: "/services/continuous-hacking/",
16
- title: "Continuous Hacking"
17
- },
18
- icon: "infinity"
19
- },
20
- {
21
- hit: {
22
- slug: "/platform/",
23
- title: "Platform"
24
- },
25
- icon: "sidebar"
26
- },
27
- {
28
- hit: {
29
- slug: "/plans/",
30
- title: "Plans"
31
- },
32
- icon: "star-christmas"
33
- },
34
- {
35
- hit: {
36
- slug: "/blog/",
37
- title: "Blog"
38
- },
39
- icon: "pen-line"
40
- }
41
- ], z = {
42
- hit: {
43
- slug: "/contact-us/",
44
- title: "Contact Support"
45
- },
46
- icon: "envelope"
47
- }, Y = ({
48
- items: s,
49
- placeholder: C = "Search",
50
- refine: p,
51
- query: I
52
- }) => {
53
- const [l, v] = y(I), [w, f] = y(!1), g = x(null), o = x(null), a = l.length >= 2, r = n(
54
- (t) => {
55
- v(t), p(t);
56
- },
57
- [p]
58
- ), c = n(() => {
59
- r("");
60
- }, [r]), k = n(() => {
61
- f(!0);
62
- }, []), R = n(
63
- (t) => {
64
- r(t.currentTarget.value);
65
- },
66
- [r]
67
- ), N = n(
68
- (t) => {
69
- t.preventDefault(), t.stopPropagation(), c(), o.current && o.current.focus();
70
- },
71
- [c]
72
- ), B = n(
73
- (t) => {
74
- t.preventDefault(), t.stopPropagation(), o.current && o.current.blur();
75
- },
76
- []
77
- );
78
- return A(
79
- g.current,
80
- () => {
81
- c(), f(!1);
82
- },
83
- !0
84
- ), /* @__PURE__ */ i($, { ref: g, children: [
85
- /* @__PURE__ */ i(
86
- D,
87
- {
88
- action: "",
89
- noValidate: !0,
90
- onReset: N,
91
- onSubmit: B,
92
- role: "search",
93
- children: [
94
- /* @__PURE__ */ i("div", { className: "flex gap-2 w-full", children: [
95
- /* @__PURE__ */ e("div", { className: "h-10 p-2", children: /* @__PURE__ */ e(
96
- b,
97
- {
98
- icon: "magnifying-glass",
99
- iconSize: "sm",
100
- iconType: "fa-light"
101
- }
102
- ) }),
103
- /* @__PURE__ */ e(
104
- H,
105
- {
106
- autoCapitalize: "off",
107
- autoComplete: "off",
108
- autoCorrect: "off",
109
- maxLength: 512,
110
- onChange: R,
111
- onFocus: k,
112
- placeholder: C,
113
- ref: o,
114
- spellCheck: !1,
115
- type: "search",
116
- value: l
117
- }
118
- )
119
- ] }),
120
- a && /* @__PURE__ */ e(T, { type: "reset", children: /* @__PURE__ */ e(b, { icon: "xmark", iconSize: "sm", iconType: "fa-light" }) })
121
- ]
122
- }
123
- ),
124
- w && l.length < 2 && /* @__PURE__ */ i(m, { children: [
125
- /* @__PURE__ */ e(
126
- h,
127
- {
128
- color: d.palette.gray[400],
129
- fontWeight: "bold",
130
- lineSpacing: 1.5,
131
- size: "md",
132
- sizeSm: "sm",
133
- children: "Suggested"
134
- }
135
- ),
136
- /* @__PURE__ */ e("div", { className: "flex flex-col items-start self-stretch", children: F.map(({ hit: t, icon: S }, P) => /* @__PURE__ */ e(
137
- u,
138
- {
139
- hit: t,
140
- icon: S,
141
- showIcon: !0
142
- },
143
- `${S}-${P}`
144
- )) }),
145
- /* @__PURE__ */ e(
146
- h,
147
- {
148
- color: d.palette.gray[400],
149
- fontWeight: "bold",
150
- lineSpacing: 1.5,
151
- size: "md",
152
- sizeSm: "sm",
153
- children: "Can’t find what you’re looking for?"
154
- }
155
- ),
156
- /* @__PURE__ */ e(
157
- u,
158
- {
159
- hit: z.hit,
160
- icon: z.icon,
161
- showIcon: !0
162
- }
163
- )
164
- ] }),
165
- a && s.length > 0 && /* @__PURE__ */ i(m, { $showHits: a, children: [
166
- /* @__PURE__ */ e(
167
- h,
168
- {
169
- color: d.palette.gray[400],
170
- fontWeight: "bold",
171
- lineSpacing: 1.5,
172
- size: "md",
173
- sizeSm: "sm",
174
- children: "Results"
175
- }
176
- ),
177
- /* @__PURE__ */ e("div", { className: "flex flex-col items-start self-stretch", children: s.map((t) => /* @__PURE__ */ e(u, { hit: t }, t.objectID)) })
178
- ] }),
179
- a && s.length === 0 && /* @__PURE__ */ e(m, { $empty: s.length === 0, children: /* @__PURE__ */ i("div", { className: "items-center flex flex-col gap-4 py-[90px] w-full", children: [
180
- /* @__PURE__ */ e(
181
- V,
182
- {
183
- height: 96,
184
- publicId: "airs/search-bar/empty-state-icon",
185
- width: 96
186
- }
187
- ),
188
- /* @__PURE__ */ e(
189
- W,
190
- {
191
- display: "flex",
192
- size: "sm",
193
- sizeSm: "xs",
194
- textAlign: "center",
195
- children: "No results found"
196
- }
197
- ),
198
- /* @__PURE__ */ i(
199
- h,
200
- {
201
- display: "flex",
202
- lineSpacing: 1.5,
203
- size: "md",
204
- sizeSm: "sm",
205
- textAlign: "center",
206
- children: [
207
- `“${l}” did not match.`,
208
- /* @__PURE__ */ e("br", {}),
209
- "Please try again."
210
- ]
211
- }
212
- ),
213
- /* @__PURE__ */ e(j, { onClick: c, variant: "secondary", children: "Clear search" })
214
- ] }) })
215
- ] });
216
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { ar as p } from "../../components-C7JPRIEW.mjs";
217
4
  export {
218
- Y as SearchBar
5
+ p as SearchBar
219
6
  };
@@ -1,10 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { I } from "../../../index-BMHVi812.mjs";
3
- import "../../colors/index.js";
4
- import "../../icon/index.js";
5
- import "../../typography/heading/index.js";
6
- import "../../typography/span/index.js";
7
- import "../../typography/text/index.js";
2
+ import { br as o } from "../../../components-C7JPRIEW.mjs";
8
3
  export {
9
- I as ItemSearching
4
+ o as ItemSearching
10
5
  };
@@ -1,74 +1,6 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { useTheme as g } from "styled-components";
3
- import { theme as e } from "../colors/index.js";
4
- import { Container as t } from "../container/index.js";
5
- import "../typography/heading/index.js";
6
- import "../typography/span/index.js";
7
- import { Text as a } from "../typography/text/index.js";
8
- const m = {
9
- critical: {
10
- bgColor: e.palette.primary[700],
11
- colorL: e.palette.gray[800],
12
- colorR: e.palette.white
13
- },
14
- disable: {
15
- bgColor: e.palette.gray[200],
16
- colorL: e.palette.gray[400],
17
- colorR: e.palette.gray[400]
18
- },
19
- high: {
20
- bgColor: e.palette.error[500],
21
- colorL: e.palette.gray[800],
22
- colorR: e.palette.white
23
- },
24
- low: {
25
- bgColor: e.palette.warning[200],
26
- colorL: e.palette.gray[800],
27
- colorR: e.palette.gray[800]
28
- },
29
- medium: {
30
- bgColor: e.palette.warning[500],
31
- colorL: e.palette.gray[800],
32
- colorR: e.palette.gray[800]
33
- }
34
- }, u = ({
35
- textL: r,
36
- textR: p,
37
- variant: i
38
- }) => {
39
- const n = g(), { bgColor: l, colorL: c, colorR: s } = m[i];
40
- return /* @__PURE__ */ d(t, { alignItems: "flex-start", display: "inline-flex", children: [
41
- r ? /* @__PURE__ */ o(
42
- t,
43
- {
44
- alignItems: "center",
45
- bgColor: n.palette.white,
46
- border: `1px solid ${l}`,
47
- borderRadius: "4px 0px 0px 4px",
48
- display: "flex",
49
- justify: "center",
50
- padding: [0, 0.25, 0, 0.25],
51
- children: /* @__PURE__ */ o(a, { color: c, size: "xs", children: r })
52
- }
53
- ) : void 0,
54
- /* @__PURE__ */ o(
55
- t,
56
- {
57
- alignItems: "center",
58
- bgColor: l,
59
- border: `1px solid ${l}`,
60
- borderRadius: r ? "0px 4px 4px 0px" : "4px",
61
- display: "flex",
62
- padding: r ? [0, 0.25, 0, 0.125] : [0, 0.25, 0, 0.25],
63
- pb: 0.125,
64
- pl: 0.125,
65
- pr: 0.125,
66
- pt: 0.125,
67
- children: /* @__PURE__ */ o(a, { color: s, size: "xs", children: p })
68
- }
69
- )
70
- ] });
71
- };
1
+ import "react/jsx-runtime";
2
+ import "styled-components";
3
+ import { as as a } from "../../components-C7JPRIEW.mjs";
72
4
  export {
73
- u as SeverityBadge
5
+ a as SeverityBadge
74
6
  };
@@ -1,69 +1,6 @@
1
- import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
- import { capitalize as m } from "lodash";
3
- import { theme as e } from "../../colors/index.js";
4
- import { Container as c } from "../../container/index.js";
5
- import { T as x } from "../../../index-DwznImvK.mjs";
6
- import "../../typography/heading/index.js";
7
- import "../../typography/span/index.js";
8
- import { Text as a } from "../../typography/text/index.js";
9
- const h = (t, o) => {
10
- const r = {
11
- critical: e.palette.primary[700],
12
- high: e.palette.error[500],
13
- low: e.palette.warning[200],
14
- medium: e.palette.warning[500],
15
- none: e.palette.gray[200]
16
- }, i = {
17
- disabled: e.palette.gray[400],
18
- enabled: e.palette.gray[800]
19
- }, l = {
20
- critical: e.palette.white,
21
- high: e.palette.white,
22
- low: e.palette.gray[800],
23
- medium: e.palette.gray[800],
24
- none: e.palette.gray[400]
25
- };
26
- return {
27
- iconColor: o < 1 ? r.none : r[t],
28
- iconText: m(t.charAt(0)),
29
- iconTextColor: o < 1 ? l.none : l[t],
30
- textColor: o < 1 ? i.disabled : i.enabled
31
- };
32
- }, z = ({
33
- variant: t,
34
- value: o
35
- }) => {
36
- const { iconColor: r, iconText: i, iconTextColor: l, textColor: s } = h(
37
- t,
38
- o
39
- ), p = m(t.charAt(0)) + t.slice(1);
40
- return /* @__PURE__ */ d(
41
- c,
42
- {
43
- alignItems: "center",
44
- display: "inline-flex",
45
- gap: 0.5,
46
- minWidth: "43px",
47
- children: [
48
- /* @__PURE__ */ n(x, { id: p, place: "top", tip: p, children: /* @__PURE__ */ n(
49
- c,
50
- {
51
- alignItems: "center",
52
- bgColor: r,
53
- borderRadius: "4px",
54
- cursor: "pointer",
55
- display: "flex",
56
- height: "22px",
57
- maxWidth: "22px",
58
- minWidth: "22px",
59
- children: /* @__PURE__ */ n(a, { color: l, size: "sm", textAlign: "center", children: i })
60
- }
61
- ) }),
62
- /* @__PURE__ */ n(a, { color: s, size: "sm", children: o })
63
- ]
64
- }
65
- );
66
- };
1
+ import "react/jsx-runtime";
2
+ import "lodash";
3
+ import { bs as t } from "../../../components-C7JPRIEW.mjs";
67
4
  export {
68
- z as SeverityOverviewBadge
5
+ t as SeverityOverviewBadge
69
6
  };
@@ -1,17 +1,5 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { SeverityOverviewBadge as i } from "./badge/index.js";
3
- import { Container as l } from "../container/index.js";
4
- const s = ({
5
- critical: r,
6
- high: a,
7
- medium: t,
8
- low: v
9
- }) => /* @__PURE__ */ n(l, { alignItems: "center", display: "inline-flex", gap: 1, children: [
10
- /* @__PURE__ */ e(i, { value: r, variant: "critical" }),
11
- /* @__PURE__ */ e(i, { value: a, variant: "high" }),
12
- /* @__PURE__ */ e(i, { value: t, variant: "medium" }),
13
- /* @__PURE__ */ e(i, { value: v, variant: "low" })
14
- ] });
1
+ import "react/jsx-runtime";
2
+ import { at as i } from "../../components-C7JPRIEW.mjs";
15
3
  export {
16
- s as SeverityOverview
4
+ i as SeverityOverview
17
5
  };
@@ -1,31 +1,5 @@
1
- import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import { styled as e } from "styled-components";
3
- import { Container as t } from "../container/index.js";
4
- const s = e.div`
5
- ${({ theme: o }) => `
6
- border-radius: ${o.spacing[0.25]};
7
- cursor: pointer;
8
- display: flex;
9
- gap: ${o.spacing[0.5]};
10
- justify-content: end;
11
- position: relative;
12
- z-index: 20;
13
-
14
- &:hover {
15
- background-color: ${o.palette.gray[100]};
16
- }
17
-
18
- &:hover > div {
19
- display: block;
20
- }
21
- `}
22
- `, l = ({
23
- visibleElement: o,
24
- hiddenElement: r
25
- }) => /* @__PURE__ */ i(s, { children: [
26
- o,
27
- /* @__PURE__ */ n(t, { display: "none", position: "absolute", top: "100%", zIndex: 10, children: r })
28
- ] });
1
+ import "react/jsx-runtime";
2
+ import { au as e } from "../../components-C7JPRIEW.mjs";
29
3
  export {
30
- l as ShowOnHover
4
+ e as ShowOnHover
31
5
  };