@fileverse/ui 4.1.1-patch-3 → 4.1.1-patch-5

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.css CHANGED
@@ -621,6 +621,10 @@ video {
621
621
  color: hsl(var(--color-text-link));
622
622
  }
623
623
 
624
+ .\!color-text-inverse {
625
+ color: hsl(var(--color-text-inverse)) !important;
626
+ }
627
+
624
628
  .color-text-inverse {
625
629
  color: hsl(var(--color-text-inverse));
626
630
  }
@@ -685,6 +689,10 @@ video {
685
689
  background-color: hsl(var(--color-bg-success-light));
686
690
  }
687
691
 
692
+ .\!color-bg-default-inverse {
693
+ background-color: hsl(var(--color-bg-default-inverse)) !important;
694
+ }
695
+
688
696
  .color-bg-default-inverse {
689
697
  background-color: hsl(var(--color-bg-default-inverse));
690
698
  }
@@ -1591,6 +1599,15 @@ video {
1591
1599
  .transform {
1592
1600
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1593
1601
  }
1602
+ @keyframes pulse {
1603
+
1604
+ 50% {
1605
+ opacity: .5;
1606
+ }
1607
+ }
1608
+ .animate-pulse {
1609
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1610
+ }
1594
1611
  @keyframes spin {
1595
1612
 
1596
1613
  to {
@@ -324,7 +324,7 @@ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
324
324
 
325
325
  export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
326
326
 
327
- export declare const DynamicAlert: ({ title, description, variant, icon, className, ...props }: DynamicAlertProps) => JSX_2.Element;
327
+ export declare const DynamicAlert: ({ title, description, variant, icon, className, iconClassName, ...props }: DynamicAlertProps) => JSX_2.Element;
328
328
 
329
329
  export declare interface DynamicAlertProps {
330
330
  title?: string;
@@ -332,6 +332,7 @@ export declare interface DynamicAlertProps {
332
332
  variant: "default" | "danger";
333
333
  icon?: LucideIconProps["name"];
334
334
  className?: string;
335
+ iconClassName?: string;
335
336
  }
336
337
 
337
338
  export declare const DynamicContentController: ForwardRefExoticComponent<DynamicContentControllerProps & RefAttributes<HTMLDivElement>>;
@@ -634,6 +635,8 @@ declare const sheetVariants: (props?: ({
634
635
  side?: "left" | "right" | "bottom" | "top" | null | undefined;
635
636
  } & ClassProp) | undefined) => string;
636
637
 
638
+ export declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => JSX_2.Element;
639
+
637
640
  export declare type SortState = {
638
641
  keyName: string | null;
639
642
  order: "default" | "asc" | "desc";
package/dist/index.es.js CHANGED
@@ -34056,7 +34056,8 @@ const bte = ({
34056
34056
  ),
34057
34057
  type: "checkbox",
34058
34058
  onChange: t,
34059
- checked: e
34059
+ checked: e,
34060
+ disabled: n
34060
34061
  }
34061
34062
  ),
34062
34063
  /* @__PURE__ */ u.jsx(
@@ -39804,14 +39805,15 @@ const Jte = ({
39804
39805
  variant: a,
39805
39806
  icon: n,
39806
39807
  className: r,
39807
- ...o
39808
- }) => /* @__PURE__ */ u.jsxs(gp, { variant: a, className: r, ...o, children: [
39808
+ iconClassName: o,
39809
+ ...s
39810
+ }) => /* @__PURE__ */ u.jsxs(gp, { variant: a, className: r, ...s, children: [
39809
39811
  /* @__PURE__ */ u.jsx(
39810
39812
  Ge,
39811
39813
  {
39812
39814
  size: "md",
39813
39815
  name: n,
39814
- className: "min-w-fit"
39816
+ className: z("min-w-fit", o)
39815
39817
  }
39816
39818
  ),
39817
39819
  /* @__PURE__ */ u.jsxs("div", { children: [
@@ -61040,7 +61042,13 @@ const e1e = Re(({ count: e = 0 }, t) => {
61040
61042
  children: e
61041
61043
  }
61042
61044
  );
61043
- }), r6 = ({
61045
+ }), t1e = ({ className: e, ...t }) => /* @__PURE__ */ u.jsx(
61046
+ "div",
61047
+ {
61048
+ className: z("animate-pulse rounded-md color-bg-disabled", e),
61049
+ ...t
61050
+ }
61051
+ ), r6 = ({
61044
61052
  direction: e = "horizontal",
61045
61053
  size: t = "lg",
61046
61054
  className: a,
@@ -61091,7 +61099,7 @@ const ute = ({
61091
61099
  isActive: t
61092
61100
  };
61093
61101
  };
61094
- function t1e(e, t) {
61102
+ function a1e(e, t) {
61095
61103
  const [a, n] = ke(e), [r, o] = ke({
61096
61104
  keyName: (t == null ? void 0 : t.keyName) || null,
61097
61105
  order: (t == null ? void 0 : t.order) || "default"
@@ -61201,6 +61209,7 @@ export {
61201
61209
  $J as SheetPortal,
61202
61210
  cp as SheetTitle,
61203
61211
  Gte as SheetTrigger,
61212
+ t1e as Skeleton,
61204
61213
  Ete as StaticLoader,
61205
61214
  Zte as Step,
61206
61215
  Fte as Stepper,
@@ -61225,5 +61234,5 @@ export {
61225
61234
  yte as formatCounter,
61226
61235
  mte as getTrimmedName,
61227
61236
  ute as useHoverAndLongPress,
61228
- t1e as useSortableData
61237
+ a1e as useSortableData
61229
61238
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse/ui",
3
- "version": "4.1.1-patch-3",
3
+ "version": "4.1.1-patch-5",
4
4
  "files": [
5
5
  "/dist"
6
6
  ],