@sikka/hawa 0.30.24-next → 0.30.26-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/blocks/index.js +100 -72
  2. package/dist/blocks/index.mjs +1 -1
  3. package/dist/blocks/misc/index.js +88 -60
  4. package/dist/blocks/misc/index.mjs +105 -75
  5. package/dist/blocks/pricing/index.mjs +1 -1
  6. package/dist/breadcrumb/index.d.mts +7 -5
  7. package/dist/breadcrumb/index.d.ts +7 -5
  8. package/dist/breadcrumb/index.js +36 -12
  9. package/dist/breadcrumb/index.js.map +1 -1
  10. package/dist/breadcrumb/index.mjs +36 -12
  11. package/dist/breadcrumb/index.mjs.map +1 -1
  12. package/dist/{chunk-7LAUVLVZ.mjs → chunk-QDRFTC7W.mjs} +96 -62
  13. package/dist/combobox/index.js.map +1 -1
  14. package/dist/combobox/index.mjs.map +1 -1
  15. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  16. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  17. package/dist/commonTypes-MeUyaBib.d.mts +5 -0
  18. package/dist/commonTypes-MeUyaBib.d.ts +5 -0
  19. package/dist/elements/index.d.mts +11 -5
  20. package/dist/elements/index.d.ts +11 -5
  21. package/dist/elements/index.js +149 -98
  22. package/dist/elements/index.mjs +32 -13
  23. package/dist/floatBox/index.d.mts +12 -0
  24. package/dist/floatBox/index.d.ts +12 -0
  25. package/dist/floatBox/index.js +85 -0
  26. package/dist/floatBox/index.js.map +1 -0
  27. package/dist/floatBox/index.mjs +49 -0
  28. package/dist/floatBox/index.mjs.map +1 -0
  29. package/dist/index.css +101 -56
  30. package/dist/index.d.mts +11 -5
  31. package/dist/index.d.ts +11 -5
  32. package/dist/index.js +189 -138
  33. package/dist/index.mjs +706 -657
  34. package/dist/input/index.d.mts +2 -1
  35. package/dist/input/index.d.ts +2 -1
  36. package/dist/label/index.d.mts +1 -2
  37. package/dist/label/index.d.ts +1 -2
  38. package/dist/passwordInput/index.js.map +1 -1
  39. package/dist/passwordInput/index.mjs.map +1 -1
  40. package/dist/phoneInput/index.d.mts +2 -1
  41. package/dist/phoneInput/index.d.ts +2 -1
  42. package/dist/popover/index.d.mts +3 -1
  43. package/dist/popover/index.d.ts +3 -1
  44. package/dist/popover/index.js +6 -0
  45. package/dist/popover/index.js.map +1 -1
  46. package/dist/popover/index.mjs +4 -0
  47. package/dist/popover/index.mjs.map +1 -1
  48. package/dist/progress/index.d.mts +8 -1
  49. package/dist/progress/index.d.ts +8 -1
  50. package/dist/radio/index.d.mts +9 -1
  51. package/dist/radio/index.d.ts +9 -1
  52. package/dist/scrollArea/index.d.mts +1 -1
  53. package/dist/scrollArea/index.d.ts +1 -1
  54. package/dist/separator/index.d.mts +1 -1
  55. package/dist/separator/index.d.ts +1 -1
  56. package/dist/signature/index.d.mts +1 -2
  57. package/dist/signature/index.d.ts +1 -2
  58. package/dist/simpleTable/index.d.mts +1 -1
  59. package/dist/simpleTable/index.d.ts +1 -1
  60. package/dist/switch/index.d.mts +2 -1
  61. package/dist/switch/index.d.ts +2 -1
  62. package/dist/tabs/index.d.mts +3 -1
  63. package/dist/tabs/index.d.ts +3 -1
  64. package/dist/tabs/index.js +60 -32
  65. package/dist/tabs/index.js.map +1 -1
  66. package/dist/tabs/index.mjs +60 -32
  67. package/dist/tabs/index.mjs.map +1 -1
  68. package/dist/textarea/index.d.mts +1 -1
  69. package/dist/textarea/index.d.ts +1 -1
  70. package/dist/toast/index.d.mts +1 -1
  71. package/dist/toast/index.d.ts +1 -1
  72. package/dist/toaster/index.d.mts +22 -4
  73. package/dist/toaster/index.d.ts +22 -4
  74. package/dist/tooltip/index.d.mts +3 -4
  75. package/dist/tooltip/index.d.ts +3 -4
  76. package/package.json +8 -8
  77. package/dist/Label-9FHRF7Ex.d.mts +0 -14
  78. package/dist/Label-9FHRF7Ex.d.ts +0 -14
  79. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  80. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  81. package/dist/commonTypes-PBumfOBg.d.mts +0 -3
  82. package/dist/commonTypes-PBumfOBg.d.ts +0 -3
  83. /package/dist/{chunk-CVOMHXJK.mjs → chunk-BXGDHNAY.mjs} +0 -0
@@ -122,6 +122,8 @@ __export(elements_exports, {
122
122
  PinInput: () => PinInput,
123
123
  Popover: () => Popover,
124
124
  PopoverContent: () => PopoverContent,
125
+ PopoverPortal: () => PopoverPortal,
126
+ PopoverRoot: () => PopoverRoot,
125
127
  PopoverTrigger: () => PopoverTrigger,
126
128
  Progress: () => Progress,
127
129
  ProgressCircle: () => ProgressCircle,
@@ -3621,6 +3623,8 @@ var Popover = ({
3621
3623
  ));
3622
3624
  };
3623
3625
  var PopoverTrigger = PopoverPrimitive.Trigger;
3626
+ var PopoverPortal = PopoverPrimitive.Portal;
3627
+ var PopoverRoot = PopoverPrimitive.Root;
3624
3628
 
3625
3629
  // elements/combobox/Combobox.tsx
3626
3630
  var Combobox = React27.forwardRef(
@@ -4104,9 +4108,46 @@ var SortButton = (props) => {
4104
4108
  };
4105
4109
 
4106
4110
  // elements/tabs/Tabs.tsx
4107
- var React31 = __toESM(require("react"));
4111
+ var React32 = __toESM(require("react"));
4108
4112
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
4109
4113
  var import_tailwind_variants = require("tailwind-variants");
4114
+
4115
+ // elements/floatBox/FloatBox.tsx
4116
+ var React31 = __toESM(require("react"));
4117
+ var FloatBox = ({
4118
+ className,
4119
+ open,
4120
+ side = "bottom",
4121
+ sideOffset = 40,
4122
+ ...props
4123
+ }) => {
4124
+ let widthStyles = {
4125
+ trigger: "var(--radix-popover-trigger-width)",
4126
+ default: "auto"
4127
+ };
4128
+ let sideOffsetStyles = {
4129
+ bottom: { top: sideOffset },
4130
+ top: { bottom: sideOffset },
4131
+ right: { left: sideOffset },
4132
+ left: { right: sideOffset }
4133
+ };
4134
+ return /* @__PURE__ */ React31.createElement(
4135
+ "div",
4136
+ {
4137
+ className: cn(
4138
+ "data-[floatbox-state=closed]:hawa-invisible data-[floatbox-state=open]:hawa-visible hawa-absolute dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[floatbox-state=open]:hawa-animate-in data-[floatbox-state=closed]:hawa-animate-out data-[floatbox-state=closed]:hawa-fade-out-0 data-[floatbox-state=open]:hawa-fade-in-0 data-[floatbox-state=closed]:hawa-zoom-out-95 data-[floatbox-state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
4139
+ sideOffsetStyles[side],
4140
+ className
4141
+ ),
4142
+ style: { ...sideOffsetStyles[side] },
4143
+ "data-side": side,
4144
+ "data-floatbox-state": open ? "open" : "closed"
4145
+ },
4146
+ props.children
4147
+ );
4148
+ };
4149
+
4150
+ // elements/tabs/Tabs.tsx
4110
4151
  var tabsListVariant = (0, import_tailwind_variants.tv)({
4111
4152
  base: "",
4112
4153
  variants: {
@@ -4115,10 +4156,7 @@ var tabsListVariant = (0, import_tailwind_variants.tv)({
4115
4156
  underlined: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10",
4116
4157
  underlined_tabs: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-text-muted-foreground"
4117
4158
  },
4118
- orientation: {
4119
- horizontal: "",
4120
- vertical: ""
4121
- }
4159
+ orientation: { horizontal: "", vertical: "" }
4122
4160
  },
4123
4161
  compoundVariants: [
4124
4162
  {
@@ -4132,10 +4170,7 @@ var tabsListVariant = (0, import_tailwind_variants.tv)({
4132
4170
  class: "hawa-border-b-2 hawa-border-b-primary"
4133
4171
  }
4134
4172
  ],
4135
- defaultVariants: {
4136
- variant: "default",
4137
- orientation: "horizontal"
4138
- }
4173
+ defaultVariants: { variant: "default", orientation: "horizontal" }
4139
4174
  });
4140
4175
  var tabsTriggerVariant = (0, import_tailwind_variants.tv)({
4141
4176
  base: "",
@@ -4145,10 +4180,7 @@ var tabsTriggerVariant = (0, import_tailwind_variants.tv)({
4145
4180
  underlined: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-rounded-none hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
4146
4181
  underlined_tabs: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50 hawa-bg-primary/10 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground dark:hawa-border-primary/10"
4147
4182
  },
4148
- orientation: {
4149
- horizontal: "",
4150
- vertical: ""
4151
- }
4183
+ orientation: { horizontal: "", vertical: "" }
4152
4184
  },
4153
4185
  compoundVariants: [
4154
4186
  {
@@ -4172,13 +4204,10 @@ var tabsTriggerVariant = (0, import_tailwind_variants.tv)({
4172
4204
  class: "hawa-rounded-e-none"
4173
4205
  }
4174
4206
  ],
4175
- defaultVariants: {
4176
- variant: "default",
4177
- orientation: "horizontal"
4178
- }
4207
+ defaultVariants: { variant: "default", orientation: "horizontal" }
4179
4208
  });
4180
- var TabsContext = React31.createContext({ orientation: "horizontal", variant: "default" });
4181
- var Tabs = React31.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React31.createElement(
4209
+ var TabsContext = React32.createContext({ orientation: "horizontal", variant: "default" });
4210
+ var Tabs = React32.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React32.createElement(
4182
4211
  TabsPrimitive.Root,
4183
4212
  {
4184
4213
  ref,
@@ -4189,12 +4218,11 @@ var Tabs = React31.forwardRef(({ className, orientation, variant = "default", ..
4189
4218
  ),
4190
4219
  ...props
4191
4220
  },
4192
- /* @__PURE__ */ React31.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
4221
+ /* @__PURE__ */ React32.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
4193
4222
  ));
4194
- Tabs.displayName = TabsPrimitive.Root.displayName;
4195
- var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
4196
- const { orientation, variant } = React31.useContext(TabsContext);
4197
- return /* @__PURE__ */ React31.createElement(
4223
+ var TabsList = React32.forwardRef(({ className, ...props }, ref) => {
4224
+ const { orientation, variant } = React32.useContext(TabsContext);
4225
+ return /* @__PURE__ */ React32.createElement(
4198
4226
  TabsPrimitive.List,
4199
4227
  {
4200
4228
  ref,
@@ -4207,22 +4235,25 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
4207
4235
  }
4208
4236
  );
4209
4237
  });
4210
- TabsList.displayName = TabsPrimitive.List.displayName;
4211
- var TabsTrigger = React31.forwardRef(({ className, chipProps, ...props }, ref) => {
4212
- const { orientation, variant } = React31.useContext(TabsContext);
4213
- return /* @__PURE__ */ React31.createElement(
4238
+ var TabsTrigger = React32.forwardRef(({ className, chipProps, ...props }, ref) => {
4239
+ const { orientation, variant } = React32.useContext(TabsContext);
4240
+ return /* @__PURE__ */ React32.createElement(
4214
4241
  TabsPrimitive.Trigger,
4215
4242
  {
4216
4243
  ref,
4217
- className: cn(tabsTriggerVariant({ variant, orientation }), className),
4244
+ className: cn(
4245
+ tabsTriggerVariant({ variant, orientation }),
4246
+ "hawa-relative",
4247
+ className
4248
+ ),
4218
4249
  ...props
4219
4250
  },
4220
4251
  props.children,
4221
- chipProps && /* @__PURE__ */ React31.createElement(Chip, { ...chipProps })
4252
+ chipProps && /* @__PURE__ */ React32.createElement(Chip, { ...chipProps }),
4253
+ /* @__PURE__ */ React32.createElement(FloatBox, { open: props.showPopover }, props.popoverContent)
4222
4254
  );
4223
4255
  });
4224
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4225
- var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React31.createElement(
4256
+ var TabsContent = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React32.createElement(
4226
4257
  TabsPrimitive.Content,
4227
4258
  {
4228
4259
  ref,
@@ -4233,6 +4264,9 @@ var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
4233
4264
  ...props
4234
4265
  }
4235
4266
  ));
4267
+ Tabs.displayName = TabsPrimitive.Root.displayName;
4268
+ TabsList.displayName = TabsPrimitive.List.displayName;
4269
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4236
4270
  TabsContent.displayName = TabsPrimitive.Content.displayName;
4237
4271
 
4238
4272
  // elements/select/Select.tsx
@@ -4390,15 +4424,15 @@ var Select = ({
4390
4424
  };
4391
4425
 
4392
4426
  // elements/switch/Switch.tsx
4393
- var React33 = __toESM(require("react"));
4427
+ var React34 = __toESM(require("react"));
4394
4428
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
4395
- var Switch = React33.forwardRef(
4429
+ var Switch = React34.forwardRef(
4396
4430
  ({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
4397
- const [parentDirection, setParentDirection] = React33.useState(
4431
+ const [parentDirection, setParentDirection] = React34.useState(
4398
4432
  null
4399
4433
  );
4400
- const parentRef = React33.useRef(null);
4401
- React33.useEffect(() => {
4434
+ const parentRef = React34.useRef(null);
4435
+ React34.useEffect(() => {
4402
4436
  var _a;
4403
4437
  const parentNode = (_a = parentRef.current) == null ? void 0 : _a.parentNode;
4404
4438
  if (parentNode) {
@@ -4426,13 +4460,13 @@ var Switch = React33.forwardRef(
4426
4460
  full: "hawa-rounded-full",
4427
4461
  inherit: "hawa-rounded-inner"
4428
4462
  };
4429
- return /* @__PURE__ */ React33.createElement(
4463
+ return /* @__PURE__ */ React34.createElement(
4430
4464
  "div",
4431
4465
  {
4432
4466
  className: "hawa-flex hawa-flex-row hawa-items-center",
4433
4467
  ref: parentRef
4434
4468
  },
4435
- /* @__PURE__ */ React33.createElement(
4469
+ /* @__PURE__ */ React34.createElement(
4436
4470
  SwitchPrimitives.Root,
4437
4471
  {
4438
4472
  className: cn(
@@ -4446,7 +4480,7 @@ var Switch = React33.forwardRef(
4446
4480
  ...props,
4447
4481
  ref
4448
4482
  },
4449
- /* @__PURE__ */ React33.createElement(
4483
+ /* @__PURE__ */ React34.createElement(
4450
4484
  SwitchPrimitives.Thumb,
4451
4485
  {
4452
4486
  className: cn(
@@ -4460,14 +4494,14 @@ var Switch = React33.forwardRef(
4460
4494
  }
4461
4495
  )
4462
4496
  ),
4463
- label && /* @__PURE__ */ React33.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
4497
+ label && /* @__PURE__ */ React34.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
4464
4498
  );
4465
4499
  }
4466
4500
  );
4467
4501
  Switch.displayName = SwitchPrimitives.Root.displayName;
4468
4502
 
4469
4503
  // elements/checkbox/Checkbox.tsx
4470
- var React34 = __toESM(require("react"));
4504
+ var React35 = __toESM(require("react"));
4471
4505
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
4472
4506
  var Checkbox = ({
4473
4507
  id,
@@ -4487,7 +4521,7 @@ var Checkbox = ({
4487
4521
  lg: 0.9,
4488
4522
  xl: 1
4489
4523
  };
4490
- return /* @__PURE__ */ React34.createElement(
4524
+ return /* @__PURE__ */ React35.createElement(
4491
4525
  "div",
4492
4526
  {
4493
4527
  className: cn(
@@ -4495,7 +4529,7 @@ var Checkbox = ({
4495
4529
  size === "default" ? "hawa-items-top" : "hawa-items-center"
4496
4530
  )
4497
4531
  },
4498
- /* @__PURE__ */ React34.createElement(
4532
+ /* @__PURE__ */ React35.createElement(
4499
4533
  CheckboxElement,
4500
4534
  {
4501
4535
  ...props,
@@ -4505,7 +4539,7 @@ var Checkbox = ({
4505
4539
  id
4506
4540
  }
4507
4541
  ),
4508
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4542
+ (label || helperText) && /* @__PURE__ */ React35.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React35.createElement(
4509
4543
  "label",
4510
4544
  {
4511
4545
  htmlFor: id,
@@ -4519,7 +4553,7 @@ var Checkbox = ({
4519
4553
  }
4520
4554
  },
4521
4555
  label
4522
- ), sublabel && /* @__PURE__ */ React34.createElement(
4556
+ ), sublabel && /* @__PURE__ */ React35.createElement(
4523
4557
  "label",
4524
4558
  {
4525
4559
  htmlFor: id,
@@ -4529,7 +4563,7 @@ var Checkbox = ({
4529
4563
  )
4530
4564
  },
4531
4565
  sublabel
4532
- ), helperText && !disabled && /* @__PURE__ */ React34.createElement(
4566
+ ), helperText && !disabled && /* @__PURE__ */ React35.createElement(
4533
4567
  "label",
4534
4568
  {
4535
4569
  htmlFor: id,
@@ -4542,7 +4576,7 @@ var Checkbox = ({
4542
4576
  ))
4543
4577
  );
4544
4578
  };
4545
- var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
4579
+ var CheckboxElement = React35.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
4546
4580
  let checkboxRadius = {
4547
4581
  none: "hawa-rounded-none",
4548
4582
  inherit: "hawa-rounded-sm",
@@ -4564,7 +4598,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4564
4598
  lg: "1em",
4565
4599
  xl: "1.25em"
4566
4600
  };
4567
- return /* @__PURE__ */ React34.createElement(
4601
+ return /* @__PURE__ */ React35.createElement(
4568
4602
  CheckboxPrimitive.Root,
4569
4603
  {
4570
4604
  ref,
@@ -4576,14 +4610,14 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4576
4610
  ),
4577
4611
  ...props
4578
4612
  },
4579
- /* @__PURE__ */ React34.createElement(
4613
+ /* @__PURE__ */ React35.createElement(
4580
4614
  CheckboxPrimitive.Indicator,
4581
4615
  {
4582
4616
  className: cn(
4583
4617
  "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
4584
4618
  )
4585
4619
  },
4586
- /* @__PURE__ */ React34.createElement(
4620
+ /* @__PURE__ */ React35.createElement(
4587
4621
  "svg",
4588
4622
  {
4589
4623
  "aria-label": "Check Mark",
@@ -4594,7 +4628,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4594
4628
  height: checkboxIndicatorSizes[size],
4595
4629
  width: checkboxIndicatorSizes[size]
4596
4630
  },
4597
- /* @__PURE__ */ React34.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
4631
+ /* @__PURE__ */ React35.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
4598
4632
  ),
4599
4633
  " "
4600
4634
  )
@@ -4603,9 +4637,9 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4603
4637
  CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
4604
4638
 
4605
4639
  // elements/progress/Progress.tsx
4606
- var React35 = __toESM(require("react"));
4640
+ var React36 = __toESM(require("react"));
4607
4641
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
4608
- var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React35.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React35.createElement(Label2, { ...props.labelProps }, props.label), /* @__PURE__ */ React35.createElement(
4642
+ var Progress = React36.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React36.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React36.createElement(Label2, { ...props.labelProps }, props.label), /* @__PURE__ */ React36.createElement(
4609
4643
  ProgressPrimitive.Root,
4610
4644
  {
4611
4645
  ref,
@@ -4615,7 +4649,7 @@ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @_
4615
4649
  ),
4616
4650
  ...props
4617
4651
  },
4618
- /* @__PURE__ */ React35.createElement(
4652
+ /* @__PURE__ */ React36.createElement(
4619
4653
  ProgressPrimitive.Indicator,
4620
4654
  {
4621
4655
  className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
@@ -4629,24 +4663,39 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
4629
4663
  var import_react15 = __toESM(require("react"));
4630
4664
  var Breadcrumb = ({
4631
4665
  breadcrumbLinks,
4632
- separator = ">"
4666
+ separator = ">",
4667
+ size = "normal"
4633
4668
  }) => {
4634
- return /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm" }, breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ import_react15.default.createElement(
4669
+ const textStyles = {
4670
+ normal: "",
4671
+ small: "hawa-text-sm",
4672
+ xs: "hawa-text-xs"
4673
+ };
4674
+ return /* @__PURE__ */ import_react15.default.createElement(
4635
4675
  "div",
4636
4676
  {
4637
- key: index,
4638
- className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2"
4677
+ className: cn(
4678
+ "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm",
4679
+ textStyles[size]
4680
+ )
4639
4681
  },
4640
- /* @__PURE__ */ import_react15.default.createElement(
4641
- "a",
4682
+ breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ import_react15.default.createElement(
4683
+ "div",
4642
4684
  {
4643
- href: singleBreadcrumbLink.href,
4644
- className: index + 1 === breadcrumbLinks.length ? "hawa-pointer-events-none" : "hawa-underline-offset-4 hawa-transition-all hover:hawa-text-primary hover:hawa-underline hover:hawa-decoration-2"
4685
+ key: index,
4686
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2"
4645
4687
  },
4646
- singleBreadcrumbLink.label
4647
- ),
4648
- index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : null
4649
- )));
4688
+ /* @__PURE__ */ import_react15.default.createElement(
4689
+ "a",
4690
+ {
4691
+ href: singleBreadcrumbLink.href,
4692
+ className: index + 1 === breadcrumbLinks.length ? "hawa-pointer-events-none" : "hawa-underline-offset-4 hawa-transition-all hover:hawa-text-primary hover:hawa-underline hover:hawa-decoration-2"
4693
+ },
4694
+ singleBreadcrumbLink.label
4695
+ ),
4696
+ index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : null
4697
+ ))
4698
+ );
4650
4699
  };
4651
4700
 
4652
4701
  // elements/appStores/AppStores.tsx
@@ -6615,21 +6664,21 @@ var StopPropagationWrapper = (props) => {
6615
6664
  };
6616
6665
 
6617
6666
  // elements/scrollArea/ScrollArea.tsx
6618
- var React42 = __toESM(require("react"));
6667
+ var React43 = __toESM(require("react"));
6619
6668
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
6620
- var ScrollArea = React42.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6669
+ var ScrollArea = React43.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React43.createElement(
6621
6670
  ScrollAreaPrimitive.Root,
6622
6671
  {
6623
6672
  ref,
6624
6673
  className: cn("hawa-relative hawa-overflow-hidden", className),
6625
6674
  ...props
6626
6675
  },
6627
- /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6628
- /* @__PURE__ */ React42.createElement(ScrollBar, { orientation }),
6629
- /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Corner, null)
6676
+ /* @__PURE__ */ React43.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6677
+ /* @__PURE__ */ React43.createElement(ScrollBar, { orientation }),
6678
+ /* @__PURE__ */ React43.createElement(ScrollAreaPrimitive.Corner, null)
6630
6679
  ));
6631
6680
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6632
- var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6681
+ var ScrollBar = React43.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React43.createElement(
6633
6682
  ScrollAreaPrimitive.ScrollAreaScrollbar,
6634
6683
  {
6635
6684
  ref,
@@ -6642,7 +6691,7 @@ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...pr
6642
6691
  ),
6643
6692
  ...props
6644
6693
  },
6645
- /* @__PURE__ */ React42.createElement(
6694
+ /* @__PURE__ */ React43.createElement(
6646
6695
  ScrollAreaPrimitive.ScrollAreaThumb,
6647
6696
  {
6648
6697
  className: cn(
@@ -7170,9 +7219,9 @@ var PasswordInput = ({
7170
7219
  };
7171
7220
 
7172
7221
  // elements/slider/Slider.tsx
7173
- var React50 = __toESM(require("react"));
7222
+ var React51 = __toESM(require("react"));
7174
7223
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
7175
- var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React50.createElement(
7224
+ var Slider = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React51.createElement(
7176
7225
  SliderPrimitive.Root,
7177
7226
  {
7178
7227
  ref,
@@ -7182,13 +7231,13 @@ var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
7182
7231
  ),
7183
7232
  ...props
7184
7233
  },
7185
- /* @__PURE__ */ React50.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-border hawa-bg-background" }, /* @__PURE__ */ React50.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
7186
- /* @__PURE__ */ React50.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50" })
7234
+ /* @__PURE__ */ React51.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-border hawa-bg-background" }, /* @__PURE__ */ React51.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
7235
+ /* @__PURE__ */ React51.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50" })
7187
7236
  ));
7188
7237
  Slider.displayName = SliderPrimitive.Root.displayName;
7189
7238
 
7190
7239
  // elements/simpleTable/SimpleTable.tsx
7191
- var React51 = __toESM(require("react"));
7240
+ var React52 = __toESM(require("react"));
7192
7241
  var import_react_table2 = require("@tanstack/react-table");
7193
7242
  var SimpleTable = ({
7194
7243
  columns,
@@ -7203,7 +7252,7 @@ var SimpleTable = ({
7203
7252
  columns,
7204
7253
  getCoreRowModel: (0, import_react_table2.getCoreRowModel)()
7205
7254
  });
7206
- return /* @__PURE__ */ React51.createElement(
7255
+ return /* @__PURE__ */ React52.createElement(
7207
7256
  "div",
7208
7257
  {
7209
7258
  className: cn(
@@ -7211,8 +7260,8 @@ var SimpleTable = ({
7211
7260
  classNames
7212
7261
  )
7213
7262
  },
7214
- props.isLoading ? /* @__PURE__ */ React51.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React51.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React51.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React51.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React51.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
7215
- return /* @__PURE__ */ React51.createElement(
7263
+ props.isLoading ? /* @__PURE__ */ React52.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React52.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React52.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React52.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React52.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
7264
+ return /* @__PURE__ */ React52.createElement(
7216
7265
  TableHead,
7217
7266
  {
7218
7267
  condensed: props.condensed,
@@ -7227,7 +7276,7 @@ var SimpleTable = ({
7227
7276
  header.getContext()
7228
7277
  )
7229
7278
  );
7230
- })))), /* @__PURE__ */ React51.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React51.createElement(
7279
+ })))), /* @__PURE__ */ React52.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React52.createElement(
7231
7280
  TableRow,
7232
7281
  {
7233
7282
  key: row.id,
@@ -7235,7 +7284,7 @@ var SimpleTable = ({
7235
7284
  },
7236
7285
  row.getVisibleCells().map((cell) => {
7237
7286
  var _a2;
7238
- return /* @__PURE__ */ React51.createElement(
7287
+ return /* @__PURE__ */ React52.createElement(
7239
7288
  TableCell,
7240
7289
  {
7241
7290
  dir: props.direction,
@@ -7251,7 +7300,7 @@ var SimpleTable = ({
7251
7300
  )
7252
7301
  );
7253
7302
  })
7254
- )) : /* @__PURE__ */ React51.createElement(TableRow, null, /* @__PURE__ */ React51.createElement(
7303
+ )) : /* @__PURE__ */ React52.createElement(TableRow, null, /* @__PURE__ */ React52.createElement(
7255
7304
  TableCell,
7256
7305
  {
7257
7306
  colSpan: columns.length,
@@ -7263,12 +7312,12 @@ var SimpleTable = ({
7263
7312
  };
7264
7313
 
7265
7314
  // elements/separator/Separator.tsx
7266
- var React52 = __toESM(require("react"));
7315
+ var React53 = __toESM(require("react"));
7267
7316
  var Separator2 = ({
7268
7317
  className,
7269
7318
  orientation = "horizontal",
7270
7319
  ...props
7271
- }) => /* @__PURE__ */ React52.createElement(
7320
+ }) => /* @__PURE__ */ React53.createElement(
7272
7321
  "div",
7273
7322
  {
7274
7323
  className: cn(
@@ -7661,7 +7710,7 @@ var Count = (props) => {
7661
7710
  };
7662
7711
 
7663
7712
  // elements/toast/Toast.tsx
7664
- var React57 = __toESM(require("react"));
7713
+ var React58 = __toESM(require("react"));
7665
7714
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
7666
7715
  var import_class_variance_authority4 = require("class-variance-authority");
7667
7716
  var toastVariants = (0, import_class_variance_authority4.cva)(
@@ -7689,7 +7738,7 @@ var sizeStyles = {
7689
7738
  sm: "hawa-text-xs"
7690
7739
  };
7691
7740
  var ToastProvider = ToastPrimitives.Provider;
7692
- var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7741
+ var ToastViewport = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
7693
7742
  ToastPrimitives.Viewport,
7694
7743
  {
7695
7744
  ref,
@@ -7701,8 +7750,8 @@ var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__P
7701
7750
  }
7702
7751
  ));
7703
7752
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
7704
- var Toast = React57.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7705
- return /* @__PURE__ */ React57.createElement(
7753
+ var Toast = React58.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7754
+ return /* @__PURE__ */ React58.createElement(
7706
7755
  ToastPrimitives.Root,
7707
7756
  {
7708
7757
  ref,
@@ -7717,8 +7766,8 @@ var Toast = React57.forwardRef(({ className, variant, severity = "none", directi
7717
7766
  );
7718
7767
  });
7719
7768
  Toast.displayName = ToastPrimitives.Root.displayName;
7720
- var ToastAction = React57.forwardRef(({ className, ...props }, ref) => {
7721
- return /* @__PURE__ */ React57.createElement(
7769
+ var ToastAction = React58.forwardRef(({ className, ...props }, ref) => {
7770
+ return /* @__PURE__ */ React58.createElement(
7722
7771
  ToastPrimitives.Action,
7723
7772
  {
7724
7773
  ref,
@@ -7736,7 +7785,7 @@ var ToastAction = React57.forwardRef(({ className, ...props }, ref) => {
7736
7785
  );
7737
7786
  });
7738
7787
  ToastAction.displayName = ToastPrimitives.Action.displayName;
7739
- var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7788
+ var ToastClose = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
7740
7789
  ToastPrimitives.Close,
7741
7790
  {
7742
7791
  ref,
@@ -7750,7 +7799,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7750
7799
  "toast-close": "",
7751
7800
  ...props
7752
7801
  },
7753
- /* @__PURE__ */ React57.createElement(
7802
+ /* @__PURE__ */ React58.createElement(
7754
7803
  "svg",
7755
7804
  {
7756
7805
  "aria-label": "Close Icon",
@@ -7759,7 +7808,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7759
7808
  fill: "currentColor",
7760
7809
  viewBox: "0 0 20 20"
7761
7810
  },
7762
- /* @__PURE__ */ React57.createElement(
7811
+ /* @__PURE__ */ React58.createElement(
7763
7812
  "path",
7764
7813
  {
7765
7814
  fillRule: "evenodd",
@@ -7770,7 +7819,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7770
7819
  )
7771
7820
  ));
7772
7821
  ToastClose.displayName = ToastPrimitives.Close.displayName;
7773
- var ToastTitle = React57.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React57.createElement(
7822
+ var ToastTitle = React58.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React58.createElement(
7774
7823
  ToastPrimitives.Title,
7775
7824
  {
7776
7825
  ref,
@@ -7783,7 +7832,7 @@ var ToastTitle = React57.forwardRef(({ className, size = "default", ...props },
7783
7832
  }
7784
7833
  ));
7785
7834
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
7786
- var ToastDescription = React57.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React57.createElement(
7835
+ var ToastDescription = React58.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React58.createElement(
7787
7836
  ToastPrimitives.Description,
7788
7837
  {
7789
7838
  ref,
@@ -8105,6 +8154,8 @@ var PhoneMockup = ({
8105
8154
  PinInput,
8106
8155
  Popover,
8107
8156
  PopoverContent,
8157
+ PopoverPortal,
8158
+ PopoverRoot,
8108
8159
  PopoverTrigger,
8109
8160
  Progress,
8110
8161
  ProgressCircle,