@jinaan/uikit 0.1.15 → 0.1.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jinaan/uikit",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Reusable React and Tailwind UI components for Jinaan projects.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -143,7 +143,7 @@ interface DataTableProps<T> {
143
143
  }
144
144
 
145
145
  const HEADER_CELL =
146
- "h-[var(--table-header-h)] whitespace-nowrap px-[var(--table-pad-x)] text-left align-middle text-[0.8125rem] font-medium";
146
+ "h-[var(--table-header-h)] whitespace-nowrap px-[var(--table-pad-x)] text-left align-middle text-[0.8125rem] font-medium text-table-header";
147
147
 
148
148
  function initials(name: string): string {
149
149
  return name
package/src/dialog.tsx CHANGED
@@ -385,7 +385,7 @@ export function DialogFooter({
385
385
  <div
386
386
  data-slot="footer"
387
387
  className={cn(
388
- "flex shrink-0 flex-col-reverse gap-2 px-3 pt-3 sm:flex-row sm:justify-end sm:px-4 sm:pt-3.5",
388
+ "flex shrink-0 flex-col-reverse gap-2 px-3 pt-3 sm:flex-row sm:px-4 sm:pt-3.5 sm:[&>*]:flex-1",
389
389
  className,
390
390
  )}
391
391
  {...props}
@@ -108,7 +108,7 @@ export function TableSurface({
108
108
  <div className="overflow-x-auto">
109
109
  {header || hasTitle ? (
110
110
  // Header rows must not inherit the body row hover surface.
111
- <div className={cn("[--table-row-hover:transparent]", headerClassName)}>
111
+ <div className={cn("[--table-row-hover:transparent] text-table-header", headerClassName)}>
112
112
  {hasTitle ? (
113
113
  <div
114
114
  className={cn(
package/styles.css CHANGED
@@ -52,7 +52,7 @@
52
52
  --table-container-bg: #e9e9ec;
53
53
  --table-panel-bg: #ffffff;
54
54
  --table-panel-border: #e3e3e7;
55
- --table-header-text: #5f5f6f;
55
+ --table-header-text: #3f3f4a;
56
56
  --table-header-active-text: #131316;
57
57
  --table-row-text: #131316;
58
58
  --table-muted-text: #5f5f6f;