@refineui/react 0.0.1 → 0.0.3

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.cts CHANGED
@@ -788,24 +788,24 @@ declare const componentColorTokens: {
788
788
  name: SemanticColorName;
789
789
  }>;
790
790
  readonly info: Readonly<{
791
- type: "palette";
792
- name: string;
791
+ type: "semantic";
792
+ name: SemanticColorName;
793
793
  }>;
794
794
  readonly success: Readonly<{
795
- type: "palette";
796
- name: string;
795
+ type: "semantic";
796
+ name: SemanticColorName;
797
797
  }>;
798
798
  readonly warning: Readonly<{
799
- type: "palette";
800
- name: string;
799
+ type: "semantic";
800
+ name: SemanticColorName;
801
801
  }>;
802
802
  readonly danger: Readonly<{
803
- type: "palette";
804
- name: string;
803
+ type: "semantic";
804
+ name: SemanticColorName;
805
805
  }>;
806
806
  readonly custom: Readonly<{
807
- type: "palette";
808
- name: string;
807
+ type: "semantic";
808
+ name: SemanticColorName;
809
809
  }>;
810
810
  };
811
811
  readonly accent: {
@@ -814,24 +814,24 @@ declare const componentColorTokens: {
814
814
  name: SemanticColorName;
815
815
  }>;
816
816
  readonly info: Readonly<{
817
- type: "palette";
818
- name: string;
817
+ type: "semantic";
818
+ name: SemanticColorName;
819
819
  }>;
820
820
  readonly success: Readonly<{
821
- type: "palette";
822
- name: string;
821
+ type: "semantic";
822
+ name: SemanticColorName;
823
823
  }>;
824
824
  readonly warning: Readonly<{
825
- type: "palette";
826
- name: string;
825
+ type: "semantic";
826
+ name: SemanticColorName;
827
827
  }>;
828
828
  readonly danger: Readonly<{
829
- type: "palette";
830
- name: string;
829
+ type: "semantic";
830
+ name: SemanticColorName;
831
831
  }>;
832
832
  readonly custom: Readonly<{
833
- type: "palette";
834
- name: string;
833
+ type: "semantic";
834
+ name: SemanticColorName;
835
835
  }>;
836
836
  };
837
837
  };
package/dist/index.d.ts CHANGED
@@ -788,24 +788,24 @@ declare const componentColorTokens: {
788
788
  name: SemanticColorName;
789
789
  }>;
790
790
  readonly info: Readonly<{
791
- type: "palette";
792
- name: string;
791
+ type: "semantic";
792
+ name: SemanticColorName;
793
793
  }>;
794
794
  readonly success: Readonly<{
795
- type: "palette";
796
- name: string;
795
+ type: "semantic";
796
+ name: SemanticColorName;
797
797
  }>;
798
798
  readonly warning: Readonly<{
799
- type: "palette";
800
- name: string;
799
+ type: "semantic";
800
+ name: SemanticColorName;
801
801
  }>;
802
802
  readonly danger: Readonly<{
803
- type: "palette";
804
- name: string;
803
+ type: "semantic";
804
+ name: SemanticColorName;
805
805
  }>;
806
806
  readonly custom: Readonly<{
807
- type: "palette";
808
- name: string;
807
+ type: "semantic";
808
+ name: SemanticColorName;
809
809
  }>;
810
810
  };
811
811
  readonly accent: {
@@ -814,24 +814,24 @@ declare const componentColorTokens: {
814
814
  name: SemanticColorName;
815
815
  }>;
816
816
  readonly info: Readonly<{
817
- type: "palette";
818
- name: string;
817
+ type: "semantic";
818
+ name: SemanticColorName;
819
819
  }>;
820
820
  readonly success: Readonly<{
821
- type: "palette";
822
- name: string;
821
+ type: "semantic";
822
+ name: SemanticColorName;
823
823
  }>;
824
824
  readonly warning: Readonly<{
825
- type: "palette";
826
- name: string;
825
+ type: "semantic";
826
+ name: SemanticColorName;
827
827
  }>;
828
828
  readonly danger: Readonly<{
829
- type: "palette";
830
- name: string;
829
+ type: "semantic";
830
+ name: SemanticColorName;
831
831
  }>;
832
832
  readonly custom: Readonly<{
833
- type: "palette";
834
- name: string;
833
+ type: "semantic";
834
+ name: SemanticColorName;
835
835
  }>;
836
836
  };
837
837
  };
package/dist/index.js CHANGED
@@ -287,20 +287,20 @@ var componentColorTokens = {
287
287
  border: semanticToken("borderDefault"),
288
288
  title: semanticToken("foregroundPrimary"),
289
289
  description: {
290
- default: semanticToken("foregroundBrand"),
291
- info: paletteToken("blue600"),
292
- success: paletteToken("green600"),
293
- warning: paletteToken("yellow600"),
294
- danger: paletteToken("red600"),
295
- custom: paletteToken("purple600")
290
+ default: semanticToken("foregroundSecondary"),
291
+ info: semanticToken("foregroundInfo"),
292
+ success: semanticToken("foregroundSuccess"),
293
+ warning: semanticToken("foregroundWarning"),
294
+ danger: semanticToken("foregroundError"),
295
+ custom: semanticToken("foregroundDiscovery")
296
296
  },
297
297
  accent: {
298
298
  default: semanticToken("foregroundPrimary"),
299
- info: paletteToken("blue600"),
300
- success: paletteToken("green600"),
301
- warning: paletteToken("yellow600"),
302
- danger: paletteToken("red600"),
303
- custom: paletteToken("purple600")
299
+ info: semanticToken("foregroundInfo"),
300
+ success: semanticToken("foregroundSuccess"),
301
+ warning: semanticToken("foregroundWarning"),
302
+ danger: semanticToken("foregroundError"),
303
+ custom: semanticToken("foregroundDiscovery")
304
304
  }
305
305
  },
306
306
  badge: {
@@ -5281,31 +5281,31 @@ var variantSlotClasses = {
5281
5281
  root: "bg-refineui-alias-background-primary",
5282
5282
  icon: "text-refineui-alias-foreground-info",
5283
5283
  title: "text-refineui-alias-foreground-info",
5284
- description: "text-refineui-alias-background-info"
5284
+ description: "text-refineui-alias-foreground-info"
5285
5285
  },
5286
5286
  success: {
5287
5287
  root: "bg-refineui-alias-background-primary",
5288
5288
  icon: "text-refineui-alias-foreground-success",
5289
5289
  title: "text-refineui-alias-foreground-success",
5290
- description: "text-refineui-alias-background-success"
5290
+ description: "text-refineui-alias-foreground-success"
5291
5291
  },
5292
5292
  warning: {
5293
5293
  root: "bg-refineui-alias-background-primary",
5294
5294
  icon: "text-refineui-alias-foreground-warning",
5295
5295
  title: "text-refineui-alias-foreground-warning",
5296
- description: "text-refineui-alias-background-warning"
5296
+ description: "text-refineui-alias-foreground-warning"
5297
5297
  },
5298
5298
  danger: {
5299
- root: "bg-refineui-alias-background-error-subtle",
5299
+ root: "bg-refineui-alias-background-primary",
5300
5300
  icon: "text-refineui-alias-foreground-error",
5301
5301
  title: "text-refineui-alias-foreground-error",
5302
- description: "text-refineui-alias-background-error"
5302
+ description: "text-refineui-alias-foreground-error"
5303
5303
  },
5304
5304
  custom: {
5305
5305
  root: "bg-refineui-alias-background-primary",
5306
5306
  icon: "text-refineui-alias-foreground-discovery",
5307
5307
  title: "text-refineui-alias-foreground-discovery",
5308
- description: "text-refineui-alias-background-discovery"
5308
+ description: "text-refineui-alias-foreground-discovery"
5309
5309
  }
5310
5310
  };
5311
5311
  var alertRecipe = defineSlotRecipe({