@particle-network/ui-react 0.4.5-beta.17 → 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.
@@ -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-[4px] !text-caption1 min-w-min font-medium [&>svg]:size-[14px]',
37
- sm: 'gap-1 rounded-[6px] !text-body3 min-w-min font-medium [&>svg]:size-4',
38
- md: 'gap-1 rounded-[6px] text-tiny min-w-min font-medium [&>svg]:size-[18px]',
39
- lg: 'gap-1 rounded-[10px] text-medium min-w-min font-medium [&>svg]:size-6',
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-small last:rounded-e-small'
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-small last:rounded-e-small'
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-medium last:rounded-e-medium'
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
  {
@@ -104,7 +104,8 @@ function useButton(props) {
104
104
  xs: 14,
105
105
  sm: 16,
106
106
  md: 18,
107
- lg: 24
107
+ lg: 20,
108
+ xl: 24
108
109
  };
109
110
  return buttonSpinnerSizeMap[size];
110
111
  }, [
@@ -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: "lg",
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 ExtendedTooltip from './tooltip.extend';
3
- export type UXTooltipProps = React.ComponentPropsWithRef<typeof ExtendedTooltip>;
2
+ import type { TooltipProps } from '@heroui/tooltip';
3
+ export type UXTooltipProps = TooltipProps;
4
4
  export declare const UXTooltip: React.FC<UXTooltipProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.4.5-beta.17",
3
+ "version": "0.4.5-beta.18",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -38,8 +38,8 @@
38
38
  "@rslib/core": "^0.12.3",
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
- "@particle-network/lintstaged-config": "0.1.0",
42
- "@particle-network/eslint-config": "0.3.0"
41
+ "@particle-network/eslint-config": "0.3.0",
42
+ "@particle-network/lintstaged-config": "0.1.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.9.0",