@podoba/react 0.0.38 → 0.0.39
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": "@podoba/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "podoba React components — React Aria Components + Tailwind primitives + layout, built with uic.",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"typecheck": "tsc --build"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@podoba/tokens": "^0.0.
|
|
32
|
-
"@podoba/tailwind": "^0.0.
|
|
31
|
+
"@podoba/tokens": "^0.0.39",
|
|
32
|
+
"@podoba/tailwind": "^0.0.39",
|
|
33
33
|
"react-aria-components": "1.18.0",
|
|
34
34
|
"class-variance-authority": "0.7.1",
|
|
35
35
|
"clsx": "2.1.1",
|
|
@@ -66,6 +66,9 @@ export const Button = uic(RACButton, {
|
|
|
66
66
|
// Task/workflow CTA: exact source 44px height, 24px inline padding,
|
|
67
67
|
// 17/20 medium text.
|
|
68
68
|
prominent: 'h-11 px-6 py-0 text-panel-heading font-medium',
|
|
69
|
+
// In-dialog secondary action (source New section "Add template"): 8px 16px
|
|
70
|
+
// padding with the 16px medium dialog label at normal line height.
|
|
71
|
+
'dialog-sm': 'py-2 px-4 text-body font-medium leading-[normal]',
|
|
69
72
|
},
|
|
70
73
|
},
|
|
71
74
|
defaultVariants: {
|
|
@@ -76,5 +79,5 @@ export const Button = uic(RACButton, {
|
|
|
76
79
|
|
|
77
80
|
export type ButtonProps = RACButtonProps & {
|
|
78
81
|
variant?: 'primary' | 'secondary' | 'ghost' | 'destructive'
|
|
79
|
-
size?: 'sm' | 'md' | 'lg' | 'prominent'
|
|
82
|
+
size?: 'sm' | 'md' | 'lg' | 'prominent' | 'dialog-sm'
|
|
80
83
|
}
|