@eqtylab/equality 2.3.0 → 2.3.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.
@@ -6,10 +6,13 @@
6
6
  border-width: 1px;
7
7
  border-color: var(--color-text-primary);
8
8
  &[data-state="checked"] {
9
- background-color: var(--color-text-primary);
9
+ border-color: var(--color-button-primary-border);
10
10
  }
11
11
  &[data-state="checked"] {
12
- color: var(--color-background);
12
+ background-color: var(--color-button-primary-fill);
13
+ }
14
+ &[data-state="checked"] {
15
+ color: var(--color-button-primary-text);
13
16
  }
14
17
  &:disabled {
15
18
  cursor: not-allowed;
package/dist/index.cjs CHANGED
@@ -1091,10 +1091,7 @@ var Checkbox = React16__namespace.forwardRef(
1091
1091
  ref,
1092
1092
  className: cn(styles13__default.default.checkbox, styles13__default.default[size], className),
1093
1093
  ...props,
1094
- children: /* @__PURE__ */ jsxRuntime.jsxs(CheckboxPrimitive__namespace.Indicator, { className: styles13__default.default.indicator, children: [
1095
- Icon3 ? /* @__PURE__ */ jsxRuntime.jsx(Icon3, { className: styles13__default.default.check }) : /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: styles13__default.default.check }),
1096
- " "
1097
- ] })
1094
+ children: /* @__PURE__ */ jsxRuntime.jsx(CheckboxPrimitive__namespace.Indicator, { className: styles13__default.default.indicator, children: Icon3 ? /* @__PURE__ */ jsxRuntime.jsx(Icon3, { className: styles13__default.default.check }) : /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: styles13__default.default.check }) })
1098
1095
  }
1099
1096
  )
1100
1097
  );
@@ -1137,8 +1134,7 @@ function IconButton({
1137
1134
  const iconSize = iconSizeMap[size || "sm"];
1138
1135
  const IconComponent = Icon3;
1139
1136
  if (!Icon3) {
1140
- console.warn(`Icon "${name}" not found in lucide-react`);
1141
- return null;
1137
+ throw new Error(`Icon "${name}" not found in lucide-react`);
1142
1138
  }
1143
1139
  const content = /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { size: iconSize });
1144
1140
  if (href && !disabled) {
@@ -2928,7 +2924,7 @@ var SearchBar = ({
2928
2924
  suffix: searchQuery && /* @__PURE__ */ jsxRuntime.jsx(
2929
2925
  IconButton,
2930
2926
  {
2931
- name: "XIcon",
2927
+ name: "X",
2932
2928
  onClick: handleClear,
2933
2929
  className: styles44__default.default["clear-button"],
2934
2930
  label: "Clear search"