@bitrix24/b24ui-nuxt 0.5.6 → 0.5.8
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/.nuxt/b24ui/radio-group.ts +223 -15
- package/.nuxt/b24ui/sidebar-layout.ts +3 -2
- package/dist/meta.cjs +85 -38
- package/dist/meta.d.cts +85 -38
- package/dist/meta.d.mts +85 -38
- package/dist/meta.d.ts +85 -38
- package/dist/meta.mjs +85 -38
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Avatar.vue +7 -5
- package/dist/runtime/components/DropdownMenuContent.vue +5 -3
- package/dist/runtime/components/InputMenu.vue +2 -1
- package/dist/runtime/components/InputNumber.vue +2 -2
- package/dist/runtime/components/RadioGroup.vue +16 -5
- package/dist/runtime/components/SelectMenu.vue +1 -1
- package/dist/runtime/components/SidebarLayout.vue +0 -1
- package/dist/runtime/components/StackedLayout.vue +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +3 -2
- package/dist/runtime/vue/stubs.d.ts +5 -0
- package/dist/runtime/vue/stubs.js +11 -2
- package/dist/shared/{b24ui-nuxt.GF6icKT2.cjs → b24ui-nuxt.B9fPD5yO.cjs} +207 -6
- package/dist/shared/{b24ui-nuxt.Cdw6m70Y.mjs → b24ui-nuxt.DBFS6LH7.mjs} +207 -6
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +5 -4
|
@@ -4904,7 +4904,7 @@ const radioGroup = {
|
|
|
4904
4904
|
].join(" "),
|
|
4905
4905
|
indicator: " flex items-center justify-center size-full rounded-full after:bg-white dark:after:bg-base-dark after:rounded-full",
|
|
4906
4906
|
container: "flex items-center",
|
|
4907
|
-
wrapper: "font-b24-primary font-regular
|
|
4907
|
+
wrapper: "font-b24-primary font-regular w-full",
|
|
4908
4908
|
label: "cursor-pointer block text-base-master dark:text-base-400",
|
|
4909
4909
|
description: "text-base-500 dark:text-base-600"
|
|
4910
4910
|
},
|
|
@@ -4943,6 +4943,15 @@ const radioGroup = {
|
|
|
4943
4943
|
indicator: "bg-ai-500 dark:bg-ai-600"
|
|
4944
4944
|
}
|
|
4945
4945
|
},
|
|
4946
|
+
variant: {
|
|
4947
|
+
list: {},
|
|
4948
|
+
card: {
|
|
4949
|
+
item: "items-center border border-base-200 dark:border-base-700 rounded-lg"
|
|
4950
|
+
},
|
|
4951
|
+
table: {
|
|
4952
|
+
item: "border border-base-200 dark:border-base-900"
|
|
4953
|
+
}
|
|
4954
|
+
},
|
|
4946
4955
|
orientation: {
|
|
4947
4956
|
horizontal: {
|
|
4948
4957
|
fieldset: "flex-row",
|
|
@@ -4952,6 +4961,20 @@ const radioGroup = {
|
|
|
4952
4961
|
fieldset: "flex-col"
|
|
4953
4962
|
}
|
|
4954
4963
|
},
|
|
4964
|
+
indicator: {
|
|
4965
|
+
start: {
|
|
4966
|
+
item: "flex-row",
|
|
4967
|
+
base: "me-2"
|
|
4968
|
+
},
|
|
4969
|
+
end: {
|
|
4970
|
+
item: "flex-row-reverse",
|
|
4971
|
+
base: "ms-2"
|
|
4972
|
+
},
|
|
4973
|
+
hidden: {
|
|
4974
|
+
base: "sr-only",
|
|
4975
|
+
wrapper: "text-center"
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4955
4978
|
size: {
|
|
4956
4979
|
xs: {
|
|
4957
4980
|
fieldset: "gap-1",
|
|
@@ -5002,9 +5025,186 @@ const radioGroup = {
|
|
|
5002
5025
|
}
|
|
5003
5026
|
}
|
|
5004
5027
|
},
|
|
5028
|
+
compoundVariants: [
|
|
5029
|
+
// region size ////
|
|
5030
|
+
{ size: "xs", variant: ["card", "table"], class: { item: "p-2.5" } },
|
|
5031
|
+
{ size: "sm", variant: ["card", "table"], class: { item: "p-3" } },
|
|
5032
|
+
{ size: "md", variant: ["card", "table"], class: { item: "p-3.5" } },
|
|
5033
|
+
{ size: "lg", variant: ["card", "table"], class: { item: "p-4" } },
|
|
5034
|
+
// endregion ////
|
|
5035
|
+
// region orientation/table ////
|
|
5036
|
+
{
|
|
5037
|
+
orientation: "horizontal",
|
|
5038
|
+
variant: "table",
|
|
5039
|
+
class: {
|
|
5040
|
+
item: "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
5041
|
+
fieldset: "gap-0 -space-x-px"
|
|
5042
|
+
}
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
orientation: "vertical",
|
|
5046
|
+
variant: "table",
|
|
5047
|
+
class: {
|
|
5048
|
+
item: "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
5049
|
+
fieldset: "gap-0 -space-y-px"
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
// endregion ////
|
|
5053
|
+
// region card ////
|
|
5054
|
+
{
|
|
5055
|
+
color: "default",
|
|
5056
|
+
variant: "card",
|
|
5057
|
+
class: {
|
|
5058
|
+
item: "has-data-[state=checked]:border-base-900 dark:has-data-[state=checked]:border-base-350"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
color: "danger",
|
|
5063
|
+
variant: "card",
|
|
5064
|
+
class: {
|
|
5065
|
+
item: "has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600"
|
|
5066
|
+
}
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
color: "success",
|
|
5070
|
+
variant: "card",
|
|
5071
|
+
class: {
|
|
5072
|
+
item: "has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600"
|
|
5073
|
+
}
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
color: "warning",
|
|
5077
|
+
variant: "card",
|
|
5078
|
+
class: {
|
|
5079
|
+
item: "has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600"
|
|
5080
|
+
}
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
color: "primary",
|
|
5084
|
+
variant: "card",
|
|
5085
|
+
class: {
|
|
5086
|
+
item: "has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600"
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
color: "secondary",
|
|
5091
|
+
variant: "card",
|
|
5092
|
+
class: {
|
|
5093
|
+
item: "has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600"
|
|
5094
|
+
}
|
|
5095
|
+
},
|
|
5096
|
+
{
|
|
5097
|
+
color: "collab",
|
|
5098
|
+
variant: "card",
|
|
5099
|
+
class: {
|
|
5100
|
+
item: "has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600"
|
|
5101
|
+
}
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
color: "ai",
|
|
5105
|
+
variant: "card",
|
|
5106
|
+
class: {
|
|
5107
|
+
item: "has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600"
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
// endregion ////
|
|
5111
|
+
// region table ////
|
|
5112
|
+
{
|
|
5113
|
+
color: "default",
|
|
5114
|
+
variant: "table",
|
|
5115
|
+
class: {
|
|
5116
|
+
item: [
|
|
5117
|
+
"has-data-[state=checked]:bg-base-100 dark:has-data-[state=checked]:bg-base-900",
|
|
5118
|
+
"has-data-[state=checked]:border-base-900/25 dark:has-data-[state=checked]:border-base-700/25",
|
|
5119
|
+
"has-data-[state=checked]:z-[1]"
|
|
5120
|
+
].join(" ")
|
|
5121
|
+
}
|
|
5122
|
+
},
|
|
5123
|
+
{
|
|
5124
|
+
color: "danger",
|
|
5125
|
+
variant: "table",
|
|
5126
|
+
class: {
|
|
5127
|
+
item: [
|
|
5128
|
+
"has-data-[state=checked]:bg-red-500/24 dark:has-data-[state=checked]:bg-red-600/24",
|
|
5129
|
+
"has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600",
|
|
5130
|
+
"has-data-[state=checked]:z-[1]"
|
|
5131
|
+
].join(" ")
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
color: "success",
|
|
5136
|
+
variant: "table",
|
|
5137
|
+
class: {
|
|
5138
|
+
item: [
|
|
5139
|
+
"has-data-[state=checked]:bg-green-500/24 dark:has-data-[state=checked]:bg-green-600/24",
|
|
5140
|
+
"has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600",
|
|
5141
|
+
"has-data-[state=checked]:z-[1]"
|
|
5142
|
+
].join(" ")
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
{
|
|
5146
|
+
color: "warning",
|
|
5147
|
+
variant: "table",
|
|
5148
|
+
class: {
|
|
5149
|
+
item: [
|
|
5150
|
+
"has-data-[state=checked]:bg-orange-500/24 dark:has-data-[state=checked]:bg-orange-600/24",
|
|
5151
|
+
"has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600",
|
|
5152
|
+
"has-data-[state=checked]:z-[1]"
|
|
5153
|
+
].join(" ")
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
color: "primary",
|
|
5158
|
+
variant: "table",
|
|
5159
|
+
class: {
|
|
5160
|
+
item: [
|
|
5161
|
+
"has-data-[state=checked]:bg-blue-500/24 dark:has-data-[state=checked]:bg-blue-600/24",
|
|
5162
|
+
"has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600",
|
|
5163
|
+
"has-data-[state=checked]:z-[1]"
|
|
5164
|
+
].join(" ")
|
|
5165
|
+
}
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
color: "secondary",
|
|
5169
|
+
variant: "table",
|
|
5170
|
+
class: {
|
|
5171
|
+
item: [
|
|
5172
|
+
"has-data-[state=checked]:bg-cyan-500/24 dark:has-data-[state=checked]:bg-cyan-600/24",
|
|
5173
|
+
"has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600",
|
|
5174
|
+
"has-data-[state=checked]:z-[1]"
|
|
5175
|
+
].join(" ")
|
|
5176
|
+
}
|
|
5177
|
+
},
|
|
5178
|
+
{
|
|
5179
|
+
color: "collab",
|
|
5180
|
+
variant: "table",
|
|
5181
|
+
class: {
|
|
5182
|
+
item: [
|
|
5183
|
+
"has-data-[state=checked]:bg-collab-500/24 dark:has-data-[state=checked]:bg-collab-600/24",
|
|
5184
|
+
"has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600",
|
|
5185
|
+
"has-data-[state=checked]:z-[1]"
|
|
5186
|
+
].join(" ")
|
|
5187
|
+
}
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
color: "ai",
|
|
5191
|
+
variant: "table",
|
|
5192
|
+
class: {
|
|
5193
|
+
item: [
|
|
5194
|
+
"has-data-[state=checked]:bg-ai-500/24 dark:has-data-[state=checked]:bg-ai-600/24",
|
|
5195
|
+
"has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600",
|
|
5196
|
+
"has-data-[state=checked]:z-[1]"
|
|
5197
|
+
].join(" ")
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
5200
|
+
// endregion ////
|
|
5201
|
+
],
|
|
5005
5202
|
defaultVariants: {
|
|
5006
5203
|
size: "md",
|
|
5007
|
-
color: "primary"
|
|
5204
|
+
color: "primary",
|
|
5205
|
+
variant: "list",
|
|
5206
|
+
orientation: "vertical",
|
|
5207
|
+
indicator: "start"
|
|
5008
5208
|
}
|
|
5009
5209
|
};
|
|
5010
5210
|
|
|
@@ -6543,9 +6743,7 @@ const sidebarLayout = {
|
|
|
6543
6743
|
].join(" "),
|
|
6544
6744
|
container: [
|
|
6545
6745
|
"flex-1 flex flex-col",
|
|
6546
|
-
"lg:min-w-0"
|
|
6547
|
-
"pb-2",
|
|
6548
|
-
"lg:pt-2 lg:pr-2"
|
|
6746
|
+
"lg:min-w-0"
|
|
6549
6747
|
].join(" "),
|
|
6550
6748
|
containerWrapper: [
|
|
6551
6749
|
"grow"
|
|
@@ -6558,7 +6756,7 @@ const sidebarLayout = {
|
|
|
6558
6756
|
container: "lg:pl-[240px]"
|
|
6559
6757
|
},
|
|
6560
6758
|
false: {
|
|
6561
|
-
container: ""
|
|
6759
|
+
container: "pb-2 lg:pt-2 lg:px-2"
|
|
6562
6760
|
}
|
|
6563
6761
|
},
|
|
6564
6762
|
useLightContent: {
|
|
@@ -6567,6 +6765,9 @@ const sidebarLayout = {
|
|
|
6567
6765
|
"bg-white dark:bg-white/10",
|
|
6568
6766
|
"lg:bg-base-50 dark:lg:bg-base-dark"
|
|
6569
6767
|
].join(" "),
|
|
6768
|
+
container: [
|
|
6769
|
+
"pb-2 lg:pt-2 lg:pr-2"
|
|
6770
|
+
].join(" "),
|
|
6570
6771
|
containerWrapper: [
|
|
6571
6772
|
"p-6 lg:p-10",
|
|
6572
6773
|
"lg:bg-white dark:lg:bg-white/10",
|
|
@@ -4902,7 +4902,7 @@ const radioGroup = {
|
|
|
4902
4902
|
].join(" "),
|
|
4903
4903
|
indicator: " flex items-center justify-center size-full rounded-full after:bg-white dark:after:bg-base-dark after:rounded-full",
|
|
4904
4904
|
container: "flex items-center",
|
|
4905
|
-
wrapper: "font-b24-primary font-regular
|
|
4905
|
+
wrapper: "font-b24-primary font-regular w-full",
|
|
4906
4906
|
label: "cursor-pointer block text-base-master dark:text-base-400",
|
|
4907
4907
|
description: "text-base-500 dark:text-base-600"
|
|
4908
4908
|
},
|
|
@@ -4941,6 +4941,15 @@ const radioGroup = {
|
|
|
4941
4941
|
indicator: "bg-ai-500 dark:bg-ai-600"
|
|
4942
4942
|
}
|
|
4943
4943
|
},
|
|
4944
|
+
variant: {
|
|
4945
|
+
list: {},
|
|
4946
|
+
card: {
|
|
4947
|
+
item: "items-center border border-base-200 dark:border-base-700 rounded-lg"
|
|
4948
|
+
},
|
|
4949
|
+
table: {
|
|
4950
|
+
item: "border border-base-200 dark:border-base-900"
|
|
4951
|
+
}
|
|
4952
|
+
},
|
|
4944
4953
|
orientation: {
|
|
4945
4954
|
horizontal: {
|
|
4946
4955
|
fieldset: "flex-row",
|
|
@@ -4950,6 +4959,20 @@ const radioGroup = {
|
|
|
4950
4959
|
fieldset: "flex-col"
|
|
4951
4960
|
}
|
|
4952
4961
|
},
|
|
4962
|
+
indicator: {
|
|
4963
|
+
start: {
|
|
4964
|
+
item: "flex-row",
|
|
4965
|
+
base: "me-2"
|
|
4966
|
+
},
|
|
4967
|
+
end: {
|
|
4968
|
+
item: "flex-row-reverse",
|
|
4969
|
+
base: "ms-2"
|
|
4970
|
+
},
|
|
4971
|
+
hidden: {
|
|
4972
|
+
base: "sr-only",
|
|
4973
|
+
wrapper: "text-center"
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4953
4976
|
size: {
|
|
4954
4977
|
xs: {
|
|
4955
4978
|
fieldset: "gap-1",
|
|
@@ -5000,9 +5023,186 @@ const radioGroup = {
|
|
|
5000
5023
|
}
|
|
5001
5024
|
}
|
|
5002
5025
|
},
|
|
5026
|
+
compoundVariants: [
|
|
5027
|
+
// region size ////
|
|
5028
|
+
{ size: "xs", variant: ["card", "table"], class: { item: "p-2.5" } },
|
|
5029
|
+
{ size: "sm", variant: ["card", "table"], class: { item: "p-3" } },
|
|
5030
|
+
{ size: "md", variant: ["card", "table"], class: { item: "p-3.5" } },
|
|
5031
|
+
{ size: "lg", variant: ["card", "table"], class: { item: "p-4" } },
|
|
5032
|
+
// endregion ////
|
|
5033
|
+
// region orientation/table ////
|
|
5034
|
+
{
|
|
5035
|
+
orientation: "horizontal",
|
|
5036
|
+
variant: "table",
|
|
5037
|
+
class: {
|
|
5038
|
+
item: "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
5039
|
+
fieldset: "gap-0 -space-x-px"
|
|
5040
|
+
}
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
orientation: "vertical",
|
|
5044
|
+
variant: "table",
|
|
5045
|
+
class: {
|
|
5046
|
+
item: "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
5047
|
+
fieldset: "gap-0 -space-y-px"
|
|
5048
|
+
}
|
|
5049
|
+
},
|
|
5050
|
+
// endregion ////
|
|
5051
|
+
// region card ////
|
|
5052
|
+
{
|
|
5053
|
+
color: "default",
|
|
5054
|
+
variant: "card",
|
|
5055
|
+
class: {
|
|
5056
|
+
item: "has-data-[state=checked]:border-base-900 dark:has-data-[state=checked]:border-base-350"
|
|
5057
|
+
}
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
color: "danger",
|
|
5061
|
+
variant: "card",
|
|
5062
|
+
class: {
|
|
5063
|
+
item: "has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600"
|
|
5064
|
+
}
|
|
5065
|
+
},
|
|
5066
|
+
{
|
|
5067
|
+
color: "success",
|
|
5068
|
+
variant: "card",
|
|
5069
|
+
class: {
|
|
5070
|
+
item: "has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600"
|
|
5071
|
+
}
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
color: "warning",
|
|
5075
|
+
variant: "card",
|
|
5076
|
+
class: {
|
|
5077
|
+
item: "has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600"
|
|
5078
|
+
}
|
|
5079
|
+
},
|
|
5080
|
+
{
|
|
5081
|
+
color: "primary",
|
|
5082
|
+
variant: "card",
|
|
5083
|
+
class: {
|
|
5084
|
+
item: "has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600"
|
|
5085
|
+
}
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
color: "secondary",
|
|
5089
|
+
variant: "card",
|
|
5090
|
+
class: {
|
|
5091
|
+
item: "has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600"
|
|
5092
|
+
}
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
color: "collab",
|
|
5096
|
+
variant: "card",
|
|
5097
|
+
class: {
|
|
5098
|
+
item: "has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600"
|
|
5099
|
+
}
|
|
5100
|
+
},
|
|
5101
|
+
{
|
|
5102
|
+
color: "ai",
|
|
5103
|
+
variant: "card",
|
|
5104
|
+
class: {
|
|
5105
|
+
item: "has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600"
|
|
5106
|
+
}
|
|
5107
|
+
},
|
|
5108
|
+
// endregion ////
|
|
5109
|
+
// region table ////
|
|
5110
|
+
{
|
|
5111
|
+
color: "default",
|
|
5112
|
+
variant: "table",
|
|
5113
|
+
class: {
|
|
5114
|
+
item: [
|
|
5115
|
+
"has-data-[state=checked]:bg-base-100 dark:has-data-[state=checked]:bg-base-900",
|
|
5116
|
+
"has-data-[state=checked]:border-base-900/25 dark:has-data-[state=checked]:border-base-700/25",
|
|
5117
|
+
"has-data-[state=checked]:z-[1]"
|
|
5118
|
+
].join(" ")
|
|
5119
|
+
}
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
color: "danger",
|
|
5123
|
+
variant: "table",
|
|
5124
|
+
class: {
|
|
5125
|
+
item: [
|
|
5126
|
+
"has-data-[state=checked]:bg-red-500/24 dark:has-data-[state=checked]:bg-red-600/24",
|
|
5127
|
+
"has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600",
|
|
5128
|
+
"has-data-[state=checked]:z-[1]"
|
|
5129
|
+
].join(" ")
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
color: "success",
|
|
5134
|
+
variant: "table",
|
|
5135
|
+
class: {
|
|
5136
|
+
item: [
|
|
5137
|
+
"has-data-[state=checked]:bg-green-500/24 dark:has-data-[state=checked]:bg-green-600/24",
|
|
5138
|
+
"has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600",
|
|
5139
|
+
"has-data-[state=checked]:z-[1]"
|
|
5140
|
+
].join(" ")
|
|
5141
|
+
}
|
|
5142
|
+
},
|
|
5143
|
+
{
|
|
5144
|
+
color: "warning",
|
|
5145
|
+
variant: "table",
|
|
5146
|
+
class: {
|
|
5147
|
+
item: [
|
|
5148
|
+
"has-data-[state=checked]:bg-orange-500/24 dark:has-data-[state=checked]:bg-orange-600/24",
|
|
5149
|
+
"has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600",
|
|
5150
|
+
"has-data-[state=checked]:z-[1]"
|
|
5151
|
+
].join(" ")
|
|
5152
|
+
}
|
|
5153
|
+
},
|
|
5154
|
+
{
|
|
5155
|
+
color: "primary",
|
|
5156
|
+
variant: "table",
|
|
5157
|
+
class: {
|
|
5158
|
+
item: [
|
|
5159
|
+
"has-data-[state=checked]:bg-blue-500/24 dark:has-data-[state=checked]:bg-blue-600/24",
|
|
5160
|
+
"has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600",
|
|
5161
|
+
"has-data-[state=checked]:z-[1]"
|
|
5162
|
+
].join(" ")
|
|
5163
|
+
}
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
color: "secondary",
|
|
5167
|
+
variant: "table",
|
|
5168
|
+
class: {
|
|
5169
|
+
item: [
|
|
5170
|
+
"has-data-[state=checked]:bg-cyan-500/24 dark:has-data-[state=checked]:bg-cyan-600/24",
|
|
5171
|
+
"has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600",
|
|
5172
|
+
"has-data-[state=checked]:z-[1]"
|
|
5173
|
+
].join(" ")
|
|
5174
|
+
}
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
color: "collab",
|
|
5178
|
+
variant: "table",
|
|
5179
|
+
class: {
|
|
5180
|
+
item: [
|
|
5181
|
+
"has-data-[state=checked]:bg-collab-500/24 dark:has-data-[state=checked]:bg-collab-600/24",
|
|
5182
|
+
"has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600",
|
|
5183
|
+
"has-data-[state=checked]:z-[1]"
|
|
5184
|
+
].join(" ")
|
|
5185
|
+
}
|
|
5186
|
+
},
|
|
5187
|
+
{
|
|
5188
|
+
color: "ai",
|
|
5189
|
+
variant: "table",
|
|
5190
|
+
class: {
|
|
5191
|
+
item: [
|
|
5192
|
+
"has-data-[state=checked]:bg-ai-500/24 dark:has-data-[state=checked]:bg-ai-600/24",
|
|
5193
|
+
"has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600",
|
|
5194
|
+
"has-data-[state=checked]:z-[1]"
|
|
5195
|
+
].join(" ")
|
|
5196
|
+
}
|
|
5197
|
+
}
|
|
5198
|
+
// endregion ////
|
|
5199
|
+
],
|
|
5003
5200
|
defaultVariants: {
|
|
5004
5201
|
size: "md",
|
|
5005
|
-
color: "primary"
|
|
5202
|
+
color: "primary",
|
|
5203
|
+
variant: "list",
|
|
5204
|
+
orientation: "vertical",
|
|
5205
|
+
indicator: "start"
|
|
5006
5206
|
}
|
|
5007
5207
|
};
|
|
5008
5208
|
|
|
@@ -6541,9 +6741,7 @@ const sidebarLayout = {
|
|
|
6541
6741
|
].join(" "),
|
|
6542
6742
|
container: [
|
|
6543
6743
|
"flex-1 flex flex-col",
|
|
6544
|
-
"lg:min-w-0"
|
|
6545
|
-
"pb-2",
|
|
6546
|
-
"lg:pt-2 lg:pr-2"
|
|
6744
|
+
"lg:min-w-0"
|
|
6547
6745
|
].join(" "),
|
|
6548
6746
|
containerWrapper: [
|
|
6549
6747
|
"grow"
|
|
@@ -6556,7 +6754,7 @@ const sidebarLayout = {
|
|
|
6556
6754
|
container: "lg:pl-[240px]"
|
|
6557
6755
|
},
|
|
6558
6756
|
false: {
|
|
6559
|
-
container: ""
|
|
6757
|
+
container: "pb-2 lg:pt-2 lg:px-2"
|
|
6560
6758
|
}
|
|
6561
6759
|
},
|
|
6562
6760
|
useLightContent: {
|
|
@@ -6565,6 +6763,9 @@ const sidebarLayout = {
|
|
|
6565
6763
|
"bg-white dark:bg-white/10",
|
|
6566
6764
|
"lg:bg-base-50 dark:lg:bg-base-dark"
|
|
6567
6765
|
].join(" "),
|
|
6766
|
+
container: [
|
|
6767
|
+
"pb-2 lg:pt-2 lg:pr-2"
|
|
6768
|
+
].join(" "),
|
|
6568
6769
|
containerWrapper: [
|
|
6569
6770
|
"p-6 lg:p-10",
|
|
6570
6771
|
"lg:bg-white dark:lg:bg-white/10",
|
package/dist/unplugin.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const pathe = require('pathe');
|
|
|
5
5
|
const unplugin = require('unplugin');
|
|
6
6
|
const defu = require('defu');
|
|
7
7
|
const tailwind = require('@tailwindcss/vite');
|
|
8
|
-
const templates = require('./shared/b24ui-nuxt.
|
|
8
|
+
const templates = require('./shared/b24ui-nuxt.B9fPD5yO.cjs');
|
|
9
9
|
const tinyglobby = require('tinyglobby');
|
|
10
10
|
const knitwork = require('knitwork');
|
|
11
11
|
const MagicString = require('magic-string');
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.DBFS6LH7.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.cjs
CHANGED
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrix24/b24ui-nuxt",
|
|
3
3
|
"description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.8",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@tailwindcss/postcss": "^4.0.17",
|
|
80
80
|
"@tailwindcss/vite": "^4.0.17",
|
|
81
81
|
"@tanstack/vue-table": "^8.21.2",
|
|
82
|
-
"@unhead/vue": "^2.0.
|
|
82
|
+
"@unhead/vue": "^2.0.2",
|
|
83
83
|
"@vueuse/core": "^13.0.0",
|
|
84
84
|
"@vueuse/integrations": "^13.0.0",
|
|
85
85
|
"canvas-confetti": "^1.9.3",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"embla-carousel-vue": "^8.5.2",
|
|
95
95
|
"embla-carousel-wheel-gestures": "^8.0.1",
|
|
96
96
|
"fuse.js": "^7.1.0",
|
|
97
|
+
"hookable": "^5.5.3",
|
|
97
98
|
"knitwork": "^1.2.0",
|
|
98
99
|
"magic-string": "^0.30.17",
|
|
99
100
|
"mlly": "^1.7.4",
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
"vue-router": "^4.5.0"
|
|
113
114
|
},
|
|
114
115
|
"devDependencies": {
|
|
115
|
-
"@nuxt/eslint-config": "^1.
|
|
116
|
+
"@nuxt/eslint-config": "^1.3.0",
|
|
116
117
|
"@nuxt/module-builder": "^0.8.4",
|
|
117
118
|
"@nuxt/test-utils": "^3.17.2",
|
|
118
119
|
"@types/canvas-confetti": "^1.9.0",
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
"nuxt": "^3.16.1",
|
|
124
125
|
"nuxt-component-meta": "^0.10.0",
|
|
125
126
|
"vitepress": "^1.5.0",
|
|
126
|
-
"vitest": "^3.
|
|
127
|
+
"vitest": "^3.1.1",
|
|
127
128
|
"vitest-environment-nuxt": "^1.0.1",
|
|
128
129
|
"vue-tsc": "^2.2.0"
|
|
129
130
|
},
|