@vaneui/ui 0.3.1-alpha.20251223092345.7b8ce70 → 0.3.1-alpha.20251223141057.aeb1ff8

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.js CHANGED
@@ -75,7 +75,7 @@ const APPEARANCE_CATEGORY = ['text', 'border', 'ring', 'shadow', 'bg', 'accent',
75
75
  /** Component property keys mapping categories to their available values */
76
76
  const ComponentKeys = {
77
77
  /** Color appearance options */
78
- appearance: ['default', 'accent', 'primary', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info'],
78
+ appearance: ['primary', 'brand', 'accent', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info'],
79
79
  /** Border visibility: includes all border variations and noBorder (border, borderT, borderB, etc., noBorder) */
80
80
  border: ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'noBorder'],
81
81
  /** Column breakpoints for responsive grid layouts */
@@ -3758,7 +3758,7 @@ class AppearanceTheme extends BaseTheme {
3758
3758
  }
3759
3759
 
3760
3760
  const filledTextAppearanceClasses = {
3761
- default: "text-(--color-text-filled-default)",
3761
+ brand: "text-(--color-text-filled-brand)",
3762
3762
  primary: "text-(--color-text-filled-primary)",
3763
3763
  secondary: "text-(--color-text-filled-secondary)",
3764
3764
  tertiary: "text-(--color-text-filled-tertiary)",
@@ -3770,7 +3770,7 @@ const filledTextAppearanceClasses = {
3770
3770
  transparent: "text-transparent",
3771
3771
  };
3772
3772
  const textAppearanceClasses = {
3773
- default: "text-(--color-text-default)",
3773
+ brand: "text-(--color-text-brand)",
3774
3774
  primary: "text-(--color-text-primary)",
3775
3775
  secondary: "text-(--color-text-secondary)",
3776
3776
  tertiary: "text-(--color-text-tertiary)",
@@ -3783,7 +3783,7 @@ const textAppearanceClasses = {
3783
3783
  };
3784
3784
 
3785
3785
  const filledBackgroundAppearanceClasses = {
3786
- default: "bg-(--color-bg-filled-default)",
3786
+ brand: "bg-(--color-bg-filled-brand)",
3787
3787
  primary: "bg-(--color-bg-filled-primary)",
3788
3788
  secondary: "bg-(--color-bg-filled-secondary)",
3789
3789
  tertiary: "bg-(--color-bg-filled-tertiary)",
@@ -3795,7 +3795,7 @@ const filledBackgroundAppearanceClasses = {
3795
3795
  transparent: "bg-transparent",
3796
3796
  };
3797
3797
  const filledHoverBackgroundAppearanceClasses = {
3798
- default: "hover:bg-(--color-bg-filled-hover-default)",
3798
+ brand: "hover:bg-(--color-bg-filled-hover-brand)",
3799
3799
  primary: "hover:bg-(--color-bg-filled-hover-primary)",
3800
3800
  secondary: "hover:bg-(--color-bg-filled-hover-secondary)",
3801
3801
  tertiary: "hover:bg-(--color-bg-filled-hover-tertiary)",
@@ -3807,7 +3807,7 @@ const filledHoverBackgroundAppearanceClasses = {
3807
3807
  transparent: "hover:bg-transparent",
3808
3808
  };
3809
3809
  const filledActiveBackgroundAppearanceClasses = {
3810
- default: "active:bg-(--color-bg-filled-active-default)",
3810
+ brand: "active:bg-(--color-bg-filled-active-brand)",
3811
3811
  primary: "active:bg-(--color-bg-filled-active-primary)",
3812
3812
  secondary: "active:bg-(--color-bg-filled-active-secondary)",
3813
3813
  tertiary: "active:bg-(--color-bg-filled-active-tertiary)",
@@ -3819,7 +3819,7 @@ const filledActiveBackgroundAppearanceClasses = {
3819
3819
  transparent: "active:bg-transparent",
3820
3820
  };
3821
3821
  const backgroundAppearanceClasses = {
3822
- default: "bg-(--color-bg-default)",
3822
+ brand: "bg-(--color-bg-brand)",
3823
3823
  primary: "bg-(--color-bg-primary)",
3824
3824
  secondary: "bg-(--color-bg-secondary)",
3825
3825
  tertiary: "bg-(--color-bg-tertiary)",
@@ -3831,7 +3831,7 @@ const backgroundAppearanceClasses = {
3831
3831
  transparent: "bg-transparent",
3832
3832
  };
3833
3833
  const hoverBackgroundAppearanceClasses = {
3834
- default: "hover:bg-(--color-bg-hover-default)",
3834
+ brand: "hover:bg-(--color-bg-hover-brand)",
3835
3835
  primary: "hover:bg-(--color-bg-hover-primary)",
3836
3836
  secondary: "hover:bg-(--color-bg-hover-secondary)",
3837
3837
  tertiary: "hover:bg-(--color-bg-hover-tertiary)",
@@ -3843,7 +3843,7 @@ const hoverBackgroundAppearanceClasses = {
3843
3843
  transparent: "hover:bg-transparent",
3844
3844
  };
3845
3845
  const activeBackgroundAppearanceClasses = {
3846
- default: "active:bg-(--color-bg-active-default)",
3846
+ brand: "active:bg-(--color-bg-active-brand)",
3847
3847
  primary: "active:bg-(--color-bg-active-primary)",
3848
3848
  secondary: "active:bg-(--color-bg-active-secondary)",
3849
3849
  tertiary: "active:bg-(--color-bg-active-tertiary)",
@@ -3855,7 +3855,7 @@ const activeBackgroundAppearanceClasses = {
3855
3855
  transparent: "active:bg-transparent",
3856
3856
  };
3857
3857
  const layoutBackgroundAppearanceClasses = {
3858
- default: "bg-(--color-bg-layout-default)",
3858
+ brand: "bg-(--color-bg-layout-brand)",
3859
3859
  primary: "bg-(--color-bg-layout-primary)",
3860
3860
  secondary: "bg-(--color-bg-layout-secondary)",
3861
3861
  tertiary: "bg-(--color-bg-layout-tertiary)",
@@ -3867,7 +3867,7 @@ const layoutBackgroundAppearanceClasses = {
3867
3867
  transparent: "bg-transparent",
3868
3868
  };
3869
3869
  const layoutFilledBackgroundAppearanceClasses = {
3870
- default: "bg-(--color-bg-filled-layout-default)",
3870
+ brand: "bg-(--color-bg-filled-layout-brand)",
3871
3871
  primary: "bg-(--color-bg-filled-layout-primary)",
3872
3872
  secondary: "bg-(--color-bg-filled-layout-secondary)",
3873
3873
  tertiary: "bg-(--color-bg-filled-layout-tertiary)",
@@ -3879,7 +3879,7 @@ const layoutFilledBackgroundAppearanceClasses = {
3879
3879
  transparent: "bg-transparent",
3880
3880
  };
3881
3881
  const bgBorderAppearanceClasses = {
3882
- default: "bg-(--color-border-default)",
3882
+ brand: "bg-(--color-border-brand)",
3883
3883
  primary: "bg-(--color-border-primary)",
3884
3884
  secondary: "bg-(--color-border-secondary)",
3885
3885
  tertiary: "bg-(--color-border-tertiary)",
@@ -3891,7 +3891,7 @@ const bgBorderAppearanceClasses = {
3891
3891
  transparent: "bg-transparent",
3892
3892
  };
3893
3893
  const borderAppearanceClasses = {
3894
- default: "border-(--color-border-default)",
3894
+ brand: "border-(--color-border-brand)",
3895
3895
  primary: "border-(--color-border-primary)",
3896
3896
  secondary: "border-(--color-border-secondary)",
3897
3897
  tertiary: "border-(--color-border-tertiary)",
@@ -3903,7 +3903,7 @@ const borderAppearanceClasses = {
3903
3903
  transparent: "border-transparent",
3904
3904
  };
3905
3905
  const filledBorderAppearanceClasses = {
3906
- default: "border-(--color-border-filled-default)",
3906
+ brand: "border-(--color-border-filled-brand)",
3907
3907
  primary: "border-(--color-border-filled-primary)",
3908
3908
  secondary: "border-(--color-border-filled-secondary)",
3909
3909
  tertiary: "border-(--color-border-filled-tertiary)",
@@ -3915,7 +3915,7 @@ const filledBorderAppearanceClasses = {
3915
3915
  transparent: "border-transparent",
3916
3916
  };
3917
3917
  const ringAppearanceClasses = {
3918
- default: "ring-(--color-border-default)",
3918
+ brand: "ring-(--color-border-brand)",
3919
3919
  primary: "ring-(--color-border-primary)",
3920
3920
  secondary: "ring-(--color-border-secondary)",
3921
3921
  tertiary: "ring-(--color-border-tertiary)",
@@ -3927,7 +3927,7 @@ const ringAppearanceClasses = {
3927
3927
  transparent: "ring-transparent",
3928
3928
  };
3929
3929
  const filledRingAppearanceClasses = {
3930
- default: "ring-(--color-border-filled-default)",
3930
+ brand: "ring-(--color-border-filled-brand)",
3931
3931
  primary: "ring-(--color-border-filled-primary)",
3932
3932
  secondary: "ring-(--color-border-filled-secondary)",
3933
3933
  tertiary: "ring-(--color-border-filled-tertiary)",
@@ -3939,7 +3939,7 @@ const filledRingAppearanceClasses = {
3939
3939
  transparent: "ring-transparent",
3940
3940
  };
3941
3941
  const focusVisibleOutlineAppearanceClasses = {
3942
- default: "focus-visible:outline-(--color-border-default)",
3942
+ brand: "focus-visible:outline-(--color-border-brand)",
3943
3943
  primary: "focus-visible:outline-(--color-border-primary)",
3944
3944
  secondary: "focus-visible:outline-(--color-border-secondary)",
3945
3945
  tertiary: "focus-visible:outline-(--color-border-tertiary)",
@@ -3951,7 +3951,7 @@ const focusVisibleOutlineAppearanceClasses = {
3951
3951
  transparent: "focus-visible:outline-transparent",
3952
3952
  };
3953
3953
  const filledFocusVisibleOutlineAppearanceClasses = {
3954
- default: "focus-visible:outline-(--color-border-filled-default)",
3954
+ brand: "focus-visible:outline-(--color-border-filled-brand)",
3955
3955
  primary: "focus-visible:outline-(--color-border-filled-primary)",
3956
3956
  secondary: "focus-visible:outline-(--color-border-filled-secondary)",
3957
3957
  tertiary: "focus-visible:outline-(--color-border-filled-tertiary)",
@@ -3963,7 +3963,7 @@ const filledFocusVisibleOutlineAppearanceClasses = {
3963
3963
  transparent: "focus-visible:outline-transparent",
3964
3964
  };
3965
3965
  const accentColorAppearanceClasses = {
3966
- default: "accent-(--color-bg-default)",
3966
+ brand: "accent-(--color-bg-brand)",
3967
3967
  primary: "accent-(--color-bg-primary)",
3968
3968
  secondary: "accent-(--color-bg-secondary)",
3969
3969
  tertiary: "accent-(--color-bg-tertiary)",
@@ -3975,7 +3975,7 @@ const accentColorAppearanceClasses = {
3975
3975
  transparent: "accent-transparent",
3976
3976
  };
3977
3977
  const filledAccentColorAppearanceClasses = {
3978
- default: "accent-(--color-bg-filled-default)",
3978
+ brand: "accent-(--color-bg-filled-brand)",
3979
3979
  primary: "accent-(--color-bg-filled-primary)",
3980
3980
  secondary: "accent-(--color-bg-filled-secondary)",
3981
3981
  tertiary: "accent-(--color-bg-filled-tertiary)",
@@ -3987,7 +3987,7 @@ const filledAccentColorAppearanceClasses = {
3987
3987
  transparent: "accent-transparent",
3988
3988
  };
3989
3989
  const checkedBackgroundAppearanceClasses = {
3990
- default: "checked:bg-(--color-bg-default)",
3990
+ brand: "checked:bg-(--color-bg-brand)",
3991
3991
  primary: "checked:bg-(--color-bg-primary)",
3992
3992
  secondary: "checked:bg-(--color-bg-secondary)",
3993
3993
  tertiary: "checked:bg-(--color-bg-tertiary)",
@@ -3999,7 +3999,7 @@ const checkedBackgroundAppearanceClasses = {
3999
3999
  transparent: "checked:bg-transparent",
4000
4000
  };
4001
4001
  const filledCheckedBackgroundAppearanceClasses = {
4002
- default: "checked:bg-(--color-bg-filled-default)",
4002
+ brand: "checked:bg-(--color-bg-filled-brand)",
4003
4003
  primary: "checked:bg-(--color-bg-filled-primary)",
4004
4004
  secondary: "checked:bg-(--color-bg-filled-secondary)",
4005
4005
  tertiary: "checked:bg-(--color-bg-filled-tertiary)",
@@ -4020,7 +4020,7 @@ class ShadowAppearanceTheme extends BaseTheme {
4020
4020
  }
4021
4021
  getClasses(extractedKeys) {
4022
4022
  var _a, _b;
4023
- const appearance = (_a = extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.appearance) !== null && _a !== void 0 ? _a : 'default';
4023
+ const appearance = (_a = extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.appearance) !== null && _a !== void 0 ? _a : 'primary';
4024
4024
  const size = (_b = extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.size) !== null && _b !== void 0 ? _b : 'md';
4025
4025
  const shadow = extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.shadow;
4026
4026
  return shadow === undefined || shadow === 'noShadow'
@@ -4275,7 +4275,7 @@ const themeDefaults = {
4275
4275
  itemsCenter: true,
4276
4276
  justifyCenter: true,
4277
4277
  outline: true,
4278
- default: true,
4278
+ primary: true,
4279
4279
  rounded: true,
4280
4280
  sans: true,
4281
4281
  semibold: true,
@@ -4290,7 +4290,7 @@ const themeDefaults = {
4290
4290
  card: {
4291
4291
  md: true,
4292
4292
  flex: true,
4293
- default: true,
4293
+ primary: true,
4294
4294
  rounded: true,
4295
4295
  normal: true,
4296
4296
  column: true,
@@ -4314,7 +4314,7 @@ const themeDefaults = {
4314
4314
  },
4315
4315
  badge: {
4316
4316
  md: true,
4317
- default: true,
4317
+ primary: true,
4318
4318
  inlineFlex: true,
4319
4319
  outline: true,
4320
4320
  pill: true,
@@ -4339,7 +4339,7 @@ const themeDefaults = {
4339
4339
  md: true,
4340
4340
  flex: true,
4341
4341
  column: true,
4342
- default: true,
4342
+ primary: true,
4343
4343
  itemsStart: true,
4344
4344
  gap: true,
4345
4345
  padding: true,
@@ -4401,7 +4401,7 @@ const themeDefaults = {
4401
4401
  },
4402
4402
  divider: {
4403
4403
  md: true,
4404
- default: true,
4404
+ primary: true,
4405
4405
  noPadding: true,
4406
4406
  },
4407
4407
  label: {
@@ -4421,7 +4421,7 @@ const themeDefaults = {
4421
4421
  rounded: true,
4422
4422
  inline: true,
4423
4423
  padding: true,
4424
- default: true,
4424
+ primary: true,
4425
4425
  ring: true,
4426
4426
  },
4427
4427
  text: {
@@ -4464,7 +4464,7 @@ const themeDefaults = {
4464
4464
  checkbox: {
4465
4465
  input: {
4466
4466
  md: true,
4467
- default: true,
4467
+ primary: true,
4468
4468
  border: true,
4469
4469
  rounded: true,
4470
4470
  noRing: true,
@@ -4473,7 +4473,7 @@ const themeDefaults = {
4473
4473
  focusVisible: true,
4474
4474
  },
4475
4475
  check: {
4476
- default: true,
4476
+ primary: true,
4477
4477
  filled: true,
4478
4478
  },
4479
4479
  wrapper: {
@@ -4487,7 +4487,7 @@ const themeDefaults = {
4487
4487
  },
4488
4488
  input: {
4489
4489
  md: true,
4490
- default: true,
4490
+ primary: true,
4491
4491
  rounded: true,
4492
4492
  outline: true,
4493
4493
  sans: true,
@@ -5649,7 +5649,7 @@ const Checkbox = react.forwardRef(function Checkbox(props, ref) {
5649
5649
  // Size props
5650
5650
  xs, sm, md, lg, xl,
5651
5651
  // Appearance props
5652
- default: defaultProp, accent, primary, secondary, tertiary, success, danger, warning, info, transparent,
5652
+ primary, brand, accent, secondary, tertiary, success, danger, warning, info, transparent,
5653
5653
  // Variant props
5654
5654
  filled, outline,
5655
5655
  // Shape props
@@ -5660,7 +5660,7 @@ const Checkbox = react.forwardRef(function Checkbox(props, ref) {
5660
5660
  id, className, tabIndex, 'aria-label': ariaLabel, ...remainingProps } = props;
5661
5661
  const themeProps = {
5662
5662
  xs, sm, md, lg, xl,
5663
- default: defaultProp, accent, primary, secondary, tertiary, success, danger, warning, info, transparent,
5663
+ primary, brand, accent, secondary, tertiary, success, danger, warning, info, transparent,
5664
5664
  filled, outline,
5665
5665
  pill, sharp, rounded
5666
5666
  };