@sikka/hawa 0.26.22 → 0.26.23

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.d.mts CHANGED
@@ -17,6 +17,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
17
17
  import * as ProgressPrimitive from '@radix-ui/react-progress';
18
18
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
19
19
  import * as SliderPrimitive from '@radix-ui/react-slider';
20
+ import { HighlightProps } from 'prism-react-renderer';
20
21
  import { EmblaOptionsType } from 'embla-carousel';
21
22
  import * as ToastPrimitives from '@radix-ui/react-toast';
22
23
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
@@ -385,6 +386,7 @@ type AlertTypes = {
385
386
  variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
386
387
  }
387
388
  ];
389
+ /** Removes the close button */
388
390
  persistent?: boolean;
389
391
  icon?: any;
390
392
  className?: any;
@@ -914,7 +916,7 @@ declare const ScrollIndicator: FC<ScrollIndicatorProps>;
914
916
 
915
917
  type CodeBlockTypes = {
916
918
  /** Specifies the programming language for syntax highlighting.*/
917
- language?: string;
919
+ language?: HighlightProps["language"];
918
920
  /** Defines the width of the code block.*/
919
921
  width?: "full" | "md" | "sm";
920
922
  /** Array of tabs each containing a title and code content.*/
@@ -938,6 +940,7 @@ type CarouselProps = {
938
940
  autoplay?: boolean;
939
941
  autoplayInterval?: number;
940
942
  options?: EmblaOptionsType;
943
+ direction?: DirectionType;
941
944
  };
942
945
  declare const Carousel: React__default.FC<CarouselProps>;
943
946
 
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
17
17
  import * as ProgressPrimitive from '@radix-ui/react-progress';
18
18
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
19
19
  import * as SliderPrimitive from '@radix-ui/react-slider';
20
+ import { HighlightProps } from 'prism-react-renderer';
20
21
  import { EmblaOptionsType } from 'embla-carousel';
21
22
  import * as ToastPrimitives from '@radix-ui/react-toast';
22
23
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
@@ -385,6 +386,7 @@ type AlertTypes = {
385
386
  variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
386
387
  }
387
388
  ];
389
+ /** Removes the close button */
388
390
  persistent?: boolean;
389
391
  icon?: any;
390
392
  className?: any;
@@ -914,7 +916,7 @@ declare const ScrollIndicator: FC<ScrollIndicatorProps>;
914
916
 
915
917
  type CodeBlockTypes = {
916
918
  /** Specifies the programming language for syntax highlighting.*/
917
- language?: string;
919
+ language?: HighlightProps["language"];
918
920
  /** Defines the width of the code block.*/
919
921
  width?: "full" | "md" | "sm";
920
922
  /** Array of tabs each containing a title and code content.*/
@@ -938,6 +940,7 @@ type CarouselProps = {
938
940
  autoplay?: boolean;
939
941
  autoplayInterval?: number;
940
942
  options?: EmblaOptionsType;
943
+ direction?: DirectionType;
941
944
  };
942
945
  declare const Carousel: React__default.FC<CarouselProps>;
943
946
 
package/dist/index.js CHANGED
@@ -7094,6 +7094,8 @@ function useClipboard({ timeout = 2e3 } = {}) {
7094
7094
  }
7095
7095
 
7096
7096
  // elements/codeBlock/CodeBlock.tsx
7097
+ (typeof global !== "undefined" ? global : window).Prism = import_prism_react_renderer.Prism;
7098
+ require("prismjs/components/prism-bash");
7097
7099
  var CodeBlock = ({
7098
7100
  tabs,
7099
7101
  code,
@@ -7106,8 +7108,7 @@ var CodeBlock = ({
7106
7108
  }) => {
7107
7109
  const clipboard = useClipboard();
7108
7110
  const [selectedTab, setSelectedTab] = (0, import_react30.useState)(0);
7109
- const isDarkMode = props.forcedDarkMode || document.body.classList.contains("dark");
7110
- const theme = isDarkMode ? import_prism_react_renderer.themes.vsDark : import_prism_react_renderer.themes.vsLight;
7111
+ const theme = import_prism_react_renderer.themes.oceanicNext;
7111
7112
  let widthStyles = {
7112
7113
  full: "hawa-w-full",
7113
7114
  md: "hawa-w-full hawa-max-w-md",
@@ -7127,15 +7128,15 @@ var CodeBlock = ({
7127
7128
  "div",
7128
7129
  {
7129
7130
  className: cn(
7130
- "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-2 hawa-py-0.5 hawa-pb-0 hawa-font-mono hawa-text-foreground dark:hawa-bg-muted",
7131
- fileName && tabs ? "hawa-bg-gray-300 dark:hawa-bg-muted/50" : "hawa-bg-gray-200"
7131
+ "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-2 hawa-py-0.5 hawa-pb-0 hawa-font-mono hawa-text-foreground",
7132
+ fileName && tabs ? "hawa-bg-primary/10" : "hawa-bg-primary/15"
7132
7133
  )
7133
7134
  },
7134
7135
  /* @__PURE__ */ import_react30.default.createElement(
7135
7136
  "div",
7136
7137
  {
7137
7138
  className: cn(
7138
- "mono hawa-w-full hawa-max-w-[52px] hawa-rounded-inner hawa-p-1 hawa-py-0.5 hawa-text-center hawa-text-[0.75rem]"
7139
+ "hawa-font-mono hawa-w-full hawa-max-w-[52px] hawa-rounded-inner hawa-p-1 hawa-py-0.5 hawa-text-center hawa-text-[0.75rem]"
7139
7140
  )
7140
7141
  },
7141
7142
  fileName
@@ -7145,7 +7146,8 @@ var CodeBlock = ({
7145
7146
  "div",
7146
7147
  {
7147
7148
  className: cn(
7148
- "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-bg-gray-200 hawa-p-2 hawa-pb-0 hawa-font-mono hawa-text-foreground dark:hawa-bg-muted",
7149
+ // hawa-bg-gray-300 dark:hawa-bg-red-600
7150
+ "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-1 hawa-bg-primary/15 hawa-pb-0 hawa-font-mono hawa-text-foreground",
7149
7151
  tabs && fileName && "hawa-rounded-t-none"
7150
7152
  )
7151
7153
  },
@@ -7162,7 +7164,7 @@ var CodeBlock = ({
7162
7164
  {
7163
7165
  onClick: () => setSelectedTab(i),
7164
7166
  className: cn(
7165
- "hawa-mb-1 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-1 hawa-text-center hawa-text-[1rem] hawa-transition-all hover:hawa-bg-muted-foreground/20"
7167
+ "hawa-mb-0.5 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-0.5 hawa-text-center hawa-text-[0.7rem] hawa-transition-all hover:hawa-bg-muted-foreground/20"
7166
7168
  )
7167
7169
  },
7168
7170
  tab.title
@@ -7173,7 +7175,7 @@ var CodeBlock = ({
7173
7175
  "div",
7174
7176
  {
7175
7177
  className: cn(
7176
- "hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-border hawa-bg-foreground/5 hawa-p-0 hawa-text-left hawa-text-sm sm:hawa-text-base ",
7178
+ "hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-border hawa-bg-gray-700 hawa-p-0 hawa-text-left hawa-text-sm sm:hawa-text-base ",
7177
7179
  tabs || fileName ? "hawa-rounded-b hawa-rounded-t-none" : "hawa-rounded"
7178
7180
  )
7179
7181
  },
@@ -7202,12 +7204,12 @@ var CodeBlock = ({
7202
7204
  size: "icon",
7203
7205
  onClick: () => clipboard.copy(tabs ? tabs[selectedTab].code : code),
7204
7206
  variant: "outline",
7205
- className: "hawa-text-foreground hawa-opacity-50 sm:hawa-opacity-100"
7207
+ className: "hawa-text-gray-200 hawa-opacity-50 "
7206
7208
  },
7207
7209
  /* @__PURE__ */ import_react30.default.createElement(
7208
7210
  "svg",
7209
7211
  {
7210
- "aria-label": "Copy Icon",
7212
+ "aria-label": "Copy",
7211
7213
  stroke: "currentColor",
7212
7214
  fill: "none",
7213
7215
  strokeWidth: "2",
@@ -7234,11 +7236,13 @@ var Carousel = ({
7234
7236
  showArrows,
7235
7237
  options,
7236
7238
  autoplay,
7239
+ direction = "ltr",
7237
7240
  autoplayInterval = 3e3,
7238
7241
  ...props
7239
7242
  }) => {
7240
7243
  const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)({
7241
7244
  ...options,
7245
+ direction,
7242
7246
  loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
7243
7247
  });
7244
7248
  const [selectedIndex, setSelectedIndex] = (0, import_react31.useState)(0);
@@ -7277,6 +7281,7 @@ var Carousel = ({
7277
7281
  ))))), /* @__PURE__ */ import_react31.default.createElement(
7278
7282
  Dots,
7279
7283
  {
7284
+ direction,
7280
7285
  itemsLength: length,
7281
7286
  selectedIndex,
7282
7287
  onDotClick: (index) => emblaApi == null ? void 0 : emblaApi.scrollTo(index)
@@ -7291,22 +7296,34 @@ var Carousel = ({
7291
7296
  }
7292
7297
  ));
7293
7298
  };
7294
- var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
7299
+ var Dots = ({
7300
+ onDotClick,
7301
+ itemsLength,
7302
+ selectedIndex,
7303
+ direction
7304
+ }) => {
7295
7305
  const arr = new Array(itemsLength).fill(0);
7296
- return /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1" }, arr.map((_, index) => {
7297
- const selected = index === selectedIndex;
7298
- return /* @__PURE__ */ import_react31.default.createElement(
7299
- "div",
7300
- {
7301
- key: index,
7302
- onClick: () => onDotClick(index),
7303
- className: cn(
7304
- "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
7305
- !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
7306
- )
7307
- }
7308
- );
7309
- }));
7306
+ return /* @__PURE__ */ import_react31.default.createElement(
7307
+ "div",
7308
+ {
7309
+ dir: direction,
7310
+ className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1"
7311
+ },
7312
+ arr.map((_, index) => {
7313
+ const selected = index === selectedIndex;
7314
+ return /* @__PURE__ */ import_react31.default.createElement(
7315
+ "div",
7316
+ {
7317
+ key: index,
7318
+ onClick: () => onDotClick(index),
7319
+ className: cn(
7320
+ "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
7321
+ !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
7322
+ )
7323
+ }
7324
+ );
7325
+ })
7326
+ );
7310
7327
  };
7311
7328
  var CarouselControls = (props) => {
7312
7329
  return /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ import_react31.default.createElement(
package/dist/index.mjs CHANGED
@@ -1,3 +1,11 @@
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined")
5
+ return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
1
9
  // elements/card/Card.tsx
2
10
  import * as React from "react";
3
11
 
@@ -6839,7 +6847,11 @@ var ScrollIndicator = ({
6839
6847
 
6840
6848
  // elements/codeBlock/CodeBlock.tsx
6841
6849
  import React54, { useState as useState16 } from "react";
6842
- import { Highlight, themes } from "prism-react-renderer";
6850
+ import {
6851
+ Highlight,
6852
+ themes,
6853
+ Prism
6854
+ } from "prism-react-renderer";
6843
6855
 
6844
6856
  // hooks/useClipboard.ts
6845
6857
  import { useState as useState15 } from "react";
@@ -6868,6 +6880,8 @@ function useClipboard({ timeout = 2e3 } = {}) {
6868
6880
  }
6869
6881
 
6870
6882
  // elements/codeBlock/CodeBlock.tsx
6883
+ (typeof global !== "undefined" ? global : window).Prism = Prism;
6884
+ __require("prismjs/components/prism-bash");
6871
6885
  var CodeBlock = ({
6872
6886
  tabs,
6873
6887
  code,
@@ -6880,8 +6894,7 @@ var CodeBlock = ({
6880
6894
  }) => {
6881
6895
  const clipboard = useClipboard();
6882
6896
  const [selectedTab, setSelectedTab] = useState16(0);
6883
- const isDarkMode = props.forcedDarkMode || document.body.classList.contains("dark");
6884
- const theme = isDarkMode ? themes.vsDark : themes.vsLight;
6897
+ const theme = themes.oceanicNext;
6885
6898
  let widthStyles = {
6886
6899
  full: "hawa-w-full",
6887
6900
  md: "hawa-w-full hawa-max-w-md",
@@ -6901,15 +6914,15 @@ var CodeBlock = ({
6901
6914
  "div",
6902
6915
  {
6903
6916
  className: cn(
6904
- "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-2 hawa-py-0.5 hawa-pb-0 hawa-font-mono hawa-text-foreground dark:hawa-bg-muted",
6905
- fileName && tabs ? "hawa-bg-gray-300 dark:hawa-bg-muted/50" : "hawa-bg-gray-200"
6917
+ "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-2 hawa-py-0.5 hawa-pb-0 hawa-font-mono hawa-text-foreground",
6918
+ fileName && tabs ? "hawa-bg-primary/10" : "hawa-bg-primary/15"
6906
6919
  )
6907
6920
  },
6908
6921
  /* @__PURE__ */ React54.createElement(
6909
6922
  "div",
6910
6923
  {
6911
6924
  className: cn(
6912
- "mono hawa-w-full hawa-max-w-[52px] hawa-rounded-inner hawa-p-1 hawa-py-0.5 hawa-text-center hawa-text-[0.75rem]"
6925
+ "hawa-font-mono hawa-w-full hawa-max-w-[52px] hawa-rounded-inner hawa-p-1 hawa-py-0.5 hawa-text-center hawa-text-[0.75rem]"
6913
6926
  )
6914
6927
  },
6915
6928
  fileName
@@ -6919,7 +6932,8 @@ var CodeBlock = ({
6919
6932
  "div",
6920
6933
  {
6921
6934
  className: cn(
6922
- "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-bg-gray-200 hawa-p-2 hawa-pb-0 hawa-font-mono hawa-text-foreground dark:hawa-bg-muted",
6935
+ // hawa-bg-gray-300 dark:hawa-bg-red-600
6936
+ "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-1 hawa-bg-primary/15 hawa-pb-0 hawa-font-mono hawa-text-foreground",
6923
6937
  tabs && fileName && "hawa-rounded-t-none"
6924
6938
  )
6925
6939
  },
@@ -6936,7 +6950,7 @@ var CodeBlock = ({
6936
6950
  {
6937
6951
  onClick: () => setSelectedTab(i),
6938
6952
  className: cn(
6939
- "hawa-mb-1 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-1 hawa-text-center hawa-text-[1rem] hawa-transition-all hover:hawa-bg-muted-foreground/20"
6953
+ "hawa-mb-0.5 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-0.5 hawa-text-center hawa-text-[0.7rem] hawa-transition-all hover:hawa-bg-muted-foreground/20"
6940
6954
  )
6941
6955
  },
6942
6956
  tab.title
@@ -6947,7 +6961,7 @@ var CodeBlock = ({
6947
6961
  "div",
6948
6962
  {
6949
6963
  className: cn(
6950
- "hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-border hawa-bg-foreground/5 hawa-p-0 hawa-text-left hawa-text-sm sm:hawa-text-base ",
6964
+ "hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-border hawa-bg-gray-700 hawa-p-0 hawa-text-left hawa-text-sm sm:hawa-text-base ",
6951
6965
  tabs || fileName ? "hawa-rounded-b hawa-rounded-t-none" : "hawa-rounded"
6952
6966
  )
6953
6967
  },
@@ -6976,12 +6990,12 @@ var CodeBlock = ({
6976
6990
  size: "icon",
6977
6991
  onClick: () => clipboard.copy(tabs ? tabs[selectedTab].code : code),
6978
6992
  variant: "outline",
6979
- className: "hawa-text-foreground hawa-opacity-50 sm:hawa-opacity-100"
6993
+ className: "hawa-text-gray-200 hawa-opacity-50 "
6980
6994
  },
6981
6995
  /* @__PURE__ */ React54.createElement(
6982
6996
  "svg",
6983
6997
  {
6984
- "aria-label": "Copy Icon",
6998
+ "aria-label": "Copy",
6985
6999
  stroke: "currentColor",
6986
7000
  fill: "none",
6987
7001
  strokeWidth: "2",
@@ -7008,11 +7022,13 @@ var Carousel = ({
7008
7022
  showArrows,
7009
7023
  options,
7010
7024
  autoplay,
7025
+ direction = "ltr",
7011
7026
  autoplayInterval = 3e3,
7012
7027
  ...props
7013
7028
  }) => {
7014
7029
  const [emblaRef, emblaApi] = useEmblaCarousel({
7015
7030
  ...options,
7031
+ direction,
7016
7032
  loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
7017
7033
  });
7018
7034
  const [selectedIndex, setSelectedIndex] = useState17(0);
@@ -7051,6 +7067,7 @@ var Carousel = ({
7051
7067
  ))))), /* @__PURE__ */ React55.createElement(
7052
7068
  Dots,
7053
7069
  {
7070
+ direction,
7054
7071
  itemsLength: length,
7055
7072
  selectedIndex,
7056
7073
  onDotClick: (index) => emblaApi == null ? void 0 : emblaApi.scrollTo(index)
@@ -7065,22 +7082,34 @@ var Carousel = ({
7065
7082
  }
7066
7083
  ));
7067
7084
  };
7068
- var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
7085
+ var Dots = ({
7086
+ onDotClick,
7087
+ itemsLength,
7088
+ selectedIndex,
7089
+ direction
7090
+ }) => {
7069
7091
  const arr = new Array(itemsLength).fill(0);
7070
- return /* @__PURE__ */ React55.createElement("div", { className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1" }, arr.map((_, index) => {
7071
- const selected = index === selectedIndex;
7072
- return /* @__PURE__ */ React55.createElement(
7073
- "div",
7074
- {
7075
- key: index,
7076
- onClick: () => onDotClick(index),
7077
- className: cn(
7078
- "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
7079
- !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
7080
- )
7081
- }
7082
- );
7083
- }));
7092
+ return /* @__PURE__ */ React55.createElement(
7093
+ "div",
7094
+ {
7095
+ dir: direction,
7096
+ className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1"
7097
+ },
7098
+ arr.map((_, index) => {
7099
+ const selected = index === selectedIndex;
7100
+ return /* @__PURE__ */ React55.createElement(
7101
+ "div",
7102
+ {
7103
+ key: index,
7104
+ onClick: () => onDotClick(index),
7105
+ className: cn(
7106
+ "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
7107
+ !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
7108
+ )
7109
+ }
7110
+ );
7111
+ })
7112
+ );
7084
7113
  };
7085
7114
  var CarouselControls = (props) => {
7086
7115
  return /* @__PURE__ */ React55.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React55.createElement(
@@ -18,6 +18,7 @@ import {
18
18
  Tooltip,
19
19
  cn
20
20
  } from "../chunk-MQUAGP7K.mjs";
21
+ import "../chunk-ZFXKCRJC.mjs";
21
22
 
22
23
  // layout/stats/Stats.tsx
23
24
  import React from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.26.22",
3
+ "version": "0.26.23",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -66,17 +66,18 @@
66
66
  "class-variance-authority": "^0.7.0",
67
67
  "clsx": "^2.1.0",
68
68
  "cmdk": "^0.2.0",
69
- "embla-carousel-auto-height": "^8.0.0-rc18",
70
- "embla-carousel-react": "^8.0.0-rc18",
69
+ "embla-carousel-auto-height": "^8.0.0-rc19",
70
+ "embla-carousel-react": "^8.0.0-rc19",
71
71
  "eslint": "^8.56.0",
72
72
  "eslint-config-next": "^14.0.4",
73
73
  "libphonenumber-js": "^1.10.53",
74
74
  "prism-react-renderer": "^2.3.1",
75
+ "prismjs": "^1.29.0",
75
76
  "react": "18.2.0",
76
77
  "react-dom": "18.2.0",
77
78
  "react-dropzone": "^14.2.3",
78
79
  "react-headless-pagination": "^1.1.4",
79
- "react-hook-form": "^7.49.2",
80
+ "react-hook-form": "^7.49.3",
80
81
  "react-select": "^5.8.0",
81
82
  "signature_pad": "^4.1.7",
82
83
  "tailwind-merge": "^2.2.0",
@@ -89,17 +90,17 @@
89
90
  "@testing-library/jest-dom": "^6.2.0",
90
91
  "@testing-library/react": "^14.1.2",
91
92
  "@types/jest": "^29.5.11",
92
- "@types/react": "^18.2.46",
93
+ "@types/react": "^18.2.47",
93
94
  "@types/react-dom": "^18.2.18",
94
95
  "autoprefixer": "^10.4.16",
95
- "embla-carousel": "8.0.0-rc18",
96
+ "embla-carousel": "8.0.0-rc19",
96
97
  "jest": "^29.7.0",
97
98
  "jest-environment-jsdom": "^29.7.0",
98
- "lucide-react": "^0.306.0",
99
+ "lucide-react": "^0.307.0",
99
100
  "postcss": "^8.4.33",
100
101
  "postcss-cli": "^11.0.0",
101
102
  "postcss-import": "^16.0.0",
102
- "tailwindcss": "^3.4.0",
103
+ "tailwindcss": "^3.4.1",
103
104
  "tailwindcss-animate": "^1.0.7",
104
105
  "tsconfig-paths-webpack-plugin": "^4.1.0",
105
106
  "tsup": "^8.0.1"
@@ -108,10 +109,10 @@
108
109
  "check": "tsc --noEmit",
109
110
  "test": "jest",
110
111
  "prebuild": "node ./util/pre-build.js",
111
- "build-lib": "npm run prebuild && node ./util/build-library.js",
112
+ "build": "npm run prebuild && node ./util/build-library.js",
112
113
  "build-lib-old": "tsup --dts",
113
114
  "build-css": "postcss styles.css -o dist/index.css",
114
- "prepub": "npm run build-lib && npm run build-css",
115
+ "prepub": "npm run build && npm run build-css",
115
116
  "pub": "npm publish --tag next"
116
117
  }
117
118
  }