@ikatec/nebula-react 1.6.0-beta.5 → 1.7.0-beta.1
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/ikatec-nebula-react-1.7.0-beta.1.tgz +0 -0
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +94 -48
- package/dist/index.mjs +94 -48
- package/package.json +2 -2
- package/dist/ikatec-nebula-react-1.6.0-beta.5.tgz +0 -0
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -461,9 +461,11 @@ interface DropdownMenuContentProps {
|
|
|
461
461
|
portal?: boolean;
|
|
462
462
|
}
|
|
463
463
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
|
-
|
|
464
|
+
interface DropdownMenuItemProps {
|
|
465
465
|
inset?: boolean;
|
|
466
|
-
|
|
466
|
+
variant?: 'primary' | 'danger';
|
|
467
|
+
}
|
|
468
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
467
469
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
468
470
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
471
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
package/dist/index.d.ts
CHANGED
|
@@ -461,9 +461,11 @@ interface DropdownMenuContentProps {
|
|
|
461
461
|
portal?: boolean;
|
|
462
462
|
}
|
|
463
463
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
|
-
|
|
464
|
+
interface DropdownMenuItemProps {
|
|
465
465
|
inset?: boolean;
|
|
466
|
-
|
|
466
|
+
variant?: 'primary' | 'danger';
|
|
467
|
+
}
|
|
468
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
467
469
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
468
470
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
471
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
package/dist/index.js
CHANGED
|
@@ -4063,15 +4063,17 @@ var DropdownMenuSubTrigger = React25__namespace.forwardRef(({ className, inset,
|
|
|
4063
4063
|
select-none
|
|
4064
4064
|
items-center
|
|
4065
4065
|
gap-2
|
|
4066
|
-
px-
|
|
4067
|
-
h-
|
|
4066
|
+
px-2
|
|
4067
|
+
h-9
|
|
4068
4068
|
text-sm
|
|
4069
|
-
text-listItem-text-default
|
|
4070
|
-
active:text-listItem-text-selected
|
|
4069
|
+
text-listItem-primary-text-default
|
|
4070
|
+
active:text-listItem-primary-text-selected
|
|
4071
4071
|
active:font-semibold
|
|
4072
|
-
active:bg-listItem-background-default
|
|
4073
|
-
focus:bg-listItem-background-hover
|
|
4072
|
+
active:bg-listItem-primary-background-default
|
|
4073
|
+
focus:bg-listItem-primary-background-hover
|
|
4074
|
+
focus:text-listItem-primary-text-hover
|
|
4074
4075
|
outline-none
|
|
4076
|
+
rounded-lg
|
|
4075
4077
|
`,
|
|
4076
4078
|
inset && "pl-8",
|
|
4077
4079
|
className
|
|
@@ -4090,18 +4092,23 @@ var DropdownMenuSubContent = React25__namespace.forwardRef(({ className, portal
|
|
|
4090
4092
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
4091
4093
|
{
|
|
4092
4094
|
ref,
|
|
4095
|
+
sideOffset: 6,
|
|
4093
4096
|
className: cn(
|
|
4094
4097
|
`
|
|
4095
4098
|
z-50
|
|
4096
4099
|
min-w-[8rem]
|
|
4097
4100
|
overflow-hidden
|
|
4098
|
-
rounded-
|
|
4101
|
+
rounded-xl
|
|
4099
4102
|
border
|
|
4100
4103
|
border-dropdownMenu-border
|
|
4101
4104
|
bg-dropdownMenu-background
|
|
4102
|
-
text-listItem-text-default
|
|
4105
|
+
text-listItem-primary-text-default
|
|
4103
4106
|
shadow-md
|
|
4104
4107
|
shadow-dropdownMenu-shadow
|
|
4108
|
+
p-[6px]
|
|
4109
|
+
flex
|
|
4110
|
+
flex-col
|
|
4111
|
+
gap-[1px]
|
|
4105
4112
|
`,
|
|
4106
4113
|
className
|
|
4107
4114
|
),
|
|
@@ -4124,13 +4131,17 @@ var DropdownMenuContent = React25__namespace.forwardRef(({ className, sideOffset
|
|
|
4124
4131
|
min-w-32
|
|
4125
4132
|
overflow-y-auto
|
|
4126
4133
|
overflow-x-hidden
|
|
4127
|
-
rounded-
|
|
4134
|
+
rounded-xl
|
|
4128
4135
|
border
|
|
4129
4136
|
border-dropdownMenu-border
|
|
4130
4137
|
bg-dropdownMenu-background
|
|
4131
|
-
text-listItem-text-default
|
|
4138
|
+
text-listItem-primary-text-default
|
|
4132
4139
|
shadow-md
|
|
4133
4140
|
shadow-dropdownMenu-shadow
|
|
4141
|
+
p-[6px]
|
|
4142
|
+
flex
|
|
4143
|
+
flex-col
|
|
4144
|
+
gap-[1px]
|
|
4134
4145
|
`,
|
|
4135
4146
|
className
|
|
4136
4147
|
),
|
|
@@ -4139,32 +4150,58 @@ var DropdownMenuContent = React25__namespace.forwardRef(({ className, sideOffset
|
|
|
4139
4150
|
) });
|
|
4140
4151
|
});
|
|
4141
4152
|
DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
|
|
4142
|
-
var
|
|
4153
|
+
var dropdownMenuItemVariantsConfig = classVarianceAuthority.cva(
|
|
4154
|
+
`
|
|
4155
|
+
relative
|
|
4156
|
+
flex
|
|
4157
|
+
cursor-pointer
|
|
4158
|
+
select-none
|
|
4159
|
+
items-center
|
|
4160
|
+
gap-2
|
|
4161
|
+
px-2
|
|
4162
|
+
h-9
|
|
4163
|
+
text-sm
|
|
4164
|
+
outline-none
|
|
4165
|
+
transition-colors
|
|
4166
|
+
duration-150
|
|
4167
|
+
ease-out
|
|
4168
|
+
active:font-semibold
|
|
4169
|
+
data-[disabled]:pointer-events-none
|
|
4170
|
+
data-[disabled]:opacity-50
|
|
4171
|
+
[&>svg]:size-4
|
|
4172
|
+
[&>svg]:shrink-0
|
|
4173
|
+
rounded-lg
|
|
4174
|
+
`,
|
|
4175
|
+
{
|
|
4176
|
+
variants: {
|
|
4177
|
+
variant: {
|
|
4178
|
+
primary: `
|
|
4179
|
+
text-listItem-primary-text-default
|
|
4180
|
+
focus:bg-listItem-primary-background-hover
|
|
4181
|
+
focus:text-listItem-primary-text-hover
|
|
4182
|
+
active:bg-listItem-primary-background-selected
|
|
4183
|
+
active:text-listItem-primary-text-selected
|
|
4184
|
+
`,
|
|
4185
|
+
danger: `
|
|
4186
|
+
text-listItem-danger-text-default
|
|
4187
|
+
focus:bg-listItem-danger-background-hover
|
|
4188
|
+
focus:text-listItem-danger-text-hover
|
|
4189
|
+
active:bg-listItem-danger-background-selected
|
|
4190
|
+
active:text-listItem-danger-text-selected
|
|
4191
|
+
`
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
defaultVariants: {
|
|
4195
|
+
variant: "primary"
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
);
|
|
4199
|
+
var DropdownMenuItem = React25__namespace.forwardRef(({ className, inset, variant: variant3 = "primary", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4143
4200
|
DropdownMenuPrimitive__namespace.Item,
|
|
4144
4201
|
{
|
|
4145
4202
|
ref,
|
|
4146
4203
|
className: cn(
|
|
4147
|
-
|
|
4148
|
-
relative
|
|
4149
|
-
flex
|
|
4150
|
-
cursor-pointer
|
|
4151
|
-
select-none
|
|
4152
|
-
items-center
|
|
4153
|
-
gap-2
|
|
4154
|
-
px-4
|
|
4155
|
-
h-11
|
|
4156
|
-
text-sm
|
|
4157
|
-
outline-none
|
|
4158
|
-
transition-colors
|
|
4159
|
-
active:text-listItem-text-selected
|
|
4160
|
-
active:font-semibold
|
|
4161
|
-
active:bg-listItem-background-default
|
|
4162
|
-
focus:bg-listItem-background-hover
|
|
4163
|
-
data-[disabled]:pointer-events-none
|
|
4164
|
-
data-[disabled]:opacity-50
|
|
4165
|
-
[&>svg]:size-4
|
|
4166
|
-
[&>svg]:shrink-0
|
|
4167
|
-
`,
|
|
4204
|
+
dropdownMenuItemVariantsConfig({ variant: variant3 }),
|
|
4168
4205
|
inset && "pl-8",
|
|
4169
4206
|
className
|
|
4170
4207
|
),
|
|
@@ -4183,21 +4220,25 @@ var DropdownMenuCheckboxItem = React25__namespace.forwardRef(({ className, child
|
|
|
4183
4220
|
cursor-pointer
|
|
4184
4221
|
select-none
|
|
4185
4222
|
items-center
|
|
4186
|
-
h-
|
|
4223
|
+
h-9
|
|
4187
4224
|
pl-10
|
|
4188
4225
|
pr-4
|
|
4189
|
-
text-listItem-text-default
|
|
4226
|
+
text-listItem-primary-text-default
|
|
4227
|
+
text-sm
|
|
4190
4228
|
outline-none
|
|
4191
4229
|
transition-colors
|
|
4230
|
+
duration-150
|
|
4231
|
+
ease-out
|
|
4192
4232
|
font-normal
|
|
4193
|
-
active:text-listItem-text-selected
|
|
4233
|
+
active:text-listItem-primary-text-selected
|
|
4194
4234
|
active:font-semibold
|
|
4195
|
-
active:bg-listItem-background-default
|
|
4196
|
-
focus:bg-listItem-background-hover
|
|
4235
|
+
active:bg-listItem-primary-background-default
|
|
4236
|
+
focus:bg-listItem-primary-background-hover
|
|
4197
4237
|
data-[disabled]:pointer-events-none
|
|
4198
4238
|
data-[disabled]:opacity-50
|
|
4199
4239
|
data-[state=checked]:font-semibold
|
|
4200
|
-
data-[state=checked]:text-listItem-text-selected
|
|
4240
|
+
data-[state=checked]:text-listItem-primary-text-selected
|
|
4241
|
+
rounded-lg
|
|
4201
4242
|
`,
|
|
4202
4243
|
className
|
|
4203
4244
|
),
|
|
@@ -4221,26 +4262,30 @@ var DropdownMenuRadioItem = React25__namespace.forwardRef(({ className, children
|
|
|
4221
4262
|
cursor-pointer
|
|
4222
4263
|
select-none
|
|
4223
4264
|
items-center
|
|
4224
|
-
h-
|
|
4265
|
+
h-9
|
|
4225
4266
|
pl-8
|
|
4226
4267
|
pr-2
|
|
4227
|
-
text-
|
|
4268
|
+
text-sm
|
|
4269
|
+
text-listItem-primary-text-default
|
|
4228
4270
|
outline-none
|
|
4229
4271
|
transition-colors
|
|
4230
|
-
|
|
4272
|
+
duration-150
|
|
4273
|
+
ease-out
|
|
4274
|
+
active:text-listItem-primary-text-selected
|
|
4231
4275
|
active:font-semibold
|
|
4232
|
-
active:bg-listItem-background-default
|
|
4233
|
-
focus:bg-listItem-background-hover
|
|
4276
|
+
active:bg-listItem-primary-background-default
|
|
4277
|
+
focus:bg-listItem-primary-background-hover
|
|
4234
4278
|
data-[disabled]:pointer-events-none
|
|
4235
4279
|
data-[disabled]:opacity-50
|
|
4236
4280
|
data-[state=checked]:font-semibold
|
|
4237
|
-
data-[state=checked]:text-listItem-text-selected
|
|
4281
|
+
data-[state=checked]:text-listItem-primary-text-selected
|
|
4282
|
+
rounded-lg
|
|
4238
4283
|
`,
|
|
4239
4284
|
className
|
|
4240
4285
|
),
|
|
4241
4286
|
...props,
|
|
4242
4287
|
children: [
|
|
4243
|
-
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { className: "nebula-ds absolute left-4 flex h-
|
|
4288
|
+
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { className: "nebula-ds absolute left-4 flex h-9 w-1.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Circle, { className: "nebula-ds h-1.5 w-1.5 fill-current" }) }),
|
|
4244
4289
|
children
|
|
4245
4290
|
]
|
|
4246
4291
|
}
|
|
@@ -4252,12 +4297,12 @@ var DropdownMenuLabel = React25__namespace.forwardRef(({ className, inset, ...pr
|
|
|
4252
4297
|
ref,
|
|
4253
4298
|
className: cn(
|
|
4254
4299
|
`
|
|
4255
|
-
px-
|
|
4256
|
-
h-
|
|
4300
|
+
px-2
|
|
4301
|
+
h-6
|
|
4257
4302
|
flex
|
|
4258
4303
|
items-center
|
|
4259
4304
|
text-sm
|
|
4260
|
-
text-listItem-text-header
|
|
4305
|
+
text-listItem-primary-text-header
|
|
4261
4306
|
`,
|
|
4262
4307
|
inset && "pl-8",
|
|
4263
4308
|
className
|
|
@@ -4275,6 +4320,7 @@ var DropdownMenuSeparator = React25__namespace.forwardRef(({ className, ...props
|
|
|
4275
4320
|
-mx-1
|
|
4276
4321
|
h-px
|
|
4277
4322
|
bg-dropdownMenu-border
|
|
4323
|
+
my-[6px]
|
|
4278
4324
|
`,
|
|
4279
4325
|
className
|
|
4280
4326
|
),
|
package/dist/index.mjs
CHANGED
|
@@ -4020,15 +4020,17 @@ var DropdownMenuSubTrigger = React25.forwardRef(({ className, inset, children, .
|
|
|
4020
4020
|
select-none
|
|
4021
4021
|
items-center
|
|
4022
4022
|
gap-2
|
|
4023
|
-
px-
|
|
4024
|
-
h-
|
|
4023
|
+
px-2
|
|
4024
|
+
h-9
|
|
4025
4025
|
text-sm
|
|
4026
|
-
text-listItem-text-default
|
|
4027
|
-
active:text-listItem-text-selected
|
|
4026
|
+
text-listItem-primary-text-default
|
|
4027
|
+
active:text-listItem-primary-text-selected
|
|
4028
4028
|
active:font-semibold
|
|
4029
|
-
active:bg-listItem-background-default
|
|
4030
|
-
focus:bg-listItem-background-hover
|
|
4029
|
+
active:bg-listItem-primary-background-default
|
|
4030
|
+
focus:bg-listItem-primary-background-hover
|
|
4031
|
+
focus:text-listItem-primary-text-hover
|
|
4031
4032
|
outline-none
|
|
4033
|
+
rounded-lg
|
|
4032
4034
|
`,
|
|
4033
4035
|
inset && "pl-8",
|
|
4034
4036
|
className
|
|
@@ -4047,18 +4049,23 @@ var DropdownMenuSubContent = React25.forwardRef(({ className, portal = false, ..
|
|
|
4047
4049
|
DropdownMenuPrimitive.SubContent,
|
|
4048
4050
|
{
|
|
4049
4051
|
ref,
|
|
4052
|
+
sideOffset: 6,
|
|
4050
4053
|
className: cn(
|
|
4051
4054
|
`
|
|
4052
4055
|
z-50
|
|
4053
4056
|
min-w-[8rem]
|
|
4054
4057
|
overflow-hidden
|
|
4055
|
-
rounded-
|
|
4058
|
+
rounded-xl
|
|
4056
4059
|
border
|
|
4057
4060
|
border-dropdownMenu-border
|
|
4058
4061
|
bg-dropdownMenu-background
|
|
4059
|
-
text-listItem-text-default
|
|
4062
|
+
text-listItem-primary-text-default
|
|
4060
4063
|
shadow-md
|
|
4061
4064
|
shadow-dropdownMenu-shadow
|
|
4065
|
+
p-[6px]
|
|
4066
|
+
flex
|
|
4067
|
+
flex-col
|
|
4068
|
+
gap-[1px]
|
|
4062
4069
|
`,
|
|
4063
4070
|
className
|
|
4064
4071
|
),
|
|
@@ -4081,13 +4088,17 @@ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, porta
|
|
|
4081
4088
|
min-w-32
|
|
4082
4089
|
overflow-y-auto
|
|
4083
4090
|
overflow-x-hidden
|
|
4084
|
-
rounded-
|
|
4091
|
+
rounded-xl
|
|
4085
4092
|
border
|
|
4086
4093
|
border-dropdownMenu-border
|
|
4087
4094
|
bg-dropdownMenu-background
|
|
4088
|
-
text-listItem-text-default
|
|
4095
|
+
text-listItem-primary-text-default
|
|
4089
4096
|
shadow-md
|
|
4090
4097
|
shadow-dropdownMenu-shadow
|
|
4098
|
+
p-[6px]
|
|
4099
|
+
flex
|
|
4100
|
+
flex-col
|
|
4101
|
+
gap-[1px]
|
|
4091
4102
|
`,
|
|
4092
4103
|
className
|
|
4093
4104
|
),
|
|
@@ -4096,32 +4107,58 @@ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, porta
|
|
|
4096
4107
|
) });
|
|
4097
4108
|
});
|
|
4098
4109
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
4099
|
-
var
|
|
4110
|
+
var dropdownMenuItemVariantsConfig = cva(
|
|
4111
|
+
`
|
|
4112
|
+
relative
|
|
4113
|
+
flex
|
|
4114
|
+
cursor-pointer
|
|
4115
|
+
select-none
|
|
4116
|
+
items-center
|
|
4117
|
+
gap-2
|
|
4118
|
+
px-2
|
|
4119
|
+
h-9
|
|
4120
|
+
text-sm
|
|
4121
|
+
outline-none
|
|
4122
|
+
transition-colors
|
|
4123
|
+
duration-150
|
|
4124
|
+
ease-out
|
|
4125
|
+
active:font-semibold
|
|
4126
|
+
data-[disabled]:pointer-events-none
|
|
4127
|
+
data-[disabled]:opacity-50
|
|
4128
|
+
[&>svg]:size-4
|
|
4129
|
+
[&>svg]:shrink-0
|
|
4130
|
+
rounded-lg
|
|
4131
|
+
`,
|
|
4132
|
+
{
|
|
4133
|
+
variants: {
|
|
4134
|
+
variant: {
|
|
4135
|
+
primary: `
|
|
4136
|
+
text-listItem-primary-text-default
|
|
4137
|
+
focus:bg-listItem-primary-background-hover
|
|
4138
|
+
focus:text-listItem-primary-text-hover
|
|
4139
|
+
active:bg-listItem-primary-background-selected
|
|
4140
|
+
active:text-listItem-primary-text-selected
|
|
4141
|
+
`,
|
|
4142
|
+
danger: `
|
|
4143
|
+
text-listItem-danger-text-default
|
|
4144
|
+
focus:bg-listItem-danger-background-hover
|
|
4145
|
+
focus:text-listItem-danger-text-hover
|
|
4146
|
+
active:bg-listItem-danger-background-selected
|
|
4147
|
+
active:text-listItem-danger-text-selected
|
|
4148
|
+
`
|
|
4149
|
+
}
|
|
4150
|
+
},
|
|
4151
|
+
defaultVariants: {
|
|
4152
|
+
variant: "primary"
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
);
|
|
4156
|
+
var DropdownMenuItem = React25.forwardRef(({ className, inset, variant: variant3 = "primary", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
4100
4157
|
DropdownMenuPrimitive.Item,
|
|
4101
4158
|
{
|
|
4102
4159
|
ref,
|
|
4103
4160
|
className: cn(
|
|
4104
|
-
|
|
4105
|
-
relative
|
|
4106
|
-
flex
|
|
4107
|
-
cursor-pointer
|
|
4108
|
-
select-none
|
|
4109
|
-
items-center
|
|
4110
|
-
gap-2
|
|
4111
|
-
px-4
|
|
4112
|
-
h-11
|
|
4113
|
-
text-sm
|
|
4114
|
-
outline-none
|
|
4115
|
-
transition-colors
|
|
4116
|
-
active:text-listItem-text-selected
|
|
4117
|
-
active:font-semibold
|
|
4118
|
-
active:bg-listItem-background-default
|
|
4119
|
-
focus:bg-listItem-background-hover
|
|
4120
|
-
data-[disabled]:pointer-events-none
|
|
4121
|
-
data-[disabled]:opacity-50
|
|
4122
|
-
[&>svg]:size-4
|
|
4123
|
-
[&>svg]:shrink-0
|
|
4124
|
-
`,
|
|
4161
|
+
dropdownMenuItemVariantsConfig({ variant: variant3 }),
|
|
4125
4162
|
inset && "pl-8",
|
|
4126
4163
|
className
|
|
4127
4164
|
),
|
|
@@ -4140,21 +4177,25 @@ var DropdownMenuCheckboxItem = React25.forwardRef(({ className, children, checke
|
|
|
4140
4177
|
cursor-pointer
|
|
4141
4178
|
select-none
|
|
4142
4179
|
items-center
|
|
4143
|
-
h-
|
|
4180
|
+
h-9
|
|
4144
4181
|
pl-10
|
|
4145
4182
|
pr-4
|
|
4146
|
-
text-listItem-text-default
|
|
4183
|
+
text-listItem-primary-text-default
|
|
4184
|
+
text-sm
|
|
4147
4185
|
outline-none
|
|
4148
4186
|
transition-colors
|
|
4187
|
+
duration-150
|
|
4188
|
+
ease-out
|
|
4149
4189
|
font-normal
|
|
4150
|
-
active:text-listItem-text-selected
|
|
4190
|
+
active:text-listItem-primary-text-selected
|
|
4151
4191
|
active:font-semibold
|
|
4152
|
-
active:bg-listItem-background-default
|
|
4153
|
-
focus:bg-listItem-background-hover
|
|
4192
|
+
active:bg-listItem-primary-background-default
|
|
4193
|
+
focus:bg-listItem-primary-background-hover
|
|
4154
4194
|
data-[disabled]:pointer-events-none
|
|
4155
4195
|
data-[disabled]:opacity-50
|
|
4156
4196
|
data-[state=checked]:font-semibold
|
|
4157
|
-
data-[state=checked]:text-listItem-text-selected
|
|
4197
|
+
data-[state=checked]:text-listItem-primary-text-selected
|
|
4198
|
+
rounded-lg
|
|
4158
4199
|
`,
|
|
4159
4200
|
className
|
|
4160
4201
|
),
|
|
@@ -4178,26 +4219,30 @@ var DropdownMenuRadioItem = React25.forwardRef(({ className, children, ...props
|
|
|
4178
4219
|
cursor-pointer
|
|
4179
4220
|
select-none
|
|
4180
4221
|
items-center
|
|
4181
|
-
h-
|
|
4222
|
+
h-9
|
|
4182
4223
|
pl-8
|
|
4183
4224
|
pr-2
|
|
4184
|
-
text-
|
|
4225
|
+
text-sm
|
|
4226
|
+
text-listItem-primary-text-default
|
|
4185
4227
|
outline-none
|
|
4186
4228
|
transition-colors
|
|
4187
|
-
|
|
4229
|
+
duration-150
|
|
4230
|
+
ease-out
|
|
4231
|
+
active:text-listItem-primary-text-selected
|
|
4188
4232
|
active:font-semibold
|
|
4189
|
-
active:bg-listItem-background-default
|
|
4190
|
-
focus:bg-listItem-background-hover
|
|
4233
|
+
active:bg-listItem-primary-background-default
|
|
4234
|
+
focus:bg-listItem-primary-background-hover
|
|
4191
4235
|
data-[disabled]:pointer-events-none
|
|
4192
4236
|
data-[disabled]:opacity-50
|
|
4193
4237
|
data-[state=checked]:font-semibold
|
|
4194
|
-
data-[state=checked]:text-listItem-text-selected
|
|
4238
|
+
data-[state=checked]:text-listItem-primary-text-selected
|
|
4239
|
+
rounded-lg
|
|
4195
4240
|
`,
|
|
4196
4241
|
className
|
|
4197
4242
|
),
|
|
4198
4243
|
...props,
|
|
4199
4244
|
children: [
|
|
4200
|
-
/* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { className: "nebula-ds absolute left-4 flex h-
|
|
4245
|
+
/* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { className: "nebula-ds absolute left-4 flex h-9 w-1.5 items-center justify-center", children: /* @__PURE__ */ jsx(Circle, { className: "nebula-ds h-1.5 w-1.5 fill-current" }) }),
|
|
4201
4246
|
children
|
|
4202
4247
|
]
|
|
4203
4248
|
}
|
|
@@ -4209,12 +4254,12 @@ var DropdownMenuLabel = React25.forwardRef(({ className, inset, ...props }, ref)
|
|
|
4209
4254
|
ref,
|
|
4210
4255
|
className: cn(
|
|
4211
4256
|
`
|
|
4212
|
-
px-
|
|
4213
|
-
h-
|
|
4257
|
+
px-2
|
|
4258
|
+
h-6
|
|
4214
4259
|
flex
|
|
4215
4260
|
items-center
|
|
4216
4261
|
text-sm
|
|
4217
|
-
text-listItem-text-header
|
|
4262
|
+
text-listItem-primary-text-header
|
|
4218
4263
|
`,
|
|
4219
4264
|
inset && "pl-8",
|
|
4220
4265
|
className
|
|
@@ -4232,6 +4277,7 @@ var DropdownMenuSeparator = React25.forwardRef(({ className, ...props }, ref) =>
|
|
|
4232
4277
|
-mx-1
|
|
4233
4278
|
h-px
|
|
4234
4279
|
bg-dropdownMenu-border
|
|
4280
|
+
my-[6px]
|
|
4235
4281
|
`,
|
|
4236
4282
|
className
|
|
4237
4283
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikatec/nebula-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-beta.1",
|
|
4
4
|
"description": "React components for Nebula Design System",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/preset-react": "^7.26.3",
|
|
31
31
|
"@babel/preset-typescript": "^7.27.0",
|
|
32
32
|
"@ikatec/eslint-config": "*",
|
|
33
|
-
"@ikatec/nebula-tokens": "1.
|
|
33
|
+
"@ikatec/nebula-tokens": "1.6.0-beta.1",
|
|
34
34
|
"@ikatec/typescript-config": "*",
|
|
35
35
|
"ts-node": "^10.9.2",
|
|
36
36
|
"tsup": "^8.3.5",
|
|
Binary file
|