@expcat/tigercat-react 0.1.8 → 0.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 (169) hide show
  1. package/dist/{chunk-TBIEWDY5.js → chunk-36RRHNZD.js} +13 -2
  2. package/dist/chunk-3CDAG4HD.mjs +151 -0
  3. package/dist/chunk-3QFHVAZT.js +68 -0
  4. package/dist/{chunk-ALP3KYYY.mjs → chunk-3XKBDV2Q.mjs} +5 -5
  5. package/dist/chunk-42UKIFFQ.js +278 -0
  6. package/dist/{chunk-K7ZMB2TH.mjs → chunk-5XKYWZZZ.mjs} +16 -22
  7. package/dist/chunk-677VSTPW.mjs +65 -0
  8. package/dist/chunk-6DYS4PJT.mjs +99 -0
  9. package/dist/chunk-6PBNFLM7.js +95 -0
  10. package/dist/{chunk-DCRVIDMY.mjs → chunk-6ZC7H22S.mjs} +1 -1
  11. package/dist/{chunk-WSCSDSV7.mjs → chunk-7IKJBQQV.mjs} +27 -5
  12. package/dist/{chunk-OTRGVENC.js → chunk-7SLNHUGJ.js} +1 -1
  13. package/dist/chunk-A2UW5OKX.mjs +415 -0
  14. package/dist/{chunk-NOOPXNR4.mjs → chunk-AGUPZEUL.mjs} +2 -3
  15. package/dist/chunk-AX5XRD2Q.js +35 -0
  16. package/dist/{chunk-BJU5N7WU.mjs → chunk-BAPR7UUR.mjs} +7 -7
  17. package/dist/chunk-CBALIFPW.mjs +275 -0
  18. package/dist/{chunk-BIWO5KB4.mjs → chunk-CJJ56NVL.mjs} +2 -2
  19. package/dist/{chunk-ENR3RIMM.js → chunk-DGBYGBLR.js} +72 -59
  20. package/dist/chunk-DUWAV47E.js +42 -0
  21. package/dist/chunk-E5GD3H7L.js +94 -0
  22. package/dist/chunk-EJLJYOO7.js +367 -0
  23. package/dist/{chunk-FQ6UHRAO.js → chunk-GQMYCYZ4.js} +6 -27
  24. package/dist/{chunk-G6FSHN2I.mjs → chunk-GW4EWT2K.mjs} +45 -31
  25. package/dist/{chunk-AQQRWISY.js → chunk-GXTBCX3M.js} +1 -1
  26. package/dist/{chunk-HQXZVTP4.mjs → chunk-HGF2EL25.mjs} +74 -61
  27. package/dist/{chunk-R5BQHZWB.js → chunk-HRYBEBZC.js} +15 -21
  28. package/dist/{chunk-PAD2DX5M.mjs → chunk-IIVRVCCP.mjs} +6 -24
  29. package/dist/chunk-IS467WAO.mjs +39 -0
  30. package/dist/{chunk-CTAMMQBC.mjs → chunk-IS7YOBR7.mjs} +16 -13
  31. package/dist/{chunk-ADOPAXPG.mjs → chunk-JI7SFMUT.mjs} +2 -2
  32. package/dist/chunk-KBGURVTD.mjs +282 -0
  33. package/dist/{chunk-O3EUFIOS.mjs → chunk-KELLYJZY.mjs} +36 -30
  34. package/dist/{chunk-XZDJ5FRB.js → chunk-KPZTGRNA.js} +5 -23
  35. package/dist/chunk-KQZ4F7FZ.js +153 -0
  36. package/dist/{chunk-XDKXL2BP.mjs → chunk-KV4LLPAY.mjs} +14 -3
  37. package/dist/{chunk-LNKI6HQ3.js → chunk-LIJLFLYE.js} +27 -5
  38. package/dist/chunk-LVC43YX2.mjs +72 -0
  39. package/dist/chunk-LZNG2HGC.mjs +227 -0
  40. package/dist/chunk-M375I56K.js +75 -0
  41. package/dist/{chunk-7OLWGHUR.mjs → chunk-MF3H7WWW.mjs} +13 -2
  42. package/dist/chunk-N32MAX4A.js +230 -0
  43. package/dist/{chunk-YYKJ63LD.mjs → chunk-NMDNLB3C.mjs} +7 -28
  44. package/dist/{chunk-77D7VQMG.js → chunk-OD2NNQD2.js} +2 -2
  45. package/dist/chunk-OONM7FO7.js +418 -0
  46. package/dist/{chunk-Q5Q7FG4U.js → chunk-OZLGNWET.js} +7 -7
  47. package/dist/{chunk-LAZGEMA2.mjs → chunk-P4EFJIXU.mjs} +1 -1
  48. package/dist/chunk-QI6WAP6Y.js +285 -0
  49. package/dist/{chunk-WK5HN4OH.js → chunk-QY6I7LU5.js} +43 -29
  50. package/dist/{chunk-KSW5JDIV.js → chunk-R7TOQU3U.js} +1 -1
  51. package/dist/chunk-RQSQXQN6.mjs +91 -0
  52. package/dist/chunk-SDLMB34Y.mjs +32 -0
  53. package/dist/chunk-UG3I4PCY.js +102 -0
  54. package/dist/chunk-VBSK4TGO.mjs +364 -0
  55. package/dist/{chunk-DZJUFU55.js → chunk-VXHBQTZS.js} +14 -11
  56. package/dist/chunk-WLIFEALE.mjs +111 -0
  57. package/dist/{chunk-AQ6DHCP6.js → chunk-XRFK2IXM.js} +4 -4
  58. package/dist/{chunk-5FRENLDC.js → chunk-Y2JOJ4D6.js} +14 -3
  59. package/dist/chunk-YER7IQF4.mjs +429 -0
  60. package/dist/{chunk-NI2WNZRT.js → chunk-YESS6YKC.js} +1 -2
  61. package/dist/chunk-Z6F67MJE.mjs +92 -0
  62. package/dist/{chunk-QORSSZX4.js → chunk-ZPFZMXA6.js} +34 -28
  63. package/dist/chunk-ZUUG3WOL.js +432 -0
  64. package/dist/chunk-ZYPEO2KY.js +115 -0
  65. package/dist/components/AreaChart.d.mts +19 -0
  66. package/dist/components/AreaChart.d.ts +19 -0
  67. package/dist/components/AreaChart.js +23 -0
  68. package/dist/components/AreaChart.mjs +8 -0
  69. package/dist/components/BarChart.d.mts +16 -0
  70. package/dist/components/BarChart.d.ts +16 -0
  71. package/dist/components/BarChart.js +23 -0
  72. package/dist/components/BarChart.mjs +8 -0
  73. package/dist/components/ChartAxis.d.mts +10 -0
  74. package/dist/components/ChartAxis.d.ts +10 -0
  75. package/dist/components/ChartAxis.js +16 -0
  76. package/dist/components/ChartAxis.mjs +1 -0
  77. package/dist/components/ChartCanvas.d.mts +9 -0
  78. package/dist/components/ChartCanvas.d.ts +9 -0
  79. package/dist/components/ChartCanvas.js +16 -0
  80. package/dist/components/ChartCanvas.mjs +1 -0
  81. package/dist/components/ChartGrid.d.mts +11 -0
  82. package/dist/components/ChartGrid.d.ts +11 -0
  83. package/dist/components/ChartGrid.js +16 -0
  84. package/dist/components/ChartGrid.mjs +1 -0
  85. package/dist/components/ChartLegend.d.mts +17 -0
  86. package/dist/components/ChartLegend.d.ts +17 -0
  87. package/dist/components/ChartLegend.js +16 -0
  88. package/dist/components/ChartLegend.mjs +1 -0
  89. package/dist/components/ChartSeries.d.mts +18 -0
  90. package/dist/components/ChartSeries.d.ts +18 -0
  91. package/dist/components/ChartSeries.js +16 -0
  92. package/dist/components/ChartSeries.mjs +1 -0
  93. package/dist/components/ChartTooltip.d.mts +12 -0
  94. package/dist/components/ChartTooltip.d.ts +12 -0
  95. package/dist/components/ChartTooltip.js +16 -0
  96. package/dist/components/ChartTooltip.mjs +1 -0
  97. package/dist/components/DonutChart.d.mts +14 -0
  98. package/dist/components/DonutChart.d.ts +14 -0
  99. package/dist/components/DonutChart.js +21 -0
  100. package/dist/components/DonutChart.mjs +6 -0
  101. package/dist/components/Drawer.js +3 -3
  102. package/dist/components/Drawer.mjs +2 -2
  103. package/dist/components/Dropdown.d.mts +12 -2
  104. package/dist/components/Dropdown.d.ts +12 -2
  105. package/dist/components/Dropdown.js +4 -4
  106. package/dist/components/Dropdown.mjs +2 -2
  107. package/dist/components/DropdownItem.js +4 -4
  108. package/dist/components/DropdownItem.mjs +3 -3
  109. package/dist/components/Icon.js +2 -2
  110. package/dist/components/Icon.mjs +1 -1
  111. package/dist/components/LineChart.d.mts +19 -0
  112. package/dist/components/LineChart.d.ts +19 -0
  113. package/dist/components/LineChart.js +23 -0
  114. package/dist/components/LineChart.mjs +8 -0
  115. package/dist/components/List.js +3 -3
  116. package/dist/components/List.mjs +2 -2
  117. package/dist/components/Message.js +4 -4
  118. package/dist/components/Message.mjs +1 -1
  119. package/dist/components/Modal.js +3 -3
  120. package/dist/components/Modal.mjs +2 -2
  121. package/dist/components/Notification.js +4 -4
  122. package/dist/components/Notification.mjs +1 -1
  123. package/dist/components/Pagination.d.mts +5 -1
  124. package/dist/components/Pagination.d.ts +5 -1
  125. package/dist/components/Pagination.js +3 -3
  126. package/dist/components/Pagination.mjs +1 -1
  127. package/dist/components/PieChart.d.mts +14 -0
  128. package/dist/components/PieChart.d.ts +14 -0
  129. package/dist/components/PieChart.js +20 -0
  130. package/dist/components/PieChart.mjs +5 -0
  131. package/dist/components/Popconfirm.d.mts +12 -2
  132. package/dist/components/Popconfirm.d.ts +12 -2
  133. package/dist/components/Popconfirm.js +3 -2
  134. package/dist/components/Popconfirm.mjs +2 -1
  135. package/dist/components/Popover.d.mts +12 -2
  136. package/dist/components/Popover.d.ts +12 -2
  137. package/dist/components/Popover.js +3 -2
  138. package/dist/components/Popover.mjs +2 -1
  139. package/dist/components/RadarChart.d.mts +20 -0
  140. package/dist/components/RadarChart.d.ts +20 -0
  141. package/dist/components/RadarChart.js +20 -0
  142. package/dist/components/RadarChart.mjs +5 -0
  143. package/dist/components/ScatterChart.d.mts +32 -0
  144. package/dist/components/ScatterChart.d.ts +32 -0
  145. package/dist/components/ScatterChart.js +23 -0
  146. package/dist/components/ScatterChart.mjs +8 -0
  147. package/dist/components/Select.js +2 -2
  148. package/dist/components/Select.mjs +1 -1
  149. package/dist/components/Slider.js +2 -2
  150. package/dist/components/Slider.mjs +1 -1
  151. package/dist/components/Space.js +2 -2
  152. package/dist/components/Space.mjs +1 -1
  153. package/dist/components/Steps.js +3 -3
  154. package/dist/components/Steps.mjs +1 -1
  155. package/dist/components/StepsItem.js +2 -2
  156. package/dist/components/StepsItem.mjs +1 -1
  157. package/dist/components/Table.js +2 -2
  158. package/dist/components/Table.mjs +1 -1
  159. package/dist/components/Tooltip.d.mts +12 -2
  160. package/dist/components/Tooltip.d.ts +12 -2
  161. package/dist/components/Tooltip.js +3 -2
  162. package/dist/components/Tooltip.mjs +2 -1
  163. package/dist/index.d.mts +97 -1
  164. package/dist/index.d.ts +97 -1
  165. package/dist/index.js +178 -108
  166. package/dist/index.mjs +41 -27
  167. package/package.json +2 -2
  168. package/dist/chunk-NEULKOYJ.js +0 -48
  169. package/dist/chunk-ZO4XVOHU.mjs +0 -45
@@ -0,0 +1,230 @@
1
+ 'use strict';
2
+
3
+ var chunkKQZ4F7FZ_js = require('./chunk-KQZ4F7FZ.js');
4
+ var chunkDUWAV47E_js = require('./chunk-DUWAV47E.js');
5
+ var chunk6PBNFLM7_js = require('./chunk-6PBNFLM7.js');
6
+ var chunkM375I56K_js = require('./chunk-M375I56K.js');
7
+ var react = require('react');
8
+ var tigercatCore = require('@expcat/tigercat-core');
9
+ var jsxRuntime = require('react/jsx-runtime');
10
+
11
+ var PieChart = ({
12
+ width = 320,
13
+ height = 200,
14
+ padding = 24,
15
+ data,
16
+ innerRadius = 0,
17
+ outerRadius,
18
+ startAngle = 0,
19
+ endAngle = Math.PI * 2,
20
+ padAngle = 0,
21
+ colors,
22
+ showLabels = false,
23
+ labelFormatter,
24
+ hoverable = false,
25
+ hoveredIndex: hoveredIndexProp,
26
+ activeOpacity = 1,
27
+ inactiveOpacity = 0.25,
28
+ selectable = false,
29
+ selectedIndex: selectedIndexProp,
30
+ showLegend = false,
31
+ legendPosition = "bottom",
32
+ legendMarkerSize = 10,
33
+ legendGap = 8,
34
+ showTooltip = true,
35
+ tooltipFormatter,
36
+ legendFormatter,
37
+ title,
38
+ desc,
39
+ className,
40
+ onHoveredIndexChange,
41
+ onSelectedIndexChange,
42
+ onSliceClick,
43
+ onSliceHover
44
+ }) => {
45
+ const {
46
+ tooltipPosition,
47
+ resolvedHoveredIndex,
48
+ activeIndex,
49
+ handleMouseEnter,
50
+ handleMouseMove,
51
+ handleMouseLeave,
52
+ handleClick,
53
+ handleKeyDown,
54
+ handleLegendClick,
55
+ handleLegendHover,
56
+ handleLegendLeave,
57
+ wrapperClasses
58
+ } = chunkKQZ4F7FZ_js.useChartInteraction({
59
+ hoverable,
60
+ hoveredIndexProp,
61
+ selectable,
62
+ selectedIndexProp,
63
+ activeOpacity,
64
+ inactiveOpacity,
65
+ legendPosition,
66
+ getData: (index) => data[index],
67
+ onHoveredIndexChange: (index) => {
68
+ onHoveredIndexChange?.(index);
69
+ onSliceHover?.(index, index !== null ? data[index] : null);
70
+ },
71
+ onSelectedIndexChange,
72
+ callbacks: {
73
+ onClick: onSliceClick
74
+ }
75
+ });
76
+ const innerRect = react.useMemo(
77
+ () => tigercatCore.getChartInnerRect(width, height, padding),
78
+ [width, height, padding]
79
+ );
80
+ const resolvedOuterRadius = react.useMemo(() => {
81
+ if (typeof outerRadius === "number") return Math.max(0, outerRadius);
82
+ return Math.max(0, Math.min(innerRect.width, innerRect.height) / 2);
83
+ }, [outerRadius, innerRect.width, innerRect.height]);
84
+ const resolvedInnerRadius = react.useMemo(
85
+ () => Math.min(Math.max(0, innerRadius ?? 0), resolvedOuterRadius),
86
+ [innerRadius, resolvedOuterRadius]
87
+ );
88
+ const arcs = react.useMemo(
89
+ () => tigercatCore.getPieArcs(data, {
90
+ startAngle,
91
+ endAngle,
92
+ padAngle
93
+ }),
94
+ [data, startAngle, endAngle, padAngle]
95
+ );
96
+ const palette = react.useMemo(
97
+ () => colors && colors.length > 0 ? colors : [...tigercatCore.DEFAULT_CHART_COLORS],
98
+ [colors]
99
+ );
100
+ const cx = innerRect.width / 2;
101
+ const cy = innerRect.height / 2;
102
+ const labelRadius = resolvedInnerRadius + (resolvedOuterRadius - resolvedInnerRadius) / 2;
103
+ const total = react.useMemo(() => data.reduce((sum, d) => sum + d.value, 0), [data]);
104
+ const formatLabel = labelFormatter ?? ((value, datum) => datum.label ?? `${value}`);
105
+ const legendItems = react.useMemo(
106
+ () => arcs.map((arc) => ({
107
+ index: arc.index,
108
+ label: legendFormatter ? legendFormatter(arc.data, arc.index) : arc.data.label ?? `${arc.index + 1}`,
109
+ color: arc.data.color ?? palette[arc.index % palette.length],
110
+ active: activeIndex === null || activeIndex === arc.index
111
+ })),
112
+ [arcs, legendFormatter, palette, activeIndex]
113
+ );
114
+ const formatTooltip = react.useCallback(
115
+ (datum, index) => {
116
+ if (tooltipFormatter) return tooltipFormatter(datum, index);
117
+ const label = datum.label ?? `Slice ${index + 1}`;
118
+ const percentage = total > 0 ? (datum.value / total * 100).toFixed(1) : "0";
119
+ return `${label}: ${datum.value} (${percentage}%)`;
120
+ },
121
+ [tooltipFormatter, total]
122
+ );
123
+ const tooltipContent = react.useMemo(() => {
124
+ if (resolvedHoveredIndex === null) return "";
125
+ const datum = data[resolvedHoveredIndex];
126
+ return datum ? formatTooltip(datum, resolvedHoveredIndex) : "";
127
+ }, [resolvedHoveredIndex, data, formatTooltip]);
128
+ const chart = /* @__PURE__ */ jsxRuntime.jsxs(
129
+ chunkDUWAV47E_js.ChartCanvas,
130
+ {
131
+ width,
132
+ height,
133
+ padding,
134
+ title,
135
+ desc,
136
+ className: tigercatCore.classNames(className),
137
+ children: [
138
+ /* @__PURE__ */ jsxRuntime.jsx("g", { "data-series-type": "pie", children: arcs.map((arc) => {
139
+ const color = arc.data.color ?? palette[arc.index % palette.length];
140
+ const path = tigercatCore.createPieArcPath({
141
+ cx,
142
+ cy,
143
+ innerRadius: resolvedInnerRadius,
144
+ outerRadius: resolvedOuterRadius,
145
+ startAngle: arc.startAngle,
146
+ endAngle: arc.endAngle
147
+ });
148
+ const opacity = tigercatCore.getChartElementOpacity(arc.index, activeIndex, {
149
+ activeOpacity,
150
+ inactiveOpacity
151
+ });
152
+ return /* @__PURE__ */ jsxRuntime.jsx(
153
+ "path",
154
+ {
155
+ d: path,
156
+ fill: color,
157
+ opacity,
158
+ className: tigercatCore.classNames(
159
+ "transition-opacity duration-150",
160
+ (hoverable || selectable) && "cursor-pointer"
161
+ ),
162
+ tabIndex: selectable ? 0 : void 0,
163
+ "data-pie-slice": "true",
164
+ "data-index": arc.index,
165
+ onMouseEnter: (e) => handleMouseEnter(arc.index, e),
166
+ onMouseMove: handleMouseMove,
167
+ onMouseLeave: handleMouseLeave,
168
+ onClick: () => handleClick(arc.index),
169
+ onKeyDown: (e) => handleKeyDown(e, arc.index)
170
+ },
171
+ `slice-${arc.index}`
172
+ );
173
+ }) }),
174
+ showLabels && arcs.map((arc) => {
175
+ const angle = (arc.startAngle + arc.endAngle) / 2;
176
+ const { x, y } = tigercatCore.polarToCartesian(cx, cy, labelRadius, angle);
177
+ const label = formatLabel(arc.value, arc.data, arc.index);
178
+ return /* @__PURE__ */ jsxRuntime.jsx(
179
+ "text",
180
+ {
181
+ x,
182
+ y,
183
+ className: tigercatCore.chartAxisTickTextClasses,
184
+ textAnchor: "middle",
185
+ dominantBaseline: "middle",
186
+ children: label
187
+ },
188
+ `label-${arc.index}`
189
+ );
190
+ })
191
+ ]
192
+ }
193
+ );
194
+ const tooltip = showTooltip && /* @__PURE__ */ jsxRuntime.jsx(
195
+ chunkM375I56K_js.ChartTooltip,
196
+ {
197
+ content: tooltipContent,
198
+ visible: hoverable && resolvedHoveredIndex !== null && tooltipContent !== "",
199
+ x: tooltipPosition.x,
200
+ y: tooltipPosition.y
201
+ }
202
+ );
203
+ if (!showLegend) {
204
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "inline-block relative", children: [
205
+ chart,
206
+ tooltip
207
+ ] });
208
+ }
209
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: wrapperClasses, children: [
210
+ chart,
211
+ /* @__PURE__ */ jsxRuntime.jsx(
212
+ chunk6PBNFLM7_js.ChartLegend,
213
+ {
214
+ items: legendItems,
215
+ position: legendPosition,
216
+ markerSize: legendMarkerSize,
217
+ gap: legendGap,
218
+ interactive: hoverable || selectable,
219
+ onItemClick: handleLegendClick,
220
+ onItemHover: handleLegendHover,
221
+ onItemLeave: handleLegendLeave
222
+ }
223
+ ),
224
+ tooltip
225
+ ] });
226
+ };
227
+ var PieChart_default = PieChart;
228
+
229
+ exports.PieChart = PieChart;
230
+ exports.PieChart_default = PieChart_default;
@@ -1,5 +1,5 @@
1
1
  import { useId, useState, useRef, useMemo, useEffect } from 'react';
2
- import { filterOptions, getSelectTriggerClasses, classNames, selectBaseClasses, selectDropdownBaseClasses, selectSearchInputClasses, selectEmptyStateClasses, isOptionGroup, selectGroupLabelClasses, getSelectOptionClasses } from '@expcat/tigercat-core';
2
+ import { filterOptions, getSelectTriggerClasses, classNames, selectBaseClasses, icon20ViewBox, closeSolidIcon20PathD, chevronDownSolidIcon20PathD, selectDropdownBaseClasses, selectSearchInputClasses, selectEmptyStateClasses, isOptionGroup, selectGroupLabelClasses, getSelectOptionClasses, checkSolidIcon20PathD } from '@expcat/tigercat-core';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
 
5
5
  // src/components/Select.tsx
@@ -364,16 +364,9 @@ var Select = (props) => {
364
364
  {
365
365
  className: "w-5 h-5 text-[var(--tiger-select-check-icon,var(--tiger-primary,#2563eb))]",
366
366
  xmlns: "http://www.w3.org/2000/svg",
367
- viewBox: "0 0 20 20",
367
+ viewBox: icon20ViewBox,
368
368
  fill: "currentColor",
369
- children: /* @__PURE__ */ jsx(
370
- "path",
371
- {
372
- fillRule: "evenodd",
373
- d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
374
- clipRule: "evenodd"
375
- }
376
- )
369
+ children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", d: checkSolidIcon20PathD, clipRule: "evenodd" })
377
370
  }
378
371
  )
379
372
  ] })
@@ -432,16 +425,9 @@ var Select = (props) => {
432
425
  {
433
426
  className: "w-4 h-4 text-[var(--tiger-select-icon,var(--tiger-text-muted,#9ca3af))] hover:text-[var(--tiger-select-icon-hover,var(--tiger-text-muted,#6b7280))]",
434
427
  xmlns: "http://www.w3.org/2000/svg",
435
- viewBox: "0 0 20 20",
428
+ viewBox: icon20ViewBox,
436
429
  fill: "currentColor",
437
- children: /* @__PURE__ */ jsx(
438
- "path",
439
- {
440
- fillRule: "evenodd",
441
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
442
- clipRule: "evenodd"
443
- }
444
- )
430
+ children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", d: closeSolidIcon20PathD, clipRule: "evenodd" })
445
431
  }
446
432
  ) }),
447
433
  /* @__PURE__ */ jsx("span", { className: classNames("inline-flex", isOpen && "rotate-180"), children: /* @__PURE__ */ jsx(
@@ -449,16 +435,9 @@ var Select = (props) => {
449
435
  {
450
436
  className: "w-5 h-5 text-[var(--tiger-select-icon,var(--tiger-text-muted,#9ca3af))] transition-transform",
451
437
  xmlns: "http://www.w3.org/2000/svg",
452
- viewBox: "0 0 20 20",
438
+ viewBox: icon20ViewBox,
453
439
  fill: "currentColor",
454
- children: /* @__PURE__ */ jsx(
455
- "path",
456
- {
457
- fillRule: "evenodd",
458
- d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",
459
- clipRule: "evenodd"
460
- }
461
- )
440
+ children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", d: chevronDownSolidIcon20PathD, clipRule: "evenodd" })
462
441
  }
463
442
  ) })
464
443
  ] })
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkLNKI6HQ3_js = require('./chunk-LNKI6HQ3.js');
3
+ var chunkLIJLFLYE_js = require('./chunk-LIJLFLYE.js');
4
4
  var react = require('react');
5
5
  var tigercatCore = require('@expcat/tigercat-core');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -13,7 +13,7 @@ var DropdownItem = ({
13
13
  children,
14
14
  ...buttonProps
15
15
  }) => {
16
- const context = react.useContext(chunkLNKI6HQ3_js.DropdownContext);
16
+ const context = react.useContext(chunkLIJLFLYE_js.DropdownContext);
17
17
  const handleClick = (event) => {
18
18
  if (disabled) {
19
19
  event.preventDefault();