@bigtablet/design-system 1.7.0 → 1.7.2

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/next.css CHANGED
@@ -40,7 +40,7 @@
40
40
  gap: 0.5rem;
41
41
  padding: 0.5rem 0.75rem;
42
42
  border-radius: 8px;
43
- color: #3b3b3b;
43
+ color: #6b7280;
44
44
  background: transparent;
45
45
  border: 1px solid transparent;
46
46
  cursor: pointer;
@@ -84,6 +84,11 @@
84
84
  .sidebar_label {
85
85
  white-space: nowrap;
86
86
  text-overflow: ellipsis;
87
+ text-align: left;
88
+ }
89
+ .sidebar_label.is_active {
90
+ color: #000000;
91
+ font-weight: 500;
87
92
  }
88
93
  .sidebar_chevron {
89
94
  display: inline-grid;
package/dist/next.js CHANGED
@@ -122,7 +122,16 @@ var Sidebar = ({
122
122
  onClick: () => onItemSelect?.(item.href),
123
123
  children: [
124
124
  item.icon && /* @__PURE__ */ jsx("span", { className: "sidebar_icon", children: /* @__PURE__ */ jsx(item.icon, { size: 16 }) }),
125
- /* @__PURE__ */ jsx("span", { className: "sidebar_label", children: item.label })
125
+ /* @__PURE__ */ jsx(
126
+ "span",
127
+ {
128
+ className: [
129
+ "sidebar_label",
130
+ active && "is_active"
131
+ ].filter(Boolean).join(" "),
132
+ children: item.label
133
+ }
134
+ )
126
135
  ]
127
136
  },
128
137
  item.href
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigtablet/design-system",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Bigtablet Design System UI Components",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",