@olundot/ui 0.6.0 → 0.7.0
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 +11 -0
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @olundot/ui
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d5616e4: Add DataTable sortable-header pointer affordance and document the Button/SearchField cross-control height map.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [d5616e4]
|
|
12
|
+
- @olundot/tokens@0.11.0
|
|
13
|
+
|
|
3
14
|
## 0.6.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -203,6 +203,7 @@ var buttonVariants = cva(
|
|
|
203
203
|
link: "border-transparent bg-transparent px-0 text-[var(--accent-fg)] underline-offset-4 hover:underline"
|
|
204
204
|
},
|
|
205
205
|
size: {
|
|
206
|
+
// Cross-control height map: pair Button xs/sm/md with field controls sm/md/lg (32/34/38px).
|
|
206
207
|
xs: "h-[32px] gap-[6px] px-pad-compact-x py-pad-compact-y text-[12px] [&_svg]:size-[14px] [&_svg]:stroke-[1.75]",
|
|
207
208
|
sm: "h-[34px] gap-[6px] px-pad-compact-x py-pad-compact-y text-body-sm [&_svg]:size-[16px]",
|
|
208
209
|
md: "h-[38px] gap-[6px] px-pad-default-x py-pad-default-y text-body-sm [&_svg]:size-[16px]",
|
|
@@ -4269,7 +4270,7 @@ function DataTableInner({
|
|
|
4269
4270
|
{
|
|
4270
4271
|
type: "button",
|
|
4271
4272
|
className: cn(
|
|
4272
|
-
"inline-flex min-w-0 items-center gap-[var(--space-0-5)] rounded-[var(--radius-xs)]",
|
|
4273
|
+
"inline-flex min-w-0 cursor-pointer items-center gap-[var(--space-0-5)] rounded-[var(--radius-xs)]",
|
|
4273
4274
|
"text-inherit transition-colors motion-reduce:transition-none",
|
|
4274
4275
|
"hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--focus-ring)]"
|
|
4275
4276
|
),
|
|
@@ -7330,6 +7331,7 @@ import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
|
7330
7331
|
var searchFieldVariants = cva26("relative flex w-full items-center", {
|
|
7331
7332
|
variants: {
|
|
7332
7333
|
size: {
|
|
7334
|
+
// Field-control scale follows Select: sm/md/lg = 32/34/38px. Pair with Button xs/sm/md.
|
|
7333
7335
|
sm: "h-[var(--space-4)]",
|
|
7334
7336
|
md: "h-[34px]",
|
|
7335
7337
|
lg: "h-[38px]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olundot/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "OLUN. shared React UI components built on OLUN design tokens",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lucide-react": "^1.8.0",
|
|
45
45
|
"radix-ui": "^1.4.3",
|
|
46
46
|
"tailwind-merge": "^3.5.0",
|
|
47
|
-
"@olundot/tokens": "^0.
|
|
47
|
+
"@olundot/tokens": "^0.11.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": ">=18",
|