@eqtylab/equality 4.10.0 → 4.10.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  Notable changes to Equality are recorded here, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
+ ## 4.10.1 - 2026-10-02
6
+
7
+ ### Fixed
8
+
9
+ - `DateRangePicker` days in a selected range use a lilac tint, the one `IconButton` and the
10
+ `navigation` button use on hover, instead of the primary badge colours. The badge purple is
11
+ a different hue from the lilac of the selected days beside them.
12
+ - The active step's marker in a `ProgressIndicator` uses a lilac tint instead of the primary
13
+ badge colours, so it matches the lilac track it sits on and stays as soft as the other markers.
14
+
5
15
  ## 4.10.0 - 2026-10-02
6
16
 
7
17
  ### Changed
@@ -125,16 +125,28 @@
125
125
  background-color: var(--calendar-day-hover-fill);
126
126
  }
127
127
  .calendar-grid .calendar-day-btn--in-range {
128
- --mix-color: var(--color-badge-background-primary);
129
- --calendar-day-hover-fill: var(--mix-color);
128
+ --mix-color: color-mix(in srgb, color(display-p3 0.6266 0.4562 0.8302) 25%, transparent);
129
+ @supports (color: color-mix(in lab, red, red)) {
130
+ --mix-color: color-mix(in oklch, var(--color-lilac-400) 25%, transparent);
131
+ }
132
+ --calendar-day-hover-fill: color-mix(in srgb, color(display-p3 0.6266 0.4562 0.8302) 40%, transparent);
130
133
  @supports (color: color-mix(in lab, red, red)) {
131
- --calendar-day-hover-fill: color-mix(
132
- in oklch,
133
- var(--mix-color),
134
- var(--color-badge-text-primary) 12%
135
- );
134
+ --calendar-day-hover-fill: color-mix(in oklch, var(--color-lilac-400) 40%, transparent);
135
+ }
136
+ color: var(--color-lilac-800, color(display-p3 0.1898 0.115 0.3008));
137
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
138
+ color: var(--color-lilac-200, color(display-p3 0.8396 0.7634 0.9416));
139
+ }
140
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
141
+ --mix-color: color-mix(in srgb, color(display-p3 0.5242 0.2903 0.7705) 25%, transparent);
142
+ @supports (color: color-mix(in lab, red, red)) {
143
+ --mix-color: color-mix(in oklch, var(--color-lilac-500) 25%, transparent);
144
+ }
145
+ --calendar-day-hover-fill: color-mix(in srgb, color(display-p3 0.5242 0.2903 0.7705) 40%, transparent);
146
+ @supports (color: color-mix(in lab, red, red)) {
147
+ --calendar-day-hover-fill: color-mix(in oklch, var(--color-lilac-500) 40%, transparent);
148
+ }
136
149
  }
137
- color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417));
138
150
  }
139
151
  .calendar-grid .calendar-day-btn--selected {
140
152
  --mix-color: var(--color-button-primary-fill);
package/dist/index.d.cts CHANGED
@@ -45,14 +45,14 @@ declare const AlertDialogFooter: {
45
45
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
46
46
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
47
47
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
48
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
48
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
49
49
  size?: "sm" | "md" | "lg" | null | undefined;
50
50
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
51
51
  prefix?: React$1.ReactNode;
52
52
  suffix?: React$1.ReactNode;
53
53
  } & React$1.RefAttributes<HTMLButtonElement>>;
54
54
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
55
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
55
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
56
56
  size?: "sm" | "md" | "lg" | null | undefined;
57
57
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
58
58
  prefix?: React$1.ReactNode;
@@ -225,7 +225,7 @@ declare const BgGradient: ({ theme, placement, }: {
225
225
  }) => react_jsx_runtime.JSX.Element;
226
226
 
227
227
  declare const buttonVariants: (props?: ({
228
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
228
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
229
229
  size?: "sm" | "md" | "lg" | null | undefined;
230
230
  } & class_variance_authority_types.ClassProp) | undefined) => string;
231
231
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
package/dist/index.d.ts CHANGED
@@ -45,14 +45,14 @@ declare const AlertDialogFooter: {
45
45
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
46
46
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
47
47
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
48
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
48
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
49
49
  size?: "sm" | "md" | "lg" | null | undefined;
50
50
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
51
51
  prefix?: React$1.ReactNode;
52
52
  suffix?: React$1.ReactNode;
53
53
  } & React$1.RefAttributes<HTMLButtonElement>>;
54
54
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
55
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
55
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
56
56
  size?: "sm" | "md" | "lg" | null | undefined;
57
57
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
58
58
  prefix?: React$1.ReactNode;
@@ -225,7 +225,7 @@ declare const BgGradient: ({ theme, placement, }: {
225
225
  }) => react_jsx_runtime.JSX.Element;
226
226
 
227
227
  declare const buttonVariants: (props?: ({
228
- variant?: "link" | "primary" | "danger" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
228
+ variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
229
229
  size?: "sm" | "md" | "lg" | null | undefined;
230
230
  } & class_variance_authority_types.ClassProp) | undefined) => string;
231
231
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
@@ -115,8 +115,14 @@
115
115
  color: var(--color-badge-text-danger, color(display-p3 0.2625 0.1106 0.09605)) !important;
116
116
  }
117
117
  .progress-indicator-step-marker--active {
118
- background-color: var(--color-badge-background-primary, color(display-p3 0.795 0.7755 0.9866)) !important;
119
- color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417)) !important;
118
+ background-color: var(--color-lilac-200, color(display-p3 0.8396 0.7634 0.9416)) !important;
119
+ color: var(--color-lilac-800, color(display-p3 0.1898 0.115 0.3008)) !important;
120
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
121
+ background-color: var(--color-lilac-700, color(display-p3 0.2927 0.172 0.4505)) !important;
122
+ }
123
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
124
+ color: var(--color-lilac-200, color(display-p3 0.8396 0.7634 0.9416)) !important;
125
+ }
120
126
  }
121
127
  .progress-indicator-step-text {
122
128
  display: flex;
@@ -91,8 +91,6 @@
91
91
  }
92
92
  }
93
93
  .toast--default {
94
- --mix-color: var(--color-brand-primary);
95
- --hover-darken: 50%;
96
94
  border-color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417));
97
95
  background-color: var(--color-badge-background-primary, color(display-p3 0.795 0.7755 0.9866));
98
96
  color: var(--color-badge-text-primary, color(display-p3 0.1608 0.1145 0.3417));
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/eqtylab/equality.git",
8
8
  "directory": "packages/ui"
9
9
  },
10
- "version": "4.10.0",
10
+ "version": "4.10.1",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",