@particle-network/ui-react 0.4.5-beta.16 → 0.4.5-beta.18
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/components/UXButton/button-theme.d.ts +3 -0
- package/dist/components/UXButton/button-theme.js +28 -7
- package/dist/components/UXButton/use-button.js +2 -1
- package/dist/components/UXTabs/tabs.classes.js +1 -1
- package/dist/components/UXThemeSwitch/theme-switch.js +1 -1
- package/dist/components/UXTooltip/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
31
31
|
sm: string;
|
|
32
32
|
md: string;
|
|
33
33
|
lg: string;
|
|
34
|
+
xl: string;
|
|
34
35
|
auto: string;
|
|
35
36
|
};
|
|
36
37
|
color: {
|
|
@@ -97,6 +98,7 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
97
98
|
sm: string;
|
|
98
99
|
md: string;
|
|
99
100
|
lg: string;
|
|
101
|
+
xl: string;
|
|
100
102
|
auto: string;
|
|
101
103
|
};
|
|
102
104
|
color: {
|
|
@@ -163,6 +165,7 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
163
165
|
sm: string;
|
|
164
166
|
md: string;
|
|
165
167
|
lg: string;
|
|
168
|
+
xl: string;
|
|
166
169
|
auto: string;
|
|
167
170
|
};
|
|
168
171
|
color: {
|
|
@@ -33,10 +33,11 @@ const button_theme_button = tv({
|
|
|
33
33
|
text: 'bg-transparent min-w-0 w-auto h-auto px-0'
|
|
34
34
|
},
|
|
35
35
|
size: {
|
|
36
|
-
xs: 'gap-1 rounded-
|
|
37
|
-
sm: 'gap-1 rounded-
|
|
38
|
-
md: 'gap-1 rounded-
|
|
39
|
-
lg: 'gap-1 rounded-
|
|
36
|
+
xs: 'gap-1 rounded-sm !text-caption1 min-w-min font-medium [&>svg]:size-[14px]',
|
|
37
|
+
sm: 'gap-1 rounded-md !text-body3 min-w-min font-medium [&>svg]:size-4',
|
|
38
|
+
md: 'gap-1 rounded-md text-tiny min-w-min font-medium [&>svg]:size-[18px]',
|
|
39
|
+
lg: 'gap-1 rounded-lg text-sm min-w-min font-medium [&>svg]:size-5',
|
|
40
|
+
xl: 'gap-1 rounded-[10px] text-medium min-w-min font-medium [&>svg]:size-6',
|
|
40
41
|
auto: 'min-w-min rounded-[10px]'
|
|
41
42
|
},
|
|
42
43
|
color: {
|
|
@@ -127,6 +128,16 @@ const button_theme_button = tv({
|
|
|
127
128
|
'light',
|
|
128
129
|
'bordered'
|
|
129
130
|
],
|
|
131
|
+
class: 'px-lg h-9'
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
size: 'xl',
|
|
135
|
+
variant: [
|
|
136
|
+
'solid',
|
|
137
|
+
'flat',
|
|
138
|
+
'light',
|
|
139
|
+
'bordered'
|
|
140
|
+
],
|
|
130
141
|
class: 'px-lg h-11'
|
|
131
142
|
},
|
|
132
143
|
{
|
|
@@ -486,17 +497,22 @@ const button_theme_button = tv({
|
|
|
486
497
|
{
|
|
487
498
|
isInGroup: true,
|
|
488
499
|
size: 'sm',
|
|
489
|
-
class: 'rounded-none first:rounded-s-
|
|
500
|
+
class: 'rounded-none first:rounded-s-md last:rounded-e-md'
|
|
490
501
|
},
|
|
491
502
|
{
|
|
492
503
|
isInGroup: true,
|
|
493
504
|
size: 'md',
|
|
494
|
-
class: 'rounded-none first:rounded-s-
|
|
505
|
+
class: 'rounded-none first:rounded-s-md last:rounded-e-md'
|
|
495
506
|
},
|
|
496
507
|
{
|
|
497
508
|
isInGroup: true,
|
|
498
509
|
size: 'lg',
|
|
499
|
-
class: 'rounded-none first:rounded-s-
|
|
510
|
+
class: 'rounded-none first:rounded-s-lg last:rounded-e-lg'
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
isInGroup: true,
|
|
514
|
+
size: 'xl',
|
|
515
|
+
class: 'rounded-none first:rounded-s-[10px] last:rounded-e-[10px]'
|
|
500
516
|
},
|
|
501
517
|
{
|
|
502
518
|
isInGroup: true,
|
|
@@ -618,6 +634,11 @@ const button_theme_button = tv({
|
|
|
618
634
|
{
|
|
619
635
|
isIconOnly: true,
|
|
620
636
|
size: 'lg',
|
|
637
|
+
class: 'min-w-9 w-9 h-9'
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
isIconOnly: true,
|
|
641
|
+
size: 'xl',
|
|
621
642
|
class: 'min-w-11 w-11 h-11'
|
|
622
643
|
},
|
|
623
644
|
{
|
|
@@ -44,7 +44,7 @@ const UXThemeSwitchModal = ({ as = 'modal', backdrop, isOpen, onClose, onOpenCha
|
|
|
44
44
|
backdrop: backdrop,
|
|
45
45
|
footer: /*#__PURE__*/ jsx(UXButton, {
|
|
46
46
|
fullWidth: true,
|
|
47
|
-
size: "
|
|
47
|
+
size: "xl",
|
|
48
48
|
color: "primary",
|
|
49
49
|
onPress: onClose,
|
|
50
50
|
children: i18n.theme.done
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
export type UXTooltipProps =
|
|
2
|
+
import type { TooltipProps } from '@heroui/tooltip';
|
|
3
|
+
export type UXTooltipProps = TooltipProps;
|
|
4
4
|
export declare const UXTooltip: React.FC<UXTooltipProps>;
|