@adsgency_npm/adsgency-ads-ui 0.1.0-alpha.23 → 0.1.0-alpha.24

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/index.cjs CHANGED
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  AdsAlertDialogTrigger: () => AdsAlertDialogTrigger,
49
49
  AdsAlertTitle: () => AlertTitle2,
50
50
  AdsBadge: () => AdsBadge,
51
+ AdsBarChart: () => AdsBarChart,
51
52
  AdsBreadcrumb: () => AdsBreadcrumb,
52
53
  AdsBreadcrumbEllipsis: () => AdsBreadcrumbEllipsis,
53
54
  AdsBreadcrumbItem: () => AdsBreadcrumbItem,
@@ -69,6 +70,7 @@ __export(src_exports, {
69
70
  AdsDatePicker: () => AdsDatePicker,
70
71
  AdsDateTimePicker: () => AdsDateTimePicker,
71
72
  AdsDialog: () => AdsDialog,
73
+ AdsDialogBody: () => AdsDialogBody,
72
74
  AdsDialogClose: () => AdsDialogClose,
73
75
  AdsDialogContent: () => AdsDialogContent,
74
76
  AdsDialogDescription: () => AdsDialogDescription,
@@ -124,6 +126,7 @@ __export(src_exports, {
124
126
  AdsPopoverTitle: () => AdsPopoverTitle,
125
127
  AdsPopoverTrigger: () => AdsPopoverTrigger,
126
128
  AdsProgress: () => AdsProgress,
129
+ AdsRadialProgressChart: () => AdsRadialProgressChart,
127
130
  AdsRadioGroup: () => AdsRadioGroup,
128
131
  AdsRadioGroupCardOption: () => AdsRadioGroupCardOption,
129
132
  AdsRadioGroupOption: () => AdsRadioGroupOption,
@@ -141,7 +144,9 @@ __export(src_exports, {
141
144
  AdsSeparator: () => AdsSeparator,
142
145
  AdsSkeleton: () => AdsSkeleton,
143
146
  AdsSlider: () => AdsSlider,
147
+ AdsSparklineChart: () => AdsSparklineChart,
144
148
  AdsSpinner: () => AdsSpinner,
149
+ AdsStackedBarChart: () => AdsStackedBarChart,
145
150
  AdsSwitch: () => AdsSwitch,
146
151
  AdsTable: () => AdsTable,
147
152
  AdsTableBody: () => AdsTableBody,
@@ -5869,14 +5874,328 @@ var AdsProgress = React46.forwardRef(
5869
5874
  );
5870
5875
  AdsProgress.displayName = "AdsProgress";
5871
5876
 
5872
- // src/components/AdsSlider/index.tsx
5877
+ // src/components/AdsRadialProgressChart/index.tsx
5878
+ var import_recharts2 = require("recharts");
5879
+
5880
+ // src/primitives/chart.tsx
5881
+ var React47 = __toESM(require("react"), 1);
5882
+ var import_recharts = require("recharts");
5883
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5884
+ var chartContext = React47.createContext(null);
5885
+ var ChartContainer = React47.forwardRef(
5886
+ ({ children, className, config, height = 240, style, ...props }, ref) => {
5887
+ const chartStyle = Object.entries(config).reduce((variables, [key, item]) => {
5888
+ if (item.color) {
5889
+ variables[`--color-${key}`] = item.color;
5890
+ }
5891
+ return variables;
5892
+ }, {});
5893
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(chartContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5894
+ "div",
5895
+ {
5896
+ className: cn("relative w-full text-xs", className),
5897
+ "data-slot": "chart",
5898
+ ref,
5899
+ style: { height, ...chartStyle, ...style },
5900
+ ...props,
5901
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_recharts.ResponsiveContainer, { height: "100%", width: "100%", children })
5902
+ }
5903
+ ) });
5904
+ }
5905
+ );
5906
+ ChartContainer.displayName = "ChartContainer";
5907
+
5908
+ // src/components/AdsRadialProgressChart/index.tsx
5909
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5910
+ var DEFAULT_SIZE = 160;
5911
+ var DEFAULT_STROKE_WIDTH = 14;
5912
+ function clamp(value, min, max) {
5913
+ return Math.min(Math.max(value, min), max);
5914
+ }
5915
+ function AdsRadialProgressChart({
5916
+ ariaLabel,
5917
+ className,
5918
+ color = "var(--primary)",
5919
+ label,
5920
+ max = 100,
5921
+ size = DEFAULT_SIZE,
5922
+ strokeWidth = DEFAULT_STROKE_WIDTH,
5923
+ trackColor = "color-mix(in srgb, var(--primary) 20%, transparent)",
5924
+ value
5925
+ }) {
5926
+ const safeMax = Number.isFinite(max) && max > 0 ? max : 0;
5927
+ const safeValue = Number.isFinite(value) && safeMax > 0 ? clamp(value, 0, safeMax) : 0;
5928
+ const percentage = safeMax > 0 ? Math.round(safeValue / safeMax * 100) : 0;
5929
+ const safeSize = Number.isFinite(size) && size > 0 ? size : DEFAULT_SIZE;
5930
+ const safeStrokeWidth = clamp(
5931
+ Number.isFinite(strokeWidth) && strokeWidth > 0 ? strokeWidth : DEFAULT_STROKE_WIDTH,
5932
+ 1,
5933
+ safeSize / 2
5934
+ );
5935
+ const chartData = [{ value: safeValue }];
5936
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5937
+ "div",
5938
+ {
5939
+ "aria-label": ariaLabel ?? `${percentage}%`,
5940
+ className: cn(
5941
+ "relative inline-grid place-items-center",
5942
+ className
5943
+ ),
5944
+ "data-testid": "ads-radial-progress-chart",
5945
+ role: "img",
5946
+ style: {
5947
+ "--ads-radial-chart-size": `${safeSize}px`,
5948
+ height: safeSize,
5949
+ width: safeSize
5950
+ },
5951
+ children: [
5952
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5953
+ ChartContainer,
5954
+ {
5955
+ "aria-hidden": "true",
5956
+ className: "absolute inset-0",
5957
+ config: { value: { color } },
5958
+ height: "100%",
5959
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5960
+ import_recharts2.RadialBarChart,
5961
+ {
5962
+ accessibilityLayer: true,
5963
+ data: chartData,
5964
+ endAngle: -270,
5965
+ innerRadius: safeSize / 2 - safeStrokeWidth,
5966
+ outerRadius: safeSize / 2,
5967
+ startAngle: 90,
5968
+ children: [
5969
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5970
+ import_recharts2.PolarAngleAxis,
5971
+ {
5972
+ axisLine: false,
5973
+ dataKey: "value",
5974
+ domain: [0, Math.max(safeMax, 1)],
5975
+ tick: false,
5976
+ type: "number"
5977
+ }
5978
+ ),
5979
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5980
+ import_recharts2.RadialBar,
5981
+ {
5982
+ background: { fill: trackColor },
5983
+ cornerRadius: safeStrokeWidth / 2,
5984
+ dataKey: "value",
5985
+ fill: "var(--color-value)",
5986
+ isAnimationActive: false
5987
+ }
5988
+ )
5989
+ ]
5990
+ }
5991
+ )
5992
+ }
5993
+ ),
5994
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "pointer-events-none absolute inset-0 flex items-center justify-center text-center", children: label ?? `${percentage}%` })
5995
+ ]
5996
+ }
5997
+ );
5998
+ }
5999
+
6000
+ // src/components/AdsSparklineChart/index.tsx
6001
+ var import_recharts3 = require("recharts");
6002
+ var import_jsx_runtime55 = require("react/jsx-runtime");
6003
+ var DEFAULT_HEIGHT = 40;
6004
+ function getSafeHeight(height) {
6005
+ return Number.isFinite(height) && height && height > 0 ? height : DEFAULT_HEIGHT;
6006
+ }
6007
+ function getSafeValue(value) {
6008
+ return typeof value === "number" && Number.isFinite(value) ? Math.max(value, 0) : 0;
6009
+ }
6010
+ function AdsSparklineChart({
6011
+ ariaLabel,
6012
+ className,
6013
+ color = "var(--chart-1)",
6014
+ data,
6015
+ dataKey,
6016
+ height,
6017
+ xKey
6018
+ }) {
6019
+ const chartData = data.map((datum) => ({
6020
+ ...datum,
6021
+ [xKey]: datum[xKey],
6022
+ [dataKey]: getSafeValue(datum[dataKey])
6023
+ }));
6024
+ const safeHeight = getSafeHeight(height);
6025
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6026
+ "div",
6027
+ {
6028
+ "aria-label": ariaLabel ?? "Trend chart",
6029
+ className: cn("w-full", className),
6030
+ "data-testid": "ads-sparkline-chart",
6031
+ role: "img",
6032
+ style: { height: safeHeight },
6033
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6034
+ ChartContainer,
6035
+ {
6036
+ "aria-hidden": "true",
6037
+ className: "h-full",
6038
+ config: { value: { color } },
6039
+ height: "100%",
6040
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_recharts3.LineChart, { data: chartData, margin: { bottom: 1, left: 1, right: 1, top: 1 }, children: [
6041
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts3.XAxis, { dataKey: xKey, hide: true, type: "category" }),
6042
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6043
+ import_recharts3.Line,
6044
+ {
6045
+ activeDot: false,
6046
+ dataKey,
6047
+ dot: false,
6048
+ isAnimationActive: false,
6049
+ stroke: "var(--color-value)",
6050
+ strokeWidth: 2,
6051
+ type: "monotone"
6052
+ }
6053
+ )
6054
+ ] })
6055
+ }
6056
+ )
6057
+ }
6058
+ );
6059
+ }
6060
+
6061
+ // src/components/AdsStackedBarChart/index.tsx
5873
6062
  var React48 = __toESM(require("react"), 1);
6063
+ var import_jsx_runtime56 = require("react/jsx-runtime");
6064
+ var DEFAULT_HEIGHT2 = 20;
6065
+ var DEFAULT_SEGMENT_COLOR = "var(--chart-1)";
6066
+ function getSafeHeight2(height) {
6067
+ return Number.isFinite(height) && height && height > 0 ? height : DEFAULT_HEIGHT2;
6068
+ }
6069
+ function formatPercentage(percentage) {
6070
+ return `${Number(percentage.toFixed(2))}%`;
6071
+ }
6072
+ function AdsStackedBarChart({
6073
+ ariaLabel,
6074
+ className,
6075
+ height,
6076
+ segments
6077
+ }) {
6078
+ const descriptionId = React48.useId();
6079
+ const validSegments = segments.reduce((items, segment, index) => {
6080
+ const value = Number.isFinite(segment.value) ? Math.max(segment.value, 0) : 0;
6081
+ if (value > 0) {
6082
+ items.push({
6083
+ color: segment.color ?? DEFAULT_SEGMENT_COLOR,
6084
+ label: segment.label ?? `Segment ${index + 1}`,
6085
+ value
6086
+ });
6087
+ }
6088
+ return items;
6089
+ }, []);
6090
+ const normalizationBase = validSegments.reduce(
6091
+ (maximum, segment) => Math.max(maximum, segment.value),
6092
+ 0
6093
+ );
6094
+ const normalizedTotal = normalizationBase > 0 ? validSegments.reduce((sum, segment) => sum + segment.value / normalizationBase, 0) : 0;
6095
+ const hasData = normalizedTotal > 0 && Number.isFinite(normalizedTotal);
6096
+ const getPercentage = (value) => value / normalizationBase / normalizedTotal * 100;
6097
+ const summary = hasData ? validSegments.map((segment) => `${segment.label}: ${formatPercentage(getPercentage(segment.value))}`).join(", ") : "No data";
6098
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
6099
+ "div",
6100
+ {
6101
+ "aria-label": ariaLabel ?? summary,
6102
+ "aria-describedby": ariaLabel ? descriptionId : void 0,
6103
+ className: cn("overflow-hidden rounded-full bg-muted", className),
6104
+ "data-testid": "ads-stacked-bar-chart",
6105
+ role: "img",
6106
+ style: { height: getSafeHeight2(height) },
6107
+ children: [
6108
+ ariaLabel && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "sr-only", id: descriptionId, children: summary }),
6109
+ hasData && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { "aria-hidden": "true", className: "flex size-full", children: validSegments.map((segment, index) => {
6110
+ const percentage = getPercentage(segment.value);
6111
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
6112
+ "div",
6113
+ {
6114
+ "data-testid": "ads-stacked-bar-chart-segment",
6115
+ style: { backgroundColor: segment.color, width: `${percentage}%` }
6116
+ },
6117
+ `${segment.label}-${index}`
6118
+ );
6119
+ }) })
6120
+ ]
6121
+ }
6122
+ );
6123
+ }
6124
+
6125
+ // src/components/AdsBarChart/index.tsx
6126
+ var import_recharts4 = require("recharts");
6127
+ var import_jsx_runtime57 = require("react/jsx-runtime");
6128
+ var DEFAULT_HEIGHT3 = 160;
6129
+ var DEFAULT_HIGHLIGHT_COLOR = "var(--chart-2)";
6130
+ var DEFAULT_RADIUS = 4;
6131
+ function getSafeHeight3(height) {
6132
+ return Number.isFinite(height) && height && height > 0 ? height : DEFAULT_HEIGHT3;
6133
+ }
6134
+ function getSafeRadius(radius) {
6135
+ return Number.isFinite(radius) && radius !== void 0 && radius >= 0 ? radius : DEFAULT_RADIUS;
6136
+ }
6137
+ function getSafeValue2(value) {
6138
+ return typeof value === "number" && Number.isFinite(value) ? Math.max(value, 0) : 0;
6139
+ }
6140
+ function AdsBarChart({
6141
+ ariaLabel,
6142
+ barRadius,
6143
+ className,
6144
+ color = "var(--chart-1)",
6145
+ data,
6146
+ dataKey,
6147
+ height,
6148
+ highlightColor,
6149
+ highlightIndex,
6150
+ xKey
6151
+ }) {
6152
+ const chartData = data.map((datum) => ({
6153
+ ...datum,
6154
+ [xKey]: datum[xKey],
6155
+ [dataKey]: getSafeValue2(datum[dataKey])
6156
+ }));
6157
+ const safeHeight = getSafeHeight3(height);
6158
+ const safeRadius = getSafeRadius(barRadius);
6159
+ const safeHighlightIndex = Number.isInteger(highlightIndex) ? highlightIndex : -1;
6160
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6161
+ "div",
6162
+ {
6163
+ "aria-label": ariaLabel ?? "Bar chart",
6164
+ className: cn("w-full", className),
6165
+ "data-testid": "ads-bar-chart",
6166
+ role: "img",
6167
+ style: { height: safeHeight },
6168
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6169
+ ChartContainer,
6170
+ {
6171
+ "aria-hidden": "true",
6172
+ className: "h-full",
6173
+ config: { value: { color } },
6174
+ height: "100%",
6175
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_recharts4.BarChart, { data: chartData, margin: { bottom: 0, left: 0, right: 0, top: 0 }, children: [
6176
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts4.XAxis, { dataKey: xKey, hide: true, type: "category" }),
6177
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts4.Bar, { dataKey, fill: "var(--color-value)", isAnimationActive: false, radius: safeRadius, children: chartData.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6178
+ import_recharts4.Cell,
6179
+ {
6180
+ fill: index === safeHighlightIndex ? highlightColor ?? DEFAULT_HIGHLIGHT_COLOR : "var(--color-value)"
6181
+ },
6182
+ index
6183
+ )) })
6184
+ ] })
6185
+ }
6186
+ )
6187
+ }
6188
+ );
6189
+ }
6190
+
6191
+ // src/components/AdsSlider/index.tsx
6192
+ var React50 = __toESM(require("react"), 1);
5874
6193
 
5875
6194
  // src/primitives/slider.tsx
5876
- var React47 = __toESM(require("react"), 1);
6195
+ var React49 = __toESM(require("react"), 1);
5877
6196
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
5878
- var import_jsx_runtime53 = require("react/jsx-runtime");
5879
- var Slider = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
6197
+ var import_jsx_runtime58 = require("react/jsx-runtime");
6198
+ var Slider = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
5880
6199
  SliderPrimitive.Root,
5881
6200
  {
5882
6201
  ref,
@@ -5886,10 +6205,10 @@ var Slider = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
5886
6205
  ),
5887
6206
  ...props,
5888
6207
  children: [
5889
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderPrimitive.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
6208
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SliderPrimitive.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
5890
6209
  Array.from({
5891
6210
  length: Array.isArray(props.value) ? props.value.length : Array.isArray(props.defaultValue) ? props.defaultValue.length : 1
5892
- }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
6211
+ }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5893
6212
  SliderPrimitive.Thumb,
5894
6213
  {
5895
6214
  className: "block h-5 w-5 rounded-full border border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
@@ -5902,11 +6221,11 @@ var Slider = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
5902
6221
  Slider.displayName = SliderPrimitive.Root.displayName;
5903
6222
 
5904
6223
  // src/components/AdsSlider/index.tsx
5905
- var import_jsx_runtime54 = require("react/jsx-runtime");
6224
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5906
6225
  var sliderBaseClassName = "py-1";
5907
- var Slider2 = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Slider, { className: cn(sliderBaseClassName, className), ref, ...props }));
6226
+ var Slider2 = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Slider, { className: cn(sliderBaseClassName, className), ref, ...props }));
5908
6227
  Slider2.displayName = "Slider";
5909
- var AdsSlider = React48.forwardRef(
6228
+ var AdsSlider = React50.forwardRef(
5910
6229
  ({
5911
6230
  className,
5912
6231
  descriptionPlacement = "above",
@@ -5921,12 +6240,12 @@ var AdsSlider = React48.forwardRef(
5921
6240
  helperText,
5922
6241
  id
5923
6242
  });
5924
- const helperNode = helperText ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AdsFieldDescription, { id: description.helperId, children: helperText }) : null;
5925
- const errorNode = errorText ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AdsFieldError, { id: description.errorId, children: errorText }) : null;
5926
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(AdsFieldItem, { children: [
5927
- label ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AdsFieldLabel, { children: label }) : null,
6243
+ const helperNode = helperText ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(AdsFieldDescription, { id: description.helperId, children: helperText }) : null;
6244
+ const errorNode = errorText ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(AdsFieldError, { id: description.errorId, children: errorText }) : null;
6245
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(AdsFieldItem, { children: [
6246
+ label ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(AdsFieldLabel, { children: label }) : null,
5928
6247
  descriptionPlacement === "above" ? helperNode : null,
5929
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
6248
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5930
6249
  Slider2,
5931
6250
  {
5932
6251
  "aria-describedby": description.describedBy,
@@ -5943,13 +6262,13 @@ var AdsSlider = React48.forwardRef(
5943
6262
  AdsSlider.displayName = "AdsSlider";
5944
6263
 
5945
6264
  // src/components/AdsSwitch/index.tsx
5946
- var React50 = __toESM(require("react"), 1);
6265
+ var React52 = __toESM(require("react"), 1);
5947
6266
 
5948
6267
  // src/primitives/switch.tsx
5949
- var React49 = __toESM(require("react"), 1);
6268
+ var React51 = __toESM(require("react"), 1);
5950
6269
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
5951
- var import_jsx_runtime55 = require("react/jsx-runtime");
5952
- var Switch = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6270
+ var import_jsx_runtime60 = require("react/jsx-runtime");
6271
+ var Switch = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5953
6272
  SwitchPrimitives.Root,
5954
6273
  {
5955
6274
  className: cn(
@@ -5958,7 +6277,7 @@ var Switch = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
5958
6277
  ),
5959
6278
  ...props,
5960
6279
  ref,
5961
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6280
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5962
6281
  SwitchPrimitives.Thumb,
5963
6282
  {
5964
6283
  className: cn(
@@ -5971,15 +6290,15 @@ var Switch = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
5971
6290
  Switch.displayName = SwitchPrimitives.Root.displayName;
5972
6291
 
5973
6292
  // src/components/AdsSwitch/index.tsx
5974
- var import_jsx_runtime56 = require("react/jsx-runtime");
6293
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5975
6294
  var switchBaseClassName = "h-6 w-11 border border-transparent bg-muted shadow-[0px_1px_2px_rgba(0,0,0,0.1)] focus-visible:ring-[3px] focus-visible:ring-[rgba(161,161,161,0.5)] focus-visible:ring-offset-0 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted";
5976
- var Switch2 = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Switch, { className: cn(switchBaseClassName, className), ref, ...props }));
6295
+ var Switch2 = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Switch, { className: cn(switchBaseClassName, className), ref, ...props }));
5977
6296
  Switch2.displayName = "Switch";
5978
- var AdsSwitch = React50.forwardRef(({ className, description, id, label, switchClassName, wrapperClassName, ...props }, ref) => {
5979
- const generatedId = React50.useId();
6297
+ var AdsSwitch = React52.forwardRef(({ className, description, id, label, switchClassName, wrapperClassName, ...props }, ref) => {
6298
+ const generatedId = React52.useId();
5980
6299
  const inputId = id ?? generatedId;
5981
6300
  if (!label) {
5982
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
6301
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5983
6302
  Switch2,
5984
6303
  {
5985
6304
  className: cn(className, switchClassName),
@@ -5989,12 +6308,12 @@ var AdsSwitch = React50.forwardRef(({ className, description, id, label, switchC
5989
6308
  }
5990
6309
  );
5991
6310
  }
5992
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("label", { className: cn("block w-full cursor-pointer", wrapperClassName), htmlFor: inputId, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex w-full items-start gap-3", children: [
5993
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1.5 pt-0.5", children: [
5994
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "text-sm font-medium leading-5 text-foreground", children: label }),
5995
- description ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(AdsFieldDescription, { className: "text-sm leading-5", children: description }) : null
6311
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("label", { className: cn("block w-full cursor-pointer", wrapperClassName), htmlFor: inputId, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex w-full items-start gap-3", children: [
6312
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1.5 pt-0.5", children: [
6313
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "text-sm font-medium leading-5 text-foreground", children: label }),
6314
+ description ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(AdsFieldDescription, { className: "text-sm leading-5", children: description }) : null
5996
6315
  ] }),
5997
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
6316
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5998
6317
  Switch2,
5999
6318
  {
6000
6319
  className: cn(className, switchClassName),
@@ -6008,14 +6327,14 @@ var AdsSwitch = React50.forwardRef(({ className, description, id, label, switchC
6008
6327
  AdsSwitch.displayName = "AdsSwitch";
6009
6328
 
6010
6329
  // src/components/AdsTabs/index.tsx
6011
- var React52 = __toESM(require("react"), 1);
6330
+ var React54 = __toESM(require("react"), 1);
6012
6331
 
6013
6332
  // src/primitives/tabs.tsx
6014
- var React51 = __toESM(require("react"), 1);
6333
+ var React53 = __toESM(require("react"), 1);
6015
6334
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
6016
- var import_jsx_runtime57 = require("react/jsx-runtime");
6335
+ var import_jsx_runtime62 = require("react/jsx-runtime");
6017
6336
  var Tabs = TabsPrimitive.Root;
6018
- var TabsList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6337
+ var TabsList = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6019
6338
  TabsPrimitive.List,
6020
6339
  {
6021
6340
  className: cn("inline-flex items-center", className),
@@ -6024,7 +6343,7 @@ var TabsList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__
6024
6343
  }
6025
6344
  ));
6026
6345
  TabsList.displayName = TabsPrimitive.List.displayName;
6027
- var TabsTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6346
+ var TabsTrigger = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6028
6347
  TabsPrimitive.Trigger,
6029
6348
  {
6030
6349
  className: cn(
@@ -6036,7 +6355,7 @@ var TabsTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__PUR
6036
6355
  }
6037
6356
  ));
6038
6357
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
6039
- var TabsContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6358
+ var TabsContent = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6040
6359
  TabsPrimitive.Content,
6041
6360
  {
6042
6361
  className: cn("focus-visible:outline-none", className),
@@ -6047,9 +6366,9 @@ var TabsContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PUR
6047
6366
  TabsContent.displayName = TabsPrimitive.Content.displayName;
6048
6367
 
6049
6368
  // src/components/AdsTabs/index.tsx
6050
- var import_jsx_runtime58 = require("react/jsx-runtime");
6369
+ var import_jsx_runtime63 = require("react/jsx-runtime");
6051
6370
  var AdsTabs = Tabs;
6052
- var AdsTabsList = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6371
+ var AdsTabsList = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6053
6372
  TabsList,
6054
6373
  {
6055
6374
  className: cn(
@@ -6061,7 +6380,7 @@ var AdsTabsList = React52.forwardRef(({ className, ...props }, ref) => /* @__PUR
6061
6380
  }
6062
6381
  ));
6063
6382
  AdsTabsList.displayName = "AdsTabsList";
6064
- var AdsTabsTrigger = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6383
+ var AdsTabsTrigger = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6065
6384
  TabsTrigger,
6066
6385
  {
6067
6386
  className: cn(
@@ -6073,7 +6392,7 @@ var AdsTabsTrigger = React52.forwardRef(({ className, ...props }, ref) => /* @__
6073
6392
  }
6074
6393
  ));
6075
6394
  AdsTabsTrigger.displayName = "AdsTabsTrigger";
6076
- var AdsTabsContent = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6395
+ var AdsTabsContent = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6077
6396
  TabsContent,
6078
6397
  {
6079
6398
  className: cn(
@@ -6087,13 +6406,13 @@ var AdsTabsContent = React52.forwardRef(({ className, ...props }, ref) => /* @__
6087
6406
  AdsTabsContent.displayName = "AdsTabsContent";
6088
6407
 
6089
6408
  // src/components/AdsToggle/index.tsx
6090
- var React54 = __toESM(require("react"), 1);
6409
+ var React56 = __toESM(require("react"), 1);
6091
6410
 
6092
6411
  // src/primitives/toggle.tsx
6093
- var React53 = __toESM(require("react"), 1);
6412
+ var React55 = __toESM(require("react"), 1);
6094
6413
  var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
6095
- var import_jsx_runtime59 = require("react/jsx-runtime");
6096
- var Toggle = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6414
+ var import_jsx_runtime64 = require("react/jsx-runtime");
6415
+ var Toggle = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6097
6416
  TogglePrimitive.Root,
6098
6417
  {
6099
6418
  className: cn(
@@ -6107,7 +6426,7 @@ var Toggle = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
6107
6426
  Toggle.displayName = TogglePrimitive.Root.displayName;
6108
6427
 
6109
6428
  // src/components/AdsToggle/index.tsx
6110
- var import_jsx_runtime60 = require("react/jsx-runtime");
6429
+ var import_jsx_runtime65 = require("react/jsx-runtime");
6111
6430
  var sizeClassName3 = {
6112
6431
  sm: "!h-8 px-[6px] text-sm",
6113
6432
  md: "!h-9 px-md text-sm",
@@ -6122,10 +6441,10 @@ var variantClassName = {
6122
6441
  default: "border border-transparent bg-transparent text-foreground shadow-none hover:bg-muted/70 data-[state=on]:bg-muted data-[state=on]:shadow-[0px_1px_1px_rgba(0,0,0,0.1)]",
6123
6442
  outline: "border border-border bg-transparent text-foreground shadow-none hover:bg-muted/70 data-[state=on]:border-transparent data-[state=on]:bg-muted data-[state=on]:shadow-[0px_1px_1px_rgba(0,0,0,0.1)]"
6124
6443
  };
6125
- var AdsToggle = React54.forwardRef(({ children, className, size = "md", variant = "default", ...props }, ref) => {
6126
- const childCount = React54.Children.count(children);
6127
- const isIconOnly = childCount === 1 && React54.isValidElement(children);
6128
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6444
+ var AdsToggle = React56.forwardRef(({ children, className, size = "md", variant = "default", ...props }, ref) => {
6445
+ const childCount = React56.Children.count(children);
6446
+ const isIconOnly = childCount === 1 && React56.isValidElement(children);
6447
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6129
6448
  Toggle,
6130
6449
  {
6131
6450
  className: cn(
@@ -6144,13 +6463,13 @@ var AdsToggle = React54.forwardRef(({ children, className, size = "md", variant
6144
6463
  AdsToggle.displayName = "AdsToggle";
6145
6464
 
6146
6465
  // src/components/AdsToggleGroup/index.tsx
6147
- var React56 = __toESM(require("react"), 1);
6466
+ var React58 = __toESM(require("react"), 1);
6148
6467
 
6149
6468
  // src/primitives/toggle-group.tsx
6150
- var React55 = __toESM(require("react"), 1);
6469
+ var React57 = __toESM(require("react"), 1);
6151
6470
  var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
6152
- var import_jsx_runtime61 = require("react/jsx-runtime");
6153
- var ToggleGroup = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6471
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6472
+ var ToggleGroup = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6154
6473
  ToggleGroupPrimitive.Root,
6155
6474
  {
6156
6475
  className: cn("inline-flex items-center justify-start", className),
@@ -6159,7 +6478,7 @@ var ToggleGroup = React55.forwardRef(({ className, ...props }, ref) => /* @__PUR
6159
6478
  }
6160
6479
  ));
6161
6480
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
6162
- var ToggleGroupItem = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6481
+ var ToggleGroupItem = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6163
6482
  ToggleGroupPrimitive.Item,
6164
6483
  {
6165
6484
  className: cn(
@@ -6173,7 +6492,7 @@ var ToggleGroupItem = React55.forwardRef(({ className, ...props }, ref) => /* @_
6173
6492
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
6174
6493
 
6175
6494
  // src/components/AdsToggleGroup/index.tsx
6176
- var import_jsx_runtime62 = require("react/jsx-runtime");
6495
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6177
6496
  var sizeClassName4 = {
6178
6497
  sm: "h-8 min-w-7 px-[6px] text-sm",
6179
6498
  md: "h-9 min-w-[34px] px-md text-sm",
@@ -6183,8 +6502,8 @@ var variantClassName2 = {
6183
6502
  default: "border-transparent bg-transparent text-foreground hover:bg-muted/70 data-[state=on]:bg-muted data-[state=on]:shadow-[0px_1px_1px_rgba(0,0,0,0.1)]",
6184
6503
  outline: "border border-border bg-transparent text-foreground hover:bg-muted/70 data-[state=on]:border-transparent data-[state=on]:bg-muted data-[state=on]:shadow-[0px_1px_1px_rgba(0,0,0,0.1)]"
6185
6504
  };
6186
- var AdsToggleGroupContext = React56.createContext(null);
6187
- var AdsToggleGroup = React56.forwardRef(
6505
+ var AdsToggleGroupContext = React58.createContext(null);
6506
+ var AdsToggleGroup = React58.forwardRef(
6188
6507
  ({
6189
6508
  children,
6190
6509
  className,
@@ -6192,7 +6511,7 @@ var AdsToggleGroup = React56.forwardRef(
6192
6511
  size = "md",
6193
6512
  variant = "default",
6194
6513
  ...props
6195
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(AdsToggleGroupContext.Provider, { value: { orientation, size, variant }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6514
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(AdsToggleGroupContext.Provider, { value: { orientation, size, variant }, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6196
6515
  ToggleGroup,
6197
6516
  {
6198
6517
  className: cn(
@@ -6208,12 +6527,12 @@ var AdsToggleGroup = React56.forwardRef(
6208
6527
  ) })
6209
6528
  );
6210
6529
  AdsToggleGroup.displayName = "AdsToggleGroup";
6211
- var AdsToggleGroupItem = React56.forwardRef(({ className, size, variant, ...props }, ref) => {
6212
- const context = React56.useContext(AdsToggleGroupContext);
6530
+ var AdsToggleGroupItem = React58.forwardRef(({ className, size, variant, ...props }, ref) => {
6531
+ const context = React58.useContext(AdsToggleGroupContext);
6213
6532
  const resolvedOrientation = context?.orientation ?? "horizontal";
6214
6533
  const resolvedSize = size ?? context?.size ?? "md";
6215
6534
  const resolvedVariant = variant ?? context?.variant ?? "default";
6216
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6535
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6217
6536
  ToggleGroupItem,
6218
6537
  {
6219
6538
  className: cn(
@@ -6231,10 +6550,10 @@ var AdsToggleGroupItem = React56.forwardRef(({ className, size, variant, ...prop
6231
6550
  AdsToggleGroupItem.displayName = "AdsToggleGroupItem";
6232
6551
 
6233
6552
  // src/components/AdsTextarea/index.tsx
6234
- var React57 = __toESM(require("react"), 1);
6235
- var import_jsx_runtime63 = require("react/jsx-runtime");
6553
+ var React59 = __toESM(require("react"), 1);
6554
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6236
6555
  var textareaBaseClassName = "w-full rounded-radius-md border border-border bg-card px-md py-md text-base leading-6 shadow-[0px_1px_2px_rgba(0,0,0,0.1)] placeholder:text-[var(--muted-foreground)] focus-visible:border-border-focus focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[rgba(161,161,161,0.5)] focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50";
6237
- var AdsTextarea = React57.forwardRef(
6556
+ var AdsTextarea = React59.forwardRef(
6238
6557
  ({
6239
6558
  action,
6240
6559
  className,
@@ -6253,12 +6572,12 @@ var AdsTextarea = React57.forwardRef(
6253
6572
  helperText,
6254
6573
  id
6255
6574
  });
6256
- const helperNode = helperText ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AdsFieldDescription, { id: description.helperId, children: helperText }) : null;
6257
- const errorNode = errorText ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AdsFieldError, { id: description.errorId, children: errorText }) : null;
6258
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AdsFieldItem, { children: [
6259
- label ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AdsFieldLabel, { htmlFor: description.inputId, children: label }) : null,
6575
+ const helperNode = helperText ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(AdsFieldDescription, { id: description.helperId, children: helperText }) : null;
6576
+ const errorNode = errorText ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(AdsFieldError, { id: description.errorId, children: errorText }) : null;
6577
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(AdsFieldItem, { children: [
6578
+ label ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(AdsFieldLabel, { htmlFor: description.inputId, children: label }) : null,
6260
6579
  descriptionPlacement === "above" ? helperNode : null,
6261
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6580
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6262
6581
  Textarea,
6263
6582
  {
6264
6583
  "aria-describedby": description.describedBy,
@@ -6276,7 +6595,7 @@ var AdsTextarea = React57.forwardRef(
6276
6595
  ...props
6277
6596
  }
6278
6597
  ),
6279
- action ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "w-full [&>*]:w-full", children: action }) : null,
6598
+ action ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "w-full [&>*]:w-full", children: action }) : null,
6280
6599
  descriptionPlacement === "below" ? helperNode : null,
6281
6600
  errorNode
6282
6601
  ] });
@@ -6285,17 +6604,17 @@ var AdsTextarea = React57.forwardRef(
6285
6604
  AdsTextarea.displayName = "AdsTextarea";
6286
6605
 
6287
6606
  // src/components/AdsTooltip/index.tsx
6288
- var React59 = __toESM(require("react"), 1);
6607
+ var React61 = __toESM(require("react"), 1);
6289
6608
 
6290
6609
  // src/primitives/tooltip.tsx
6291
- var React58 = __toESM(require("react"), 1);
6610
+ var React60 = __toESM(require("react"), 1);
6292
6611
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
6293
- var import_jsx_runtime64 = require("react/jsx-runtime");
6612
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6294
6613
  var TooltipProvider = TooltipPrimitive.Provider;
6295
6614
  var Tooltip = TooltipPrimitive.Root;
6296
6615
  var TooltipTrigger = TooltipPrimitive.Trigger;
6297
6616
  var TooltipArrow = TooltipPrimitive.Arrow;
6298
- var TooltipContent = React58.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6617
+ var TooltipContent = React60.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6299
6618
  TooltipPrimitive.Content,
6300
6619
  {
6301
6620
  className: cn(
@@ -6310,12 +6629,12 @@ var TooltipContent = React58.forwardRef(({ className, sideOffset = 4, ...props }
6310
6629
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
6311
6630
 
6312
6631
  // src/components/AdsTooltip/index.tsx
6313
- var import_jsx_runtime65 = require("react/jsx-runtime");
6632
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6314
6633
  var tooltipContentClassName = "z-50 rounded-[6px] border-0 bg-[#844fff] px-3 py-2 text-sm font-normal leading-5 text-[#fdfdfd] shadow-[0px_8px_24px_rgba(0,0,0,0.22)]";
6315
6634
  var AdsTooltipProvider = TooltipProvider;
6316
6635
  var AdsTooltip = Tooltip;
6317
6636
  var AdsTooltipTrigger = TooltipTrigger;
6318
- var AdsTooltipContent = React59.forwardRef(({ align = "center", className, sideOffset = 10, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6637
+ var AdsTooltipContent = React61.forwardRef(({ align = "center", className, sideOffset = 10, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6319
6638
  TooltipContent,
6320
6639
  {
6321
6640
  align,
@@ -6326,7 +6645,7 @@ var AdsTooltipContent = React59.forwardRef(({ align = "center", className, sideO
6326
6645
  }
6327
6646
  ));
6328
6647
  AdsTooltipContent.displayName = "AdsTooltipContent";
6329
- var AdsTooltipArrow = React59.forwardRef(({ className, height = 5, width = 10, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6648
+ var AdsTooltipArrow = React61.forwardRef(({ className, height = 5, width = 10, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6330
6649
  TooltipArrow,
6331
6650
  {
6332
6651
  className: cn("fill-[#844fff]", className),
@@ -6339,10 +6658,10 @@ var AdsTooltipArrow = React59.forwardRef(({ className, height = 5, width = 10, .
6339
6658
  AdsTooltipArrow.displayName = "AdsTooltipArrow";
6340
6659
 
6341
6660
  // src/components/AdsToast/index.tsx
6342
- var React60 = __toESM(require("react"), 1);
6661
+ var React62 = __toESM(require("react"), 1);
6343
6662
  var import_lucide_react16 = require("lucide-react");
6344
6663
  var import_sonner = require("sonner");
6345
- var import_jsx_runtime66 = require("react/jsx-runtime");
6664
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6346
6665
  var adsToastIconMap = {
6347
6666
  success: import_lucide_react16.CircleCheck,
6348
6667
  info: import_lucide_react16.Info,
@@ -6358,7 +6677,7 @@ function resolveToastIcon(intent, icon) {
6358
6677
  return null;
6359
6678
  }
6360
6679
  const Icon2 = adsToastIconMap[intent];
6361
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6680
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6362
6681
  Icon2,
6363
6682
  {
6364
6683
  "aria-hidden": true,
@@ -6371,7 +6690,7 @@ function resolveToastIcon(intent, icon) {
6371
6690
  }
6372
6691
  );
6373
6692
  }
6374
- var AdsToast = React60.forwardRef(
6693
+ var AdsToast = React62.forwardRef(
6375
6694
  ({
6376
6695
  action,
6377
6696
  className,
@@ -6382,7 +6701,7 @@ var AdsToast = React60.forwardRef(
6382
6701
  ...props
6383
6702
  }, ref) => {
6384
6703
  const resolvedIcon = resolveToastIcon(intent, icon);
6385
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
6704
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
6386
6705
  "div",
6387
6706
  {
6388
6707
  className: cn(
@@ -6397,8 +6716,8 @@ var AdsToast = React60.forwardRef(
6397
6716
  ...props,
6398
6717
  children: [
6399
6718
  resolvedIcon,
6400
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
6401
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6719
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
6720
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6402
6721
  "p",
6403
6722
  {
6404
6723
  className: cn(
@@ -6408,7 +6727,7 @@ var AdsToast = React60.forwardRef(
6408
6727
  children: title
6409
6728
  }
6410
6729
  ),
6411
- description ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6730
+ description ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6412
6731
  "p",
6413
6732
  {
6414
6733
  className: cn(
@@ -6419,7 +6738,7 @@ var AdsToast = React60.forwardRef(
6419
6738
  }
6420
6739
  ) : null
6421
6740
  ] }),
6422
- action ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6741
+ action ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6423
6742
  AdsButton,
6424
6743
  {
6425
6744
  className: "shrink-0 rounded-radius-lg",
@@ -6445,7 +6764,7 @@ function AdsToaster({
6445
6764
  ...props
6446
6765
  }) {
6447
6766
  const { messages } = useAdsI18n();
6448
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6767
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6449
6768
  import_sonner.Toaster,
6450
6769
  {
6451
6770
  closeButton: false,
@@ -6463,7 +6782,7 @@ function AdsToaster({
6463
6782
  );
6464
6783
  }
6465
6784
  function toStageNode(intent, title, options) {
6466
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6785
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6467
6786
  AdsToast,
6468
6787
  {
6469
6788
  action: options?.action,
@@ -6477,7 +6796,7 @@ function toStageNode(intent, title, options) {
6477
6796
  function showAdsToast(intent, title, options) {
6478
6797
  const { action, description, icon, ...toastOptions } = options ?? {};
6479
6798
  return import_sonner.toast.custom(
6480
- (id) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6799
+ (id) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6481
6800
  AdsToast,
6482
6801
  {
6483
6802
  action: action ? {
@@ -6531,10 +6850,10 @@ var AdsToastManager = Object.assign(
6531
6850
  );
6532
6851
 
6533
6852
  // src/components/AdsDialog/index.tsx
6534
- var React61 = __toESM(require("react"), 1);
6853
+ var React63 = __toESM(require("react"), 1);
6535
6854
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
6536
6855
  var import_lucide_react17 = require("lucide-react");
6537
- var import_jsx_runtime67 = require("react/jsx-runtime");
6856
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6538
6857
  var overlayClassName2 = "fixed inset-0 z-50 bg-black/80 backdrop-blur-[2px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0";
6539
6858
  var contentClassName2 = "fixed left-1/2 top-1/2 z-50 flex max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-[423px] -translate-x-1/2 -translate-y-1/2 flex-col gap-lg overflow-hidden rounded-radius-md border border-border bg-card p-xl shadow-[0px_4px_6px_-4px_rgba(0,0,0,0.1),0px_10px_15px_-3px_rgba(0,0,0,0.1)] duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]";
6540
6859
  var bodyClassName = "min-h-0 flex-1 overflow-y-auto overscroll-contain [scrollbar-gutter:stable]";
@@ -6542,7 +6861,7 @@ var closeButtonClassName = "absolute right-xl top-xl inline-flex h-6 w-6 items-c
6542
6861
  var Dialog = DialogPrimitive.Root;
6543
6862
  var DialogTrigger = DialogPrimitive.Trigger;
6544
6863
  var DialogPortal = DialogPrimitive.Portal;
6545
- var DialogOverlay = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6864
+ var DialogOverlay = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6546
6865
  DialogPrimitive.Overlay,
6547
6866
  {
6548
6867
  className: cn(overlayClassName2, className),
@@ -6551,7 +6870,7 @@ var DialogOverlay = React61.forwardRef(({ className, ...props }, ref) => /* @__P
6551
6870
  }
6552
6871
  ));
6553
6872
  DialogOverlay.displayName = "DialogOverlay";
6554
- var DialogClose = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6873
+ var DialogClose = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6555
6874
  DialogPrimitive.Close,
6556
6875
  {
6557
6876
  className: cn(
@@ -6565,8 +6884,8 @@ var DialogClose = React61.forwardRef(({ className, ...props }, ref) => /* @__PUR
6565
6884
  DialogClose.displayName = "DialogClose";
6566
6885
  function flattenDialogChildren(children) {
6567
6886
  const nodes = [];
6568
- React61.Children.forEach(children, (child) => {
6569
- if (React61.isValidElement(child) && child.type === React61.Fragment) {
6887
+ React63.Children.forEach(children, (child) => {
6888
+ if (React63.isValidElement(child) && child.type === React63.Fragment) {
6570
6889
  nodes.push(...flattenDialogChildren(child.props.children));
6571
6890
  return;
6572
6891
  }
@@ -6575,10 +6894,10 @@ function flattenDialogChildren(children) {
6575
6894
  return nodes;
6576
6895
  }
6577
6896
  function isDialogSlotElement(child, component) {
6578
- return React61.isValidElement(child) && child.type === component;
6897
+ return React63.isValidElement(child) && child.type === component;
6579
6898
  }
6580
- var DialogBody = React61.forwardRef(
6581
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6899
+ var DialogBody = React63.forwardRef(
6900
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6582
6901
  "div",
6583
6902
  {
6584
6903
  className: cn(bodyClassName, className),
@@ -6589,7 +6908,7 @@ var DialogBody = React61.forwardRef(
6589
6908
  )
6590
6909
  );
6591
6910
  DialogBody.displayName = "DialogBody";
6592
- var DialogContent = React61.forwardRef(
6911
+ var DialogContent = React63.forwardRef(
6593
6912
  ({
6594
6913
  children,
6595
6914
  className,
@@ -6646,9 +6965,9 @@ var DialogContent = React61.forwardRef(
6646
6965
  const looseBodyNodes = bodyNodes.filter(
6647
6966
  (child) => !isDialogSlotElement(child, DialogBody)
6648
6967
  );
6649
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(NestedDismissableLayerProvider, { coordinator: parentLayer.coordinator, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(DialogPortal, { children: [
6650
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogOverlay, {}),
6651
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6968
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(NestedDismissableLayerProvider, { coordinator: parentLayer.coordinator, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(DialogPortal, { children: [
6969
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(DialogOverlay, {}),
6970
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6652
6971
  DialogPrimitive.Content,
6653
6972
  {
6654
6973
  "data-slot": "ads-dialog-content",
@@ -6664,18 +6983,18 @@ var DialogContent = React61.forwardRef(
6664
6983
  ...props,
6665
6984
  children: [
6666
6985
  headerNode,
6667
- headerNode === null && generatedHeaderNodes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogHeader, { children: generatedHeaderNodes }) : null,
6986
+ headerNode === null && generatedHeaderNodes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(DialogHeader, { children: generatedHeaderNodes }) : null,
6668
6987
  explicitBodyNodes.length > 0 ? explicitBodyNodes : null,
6669
- looseBodyNodes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogBody, { children: looseBodyNodes }) : null,
6988
+ looseBodyNodes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(DialogBody, { children: looseBodyNodes }) : null,
6670
6989
  footerNode,
6671
- !hideCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6990
+ !hideCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6672
6991
  DialogPrimitive.Close,
6673
6992
  {
6674
6993
  "aria-label": resolvedCloseLabel,
6675
6994
  className: cn(closeButtonClassName, adsTextColorClassName.card),
6676
6995
  children: [
6677
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_lucide_react17.X, { "aria-hidden": true, className: "h-4 w-4" }),
6678
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "sr-only", children: resolvedCloseLabel })
6996
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_lucide_react17.X, { "aria-hidden": true, className: "h-4 w-4" }),
6997
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "sr-only", children: resolvedCloseLabel })
6679
6998
  ]
6680
6999
  }
6681
7000
  ) : null
@@ -6686,8 +7005,8 @@ var DialogContent = React61.forwardRef(
6686
7005
  }
6687
7006
  );
6688
7007
  DialogContent.displayName = "DialogContent";
6689
- var DialogHeader = React61.forwardRef(
6690
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7008
+ var DialogHeader = React63.forwardRef(
7009
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6691
7010
  "div",
6692
7011
  {
6693
7012
  "data-slot": "ads-dialog-header",
@@ -6698,8 +7017,8 @@ var DialogHeader = React61.forwardRef(
6698
7017
  )
6699
7018
  );
6700
7019
  DialogHeader.displayName = "DialogHeader";
6701
- var DialogFooter = React61.forwardRef(
6702
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7020
+ var DialogFooter = React63.forwardRef(
7021
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6703
7022
  "div",
6704
7023
  {
6705
7024
  "data-slot": "ads-dialog-footer",
@@ -6713,7 +7032,7 @@ var DialogFooter = React61.forwardRef(
6713
7032
  )
6714
7033
  );
6715
7034
  DialogFooter.displayName = "DialogFooter";
6716
- var DialogTitle = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7035
+ var DialogTitle = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6717
7036
  DialogPrimitive.Title,
6718
7037
  {
6719
7038
  className: cn(
@@ -6726,7 +7045,7 @@ var DialogTitle = React61.forwardRef(({ className, ...props }, ref) => /* @__PUR
6726
7045
  }
6727
7046
  ));
6728
7047
  DialogTitle.displayName = "DialogTitle";
6729
- var DialogDescription = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7048
+ var DialogDescription = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6730
7049
  DialogPrimitive.Description,
6731
7050
  {
6732
7051
  className: cn("text-sm leading-5", adsTextColorClassName.muted, className),
@@ -6742,13 +7061,14 @@ var AdsDialogOverlay = DialogOverlay;
6742
7061
  var AdsDialogClose = DialogClose;
6743
7062
  var AdsDialogContent = DialogContent;
6744
7063
  var AdsDialogHeader = DialogHeader;
7064
+ var AdsDialogBody = DialogBody;
6745
7065
  var AdsDialogFooter = DialogFooter;
6746
7066
  var AdsDialogTitle = DialogTitle;
6747
7067
  var AdsDialogDescription = DialogDescription;
6748
7068
 
6749
7069
  // src/components/AdsMasonry/index.tsx
6750
7070
  var import_masonic = require("masonic");
6751
- var import_jsx_runtime68 = require("react/jsx-runtime");
7071
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6752
7072
  var DEFAULT_COLUMN_WIDTH = 240;
6753
7073
  var DEFAULT_GAP = 16;
6754
7074
  var DEFAULT_ITEM_HEIGHT_ESTIMATE = 280;
@@ -6784,7 +7104,7 @@ function AdsMasonry({
6784
7104
  { length: loadingItemCount },
6785
7105
  (_, index) => index
6786
7106
  );
6787
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7107
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6788
7108
  "div",
6789
7109
  {
6790
7110
  className: cn(
@@ -6796,20 +7116,20 @@ function AdsMasonry({
6796
7116
  const mediaHeight = LOADING_MEDIA_HEIGHT_PATTERN[index % LOADING_MEDIA_HEIGHT_PATTERN.length];
6797
7117
  const titleWidth = LOADING_TITLE_WIDTH_PATTERN[index % LOADING_TITLE_WIDTH_PATTERN.length];
6798
7118
  const bodyWidth = LOADING_BODY_WIDTH_PATTERN[index % LOADING_BODY_WIDTH_PATTERN.length];
6799
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
7119
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6800
7120
  "article",
6801
7121
  {
6802
7122
  className: "overflow-hidden rounded-radius-lg border border-border bg-card shadow-showcase",
6803
7123
  "data-slot": "ads-masonry-loading-card",
6804
7124
  "data-testid": "ads-masonry-loading-card",
6805
7125
  children: [
6806
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7126
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6807
7127
  "div",
6808
7128
  {
6809
7129
  className: "border-b border-border/60 bg-surface-inset/50",
6810
7130
  "data-slot": "ads-masonry-skeleton-preview",
6811
7131
  "data-testid": "ads-masonry-skeleton-preview",
6812
- children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7132
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6813
7133
  AdsSkeleton,
6814
7134
  {
6815
7135
  className: cn("w-full rounded-none", classNames?.skeleton),
@@ -6820,10 +7140,10 @@ function AdsMasonry({
6820
7140
  )
6821
7141
  }
6822
7142
  ),
6823
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex flex-col gap-4 p-lg", children: [
6824
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
6825
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex-1 space-y-2", children: [
6826
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7143
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex flex-col gap-4 p-lg", children: [
7144
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
7145
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex-1 space-y-2", children: [
7146
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6827
7147
  AdsSkeleton,
6828
7148
  {
6829
7149
  className: cn("h-3 w-16 rounded-full", classNames?.skeleton),
@@ -6831,7 +7151,7 @@ function AdsMasonry({
6831
7151
  "data-testid": "ads-masonry-skeleton"
6832
7152
  }
6833
7153
  ),
6834
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7154
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6835
7155
  AdsSkeleton,
6836
7156
  {
6837
7157
  className: cn("h-6 rounded-full", classNames?.skeleton),
@@ -6841,7 +7161,7 @@ function AdsMasonry({
6841
7161
  }
6842
7162
  )
6843
7163
  ] }),
6844
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7164
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6845
7165
  AdsSkeleton,
6846
7166
  {
6847
7167
  className: cn("h-6 w-16 rounded-full", classNames?.skeleton),
@@ -6850,7 +7170,7 @@ function AdsMasonry({
6850
7170
  }
6851
7171
  )
6852
7172
  ] }),
6853
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7173
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6854
7174
  AdsSkeleton,
6855
7175
  {
6856
7176
  className: cn("h-4 rounded-full", classNames?.skeleton),
@@ -6869,7 +7189,7 @@ function AdsMasonry({
6869
7189
  );
6870
7190
  }
6871
7191
  if (items.length === 0) {
6872
- return emptyState ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7192
+ return emptyState ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6873
7193
  "div",
6874
7194
  {
6875
7195
  className: cn(rootClassName, classNames?.empty),
@@ -6878,7 +7198,7 @@ function AdsMasonry({
6878
7198
  }
6879
7199
  ) : null;
6880
7200
  }
6881
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7201
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6882
7202
  import_masonic.Masonry,
6883
7203
  {
6884
7204
  className: rootClassName,
@@ -6890,7 +7210,7 @@ function AdsMasonry({
6890
7210
  maxColumnCount,
6891
7211
  onRender,
6892
7212
  overscanBy,
6893
- render: ({ data, index, width }) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7213
+ render: ({ data, index, width }) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6894
7214
  "div",
6895
7215
  {
6896
7216
  className: cn("pb-0", classNames?.item, itemClassName),
@@ -6990,6 +7310,7 @@ var designTokens = {
6990
7310
  AdsAlertDialogTrigger,
6991
7311
  AdsAlertTitle,
6992
7312
  AdsBadge,
7313
+ AdsBarChart,
6993
7314
  AdsBreadcrumb,
6994
7315
  AdsBreadcrumbEllipsis,
6995
7316
  AdsBreadcrumbItem,
@@ -7011,6 +7332,7 @@ var designTokens = {
7011
7332
  AdsDatePicker,
7012
7333
  AdsDateTimePicker,
7013
7334
  AdsDialog,
7335
+ AdsDialogBody,
7014
7336
  AdsDialogClose,
7015
7337
  AdsDialogContent,
7016
7338
  AdsDialogDescription,
@@ -7066,6 +7388,7 @@ var designTokens = {
7066
7388
  AdsPopoverTitle,
7067
7389
  AdsPopoverTrigger,
7068
7390
  AdsProgress,
7391
+ AdsRadialProgressChart,
7069
7392
  AdsRadioGroup,
7070
7393
  AdsRadioGroupCardOption,
7071
7394
  AdsRadioGroupOption,
@@ -7083,7 +7406,9 @@ var designTokens = {
7083
7406
  AdsSeparator,
7084
7407
  AdsSkeleton,
7085
7408
  AdsSlider,
7409
+ AdsSparklineChart,
7086
7410
  AdsSpinner,
7411
+ AdsStackedBarChart,
7087
7412
  AdsSwitch,
7088
7413
  AdsTable,
7089
7414
  AdsTableBody,