@rabelo-digital/ds-rd 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,18 +1,25 @@
1
- export { breakpoints, elevation, mediaQuery, motion, primitiveColors, radii, semanticColors, spacing, typography, zIndex } from './chunk-JPWULLEO.mjs';
2
- import React, { useId, useState, createContext, useContext, useCallback } from 'react';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
4
- import * as RadixCheckbox from '@radix-ui/react-checkbox';
5
- import * as RadixRadio from '@radix-ui/react-radio-group';
6
- import * as RadixSelect from '@radix-ui/react-select';
7
- import * as RadixTooltip from '@radix-ui/react-tooltip';
8
- import { FaTwitter, FaFacebookF, FaWhatsapp, FaYoutube, FaGithub, FaInstagram, FaLinkedinIn } from 'react-icons/fa';
9
- import * as Dialog from '@radix-ui/react-dialog';
10
- import * as RadixTabs from '@radix-ui/react-tabs';
11
- import * as RadixAccordion from '@radix-ui/react-accordion';
12
- import * as RadixToast from '@radix-ui/react-toast';
1
+ // src/components/atoms/Button/Button.tsx
2
+ import React from "react";
13
3
 
14
4
  // src/components/atoms/Button/Button.module.css
15
- var Button_default = {};
5
+ var Button_default = {
6
+ button: "Button_button",
7
+ sm: "Button_sm",
8
+ md: "Button_md",
9
+ lg: "Button_lg",
10
+ primary: "Button_primary",
11
+ secondary: "Button_secondary",
12
+ ghost: "Button_ghost",
13
+ danger: "Button_danger",
14
+ loading: "Button_loading",
15
+ label: "Button_label",
16
+ labelHidden: "Button_labelHidden",
17
+ spinner: "Button_spinner",
18
+ spin: "Button_spin"
19
+ };
20
+
21
+ // src/components/atoms/Button/Button.tsx
22
+ import { jsx, jsxs } from "react/jsx-runtime";
16
23
  var Button = React.forwardRef(
17
24
  ({
18
25
  variant = "primary",
@@ -51,17 +58,33 @@ var Button = React.forwardRef(
51
58
  );
52
59
  Button.displayName = "Button";
53
60
 
61
+ // src/components/atoms/Input/Input.tsx
62
+ import React2, { useId } from "react";
63
+
54
64
  // src/components/atoms/Input/Input.module.css
55
- var Input_default = {};
56
- var Input = React.forwardRef(
65
+ var Input_default = {
66
+ wrapper: "Input_wrapper",
67
+ label: "Input_label",
68
+ input: "Input_input",
69
+ error: "Input_error",
70
+ sm: "Input_sm",
71
+ md: "Input_md",
72
+ lg: "Input_lg",
73
+ helperText: "Input_helperText",
74
+ errorText: "Input_errorText"
75
+ };
76
+
77
+ // src/components/atoms/Input/Input.tsx
78
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
79
+ var Input = React2.forwardRef(
57
80
  ({ label, error, helperText, size = "md", className, id, ...props }, ref) => {
58
81
  const generatedId = useId();
59
82
  const inputId = id ?? generatedId;
60
83
  const errorId = `${inputId}-error`;
61
84
  const helperId = `${inputId}-helper`;
62
- return /* @__PURE__ */ jsxs("div", { className: Input_default.wrapper, children: [
63
- label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: Input_default.label, children: label }),
64
- /* @__PURE__ */ jsx(
85
+ return /* @__PURE__ */ jsxs2("div", { className: Input_default.wrapper, children: [
86
+ label && /* @__PURE__ */ jsx2("label", { htmlFor: inputId, className: Input_default.label, children: label }),
87
+ /* @__PURE__ */ jsx2(
65
88
  "input",
66
89
  {
67
90
  ref,
@@ -72,18 +95,33 @@ var Input = React.forwardRef(
72
95
  ...props
73
96
  }
74
97
  ),
75
- error && /* @__PURE__ */ jsx("span", { id: errorId, className: Input_default.errorText, role: "alert", children: error }),
76
- helperText && !error && /* @__PURE__ */ jsx("span", { id: helperId, className: Input_default.helperText, children: helperText })
98
+ error && /* @__PURE__ */ jsx2("span", { id: errorId, className: Input_default.errorText, role: "alert", children: error }),
99
+ helperText && !error && /* @__PURE__ */ jsx2("span", { id: helperId, className: Input_default.helperText, children: helperText })
77
100
  ] });
78
101
  }
79
102
  );
80
103
  Input.displayName = "Input";
81
104
 
105
+ // src/components/atoms/Textarea/Textarea.tsx
106
+ import React3, { useId as useId2, useState } from "react";
107
+
82
108
  // src/components/atoms/Textarea/Textarea.module.css
83
- var Textarea_default = {};
84
- var Textarea = React.forwardRef(
109
+ var Textarea_default = {
110
+ wrapper: "Textarea_wrapper",
111
+ label: "Textarea_label",
112
+ textarea: "Textarea_textarea",
113
+ error: "Textarea_error",
114
+ footer: "Textarea_footer",
115
+ helperText: "Textarea_helperText",
116
+ errorText: "Textarea_errorText",
117
+ counter: "Textarea_counter"
118
+ };
119
+
120
+ // src/components/atoms/Textarea/Textarea.tsx
121
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
122
+ var Textarea = React3.forwardRef(
85
123
  ({ label, error, helperText, showCount = false, maxLength, className, id, onChange, ...props }, ref) => {
86
- const generatedId = useId();
124
+ const generatedId = useId2();
87
125
  const textareaId = id ?? generatedId;
88
126
  const errorId = `${textareaId}-error`;
89
127
  const helperId = `${textareaId}-helper`;
@@ -92,9 +130,9 @@ var Textarea = React.forwardRef(
92
130
  setCount(e.target.value.length);
93
131
  onChange?.(e);
94
132
  };
95
- return /* @__PURE__ */ jsxs("div", { className: Textarea_default.wrapper, children: [
96
- label && /* @__PURE__ */ jsx("label", { htmlFor: textareaId, className: Textarea_default.label, children: label }),
97
- /* @__PURE__ */ jsx(
133
+ return /* @__PURE__ */ jsxs3("div", { className: Textarea_default.wrapper, children: [
134
+ label && /* @__PURE__ */ jsx3("label", { htmlFor: textareaId, className: Textarea_default.label, children: label }),
135
+ /* @__PURE__ */ jsx3(
98
136
  "textarea",
99
137
  {
100
138
  ref,
@@ -107,10 +145,10 @@ var Textarea = React.forwardRef(
107
145
  ...props
108
146
  }
109
147
  ),
110
- /* @__PURE__ */ jsxs("div", { className: Textarea_default.footer, children: [
111
- error && /* @__PURE__ */ jsx("span", { id: errorId, className: Textarea_default.errorText, role: "alert", children: error }),
112
- helperText && !error && /* @__PURE__ */ jsx("span", { id: helperId, className: Textarea_default.helperText, children: helperText }),
113
- showCount && maxLength && /* @__PURE__ */ jsxs("span", { className: Textarea_default.counter, "aria-live": "polite", children: [
148
+ /* @__PURE__ */ jsxs3("div", { className: Textarea_default.footer, children: [
149
+ error && /* @__PURE__ */ jsx3("span", { id: errorId, className: Textarea_default.errorText, role: "alert", children: error }),
150
+ helperText && !error && /* @__PURE__ */ jsx3("span", { id: helperId, className: Textarea_default.helperText, children: helperText }),
151
+ showCount && maxLength && /* @__PURE__ */ jsxs3("span", { className: Textarea_default.counter, "aria-live": "polite", children: [
114
152
  count,
115
153
  "/",
116
154
  maxLength
@@ -122,13 +160,26 @@ var Textarea = React.forwardRef(
122
160
  Textarea.displayName = "Textarea";
123
161
 
124
162
  // src/components/atoms/Badge/Badge.module.css
125
- var Badge_default = {};
163
+ var Badge_default = {
164
+ badge: "Badge_badge",
165
+ sm: "Badge_sm",
166
+ md: "Badge_md",
167
+ default: "Badge_default",
168
+ primary: "Badge_primary",
169
+ success: "Badge_success",
170
+ warning: "Badge_warning",
171
+ error: "Badge_error",
172
+ info: "Badge_info"
173
+ };
174
+
175
+ // src/components/atoms/Badge/Badge.tsx
176
+ import { jsx as jsx4 } from "react/jsx-runtime";
126
177
  var Badge = ({
127
178
  variant = "default",
128
179
  size = "md",
129
180
  children,
130
181
  className
131
- }) => /* @__PURE__ */ jsx(
182
+ }) => /* @__PURE__ */ jsx4(
132
183
  "span",
133
184
  {
134
185
  className: [Badge_default.badge, Badge_default[variant], Badge_default[size], className ?? ""].filter(Boolean).join(" "),
@@ -137,8 +188,25 @@ var Badge = ({
137
188
  );
138
189
  Badge.displayName = "Badge";
139
190
 
191
+ // src/components/atoms/Avatar/Avatar.tsx
192
+ import { useState as useState2 } from "react";
193
+
140
194
  // src/components/atoms/Avatar/Avatar.module.css
141
- var Avatar_default = {};
195
+ var Avatar_default = {
196
+ avatar: "Avatar_avatar",
197
+ circle: "Avatar_circle",
198
+ square: "Avatar_square",
199
+ xs: "Avatar_xs",
200
+ sm: "Avatar_sm",
201
+ md: "Avatar_md",
202
+ lg: "Avatar_lg",
203
+ xl: "Avatar_xl",
204
+ image: "Avatar_image",
205
+ initials: "Avatar_initials"
206
+ };
207
+
208
+ // src/components/atoms/Avatar/Avatar.tsx
209
+ import { jsx as jsx5 } from "react/jsx-runtime";
142
210
  function getInitials(name) {
143
211
  return name.split(" ").map((part) => part[0]).filter(Boolean).slice(0, 2).join("").toUpperCase();
144
212
  }
@@ -150,12 +218,12 @@ var Avatar = ({
150
218
  shape = "circle",
151
219
  className
152
220
  }) => {
153
- const [imgError, setImgError] = useState(false);
221
+ const [imgError, setImgError] = useState2(false);
154
222
  const initials = name ? getInitials(name) : null;
155
223
  const showImage = src && !imgError;
156
224
  const wrapperClass = [Avatar_default.avatar, Avatar_default[size], Avatar_default[shape], className ?? ""].filter(Boolean).join(" ");
157
225
  if (showImage) {
158
- return /* @__PURE__ */ jsx("span", { className: wrapperClass, children: /* @__PURE__ */ jsx(
226
+ return /* @__PURE__ */ jsx5("span", { className: wrapperClass, children: /* @__PURE__ */ jsx5(
159
227
  "img",
160
228
  {
161
229
  src,
@@ -165,12 +233,24 @@ var Avatar = ({
165
233
  }
166
234
  ) });
167
235
  }
168
- return /* @__PURE__ */ jsx("span", { className: wrapperClass, role: "img", "aria-label": alt ?? name ?? "Avatar", children: /* @__PURE__ */ jsx("span", { className: Avatar_default.initials, "aria-hidden": "true", children: initials ?? "?" }) });
236
+ return /* @__PURE__ */ jsx5("span", { className: wrapperClass, role: "img", "aria-label": alt ?? name ?? "Avatar", children: /* @__PURE__ */ jsx5("span", { className: Avatar_default.initials, "aria-hidden": "true", children: initials ?? "?" }) });
169
237
  };
170
238
  Avatar.displayName = "Avatar";
171
239
 
240
+ // src/components/atoms/Checkbox/Checkbox.tsx
241
+ import * as RadixCheckbox from "@radix-ui/react-checkbox";
242
+ import { useId as useId3 } from "react";
243
+
172
244
  // src/components/atoms/Checkbox/Checkbox.module.css
173
- var Checkbox_default = {};
245
+ var Checkbox_default = {
246
+ wrapper: "Checkbox_wrapper",
247
+ root: "Checkbox_root",
248
+ indicator: "Checkbox_indicator",
249
+ label: "Checkbox_label"
250
+ };
251
+
252
+ // src/components/atoms/Checkbox/Checkbox.tsx
253
+ import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
174
254
  var Checkbox = ({
175
255
  checked,
176
256
  defaultChecked,
@@ -180,10 +260,10 @@ var Checkbox = ({
180
260
  id,
181
261
  className
182
262
  }) => {
183
- const generatedId = useId();
263
+ const generatedId = useId3();
184
264
  const checkboxId = id ?? generatedId;
185
- return /* @__PURE__ */ jsxs("div", { className: [Checkbox_default.wrapper, className ?? ""].filter(Boolean).join(" "), children: [
186
- /* @__PURE__ */ jsx(
265
+ return /* @__PURE__ */ jsxs4("div", { className: [Checkbox_default.wrapper, className ?? ""].filter(Boolean).join(" "), children: [
266
+ /* @__PURE__ */ jsx6(
187
267
  RadixCheckbox.Root,
188
268
  {
189
269
  id: checkboxId,
@@ -192,7 +272,7 @@ var Checkbox = ({
192
272
  onCheckedChange,
193
273
  disabled,
194
274
  className: Checkbox_default.root,
195
- children: /* @__PURE__ */ jsx(RadixCheckbox.Indicator, { className: Checkbox_default.indicator, children: checked === "indeterminate" ? /* @__PURE__ */ jsx("svg", { width: "10", height: "2", viewBox: "0 0 10 2", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx("rect", { width: "10", height: "2", rx: "1" }) }) : /* @__PURE__ */ jsx("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
275
+ children: /* @__PURE__ */ jsx6(RadixCheckbox.Indicator, { className: Checkbox_default.indicator, children: checked === "indeterminate" ? /* @__PURE__ */ jsx6("svg", { width: "10", height: "2", viewBox: "0 0 10 2", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx6("rect", { width: "10", height: "2", rx: "1" }) }) : /* @__PURE__ */ jsx6("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx6(
196
276
  "path",
197
277
  {
198
278
  d: "M1 4l2.5 2.5L9 1",
@@ -204,13 +284,28 @@ var Checkbox = ({
204
284
  ) }) })
205
285
  }
206
286
  ),
207
- label && /* @__PURE__ */ jsx("label", { htmlFor: checkboxId, className: Checkbox_default.label, children: label })
287
+ label && /* @__PURE__ */ jsx6("label", { htmlFor: checkboxId, className: Checkbox_default.label, children: label })
208
288
  ] });
209
289
  };
210
290
  Checkbox.displayName = "Checkbox";
211
291
 
292
+ // src/components/atoms/Radio/Radio.tsx
293
+ import * as RadixRadio from "@radix-ui/react-radio-group";
294
+ import { useId as useId4 } from "react";
295
+
212
296
  // src/components/atoms/Radio/Radio.module.css
213
- var Radio_default = {};
297
+ var Radio_default = {
298
+ group: "Radio_group",
299
+ vertical: "Radio_vertical",
300
+ horizontal: "Radio_horizontal",
301
+ item: "Radio_item",
302
+ radio: "Radio_radio",
303
+ indicator: "Radio_indicator",
304
+ label: "Radio_label"
305
+ };
306
+
307
+ // src/components/atoms/Radio/Radio.tsx
308
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
214
309
  var RadioGroup = ({
215
310
  options,
216
311
  value,
@@ -221,8 +316,8 @@ var RadioGroup = ({
221
316
  orientation = "vertical",
222
317
  className
223
318
  }) => {
224
- const baseId = useId();
225
- return /* @__PURE__ */ jsx(
319
+ const baseId = useId4();
320
+ return /* @__PURE__ */ jsx7(
226
321
  RadixRadio.Root,
227
322
  {
228
323
  value,
@@ -234,18 +329,18 @@ var RadioGroup = ({
234
329
  className: [Radio_default.group, Radio_default[orientation], className ?? ""].filter(Boolean).join(" "),
235
330
  children: options.map((option) => {
236
331
  const radioId = `${baseId}-${option.value}`;
237
- return /* @__PURE__ */ jsxs("div", { className: Radio_default.item, children: [
238
- /* @__PURE__ */ jsx(
332
+ return /* @__PURE__ */ jsxs5("div", { className: Radio_default.item, children: [
333
+ /* @__PURE__ */ jsx7(
239
334
  RadixRadio.Item,
240
335
  {
241
336
  id: radioId,
242
337
  value: option.value,
243
338
  disabled: option.disabled ?? disabled,
244
339
  className: Radio_default.radio,
245
- children: /* @__PURE__ */ jsx(RadixRadio.Indicator, { className: Radio_default.indicator })
340
+ children: /* @__PURE__ */ jsx7(RadixRadio.Indicator, { className: Radio_default.indicator })
246
341
  }
247
342
  ),
248
- /* @__PURE__ */ jsx("label", { htmlFor: radioId, className: Radio_default.label, children: option.label })
343
+ /* @__PURE__ */ jsx7("label", { htmlFor: radioId, className: Radio_default.label, children: option.label })
249
344
  ] }, option.value);
250
345
  })
251
346
  }
@@ -253,8 +348,30 @@ var RadioGroup = ({
253
348
  };
254
349
  RadioGroup.displayName = "RadioGroup";
255
350
 
351
+ // src/components/atoms/Select/Select.tsx
352
+ import * as RadixSelect from "@radix-ui/react-select";
353
+ import { useId as useId5 } from "react";
354
+
256
355
  // src/components/atoms/Select/Select.module.css
257
- var Select_default = {};
356
+ var Select_default = {
357
+ wrapper: "Select_wrapper",
358
+ label: "Select_label",
359
+ trigger: "Select_trigger",
360
+ error: "Select_error",
361
+ sm: "Select_sm",
362
+ md: "Select_md",
363
+ lg: "Select_lg",
364
+ icon: "Select_icon",
365
+ content: "Select_content",
366
+ viewport: "Select_viewport",
367
+ item: "Select_item",
368
+ itemIndicator: "Select_itemIndicator",
369
+ errorText: "Select_errorText",
370
+ helperText: "Select_helperText"
371
+ };
372
+
373
+ // src/components/atoms/Select/Select.tsx
374
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
258
375
  var Select = ({
259
376
  options,
260
377
  value,
@@ -269,11 +386,11 @@ var Select = ({
269
386
  id,
270
387
  className
271
388
  }) => {
272
- const generatedId = useId();
389
+ const generatedId = useId5();
273
390
  const selectId = id ?? generatedId;
274
- return /* @__PURE__ */ jsxs("div", { className: [Select_default.wrapper, className ?? ""].filter(Boolean).join(" "), children: [
275
- label && /* @__PURE__ */ jsx("label", { id: `${selectId}-label`, className: Select_default.label, children: label }),
276
- /* @__PURE__ */ jsxs(
391
+ return /* @__PURE__ */ jsxs6("div", { className: [Select_default.wrapper, className ?? ""].filter(Boolean).join(" "), children: [
392
+ label && /* @__PURE__ */ jsx8("label", { id: `${selectId}-label`, className: Select_default.label, children: label }),
393
+ /* @__PURE__ */ jsxs6(
277
394
  RadixSelect.Root,
278
395
  {
279
396
  value,
@@ -281,7 +398,7 @@ var Select = ({
281
398
  onValueChange,
282
399
  disabled,
283
400
  children: [
284
- /* @__PURE__ */ jsxs(
401
+ /* @__PURE__ */ jsxs6(
285
402
  RadixSelect.Trigger,
286
403
  {
287
404
  id: selectId,
@@ -289,8 +406,8 @@ var Select = ({
289
406
  "aria-invalid": !!error,
290
407
  className: [Select_default.trigger, Select_default[size], error ? Select_default.error : ""].filter(Boolean).join(" "),
291
408
  children: [
292
- /* @__PURE__ */ jsx(RadixSelect.Value, { placeholder }),
293
- /* @__PURE__ */ jsx(RadixSelect.Icon, { className: Select_default.icon, children: /* @__PURE__ */ jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
409
+ /* @__PURE__ */ jsx8(RadixSelect.Value, { placeholder }),
410
+ /* @__PURE__ */ jsx8(RadixSelect.Icon, { className: Select_default.icon, children: /* @__PURE__ */ jsx8("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx8(
294
411
  "path",
295
412
  {
296
413
  d: "M1 1l5 5 5-5",
@@ -303,15 +420,15 @@ var Select = ({
303
420
  ]
304
421
  }
305
422
  ),
306
- /* @__PURE__ */ jsx(RadixSelect.Portal, { children: /* @__PURE__ */ jsx(RadixSelect.Content, { className: Select_default.content, position: "popper", sideOffset: 4, children: /* @__PURE__ */ jsx(RadixSelect.Viewport, { className: Select_default.viewport, children: options.map((option) => /* @__PURE__ */ jsxs(
423
+ /* @__PURE__ */ jsx8(RadixSelect.Portal, { children: /* @__PURE__ */ jsx8(RadixSelect.Content, { className: Select_default.content, position: "popper", sideOffset: 4, children: /* @__PURE__ */ jsx8(RadixSelect.Viewport, { className: Select_default.viewport, children: options.map((option) => /* @__PURE__ */ jsxs6(
307
424
  RadixSelect.Item,
308
425
  {
309
426
  value: option.value,
310
427
  disabled: option.disabled,
311
428
  className: Select_default.item,
312
429
  children: [
313
- /* @__PURE__ */ jsx(RadixSelect.ItemText, { children: option.label }),
314
- /* @__PURE__ */ jsx(RadixSelect.ItemIndicator, { className: Select_default.itemIndicator, children: /* @__PURE__ */ jsx("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
430
+ /* @__PURE__ */ jsx8(RadixSelect.ItemText, { children: option.label }),
431
+ /* @__PURE__ */ jsx8(RadixSelect.ItemIndicator, { className: Select_default.itemIndicator, children: /* @__PURE__ */ jsx8("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx8(
315
432
  "path",
316
433
  {
317
434
  d: "M1 5l3 3 7-7",
@@ -328,31 +445,61 @@ var Select = ({
328
445
  ]
329
446
  }
330
447
  ),
331
- error && /* @__PURE__ */ jsx("span", { className: Select_default.errorText, role: "alert", children: error }),
332
- helperText && !error && /* @__PURE__ */ jsx("span", { className: Select_default.helperText, children: helperText })
448
+ error && /* @__PURE__ */ jsx8("span", { className: Select_default.errorText, role: "alert", children: error }),
449
+ helperText && !error && /* @__PURE__ */ jsx8("span", { className: Select_default.helperText, children: helperText })
333
450
  ] });
334
451
  };
335
452
  Select.displayName = "Select";
336
453
 
454
+ // src/components/atoms/Tooltip/Tooltip.tsx
455
+ import * as RadixTooltip from "@radix-ui/react-tooltip";
456
+
337
457
  // src/components/atoms/Tooltip/Tooltip.module.css
338
- var Tooltip_default = {};
458
+ var Tooltip_default = {
459
+ content: "Tooltip_content",
460
+ fadeIn: "Tooltip_fadeIn",
461
+ arrow: "Tooltip_arrow"
462
+ };
463
+
464
+ // src/components/atoms/Tooltip/Tooltip.tsx
465
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
339
466
  var TooltipProvider = RadixTooltip.Provider;
340
467
  var Tooltip = ({
341
468
  content,
342
469
  children,
343
470
  side = "top",
344
471
  delayDuration = 300
345
- }) => /* @__PURE__ */ jsxs(RadixTooltip.Root, { delayDuration, children: [
346
- /* @__PURE__ */ jsx(RadixTooltip.Trigger, { asChild: true, children }),
347
- /* @__PURE__ */ jsx(RadixTooltip.Portal, { children: /* @__PURE__ */ jsxs(RadixTooltip.Content, { side, className: Tooltip_default.content, sideOffset: 6, children: [
472
+ }) => /* @__PURE__ */ jsxs7(RadixTooltip.Root, { delayDuration, children: [
473
+ /* @__PURE__ */ jsx9(RadixTooltip.Trigger, { asChild: true, children }),
474
+ /* @__PURE__ */ jsx9(RadixTooltip.Portal, { children: /* @__PURE__ */ jsxs7(RadixTooltip.Content, { side, className: Tooltip_default.content, sideOffset: 6, children: [
348
475
  content,
349
- /* @__PURE__ */ jsx(RadixTooltip.Arrow, { className: Tooltip_default.arrow })
476
+ /* @__PURE__ */ jsx9(RadixTooltip.Arrow, { className: Tooltip_default.arrow })
350
477
  ] }) })
351
478
  ] });
352
479
  Tooltip.displayName = "Tooltip";
353
480
 
481
+ // src/components/atoms/SocialIcons/SocialIcons.tsx
482
+ import {
483
+ FaLinkedinIn,
484
+ FaInstagram,
485
+ FaGithub,
486
+ FaYoutube,
487
+ FaWhatsapp,
488
+ FaFacebookF,
489
+ FaTwitter
490
+ } from "react-icons/fa";
491
+
354
492
  // src/components/atoms/SocialIcons/SocialIcons.module.css
355
- var SocialIcons_default = {};
493
+ var SocialIcons_default = {
494
+ list: "SocialIcons_list",
495
+ link: "SocialIcons_link",
496
+ sm: "SocialIcons_sm",
497
+ md: "SocialIcons_md",
498
+ lg: "SocialIcons_lg"
499
+ };
500
+
501
+ // src/components/atoms/SocialIcons/SocialIcons.tsx
502
+ import { jsx as jsx10 } from "react/jsx-runtime";
356
503
  var ICON_MAP = {
357
504
  linkedin: FaLinkedinIn,
358
505
  instagram: FaInstagram,
@@ -371,10 +518,10 @@ var DEFAULT_LABELS = {
371
518
  facebook: "Seguir no Facebook",
372
519
  twitter: "Seguir no Twitter"
373
520
  };
374
- var SocialIcons = ({ links, size = "md", className }) => /* @__PURE__ */ jsx("ul", { className: [SocialIcons_default.list, className ?? ""].filter(Boolean).join(" "), children: links.map(({ platform, url, label }) => {
521
+ var SocialIcons = ({ links, size = "md", className }) => /* @__PURE__ */ jsx10("ul", { className: [SocialIcons_default.list, className ?? ""].filter(Boolean).join(" "), children: links.map(({ platform, url, label }) => {
375
522
  const Icon2 = ICON_MAP[platform];
376
523
  const ariaLabel = label ?? DEFAULT_LABELS[platform];
377
- return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
524
+ return /* @__PURE__ */ jsx10("li", { children: /* @__PURE__ */ jsx10(
378
525
  "a",
379
526
  {
380
527
  href: url,
@@ -382,18 +529,26 @@ var SocialIcons = ({ links, size = "md", className }) => /* @__PURE__ */ jsx("ul
382
529
  rel: "noopener noreferrer",
383
530
  "aria-label": ariaLabel,
384
531
  className: [SocialIcons_default.link, SocialIcons_default[size]].join(" "),
385
- children: /* @__PURE__ */ jsx(Icon2, { "aria-hidden": "true" })
532
+ children: /* @__PURE__ */ jsx10(Icon2, { "aria-hidden": "true" })
386
533
  }
387
534
  ) }, platform);
388
535
  }) });
389
536
  SocialIcons.displayName = "SocialIcons";
390
537
 
391
538
  // src/components/molecules/Card/Card.module.css
392
- var Card_default = {};
393
- var CardHeader = ({ children, className }) => /* @__PURE__ */ jsx("div", { className: [Card_default.header, className ?? ""].filter(Boolean).join(" "), children });
394
- var CardBody = ({ children, className }) => /* @__PURE__ */ jsx("div", { className: [Card_default.body, className ?? ""].filter(Boolean).join(" "), children });
395
- var CardFooter = ({ children, className }) => /* @__PURE__ */ jsx("div", { className: [Card_default.footer, className ?? ""].filter(Boolean).join(" "), children });
396
- var Card = ({ elevation: elevation2 = "sm", radius = "lg", className, children }) => /* @__PURE__ */ jsx(
539
+ var Card_default = {
540
+ card: "Card_card",
541
+ header: "Card_header",
542
+ body: "Card_body",
543
+ footer: "Card_footer"
544
+ };
545
+
546
+ // src/components/molecules/Card/Card.tsx
547
+ import { jsx as jsx11 } from "react/jsx-runtime";
548
+ var CardHeader = ({ children, className }) => /* @__PURE__ */ jsx11("div", { className: [Card_default.header, className ?? ""].filter(Boolean).join(" "), children });
549
+ var CardBody = ({ children, className }) => /* @__PURE__ */ jsx11("div", { className: [Card_default.body, className ?? ""].filter(Boolean).join(" "), children });
550
+ var CardFooter = ({ children, className }) => /* @__PURE__ */ jsx11("div", { className: [Card_default.footer, className ?? ""].filter(Boolean).join(" "), children });
551
+ var Card = ({ elevation: elevation2 = "sm", radius = "lg", className, children }) => /* @__PURE__ */ jsx11(
397
552
  "div",
398
553
  {
399
554
  className: [Card_default.card, className ?? ""].filter(Boolean).join(" "),
@@ -409,8 +564,29 @@ Card.Body = CardBody;
409
564
  Card.Footer = CardFooter;
410
565
  Card.displayName = "Card";
411
566
 
567
+ // src/components/molecules/Modal/Modal.tsx
568
+ import * as Dialog from "@radix-ui/react-dialog";
569
+
412
570
  // src/components/molecules/Modal/Modal.module.css
413
- var Modal_default = {};
571
+ var Modal_default = {
572
+ overlay: "Modal_overlay",
573
+ overlayIn: "Modal_overlayIn",
574
+ content: "Modal_content",
575
+ contentIn: "Modal_contentIn",
576
+ sm: "Modal_sm",
577
+ md: "Modal_md",
578
+ lg: "Modal_lg",
579
+ xl: "Modal_xl",
580
+ full: "Modal_full",
581
+ header: "Modal_header",
582
+ title: "Modal_title",
583
+ description: "Modal_description",
584
+ body: "Modal_body",
585
+ close: "Modal_close"
586
+ };
587
+
588
+ // src/components/molecules/Modal/Modal.tsx
589
+ import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
414
590
  var Modal = ({
415
591
  open,
416
592
  onOpenChange,
@@ -419,19 +595,19 @@ var Modal = ({
419
595
  size = "md",
420
596
  children,
421
597
  trigger
422
- }) => /* @__PURE__ */ jsxs(Dialog.Root, { open, onOpenChange, children: [
423
- trigger && /* @__PURE__ */ jsx(Dialog.Trigger, { asChild: true, children: trigger }),
424
- /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
425
- /* @__PURE__ */ jsx(Dialog.Overlay, { className: Modal_default.overlay }),
426
- /* @__PURE__ */ jsxs(
598
+ }) => /* @__PURE__ */ jsxs8(Dialog.Root, { open, onOpenChange, children: [
599
+ trigger && /* @__PURE__ */ jsx12(Dialog.Trigger, { asChild: true, children: trigger }),
600
+ /* @__PURE__ */ jsxs8(Dialog.Portal, { children: [
601
+ /* @__PURE__ */ jsx12(Dialog.Overlay, { className: Modal_default.overlay }),
602
+ /* @__PURE__ */ jsxs8(
427
603
  Dialog.Content,
428
604
  {
429
605
  className: [Modal_default.content, Modal_default[size]].join(" "),
430
606
  "aria-describedby": description ? "modal-description" : void 0,
431
607
  children: [
432
- /* @__PURE__ */ jsxs("div", { className: Modal_default.header, children: [
433
- title && /* @__PURE__ */ jsx(Dialog.Title, { className: Modal_default.title, children: title }),
434
- /* @__PURE__ */ jsx(Dialog.Close, { asChild: true, children: /* @__PURE__ */ jsx("button", { className: Modal_default.close, "aria-label": "Fechar", children: /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
608
+ /* @__PURE__ */ jsxs8("div", { className: Modal_default.header, children: [
609
+ title && /* @__PURE__ */ jsx12(Dialog.Title, { className: Modal_default.title, children: title }),
610
+ /* @__PURE__ */ jsx12(Dialog.Close, { asChild: true, children: /* @__PURE__ */ jsx12("button", { className: Modal_default.close, "aria-label": "Fechar", children: /* @__PURE__ */ jsx12("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx12(
435
611
  "path",
436
612
  {
437
613
  d: "M2 2l12 12M14 2L2 14",
@@ -441,8 +617,8 @@ var Modal = ({
441
617
  }
442
618
  ) }) }) })
443
619
  ] }),
444
- description && /* @__PURE__ */ jsx(Dialog.Description, { id: "modal-description", className: Modal_default.description, children: description }),
445
- /* @__PURE__ */ jsx("div", { className: Modal_default.body, children })
620
+ description && /* @__PURE__ */ jsx12(Dialog.Description, { id: "modal-description", className: Modal_default.description, children: description }),
621
+ /* @__PURE__ */ jsx12("div", { className: Modal_default.body, children })
446
622
  ]
447
623
  }
448
624
  )
@@ -450,8 +626,30 @@ var Modal = ({
450
626
  ] });
451
627
  Modal.displayName = "Modal";
452
628
 
629
+ // src/components/molecules/Drawer/Drawer.tsx
630
+ import * as Dialog2 from "@radix-ui/react-dialog";
631
+
453
632
  // src/components/molecules/Drawer/Drawer.module.css
454
- var Drawer_default = {};
633
+ var Drawer_default = {
634
+ overlay: "Drawer_overlay",
635
+ fadeIn: "Drawer_fadeIn",
636
+ content: "Drawer_content",
637
+ right: "Drawer_right",
638
+ slideInRight: "Drawer_slideInRight",
639
+ left: "Drawer_left",
640
+ slideInLeft: "Drawer_slideInLeft",
641
+ top: "Drawer_top",
642
+ slideInTop: "Drawer_slideInTop",
643
+ bottom: "Drawer_bottom",
644
+ slideInBottom: "Drawer_slideInBottom",
645
+ header: "Drawer_header",
646
+ title: "Drawer_title",
647
+ body: "Drawer_body",
648
+ close: "Drawer_close"
649
+ };
650
+
651
+ // src/components/molecules/Drawer/Drawer.tsx
652
+ import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
455
653
  var Drawer = ({
456
654
  open,
457
655
  onOpenChange,
@@ -459,14 +657,14 @@ var Drawer = ({
459
657
  side = "right",
460
658
  children,
461
659
  trigger
462
- }) => /* @__PURE__ */ jsxs(Dialog.Root, { open, onOpenChange, children: [
463
- trigger && /* @__PURE__ */ jsx(Dialog.Trigger, { asChild: true, children: trigger }),
464
- /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
465
- /* @__PURE__ */ jsx(Dialog.Overlay, { className: Drawer_default.overlay }),
466
- /* @__PURE__ */ jsxs(Dialog.Content, { className: [Drawer_default.content, Drawer_default[side]].join(" "), children: [
467
- /* @__PURE__ */ jsxs("div", { className: Drawer_default.header, children: [
468
- title && /* @__PURE__ */ jsx(Dialog.Title, { className: Drawer_default.title, children: title }),
469
- /* @__PURE__ */ jsx(Dialog.Close, { asChild: true, children: /* @__PURE__ */ jsx("button", { className: Drawer_default.close, "aria-label": "Fechar", children: /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
660
+ }) => /* @__PURE__ */ jsxs9(Dialog2.Root, { open, onOpenChange, children: [
661
+ trigger && /* @__PURE__ */ jsx13(Dialog2.Trigger, { asChild: true, children: trigger }),
662
+ /* @__PURE__ */ jsxs9(Dialog2.Portal, { children: [
663
+ /* @__PURE__ */ jsx13(Dialog2.Overlay, { className: Drawer_default.overlay }),
664
+ /* @__PURE__ */ jsxs9(Dialog2.Content, { className: [Drawer_default.content, Drawer_default[side]].join(" "), children: [
665
+ /* @__PURE__ */ jsxs9("div", { className: Drawer_default.header, children: [
666
+ title && /* @__PURE__ */ jsx13(Dialog2.Title, { className: Drawer_default.title, children: title }),
667
+ /* @__PURE__ */ jsx13(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx13("button", { className: Drawer_default.close, "aria-label": "Fechar", children: /* @__PURE__ */ jsx13("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13(
470
668
  "path",
471
669
  {
472
670
  d: "M2 2l12 12M14 2L2 14",
@@ -476,21 +674,32 @@ var Drawer = ({
476
674
  }
477
675
  ) }) }) })
478
676
  ] }),
479
- /* @__PURE__ */ jsx("div", { className: Drawer_default.body, children })
677
+ /* @__PURE__ */ jsx13("div", { className: Drawer_default.body, children })
480
678
  ] })
481
679
  ] })
482
680
  ] });
483
681
  Drawer.displayName = "Drawer";
484
682
 
683
+ // src/components/molecules/Tabs/Tabs.tsx
684
+ import * as RadixTabs from "@radix-ui/react-tabs";
685
+
485
686
  // src/components/molecules/Tabs/Tabs.module.css
486
- var Tabs_default = {};
687
+ var Tabs_default = {
688
+ root: "Tabs_root",
689
+ list: "Tabs_list",
690
+ trigger: "Tabs_trigger",
691
+ content: "Tabs_content"
692
+ };
693
+
694
+ // src/components/molecules/Tabs/Tabs.tsx
695
+ import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
487
696
  var Tabs = ({
488
697
  tabs,
489
698
  defaultValue,
490
699
  value,
491
700
  onValueChange,
492
701
  className
493
- }) => /* @__PURE__ */ jsxs(
702
+ }) => /* @__PURE__ */ jsxs10(
494
703
  RadixTabs.Root,
495
704
  {
496
705
  defaultValue: defaultValue ?? tabs[0]?.value,
@@ -498,7 +707,7 @@ var Tabs = ({
498
707
  onValueChange,
499
708
  className: [Tabs_default.root, className ?? ""].filter(Boolean).join(" "),
500
709
  children: [
501
- /* @__PURE__ */ jsx(RadixTabs.List, { className: Tabs_default.list, "aria-label": "Tabs", children: tabs.map((tab) => /* @__PURE__ */ jsx(
710
+ /* @__PURE__ */ jsx14(RadixTabs.List, { className: Tabs_default.list, "aria-label": "Tabs", children: tabs.map((tab) => /* @__PURE__ */ jsx14(
502
711
  RadixTabs.Trigger,
503
712
  {
504
713
  value: tab.value,
@@ -508,14 +717,29 @@ var Tabs = ({
508
717
  },
509
718
  tab.value
510
719
  )) }),
511
- tabs.map((tab) => /* @__PURE__ */ jsx(RadixTabs.Content, { value: tab.value, className: Tabs_default.content, children: tab.content }, tab.value))
720
+ tabs.map((tab) => /* @__PURE__ */ jsx14(RadixTabs.Content, { value: tab.value, className: Tabs_default.content, children: tab.content }, tab.value))
512
721
  ]
513
722
  }
514
723
  );
515
724
  Tabs.displayName = "Tabs";
516
725
 
726
+ // src/components/molecules/Accordion/Accordion.tsx
727
+ import * as RadixAccordion from "@radix-ui/react-accordion";
728
+
517
729
  // src/components/molecules/Accordion/Accordion.module.css
518
- var Accordion_default = {};
730
+ var Accordion_default = {
731
+ root: "Accordion_root",
732
+ item: "Accordion_item",
733
+ trigger: "Accordion_trigger",
734
+ chevron: "Accordion_chevron",
735
+ content: "Accordion_content",
736
+ slideDown: "Accordion_slideDown",
737
+ slideUp: "Accordion_slideUp",
738
+ contentInner: "Accordion_contentInner"
739
+ };
740
+
741
+ // src/components/molecules/Accordion/Accordion.tsx
742
+ import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
519
743
  var Accordion = ({
520
744
  items,
521
745
  type = "single",
@@ -526,16 +750,16 @@ var Accordion = ({
526
750
  className
527
751
  }) => {
528
752
  const rootClassName = [Accordion_default.root, className ?? ""].filter(Boolean).join(" ");
529
- const content = items.map((item) => /* @__PURE__ */ jsxs(
753
+ const content = items.map((item) => /* @__PURE__ */ jsxs11(
530
754
  RadixAccordion.Item,
531
755
  {
532
756
  value: item.value,
533
757
  disabled: item.disabled,
534
758
  className: Accordion_default.item,
535
759
  children: [
536
- /* @__PURE__ */ jsx(RadixAccordion.Header, { children: /* @__PURE__ */ jsxs(RadixAccordion.Trigger, { className: Accordion_default.trigger, children: [
760
+ /* @__PURE__ */ jsx15(RadixAccordion.Header, { children: /* @__PURE__ */ jsxs11(RadixAccordion.Trigger, { className: Accordion_default.trigger, children: [
537
761
  item.trigger,
538
- /* @__PURE__ */ jsx(
762
+ /* @__PURE__ */ jsx15(
539
763
  "svg",
540
764
  {
541
765
  className: Accordion_default.chevron,
@@ -544,7 +768,7 @@ var Accordion = ({
544
768
  viewBox: "0 0 14 9",
545
769
  fill: "none",
546
770
  "aria-hidden": "true",
547
- children: /* @__PURE__ */ jsx(
771
+ children: /* @__PURE__ */ jsx15(
548
772
  "path",
549
773
  {
550
774
  d: "M1 1l6 6 6-6",
@@ -557,13 +781,13 @@ var Accordion = ({
557
781
  }
558
782
  )
559
783
  ] }) }),
560
- /* @__PURE__ */ jsx(RadixAccordion.Content, { className: Accordion_default.content, children: /* @__PURE__ */ jsx("div", { className: Accordion_default.contentInner, children: item.content }) })
784
+ /* @__PURE__ */ jsx15(RadixAccordion.Content, { className: Accordion_default.content, children: /* @__PURE__ */ jsx15("div", { className: Accordion_default.contentInner, children: item.content }) })
561
785
  ]
562
786
  },
563
787
  item.value
564
788
  ));
565
789
  if (type === "multiple") {
566
- return /* @__PURE__ */ jsx(
790
+ return /* @__PURE__ */ jsx15(
567
791
  RadixAccordion.Root,
568
792
  {
569
793
  type: "multiple",
@@ -575,7 +799,7 @@ var Accordion = ({
575
799
  }
576
800
  );
577
801
  }
578
- return /* @__PURE__ */ jsx(
802
+ return /* @__PURE__ */ jsx15(
579
803
  RadixAccordion.Root,
580
804
  {
581
805
  type: "single",
@@ -590,8 +814,30 @@ var Accordion = ({
590
814
  };
591
815
  Accordion.displayName = "Accordion";
592
816
 
817
+ // src/components/molecules/Toast/Toast.tsx
818
+ import * as RadixToast from "@radix-ui/react-toast";
819
+ import { createContext, useCallback, useContext, useState as useState3 } from "react";
820
+
593
821
  // src/components/molecules/Toast/Toast.module.css
594
- var Toast_default = {};
822
+ var Toast_default = {
823
+ viewport: "Toast_viewport",
824
+ root: "Toast_root",
825
+ slideIn: "Toast_slideIn",
826
+ slideOut: "Toast_slideOut",
827
+ default: "Toast_default",
828
+ success: "Toast_success",
829
+ warning: "Toast_warning",
830
+ error: "Toast_error",
831
+ info: "Toast_info",
832
+ content: "Toast_content",
833
+ text: "Toast_text",
834
+ title: "Toast_title",
835
+ description: "Toast_description",
836
+ close: "Toast_close"
837
+ };
838
+
839
+ // src/components/molecules/Toast/Toast.tsx
840
+ import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
595
841
  var ToastContext = createContext(null);
596
842
  var useToast = () => {
597
843
  const ctx = useContext(ToastContext);
@@ -599,7 +845,7 @@ var useToast = () => {
599
845
  return ctx;
600
846
  };
601
847
  var ToastProvider = ({ children }) => {
602
- const [toasts, setToasts] = useState([]);
848
+ const [toasts, setToasts] = useState3([]);
603
849
  const show = useCallback((message) => {
604
850
  const id = Math.random().toString(36).slice(2);
605
851
  setToasts((prev) => [...prev, { ...message, id }]);
@@ -607,9 +853,9 @@ var ToastProvider = ({ children }) => {
607
853
  const dismiss = useCallback((id) => {
608
854
  setToasts((prev) => prev.filter((t) => t.id !== id));
609
855
  }, []);
610
- return /* @__PURE__ */ jsx(ToastContext.Provider, { value: { show }, children: /* @__PURE__ */ jsxs(RadixToast.Provider, { swipeDirection: "right", children: [
856
+ return /* @__PURE__ */ jsx16(ToastContext.Provider, { value: { show }, children: /* @__PURE__ */ jsxs12(RadixToast.Provider, { swipeDirection: "right", children: [
611
857
  children,
612
- toasts.map((toast) => /* @__PURE__ */ jsx(
858
+ toasts.map((toast) => /* @__PURE__ */ jsx16(
613
859
  RadixToast.Root,
614
860
  {
615
861
  duration: toast.duration ?? 4e3,
@@ -617,12 +863,12 @@ var ToastProvider = ({ children }) => {
617
863
  onOpenChange: (open) => {
618
864
  if (!open) dismiss(toast.id);
619
865
  },
620
- children: /* @__PURE__ */ jsxs("div", { className: Toast_default.content, children: [
621
- /* @__PURE__ */ jsxs("div", { className: Toast_default.text, children: [
622
- /* @__PURE__ */ jsx(RadixToast.Title, { className: Toast_default.title, children: toast.title }),
623
- toast.description && /* @__PURE__ */ jsx(RadixToast.Description, { className: Toast_default.description, children: toast.description })
866
+ children: /* @__PURE__ */ jsxs12("div", { className: Toast_default.content, children: [
867
+ /* @__PURE__ */ jsxs12("div", { className: Toast_default.text, children: [
868
+ /* @__PURE__ */ jsx16(RadixToast.Title, { className: Toast_default.title, children: toast.title }),
869
+ toast.description && /* @__PURE__ */ jsx16(RadixToast.Description, { className: Toast_default.description, children: toast.description })
624
870
  ] }),
625
- /* @__PURE__ */ jsx(RadixToast.Close, { asChild: true, children: /* @__PURE__ */ jsx("button", { className: Toast_default.close, "aria-label": "Fechar notifica\xE7\xE3o", children: /* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
871
+ /* @__PURE__ */ jsx16(RadixToast.Close, { asChild: true, children: /* @__PURE__ */ jsx16("button", { className: Toast_default.close, "aria-label": "Fechar notifica\xE7\xE3o", children: /* @__PURE__ */ jsx16("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx16(
626
872
  "path",
627
873
  {
628
874
  d: "M1 1l10 10M11 1L1 11",
@@ -635,15 +881,28 @@ var ToastProvider = ({ children }) => {
635
881
  },
636
882
  toast.id
637
883
  )),
638
- /* @__PURE__ */ jsx(RadixToast.Viewport, { className: Toast_default.viewport, "aria-label": "Notifica\xE7\xF5es", role: "region" })
884
+ /* @__PURE__ */ jsx16(RadixToast.Viewport, { className: Toast_default.viewport, "aria-label": "Notifica\xE7\xF5es", role: "region" })
639
885
  ] }) });
640
886
  };
641
887
 
642
888
  // src/components/molecules/Table/Table.module.css
643
- var Table_default = {};
644
- var TableHead = ({ className, children, ...props }) => /* @__PURE__ */ jsx("thead", { className: [Table_default.head, className ?? ""].filter(Boolean).join(" "), ...props, children });
645
- var TableBody = ({ className, children, ...props }) => /* @__PURE__ */ jsx("tbody", { className: [Table_default.body, className ?? ""].filter(Boolean).join(" "), ...props, children });
646
- var TableRow = ({ className, children, ...props }) => /* @__PURE__ */ jsx("tr", { className: [Table_default.row, className ?? ""].filter(Boolean).join(" "), ...props, children });
889
+ var Table_default = {
890
+ wrapper: "Table_wrapper",
891
+ table: "Table_table",
892
+ caption: "Table_caption",
893
+ head: "Table_head",
894
+ stickyHeader: "Table_stickyHeader",
895
+ th: "Table_th",
896
+ td: "Table_td",
897
+ row: "Table_row",
898
+ body: "Table_body"
899
+ };
900
+
901
+ // src/components/molecules/Table/Table.tsx
902
+ import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
903
+ var TableHead = ({ className, children, ...props }) => /* @__PURE__ */ jsx17("thead", { className: [Table_default.head, className ?? ""].filter(Boolean).join(" "), ...props, children });
904
+ var TableBody = ({ className, children, ...props }) => /* @__PURE__ */ jsx17("tbody", { className: [Table_default.body, className ?? ""].filter(Boolean).join(" "), ...props, children });
905
+ var TableRow = ({ className, children, ...props }) => /* @__PURE__ */ jsx17("tr", { className: [Table_default.row, className ?? ""].filter(Boolean).join(" "), ...props, children });
647
906
  var TableCell = ({
648
907
  as: Tag = "td",
649
908
  scope,
@@ -652,7 +911,7 @@ var TableCell = ({
652
911
  ...props
653
912
  }) => {
654
913
  const cellClass = [Tag === "th" ? Table_default.th : Table_default.td, className ?? ""].filter(Boolean).join(" ");
655
- return /* @__PURE__ */ jsx(
914
+ return /* @__PURE__ */ jsx17(
656
915
  Tag,
657
916
  {
658
917
  className: cellClass,
@@ -662,13 +921,13 @@ var TableCell = ({
662
921
  }
663
922
  );
664
923
  };
665
- var Table = ({ caption, stickyHeader, className, children, ...props }) => /* @__PURE__ */ jsx("div", { className: Table_default.wrapper, children: /* @__PURE__ */ jsxs(
924
+ var Table = ({ caption, stickyHeader, className, children, ...props }) => /* @__PURE__ */ jsx17("div", { className: Table_default.wrapper, children: /* @__PURE__ */ jsxs13(
666
925
  "table",
667
926
  {
668
927
  className: [Table_default.table, stickyHeader ? Table_default.stickyHeader : "", className ?? ""].filter(Boolean).join(" "),
669
928
  ...props,
670
929
  children: [
671
- caption && /* @__PURE__ */ jsx("caption", { className: Table_default.caption, children: caption }),
930
+ caption && /* @__PURE__ */ jsx17("caption", { className: Table_default.caption, children: caption }),
672
931
  children
673
932
  ]
674
933
  }
@@ -679,6 +938,337 @@ Table.Row = TableRow;
679
938
  Table.Cell = TableCell;
680
939
  Table.displayName = "Table";
681
940
 
682
- export { Accordion, Avatar, Badge, Button, Card, Checkbox, Drawer, Input, Modal, RadioGroup, Select, SocialIcons, Table, Tabs, Textarea, ToastProvider, Tooltip, TooltipProvider, useToast };
941
+ // src/tokens/colors.primitive.ts
942
+ var primitiveColors = {
943
+ blue: {
944
+ 50: "#EAF4FB",
945
+ 100: "#C5E0F2",
946
+ 200: "#9BCCE9",
947
+ 300: "#6DB7DF",
948
+ 400: "#42A2D5",
949
+ 500: "#1B8ECB",
950
+ 600: "#1170A8",
951
+ 700: "#02548B",
952
+ 800: "#013E6A",
953
+ 900: "#012849"
954
+ },
955
+ teal: {
956
+ 50: "#E9FAF6",
957
+ 100: "#C0F1E6",
958
+ 200: "#93E7D5",
959
+ 300: "#62DAC2",
960
+ 400: "#34CEAF",
961
+ 500: "#16B597",
962
+ 600: "#0E9278",
963
+ 700: "#087059",
964
+ 800: "#044E3D",
965
+ 900: "#012E24"
966
+ },
967
+ orange: {
968
+ 50: "#FFF0EB",
969
+ 100: "#FFDDD4",
970
+ 200: "#FFC0AE",
971
+ 300: "#FF9F87",
972
+ 400: "#FF7358",
973
+ 500: "#FF3C00",
974
+ 600: "#D83200",
975
+ 700: "#B02700",
976
+ 800: "#881D00",
977
+ 900: "#601300"
978
+ },
979
+ red: {
980
+ 50: "#FEF2F2",
981
+ 100: "#FEE2E2",
982
+ 200: "#FECACA",
983
+ 300: "#FCA5A5",
984
+ 400: "#F87171",
985
+ 500: "#EF4444",
986
+ 600: "#DC2626",
987
+ 700: "#B91C1C",
988
+ 800: "#991B1B",
989
+ 900: "#7F1D1D"
990
+ },
991
+ green: {
992
+ 50: "#ECFDF5",
993
+ 100: "#D1FAE5",
994
+ 200: "#A7F3D0",
995
+ 300: "#6EE7B7",
996
+ 400: "#34D399",
997
+ 500: "#10B981",
998
+ 600: "#059669",
999
+ 700: "#047857",
1000
+ 800: "#065F46",
1001
+ 900: "#064E3B"
1002
+ },
1003
+ yellow: {
1004
+ 50: "#FFFBEB",
1005
+ 100: "#FEF3C7",
1006
+ 200: "#FDE68A",
1007
+ 300: "#FCD34D",
1008
+ 400: "#FBBF24",
1009
+ 500: "#F59E0B",
1010
+ 600: "#D97706",
1011
+ 700: "#B45309",
1012
+ 800: "#92400E",
1013
+ 900: "#78350F"
1014
+ },
1015
+ gray: {
1016
+ 50: "#F8F9FA",
1017
+ 100: "#E9ECEF",
1018
+ 200: "#DEE2E6",
1019
+ 300: "#CED4DA",
1020
+ 400: "#ADB5BD",
1021
+ 500: "#6C757D",
1022
+ 600: "#495057",
1023
+ 700: "#343A40",
1024
+ 800: "#212529",
1025
+ 900: "#111315"
1026
+ },
1027
+ white: "#FFFFFF",
1028
+ black: "#000000"
1029
+ };
1030
+
1031
+ // src/tokens/colors.semantic.ts
1032
+ var semanticColors = {
1033
+ primary: {
1034
+ default: primitiveColors.blue[700],
1035
+ hover: primitiveColors.blue[600],
1036
+ active: primitiveColors.blue[800],
1037
+ subtle: primitiveColors.blue[50],
1038
+ muted: primitiveColors.blue[100],
1039
+ on: primitiveColors.white
1040
+ },
1041
+ secondary: {
1042
+ default: primitiveColors.teal[500],
1043
+ hover: primitiveColors.teal[600],
1044
+ active: primitiveColors.teal[700],
1045
+ subtle: primitiveColors.teal[50],
1046
+ muted: primitiveColors.teal[100],
1047
+ on: primitiveColors.white
1048
+ },
1049
+ accent: {
1050
+ default: primitiveColors.orange[500],
1051
+ hover: primitiveColors.orange[600],
1052
+ active: primitiveColors.orange[700],
1053
+ subtle: primitiveColors.orange[50],
1054
+ on: primitiveColors.white
1055
+ },
1056
+ success: {
1057
+ default: primitiveColors.green[600],
1058
+ hover: primitiveColors.green[700],
1059
+ subtle: primitiveColors.green[50],
1060
+ muted: primitiveColors.green[100],
1061
+ on: primitiveColors.white
1062
+ },
1063
+ warning: {
1064
+ default: primitiveColors.yellow[500],
1065
+ hover: primitiveColors.yellow[600],
1066
+ subtle: primitiveColors.yellow[50],
1067
+ muted: primitiveColors.yellow[100],
1068
+ on: primitiveColors.gray[900]
1069
+ },
1070
+ error: {
1071
+ default: primitiveColors.red[600],
1072
+ hover: primitiveColors.red[700],
1073
+ subtle: primitiveColors.red[50],
1074
+ muted: primitiveColors.red[100],
1075
+ on: primitiveColors.white
1076
+ },
1077
+ info: {
1078
+ default: primitiveColors.blue[500],
1079
+ hover: primitiveColors.blue[600],
1080
+ subtle: primitiveColors.blue[50],
1081
+ muted: primitiveColors.blue[100],
1082
+ on: primitiveColors.white
1083
+ },
1084
+ background: {
1085
+ default: primitiveColors.white,
1086
+ subtle: primitiveColors.gray[50],
1087
+ muted: primitiveColors.gray[100],
1088
+ overlay: "rgba(0, 0, 0, 0.5)"
1089
+ },
1090
+ surface: {
1091
+ default: primitiveColors.white,
1092
+ raised: primitiveColors.white,
1093
+ overlay: primitiveColors.white
1094
+ },
1095
+ text: {
1096
+ default: primitiveColors.gray[800],
1097
+ muted: primitiveColors.gray[500],
1098
+ subtle: primitiveColors.gray[400],
1099
+ disabled: primitiveColors.gray[300],
1100
+ inverse: primitiveColors.white,
1101
+ link: primitiveColors.blue[700],
1102
+ linkHover: primitiveColors.blue[600]
1103
+ },
1104
+ border: {
1105
+ default: primitiveColors.gray[200],
1106
+ strong: primitiveColors.gray[300],
1107
+ muted: primitiveColors.gray[100],
1108
+ focus: primitiveColors.blue[500],
1109
+ error: primitiveColors.red[500]
1110
+ },
1111
+ disabled: {
1112
+ background: primitiveColors.gray[100],
1113
+ text: primitiveColors.gray[400],
1114
+ border: primitiveColors.gray[200]
1115
+ }
1116
+ };
1117
+
1118
+ // src/tokens/spacing.ts
1119
+ var spacing = {
1120
+ 0: "0px",
1121
+ 1: "4px",
1122
+ 2: "8px",
1123
+ 3: "12px",
1124
+ 4: "16px",
1125
+ 5: "20px",
1126
+ 6: "24px",
1127
+ 8: "32px",
1128
+ 10: "40px",
1129
+ 12: "48px",
1130
+ 16: "64px",
1131
+ 24: "96px",
1132
+ 32: "128px"
1133
+ };
1134
+
1135
+ // src/tokens/typography.ts
1136
+ var typography = {
1137
+ fontFamily: {
1138
+ base: "'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif",
1139
+ heading: "'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif",
1140
+ mono: "'JetBrains Mono', 'Fira Code', 'Courier New', monospace"
1141
+ },
1142
+ fontSize: {
1143
+ xs: "0.75rem",
1144
+ // 12px
1145
+ sm: "0.875rem",
1146
+ // 14px
1147
+ md: "1rem",
1148
+ // 16px
1149
+ lg: "1.125rem",
1150
+ // 18px
1151
+ xl: "1.25rem",
1152
+ // 20px
1153
+ "2xl": "1.5rem",
1154
+ // 24px
1155
+ "3xl": "1.875rem",
1156
+ // 30px
1157
+ "4xl": "2.25rem"
1158
+ // 36px
1159
+ },
1160
+ fontWeight: {
1161
+ regular: "400",
1162
+ medium: "500",
1163
+ semibold: "600",
1164
+ bold: "700"
1165
+ },
1166
+ lineHeight: {
1167
+ tight: "1.25",
1168
+ snug: "1.375",
1169
+ normal: "1.5",
1170
+ relaxed: "1.625",
1171
+ loose: "2"
1172
+ },
1173
+ letterSpacing: {
1174
+ tight: "-0.025em",
1175
+ normal: "0em",
1176
+ wide: "0.025em",
1177
+ wider: "0.05em"
1178
+ }
1179
+ };
1180
+
1181
+ // src/tokens/radii.ts
1182
+ var radii = {
1183
+ none: "0px",
1184
+ sm: "2px",
1185
+ md: "4px",
1186
+ lg: "8px",
1187
+ xl: "12px",
1188
+ "2xl": "16px",
1189
+ full: "9999px"
1190
+ };
1191
+
1192
+ // src/tokens/elevation.ts
1193
+ var elevation = {
1194
+ none: "none",
1195
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1196
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
1197
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
1198
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
1199
+ "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
1200
+ };
1201
+
1202
+ // src/tokens/zIndex.ts
1203
+ var zIndex = {
1204
+ base: 0,
1205
+ raised: 1,
1206
+ dropdown: 1e3,
1207
+ sticky: 1020,
1208
+ overlay: 1040,
1209
+ modal: 1050,
1210
+ toast: 1060,
1211
+ tooltip: 1070
1212
+ };
1213
+
1214
+ // src/tokens/motion.ts
1215
+ var motion = {
1216
+ duration: {
1217
+ fast: "100ms",
1218
+ normal: "200ms",
1219
+ slow: "300ms",
1220
+ slower: "500ms"
1221
+ },
1222
+ easing: {
1223
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
1224
+ easeOut: "cubic-bezier(0, 0, 0.2, 1)",
1225
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
1226
+ linear: "linear",
1227
+ spring: "cubic-bezier(0.34, 1.56, 0.64, 1)"
1228
+ }
1229
+ };
1230
+
1231
+ // src/tokens/breakpoints.ts
1232
+ var breakpoints = {
1233
+ xs: 0,
1234
+ sm: 576,
1235
+ md: 768,
1236
+ lg: 992,
1237
+ xl: 1200,
1238
+ xxl: 1400
1239
+ };
1240
+ function mediaQuery(bp) {
1241
+ return `@media (min-width: ${breakpoints[bp]}px)`;
1242
+ }
1243
+ export {
1244
+ Accordion,
1245
+ Avatar,
1246
+ Badge,
1247
+ Button,
1248
+ Card,
1249
+ Checkbox,
1250
+ Drawer,
1251
+ Input,
1252
+ Modal,
1253
+ RadioGroup,
1254
+ Select,
1255
+ SocialIcons,
1256
+ Table,
1257
+ Tabs,
1258
+ Textarea,
1259
+ ToastProvider,
1260
+ Tooltip,
1261
+ TooltipProvider,
1262
+ breakpoints,
1263
+ elevation,
1264
+ mediaQuery,
1265
+ motion,
1266
+ primitiveColors,
1267
+ radii,
1268
+ semanticColors,
1269
+ spacing,
1270
+ typography,
1271
+ useToast,
1272
+ zIndex
1273
+ };
683
1274
  //# sourceMappingURL=index.mjs.map
684
- //# sourceMappingURL=index.mjs.map