@bitrix24/b24ui-nuxt 2.2.1 → 2.3.0
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/README.md +5 -4
- package/cli/package.json +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Accordion.d.vue.ts +17 -8
- package/dist/runtime/components/Accordion.vue +6 -5
- package/dist/runtime/components/Accordion.vue.d.ts +17 -8
- package/dist/runtime/components/Advice.d.vue.ts +4 -1
- package/dist/runtime/components/Advice.vue +1 -1
- package/dist/runtime/components/Advice.vue.d.ts +4 -1
- package/dist/runtime/components/Alert.d.vue.ts +6 -3
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +6 -3
- package/dist/runtime/components/App.d.vue.ts +8 -6
- package/dist/runtime/components/App.vue.d.ts +8 -6
- package/dist/runtime/components/Avatar.d.vue.ts +2 -2
- package/dist/runtime/components/Avatar.vue +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/AvatarGroup.d.vue.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.d.vue.ts +4 -1
- package/dist/runtime/components/Badge.vue +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +4 -1
- package/dist/runtime/components/Banner.d.vue.ts +3 -4
- package/dist/runtime/components/Banner.vue +50 -24
- package/dist/runtime/components/Banner.vue.d.ts +3 -4
- package/dist/runtime/components/Breadcrumb.d.vue.ts +8 -6
- package/dist/runtime/components/Breadcrumb.vue +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +8 -6
- package/dist/runtime/components/Button.d.vue.ts +4 -1
- package/dist/runtime/components/Button.vue +1 -1
- package/dist/runtime/components/Button.vue.d.ts +4 -1
- package/dist/runtime/components/Calendar.d.vue.ts +14 -6
- package/dist/runtime/components/Calendar.vue +14 -3
- package/dist/runtime/components/Calendar.vue.d.ts +14 -6
- package/dist/runtime/components/Card.d.vue.ts +1 -1
- package/dist/runtime/components/Card.vue +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/ChatMessage.d.vue.ts +3 -1
- package/dist/runtime/components/ChatMessage.vue +1 -1
- package/dist/runtime/components/ChatMessage.vue.d.ts +3 -1
- package/dist/runtime/components/ChatMessages.d.vue.ts +6 -1
- package/dist/runtime/components/ChatMessages.vue +2 -2
- package/dist/runtime/components/ChatMessages.vue.d.ts +6 -1
- package/dist/runtime/components/ChatPalette.d.vue.ts +1 -1
- package/dist/runtime/components/ChatPalette.vue +1 -1
- package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPrompt.d.vue.ts +9 -4
- package/dist/runtime/components/ChatPrompt.vue +1 -1
- package/dist/runtime/components/ChatPrompt.vue.d.ts +9 -4
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +9 -3
- package/dist/runtime/components/ChatPromptSubmit.vue +1 -1
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +9 -3
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -2
- package/dist/runtime/components/Checkbox.vue +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +16 -11
- package/dist/runtime/components/CheckboxGroup.vue +2 -2
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +16 -11
- package/dist/runtime/components/Chip.d.vue.ts +8 -3
- package/dist/runtime/components/Chip.vue +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +8 -3
- package/dist/runtime/components/Collapsible.d.vue.ts +5 -3
- package/dist/runtime/components/Collapsible.vue +1 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +5 -3
- package/dist/runtime/components/ColorPicker.d.vue.ts +7 -3
- package/dist/runtime/components/ColorPicker.vue +1 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +7 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +37 -14
- package/dist/runtime/components/CommandPalette.vue +26 -21
- package/dist/runtime/components/CommandPalette.vue.d.ts +37 -14
- package/dist/runtime/components/Container.d.vue.ts +1 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +10 -6
- package/dist/runtime/components/ContextMenu.vue +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +10 -6
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +14 -6
- package/dist/runtime/components/ContextMenuContent.vue +11 -11
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Countdown.d.vue.ts +12 -3
- package/dist/runtime/components/Countdown.vue +1 -1
- package/dist/runtime/components/Countdown.vue.d.ts +12 -3
- package/dist/runtime/components/DashboardGroup.d.vue.ts +4 -1
- package/dist/runtime/components/DashboardGroup.vue.d.ts +4 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +13 -4
- package/dist/runtime/components/DashboardSearch.vue +4 -2
- package/dist/runtime/components/DashboardSearch.vue.d.ts +13 -4
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +6 -1
- package/dist/runtime/components/DashboardSearchButton.vue +1 -1
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +6 -1
- package/dist/runtime/components/DescriptionList.d.vue.ts +8 -6
- package/dist/runtime/components/DescriptionList.vue +1 -1
- package/dist/runtime/components/DescriptionList.vue.d.ts +8 -6
- package/dist/runtime/components/DropdownMenu.d.vue.ts +10 -6
- package/dist/runtime/components/DropdownMenu.vue +1 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +10 -6
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +14 -6
- package/dist/runtime/components/DropdownMenuContent.vue +11 -11
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Editor.d.vue.ts +29 -15
- package/dist/runtime/components/Editor.vue +31 -17
- package/dist/runtime/components/Editor.vue.d.ts +29 -15
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +18 -3
- package/dist/runtime/components/EditorDragHandle.vue +12 -5
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +18 -3
- package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +12 -6
- package/dist/runtime/components/EditorEmojiMenu.vue +5 -2
- package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +12 -6
- package/dist/runtime/components/EditorMentionMenu.d.vue.ts +12 -6
- package/dist/runtime/components/EditorMentionMenu.vue +5 -2
- package/dist/runtime/components/EditorMentionMenu.vue.d.ts +12 -6
- package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +12 -6
- package/dist/runtime/components/EditorSuggestionMenu.vue +5 -2
- package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +12 -6
- package/dist/runtime/components/EditorToolbar.d.vue.ts +8 -6
- package/dist/runtime/components/EditorToolbar.vue +10 -9
- package/dist/runtime/components/EditorToolbar.vue.d.ts +8 -6
- package/dist/runtime/components/Empty.d.vue.ts +3 -1
- package/dist/runtime/components/Empty.vue +1 -1
- package/dist/runtime/components/Empty.vue.d.ts +3 -1
- package/dist/runtime/components/Error.d.vue.ts +6 -2
- package/dist/runtime/components/Error.vue +2 -2
- package/dist/runtime/components/Error.vue.d.ts +6 -2
- package/dist/runtime/components/FieldGroup.d.vue.ts +4 -1
- package/dist/runtime/components/FieldGroup.vue +1 -1
- package/dist/runtime/components/FieldGroup.vue.d.ts +4 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +13 -8
- package/dist/runtime/components/FileUpload.vue +3 -3
- package/dist/runtime/components/FileUpload.vue.d.ts +13 -8
- package/dist/runtime/components/Form.d.vue.ts +11 -6
- package/dist/runtime/components/Form.vue.d.ts +11 -6
- package/dist/runtime/components/FormField.d.vue.ts +3 -1
- package/dist/runtime/components/FormField.vue +1 -1
- package/dist/runtime/components/FormField.vue.d.ts +3 -1
- package/dist/runtime/components/Input.d.vue.ts +13 -7
- package/dist/runtime/components/Input.vue +2 -2
- package/dist/runtime/components/Input.vue.d.ts +13 -7
- package/dist/runtime/components/InputDate.d.vue.ts +15 -8
- package/dist/runtime/components/InputDate.vue +1 -1
- package/dist/runtime/components/InputDate.vue.d.ts +15 -8
- package/dist/runtime/components/InputMenu.d.vue.ts +43 -16
- package/dist/runtime/components/InputMenu.vue +43 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +43 -16
- package/dist/runtime/components/InputNumber.d.vue.ts +15 -9
- package/dist/runtime/components/InputNumber.vue +7 -6
- package/dist/runtime/components/InputNumber.vue.d.ts +15 -9
- package/dist/runtime/components/InputTags.d.vue.ts +17 -7
- package/dist/runtime/components/InputTags.vue +1 -1
- package/dist/runtime/components/InputTags.vue.d.ts +17 -7
- package/dist/runtime/components/InputTime.d.vue.ts +10 -9
- package/dist/runtime/components/InputTime.vue +2 -1
- package/dist/runtime/components/InputTime.vue.d.ts +10 -9
- package/dist/runtime/components/Kbd.d.vue.ts +4 -1
- package/dist/runtime/components/Kbd.vue.d.ts +4 -1
- package/dist/runtime/components/Link.d.vue.ts +7 -1
- package/dist/runtime/components/Link.vue.d.ts +7 -1
- package/dist/runtime/components/LinkBase.d.vue.ts +6 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +6 -3
- package/dist/runtime/components/Modal.d.vue.ts +12 -3
- package/dist/runtime/components/Modal.vue +5 -14
- package/dist/runtime/components/Modal.vue.d.ts +12 -3
- package/dist/runtime/components/ModalDialogClose.d.vue.ts +1 -1
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/Navbar.d.vue.ts +3 -1
- package/dist/runtime/components/Navbar.vue +1 -1
- package/dist/runtime/components/Navbar.vue.d.ts +3 -1
- package/dist/runtime/components/NavbarDivider.d.vue.ts +3 -1
- package/dist/runtime/components/NavbarDivider.vue +1 -1
- package/dist/runtime/components/NavbarDivider.vue.d.ts +3 -1
- package/dist/runtime/components/NavbarSection.d.vue.ts +3 -1
- package/dist/runtime/components/NavbarSection.vue +1 -1
- package/dist/runtime/components/NavbarSection.vue.d.ts +3 -1
- package/dist/runtime/components/NavbarSpacer.d.vue.ts +3 -1
- package/dist/runtime/components/NavbarSpacer.vue +1 -1
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +3 -1
- package/dist/runtime/components/NavigationMenu.d.vue.ts +16 -7
- package/dist/runtime/components/NavigationMenu.vue +10 -9
- package/dist/runtime/components/NavigationMenu.vue.d.ts +16 -7
- package/dist/runtime/components/PageCard.d.vue.ts +3 -1
- package/dist/runtime/components/PageCard.vue +1 -1
- package/dist/runtime/components/PageCard.vue.d.ts +3 -1
- package/dist/runtime/components/PageColumns.d.vue.ts +1 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
- package/dist/runtime/components/PageGrid.d.vue.ts +1 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
- package/dist/runtime/components/PageLinks.d.vue.ts +8 -6
- package/dist/runtime/components/PageLinks.vue +1 -1
- package/dist/runtime/components/PageLinks.vue.d.ts +8 -6
- package/dist/runtime/components/PageList.d.vue.ts +3 -1
- package/dist/runtime/components/PageList.vue.d.ts +3 -1
- package/dist/runtime/components/Pagination.d.vue.ts +11 -3
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +11 -3
- package/dist/runtime/components/PinInput.d.vue.ts +14 -8
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +14 -8
- package/dist/runtime/components/Popover.d.vue.ts +11 -6
- package/dist/runtime/components/Popover.vue +4 -1
- package/dist/runtime/components/Popover.vue.d.ts +11 -6
- package/dist/runtime/components/Progress.d.vue.ts +7 -3
- package/dist/runtime/components/Progress.vue +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +7 -3
- package/dist/runtime/components/RadioGroup.d.vue.ts +12 -7
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +12 -7
- package/dist/runtime/components/Range.d.vue.ts +14 -9
- package/dist/runtime/components/Range.vue +1 -1
- package/dist/runtime/components/Range.vue.d.ts +14 -9
- package/dist/runtime/components/ScrollArea.d.vue.ts +10 -6
- package/dist/runtime/components/ScrollArea.vue +1 -1
- package/dist/runtime/components/ScrollArea.vue.d.ts +10 -6
- package/dist/runtime/components/Select.d.vue.ts +15 -6
- package/dist/runtime/components/Select.vue +5 -2
- package/dist/runtime/components/Select.vue.d.ts +15 -6
- package/dist/runtime/components/SelectMenu.d.vue.ts +42 -16
- package/dist/runtime/components/SelectMenu.vue +46 -12
- package/dist/runtime/components/SelectMenu.vue.d.ts +42 -16
- package/dist/runtime/components/Separator.d.vue.ts +7 -2
- package/dist/runtime/components/Separator.vue.d.ts +7 -2
- package/dist/runtime/components/Sidebar.d.vue.ts +3 -1
- package/dist/runtime/components/Sidebar.vue +1 -1
- package/dist/runtime/components/Sidebar.vue.d.ts +3 -1
- package/dist/runtime/components/SidebarBody.d.vue.ts +4 -1
- package/dist/runtime/components/SidebarBody.vue +1 -1
- package/dist/runtime/components/SidebarBody.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarFooter.d.vue.ts +3 -1
- package/dist/runtime/components/SidebarFooter.vue +1 -1
- package/dist/runtime/components/SidebarFooter.vue.d.ts +3 -1
- package/dist/runtime/components/SidebarHeader.d.vue.ts +3 -1
- package/dist/runtime/components/SidebarHeader.vue +1 -1
- package/dist/runtime/components/SidebarHeader.vue.d.ts +3 -1
- package/dist/runtime/components/SidebarHeading.d.vue.ts +3 -1
- package/dist/runtime/components/SidebarHeading.vue +1 -1
- package/dist/runtime/components/SidebarHeading.vue.d.ts +3 -1
- package/dist/runtime/components/SidebarLayout.d.vue.ts +6 -1
- package/dist/runtime/components/SidebarLayout.vue +1 -1
- package/dist/runtime/components/SidebarLayout.vue.d.ts +6 -1
- package/dist/runtime/components/SidebarSection.d.vue.ts +3 -1
- package/dist/runtime/components/SidebarSection.vue +1 -1
- package/dist/runtime/components/SidebarSection.vue.d.ts +3 -1
- package/dist/runtime/components/SidebarSpacer.d.vue.ts +3 -1
- package/dist/runtime/components/SidebarSpacer.vue +1 -1
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +3 -1
- package/dist/runtime/components/Skeleton.d.vue.ts +5 -3
- package/dist/runtime/components/Skeleton.vue +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +5 -3
- package/dist/runtime/components/Slideover.d.vue.ts +13 -3
- package/dist/runtime/components/Slideover.vue +5 -2
- package/dist/runtime/components/Slideover.vue.d.ts +13 -3
- package/dist/runtime/components/Stepper.d.vue.ts +24 -10
- package/dist/runtime/components/Stepper.vue +21 -17
- package/dist/runtime/components/Stepper.vue.d.ts +24 -10
- package/dist/runtime/components/Switch.d.vue.ts +2 -2
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/Table.d.vue.ts +25 -10
- package/dist/runtime/components/Table.vue +1 -1
- package/dist/runtime/components/Table.vue.d.ts +25 -10
- package/dist/runtime/components/TableWrapper.d.vue.ts +6 -3
- package/dist/runtime/components/TableWrapper.vue +1 -1
- package/dist/runtime/components/TableWrapper.vue.d.ts +6 -3
- package/dist/runtime/components/Tabs.d.vue.ts +17 -9
- package/dist/runtime/components/Tabs.vue +6 -5
- package/dist/runtime/components/Tabs.vue.d.ts +17 -9
- package/dist/runtime/components/Textarea.d.vue.ts +13 -7
- package/dist/runtime/components/Textarea.vue +1 -1
- package/dist/runtime/components/Textarea.vue.d.ts +13 -7
- package/dist/runtime/components/Timeline.d.vue.ts +24 -10
- package/dist/runtime/components/Timeline.vue +27 -18
- package/dist/runtime/components/Timeline.vue.d.ts +24 -10
- package/dist/runtime/components/Toast.d.vue.ts +7 -3
- package/dist/runtime/components/Toast.vue +1 -1
- package/dist/runtime/components/Toast.vue.d.ts +7 -3
- package/dist/runtime/components/Toaster.d.vue.ts +8 -1
- package/dist/runtime/components/Toaster.vue +1 -1
- package/dist/runtime/components/Toaster.vue.d.ts +8 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +6 -3
- package/dist/runtime/components/Tooltip.vue +1 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +6 -3
- package/dist/runtime/components/User.d.vue.ts +3 -1
- package/dist/runtime/components/User.vue +1 -1
- package/dist/runtime/components/User.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +5 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +17 -9
- package/dist/runtime/components/content/ContentSearch.vue +4 -2
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +17 -9
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +6 -1
- package/dist/runtime/components/content/ContentSearchButton.vue +1 -1
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +6 -1
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +8 -6
- package/dist/runtime/components/content/ContentSurround.vue +2 -2
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +8 -6
- package/dist/runtime/components/content/ContentToc.d.vue.ts +11 -6
- package/dist/runtime/components/content/ContentToc.vue +1 -1
- package/dist/runtime/components/content/ContentToc.vue.d.ts +11 -6
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +7 -3
- package/dist/runtime/components/locale/LocaleSelect.vue +5 -1
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +7 -3
- package/dist/runtime/components/prose/A.d.vue.ts +1 -1
- package/dist/runtime/components/prose/A.vue +1 -1
- package/dist/runtime/components/prose/A.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Accordion.d.vue.ts +3 -1
- package/dist/runtime/components/prose/Accordion.vue +1 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +3 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +1 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.vue +1 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Callout.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Callout.vue +7 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Card.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Card.vue +1 -1
- package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Code.vue +1 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -2
- package/dist/runtime/components/prose/CodeCollapse.vue +1 -1
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -2
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +5 -3
- package/dist/runtime/components/prose/CodeGroup.vue +1 -1
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +5 -3
- package/dist/runtime/components/prose/CodeIcon.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.vue +1 -1
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.vue +1 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Em.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Em.vue +1 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Field.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Field.vue +1 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.d.vue.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H1.vue +1 -1
- package/dist/runtime/components/prose/H1.vue.d.ts +3 -1
- package/dist/runtime/components/prose/H2.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H2.vue +1 -1
- package/dist/runtime/components/prose/H2.vue.d.ts +3 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H3.vue +1 -1
- package/dist/runtime/components/prose/H3.vue.d.ts +3 -1
- package/dist/runtime/components/prose/H4.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H4.vue +1 -1
- package/dist/runtime/components/prose/H4.vue.d.ts +3 -1
- package/dist/runtime/components/prose/H5.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H5.vue +1 -1
- package/dist/runtime/components/prose/H5.vue.d.ts +3 -1
- package/dist/runtime/components/prose/H6.d.vue.ts +3 -1
- package/dist/runtime/components/prose/H6.vue +1 -1
- package/dist/runtime/components/prose/H6.vue.d.ts +3 -1
- package/dist/runtime/components/prose/Hr.d.vue.ts +7 -1
- package/dist/runtime/components/prose/Hr.vue +1 -1
- package/dist/runtime/components/prose/Hr.vue.d.ts +7 -1
- package/dist/runtime/components/prose/Img.d.vue.ts +3 -1
- package/dist/runtime/components/prose/Img.vue +1 -1
- package/dist/runtime/components/prose/Img.vue.d.ts +3 -1
- package/dist/runtime/components/prose/Kbd.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Li.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Li.vue +1 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ol.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Ol.vue +1 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
- package/dist/runtime/components/prose/P.d.vue.ts +4 -1
- package/dist/runtime/components/prose/P.vue +1 -1
- package/dist/runtime/components/prose/P.vue.d.ts +4 -1
- package/dist/runtime/components/prose/Pre.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Pre.vue +1 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Strong.vue +1 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Table.d.vue.ts +7 -1
- package/dist/runtime/components/prose/Table.vue +1 -1
- package/dist/runtime/components/prose/Table.vue.d.ts +7 -1
- package/dist/runtime/components/prose/Tabs.d.vue.ts +5 -3
- package/dist/runtime/components/prose/Tabs.vue +1 -1
- package/dist/runtime/components/prose/Tabs.vue.d.ts +5 -3
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +1 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Tbody.vue +1 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Td.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Td.vue +5 -2
- package/dist/runtime/components/prose/Td.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Th.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Th.vue +5 -2
- package/dist/runtime/components/prose/Th.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Thead.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Thead.vue +1 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tr.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Tr.vue +1 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ul.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Ul.vue +1 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
- package/dist/runtime/composables/defineShortcuts.js +1 -1
- package/dist/runtime/composables/useEditorMenu.d.ts +1 -1
- package/dist/runtime/composables/useEditorMenu.js +36 -9
- package/dist/runtime/composables/useOverlay.d.ts +3 -1
- package/dist/runtime/types/editor.d.ts +2 -1
- package/dist/runtime/types/html.d.ts +3 -1
- package/dist/runtime/utils/ai.d.ts +7 -0
- package/dist/runtime/utils/editor.d.ts +1 -1
- package/dist/runtime/utils/editor.js +28 -10
- package/dist/runtime/utils/fuse.js +22 -3
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +2 -2
- package/dist/runtime/utils/overlay.d.ts +19 -0
- package/dist/runtime/utils/overlay.js +13 -0
- package/dist/runtime/utils/virtualizer.d.ts +1 -3
- package/dist/runtime/utils/virtualizer.js +15 -6
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +3 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +5 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +3 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +7 -1
- package/dist/runtime/vue/overrides/inertia/Link.vue +1 -0
- package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +7 -1
- package/dist/runtime/vue/overrides/inertia/LinkBase.d.vue.ts +6 -3
- package/dist/runtime/vue/overrides/inertia/LinkBase.vue.d.ts +6 -3
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +7 -1
- package/dist/runtime/vue/overrides/none/Link.vue +11 -3
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +7 -1
- package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +7 -1
- package/dist/runtime/vue/overrides/vue-router/Link.vue +2 -2
- package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +7 -1
- package/dist/runtime/vue/plugins/router.d.ts +4 -0
- package/dist/runtime/vue/plugins/router.js +7 -0
- package/dist/shared/{b24ui-nuxt.C-CS9MBp.mjs → b24ui-nuxt.DEyBXBFe.mjs} +288 -46
- package/dist/unplugin.mjs +5 -3
- package/dist/vite.d.mts +2 -3
- package/dist/vite.mjs +1 -1
- package/package.json +54 -42
- package/dist/meta.d.mts +0 -220263
- package/dist/meta.mjs +0 -220263
|
@@ -168,7 +168,7 @@ function resolveLinkClass({ route: route2, isActive, isExactActive } = {}) {
|
|
|
168
168
|
href: to,
|
|
169
169
|
rel,
|
|
170
170
|
target,
|
|
171
|
-
active,
|
|
171
|
+
active: active ?? false,
|
|
172
172
|
isExternal
|
|
173
173
|
}"
|
|
174
174
|
/>
|
|
@@ -187,7 +187,7 @@ function resolveLinkClass({ route: route2, isActive, isExactActive } = {}) {
|
|
|
187
187
|
}"
|
|
188
188
|
:class="resolveLinkClass()"
|
|
189
189
|
>
|
|
190
|
-
<slot :active="active" />
|
|
190
|
+
<slot :active="active ?? false" />
|
|
191
191
|
</B24LinkBase>
|
|
192
192
|
</template>
|
|
193
193
|
</template>
|
|
@@ -54,9 +54,15 @@ export interface LinkSlots {
|
|
|
54
54
|
active: boolean;
|
|
55
55
|
}): any;
|
|
56
56
|
}
|
|
57
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
58
57
|
declare const _default: typeof __VLS_export;
|
|
59
58
|
export default _default;
|
|
59
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
60
|
+
as: any;
|
|
61
|
+
type: "reset" | "submit" | "button";
|
|
62
|
+
active: boolean;
|
|
63
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
64
|
+
isAction: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
60
66
|
type __VLS_WithSlots<T, S> = T & {
|
|
61
67
|
new (): {
|
|
62
68
|
$slots: S;
|
|
@@ -8,7 +8,7 @@ import { globSync } from 'tinyglobby';
|
|
|
8
8
|
import { defuFn } from 'defu';
|
|
9
9
|
|
|
10
10
|
const name = "@bitrix24/b24ui-nuxt";
|
|
11
|
-
const version = "2.
|
|
11
|
+
const version = "2.3.0";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -1307,9 +1307,10 @@ const calendar = {
|
|
|
1307
1307
|
gridBody: "grid",
|
|
1308
1308
|
headCell: [
|
|
1309
1309
|
"font-(--ui-font-weight-normal)",
|
|
1310
|
-
"text-(--ui-color-design-plain-na-content)"
|
|
1310
|
+
"text-(--ui-color-design-plain-na-content-secondary)"
|
|
1311
1311
|
// text-base-500
|
|
1312
1312
|
].join(" "),
|
|
1313
|
+
headCellWeek: "text-(--ui-color-design-plain-na-content-secondary)",
|
|
1313
1314
|
cell: "relative text-center cursor-pointer aria-disabled:cursor-not-allowed",
|
|
1314
1315
|
cellTrigger: [
|
|
1315
1316
|
"m-0.5 relative",
|
|
@@ -1333,6 +1334,11 @@ const calendar = {
|
|
|
1333
1334
|
"data-unavailable:pointer-events-none",
|
|
1334
1335
|
"data-today:font-(--ui-font-weight-semi-bold)",
|
|
1335
1336
|
"transition"
|
|
1337
|
+
].join(" "),
|
|
1338
|
+
cellWeek: [
|
|
1339
|
+
"relative",
|
|
1340
|
+
"text-center",
|
|
1341
|
+
"text-(--ui-color-design-plain-na-content-secondary)"
|
|
1336
1342
|
].join(" ")
|
|
1337
1343
|
},
|
|
1338
1344
|
variants: {
|
|
@@ -1356,28 +1362,42 @@ const calendar = {
|
|
|
1356
1362
|
xs: {
|
|
1357
1363
|
heading: "text-(length:--ui-font-size-md)",
|
|
1358
1364
|
cell: "text-(length:--ui-font-size-sm)",
|
|
1359
|
-
|
|
1365
|
+
cellWeek: "text-(length:--ui-font-size-4xs)",
|
|
1366
|
+
headCell: "text-(length:--ui-font-size-4xs)",
|
|
1367
|
+
headCellWeek: "text-(length:--ui-font-size-4xs)",
|
|
1360
1368
|
cellTrigger: "size-[28px]",
|
|
1361
1369
|
body: "space-y-2 pt-2"
|
|
1362
1370
|
},
|
|
1363
1371
|
sm: {
|
|
1364
1372
|
heading: "text-(length:--ui-font-size-md)",
|
|
1365
|
-
headCell: "text-(length:--ui-font-size-
|
|
1373
|
+
headCell: "text-(length:--ui-font-size-3xs)",
|
|
1374
|
+
headCellWeek: "text-(length:--ui-font-size-3xs)",
|
|
1375
|
+
cellWeek: "text-(length:--ui-font-size-3xs)",
|
|
1366
1376
|
cell: "text-(length:--ui-font-size-sm)",
|
|
1367
1377
|
cellTrigger: "size-[28px]"
|
|
1368
1378
|
},
|
|
1369
1379
|
md: {
|
|
1370
1380
|
heading: "text-(length:--ui-font-size-lg)",
|
|
1371
|
-
headCell: "text-(length:--ui-font-size-
|
|
1381
|
+
headCell: "text-(length:--ui-font-size-xs)",
|
|
1382
|
+
headCellWeek: "text-(length:--ui-font-size-xs)",
|
|
1383
|
+
cellWeek: "text-(length:--ui-font-size-xs)",
|
|
1372
1384
|
cell: "text-(length:--ui-font-size-md)",
|
|
1373
1385
|
cellTrigger: "size-[32px]"
|
|
1374
1386
|
},
|
|
1375
1387
|
lg: {
|
|
1376
1388
|
heading: "text-(length:--ui-font-size-2xl)",
|
|
1377
|
-
headCell: "text-(length:--ui-font-size-
|
|
1389
|
+
headCell: "text-(length:--ui-font-size-xs)",
|
|
1390
|
+
headCellWeek: "text-(length:--ui-font-size-xs)",
|
|
1391
|
+
cellWeek: "text-(length:--ui-font-size-xs)",
|
|
1378
1392
|
cell: "text-(length:--ui-font-size-lg)",
|
|
1379
1393
|
cellTrigger: "size-[36px] text-(length:--ui-font-size-lg)"
|
|
1380
1394
|
}
|
|
1395
|
+
},
|
|
1396
|
+
weekNumbers: {
|
|
1397
|
+
true: {
|
|
1398
|
+
gridRow: "grid-cols-8",
|
|
1399
|
+
gridWeekDaysRow: "grid-cols-8 [&>*:first-child]:col-start-2"
|
|
1400
|
+
}
|
|
1381
1401
|
}
|
|
1382
1402
|
},
|
|
1383
1403
|
defaultVariants: {
|
|
@@ -2404,7 +2424,7 @@ const commandPalette = {
|
|
|
2404
2424
|
"min-h-0 min-w-0",
|
|
2405
2425
|
"divide-y divide-(--ui-color-design-tinted-na-stroke)"
|
|
2406
2426
|
].join(" "),
|
|
2407
|
-
input: "
|
|
2427
|
+
input: "",
|
|
2408
2428
|
close: "",
|
|
2409
2429
|
back: "p-0",
|
|
2410
2430
|
content: "relative overflow-hidden flex flex-col",
|
|
@@ -2419,23 +2439,15 @@ const commandPalette = {
|
|
|
2419
2439
|
].join(" "),
|
|
2420
2440
|
group: "p-1 isolate",
|
|
2421
2441
|
empty: [
|
|
2422
|
-
"py-6",
|
|
2423
2442
|
"text-center",
|
|
2424
|
-
"text-(length:--ui-font-size-sm)",
|
|
2425
2443
|
"text-(--b24ui-typography-description-color)"
|
|
2426
2444
|
].join(" "),
|
|
2427
|
-
label:
|
|
2428
|
-
"p-[6px]",
|
|
2429
|
-
"text-(length:--ui-font-size-xs)",
|
|
2430
|
-
"text-(--b24ui-typography-label-color)"
|
|
2431
|
-
].join(" "),
|
|
2445
|
+
label: "text-(--b24ui-typography-label-color)",
|
|
2432
2446
|
item: [
|
|
2433
2447
|
"group",
|
|
2434
2448
|
"relative",
|
|
2435
2449
|
"w-full",
|
|
2436
|
-
"flex items-center
|
|
2437
|
-
"p-[6px]",
|
|
2438
|
-
"text-(length:--ui-font-size-sm)",
|
|
2450
|
+
"flex items-center",
|
|
2439
2451
|
"select-none",
|
|
2440
2452
|
"outline-none",
|
|
2441
2453
|
"before:absolute",
|
|
@@ -2445,21 +2457,21 @@ const commandPalette = {
|
|
|
2445
2457
|
"data-disabled:cursor-not-allowed",
|
|
2446
2458
|
"data-disabled:opacity-30"
|
|
2447
2459
|
].join(" "),
|
|
2448
|
-
itemLeadingIcon: "shrink-0
|
|
2460
|
+
itemLeadingIcon: "shrink-0",
|
|
2449
2461
|
itemLeadingAvatar: "shrink-0",
|
|
2450
|
-
itemLeadingAvatarSize: "
|
|
2451
|
-
itemLeadingChip: "shrink-0
|
|
2452
|
-
itemLeadingChipSize: "
|
|
2453
|
-
itemTrailing: "ms-auto inline-flex
|
|
2454
|
-
itemTrailingIcon: "shrink-0
|
|
2462
|
+
itemLeadingAvatarSize: "",
|
|
2463
|
+
itemLeadingChip: "shrink-0",
|
|
2464
|
+
itemLeadingChipSize: "",
|
|
2465
|
+
itemTrailing: "ms-auto inline-flex items-center",
|
|
2466
|
+
itemTrailingIcon: "shrink-0 text-(--ui-color-accent-main-primary)",
|
|
2455
2467
|
itemTrailingHighlightedIcon: [
|
|
2456
|
-
"shrink-0
|
|
2468
|
+
"shrink-0",
|
|
2457
2469
|
"text-(--b24ui-typography-label-color)",
|
|
2458
2470
|
"hidden",
|
|
2459
2471
|
"group-data-highlighted:inline-flex"
|
|
2460
2472
|
].join(" "),
|
|
2461
|
-
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0
|
|
2462
|
-
itemTrailingKbdsSize: "
|
|
2473
|
+
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0",
|
|
2474
|
+
itemTrailingKbdsSize: "",
|
|
2463
2475
|
itemWrapper: "flex-1 flex flex-col text-start min-w-0 overflow-hidden",
|
|
2464
2476
|
itemLabel: "truncate space-x-1 text-(--b24ui-typography-label-color)",
|
|
2465
2477
|
itemDescription: "truncate -mt-[6px] text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
|
|
@@ -2477,6 +2489,104 @@ const commandPalette = {
|
|
|
2477
2489
|
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
2478
2490
|
}
|
|
2479
2491
|
},
|
|
2492
|
+
size: {
|
|
2493
|
+
xss: {
|
|
2494
|
+
input: "ps-[20px] pe-[20px]",
|
|
2495
|
+
// [&>input]:h-10
|
|
2496
|
+
empty: "py-3 text-(length:--ui-font-size-4xs)",
|
|
2497
|
+
label: "p-1 text-[10px]/3 gap-1",
|
|
2498
|
+
item: "p-1 text-(length:--ui-font-size-4xs) gap-1",
|
|
2499
|
+
itemLeadingIcon: "size-4",
|
|
2500
|
+
itemLeadingAvatarSize: "3xs",
|
|
2501
|
+
itemLeadingChip: "size-4",
|
|
2502
|
+
itemLeadingChipSize: "sm",
|
|
2503
|
+
itemTrailing: "gap-1",
|
|
2504
|
+
itemTrailingIcon: "size-4",
|
|
2505
|
+
itemTrailingHighlightedIcon: "size-4",
|
|
2506
|
+
itemTrailingKbds: "gap-0.5",
|
|
2507
|
+
itemTrailingKbdsSize: "sm"
|
|
2508
|
+
},
|
|
2509
|
+
xs: {
|
|
2510
|
+
input: "ps-[22px] pe-[22px]",
|
|
2511
|
+
// [&>input]:h-10
|
|
2512
|
+
empty: "py-3 text-(length:--ui-font-size-xs)",
|
|
2513
|
+
label: "p-1 text-[10px]/3 gap-1",
|
|
2514
|
+
item: "p-1 text-(length:--ui-font-size-xs) gap-1",
|
|
2515
|
+
itemLeadingIcon: "size-4",
|
|
2516
|
+
itemLeadingAvatarSize: "3xs",
|
|
2517
|
+
itemLeadingChip: "size-4",
|
|
2518
|
+
itemLeadingChipSize: "sm",
|
|
2519
|
+
itemTrailing: "gap-1",
|
|
2520
|
+
itemTrailingIcon: "size-4",
|
|
2521
|
+
itemTrailingHighlightedIcon: "size-4",
|
|
2522
|
+
itemTrailingKbds: "gap-0.5",
|
|
2523
|
+
itemTrailingKbdsSize: "sm"
|
|
2524
|
+
},
|
|
2525
|
+
sm: {
|
|
2526
|
+
input: "ps-[28px] pe-[28px]",
|
|
2527
|
+
// [&>input]:h-11
|
|
2528
|
+
empty: "py-4 text-(length:--ui-font-size-sm)",
|
|
2529
|
+
label: "p-1.5 text-[10px]/3 gap-1.5",
|
|
2530
|
+
item: "p-1.5 text-(length:--ui-font-size-sm) gap-1.5",
|
|
2531
|
+
itemLeadingIcon: "size-4",
|
|
2532
|
+
itemLeadingAvatarSize: "3xs",
|
|
2533
|
+
itemLeadingChip: "size-4",
|
|
2534
|
+
itemLeadingChipSize: "sm",
|
|
2535
|
+
itemTrailing: "gap-1.5",
|
|
2536
|
+
itemTrailingIcon: "size-4",
|
|
2537
|
+
itemTrailingHighlightedIcon: "size-4",
|
|
2538
|
+
itemTrailingKbds: "gap-0.5",
|
|
2539
|
+
itemTrailingKbdsSize: "sm"
|
|
2540
|
+
},
|
|
2541
|
+
md: {
|
|
2542
|
+
input: "ps-[40px] pe-[44px]",
|
|
2543
|
+
// [&>input]:h-12
|
|
2544
|
+
empty: "py-6 text-(length:--ui-font-size-sm)",
|
|
2545
|
+
label: "p-[6px] text-(length:--ui-font-size-xs) gap-[6px]",
|
|
2546
|
+
item: "p-[6px] text-(length:--ui-font-size-md) gap-[6px]",
|
|
2547
|
+
itemLeadingIcon: "size-[20px]",
|
|
2548
|
+
itemLeadingAvatarSize: "2xs",
|
|
2549
|
+
itemLeadingChip: "size-[20px]",
|
|
2550
|
+
itemLeadingChipSize: "md",
|
|
2551
|
+
itemTrailing: "gap-[6px]",
|
|
2552
|
+
itemTrailingIcon: "size-[20px]",
|
|
2553
|
+
itemTrailingHighlightedIcon: "size-[20px]",
|
|
2554
|
+
itemTrailingKbds: "gap-0.5",
|
|
2555
|
+
itemTrailingKbdsSize: "md"
|
|
2556
|
+
},
|
|
2557
|
+
lg: {
|
|
2558
|
+
input: "ps-[40px] pe-[44px]",
|
|
2559
|
+
// [&>input]:h-13
|
|
2560
|
+
empty: "py-7 :text-(length:--ui-font-size-sm)",
|
|
2561
|
+
label: "p-2 text-(length:--ui-font-size-lg) gap-2",
|
|
2562
|
+
item: "p-2 text-(length:--ui-font-size-lg) gap-2",
|
|
2563
|
+
itemLeadingIcon: "size-5",
|
|
2564
|
+
itemLeadingAvatarSize: "2xs",
|
|
2565
|
+
itemLeadingChip: "size-5",
|
|
2566
|
+
itemLeadingChipSize: "md",
|
|
2567
|
+
itemTrailing: "gap-2",
|
|
2568
|
+
itemTrailingIcon: "size-5",
|
|
2569
|
+
itemTrailingHighlightedIcon: "size-5",
|
|
2570
|
+
itemTrailingKbds: "gap-0.5",
|
|
2571
|
+
itemTrailingKbdsSize: "md"
|
|
2572
|
+
},
|
|
2573
|
+
xl: {
|
|
2574
|
+
input: "ps-[40px] pe-[44px]",
|
|
2575
|
+
// [&>input]:h-14
|
|
2576
|
+
empty: "py-8 text-(length:--ui-font-size-lg)",
|
|
2577
|
+
label: "p-2 text-(length:--ui-font-size-2xl) gap-2",
|
|
2578
|
+
item: "p-2 text-(length:--ui-font-size-2xl) gap-2",
|
|
2579
|
+
itemLeadingIcon: "size-6",
|
|
2580
|
+
itemLeadingAvatarSize: "xs",
|
|
2581
|
+
itemLeadingChip: "size-6",
|
|
2582
|
+
itemLeadingChipSize: "lg",
|
|
2583
|
+
itemTrailing: "gap-2",
|
|
2584
|
+
itemTrailingIcon: "size-6",
|
|
2585
|
+
itemTrailingHighlightedIcon: "size-6",
|
|
2586
|
+
itemTrailingKbds: "gap-0.5",
|
|
2587
|
+
itemTrailingKbdsSize: "lg"
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2480
2590
|
active: {
|
|
2481
2591
|
true: {
|
|
2482
2592
|
item: "text-(--b24ui-typography-label-color) before:bg-(--ui-color-base-8)",
|
|
@@ -2501,6 +2611,9 @@ const commandPalette = {
|
|
|
2501
2611
|
itemLeadingIcon: "animate-spin"
|
|
2502
2612
|
}
|
|
2503
2613
|
}
|
|
2614
|
+
},
|
|
2615
|
+
defaultVariants: {
|
|
2616
|
+
size: "md"
|
|
2504
2617
|
}
|
|
2505
2618
|
};
|
|
2506
2619
|
|
|
@@ -2747,7 +2860,30 @@ const dashboardSearch = {
|
|
|
2747
2860
|
false: {
|
|
2748
2861
|
modal: "sm:max-w-[768px] h-full sm:h-[436px]"
|
|
2749
2862
|
}
|
|
2863
|
+
},
|
|
2864
|
+
size: {
|
|
2865
|
+
xss: {
|
|
2866
|
+
input: "[&>input]:text-(length:--ui-font-size-4xs)/[normal]"
|
|
2867
|
+
},
|
|
2868
|
+
xs: {
|
|
2869
|
+
input: "[&>input]:text-(length:--ui-font-size-xs)/[normal]"
|
|
2870
|
+
},
|
|
2871
|
+
sm: {
|
|
2872
|
+
input: "[&>input]:text-(length:--ui-font-size-sm)/[normal]"
|
|
2873
|
+
},
|
|
2874
|
+
md: {
|
|
2875
|
+
input: "[&>input]:text-(length:--ui-font-size-md)/[normal]"
|
|
2876
|
+
},
|
|
2877
|
+
lg: {
|
|
2878
|
+
input: "[&>input]:text-(length:--ui-font-size-lg)/[normal]"
|
|
2879
|
+
},
|
|
2880
|
+
xl: {
|
|
2881
|
+
input: "[&>input]:text-(length:--ui-font-size-2xl)/[normal]"
|
|
2882
|
+
}
|
|
2750
2883
|
}
|
|
2884
|
+
},
|
|
2885
|
+
defaultVariants: {
|
|
2886
|
+
size: "md"
|
|
2751
2887
|
}
|
|
2752
2888
|
};
|
|
2753
2889
|
|
|
@@ -3041,25 +3177,27 @@ const editor = {
|
|
|
3041
3177
|
base: [
|
|
3042
3178
|
"text-(--b24ui-typography-label-color)",
|
|
3043
3179
|
"w-full outline-none *:my-5 *:first:mt-0 *:last:mb-0 sm:px-8 selection:bg-(--ui-color-design-selection-bg)",
|
|
3044
|
-
// Placeholder
|
|
3045
|
-
"[&_:is(p,h1,h2,h3,h4).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4).is-empty]:before:text-(--b24ui-typography-description-color) [&_:is(p,h1,h2,h3,h4).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4).is-empty]:before:pointer-events-none",
|
|
3046
|
-
"[&_li_.is-empty]:before:content-none",
|
|
3047
3180
|
// Paragraph
|
|
3048
3181
|
"[&_p]:leading-7",
|
|
3049
3182
|
// Links
|
|
3050
3183
|
"[&_a]:text-(--ui-color-accent-main-primary) [&_a]:border-b [&_a]:border-transparent [&_a]:hover:border-(--ui-color-accent-main-primary) [&_a]:font-(--ui-font-weight-medium)",
|
|
3051
3184
|
"[&_a]:transition-colors",
|
|
3185
|
+
// Code inside links
|
|
3186
|
+
"[&_a>code]:border-dashed [&_a:hover>code]:border-(--ui-color-accent-soft-element-blue) [&_a:hover>code]:text-(--ui-color-accent-main-primary)",
|
|
3187
|
+
"[&_a>code]:transition-colors",
|
|
3052
3188
|
// Mentions
|
|
3053
3189
|
"[&_.mention]:text-(--ui-color-accent-main-primary) [&_.mention]:font-(--ui-font-weight-medium)",
|
|
3054
3190
|
// Headings - shared styles
|
|
3055
|
-
"[&_:is(h1,h2,h3,h4)]:text-(--b24ui-typography-label-color) [&_:is(h1,h2,h3,h4)]:font-(--ui-font-weight-bold)",
|
|
3191
|
+
"[&_:is(h1,h2,h3,h4,h5,h6)]:text-(--b24ui-typography-label-color) [&_:is(h1,h2,h3,h4,h5,h6)]:font-(--ui-font-weight-bold)",
|
|
3056
3192
|
// Headings - unique styles
|
|
3057
3193
|
"[&_h1]:text-3xl",
|
|
3058
3194
|
"[&_h2]:text-2xl",
|
|
3059
3195
|
"[&_h3]:text-xl",
|
|
3060
3196
|
"[&_h4]:text-lg",
|
|
3197
|
+
"[&_h5]:text-md",
|
|
3198
|
+
"[&_h6]:text-md",
|
|
3061
3199
|
// Code inside headings
|
|
3062
|
-
"[&_:is(h1,h2,h3,h4)>code]:border-dashed [&_:is(h1,h2,h3,h4)>code]:font-(--ui-font-weight-bold)",
|
|
3200
|
+
"[&_:is(h1,h2,h3,h4,h5,h6)>code]:border-dashed [&_:is(h1,h2,h3,h4,h5,h6)>code]:font-(--ui-font-weight-bold)",
|
|
3063
3201
|
"[&_h2>code]:text-xl/6",
|
|
3064
3202
|
"[&_h3>code]:text-lg/5",
|
|
3065
3203
|
// Blockquote & HR
|
|
@@ -3081,6 +3219,19 @@ const editor = {
|
|
|
3081
3219
|
// Selected nodes
|
|
3082
3220
|
"[&_.ProseMirror-selectednode:not(img):not(pre):not([data-node-view-wrapper])]:bg-(--ui-color-design-selection-bg)"
|
|
3083
3221
|
].join(" ")
|
|
3222
|
+
},
|
|
3223
|
+
variants: {
|
|
3224
|
+
placeholderMode: {
|
|
3225
|
+
firstLine: {
|
|
3226
|
+
base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:text-(--b24ui-typography-description-color) [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:float-start [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:pointer-events-none"
|
|
3227
|
+
},
|
|
3228
|
+
everyLine: {
|
|
3229
|
+
base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:text-(--b24ui-typography-description-color) [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:float-start [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:pointer-events-none"
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
defaultVariants: {
|
|
3234
|
+
placeholderMode: "everyLine"
|
|
3084
3235
|
}
|
|
3085
3236
|
};
|
|
3086
3237
|
|
|
@@ -3116,27 +3267,25 @@ const editorSuggestionMenu = {
|
|
|
3116
3267
|
// p-1 isolate
|
|
3117
3268
|
label: [
|
|
3118
3269
|
"w-full h-(--popup-window-delimiter-section-height)",
|
|
3119
|
-
"
|
|
3270
|
+
"mt-(--menu-item-block-stack-space)",
|
|
3120
3271
|
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3121
3272
|
"select-none outline-none whitespace-nowrap",
|
|
3122
3273
|
"text-start",
|
|
3123
|
-
"text-(length:--ui-size-sm)",
|
|
3124
3274
|
"text-(--b24ui-typography-legend-color)",
|
|
3125
3275
|
"font-(--ui-font-weight-normal)",
|
|
3126
3276
|
"after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--ui-color-divider-vibrant-default)"
|
|
3127
3277
|
].join(" "),
|
|
3128
3278
|
item: [
|
|
3129
3279
|
"group",
|
|
3130
|
-
"w-full
|
|
3280
|
+
"w-full ",
|
|
3131
3281
|
// min-w-[195px]
|
|
3132
|
-
"
|
|
3282
|
+
"mt-(--menu-item-block-stack-space)",
|
|
3133
3283
|
"relative",
|
|
3134
3284
|
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3135
3285
|
"select-none outline-none whitespace-nowrap",
|
|
3136
3286
|
"cursor-pointer",
|
|
3137
3287
|
"data-disabled:cursor-not-allowed data-disabled:opacity-30",
|
|
3138
3288
|
"text-start",
|
|
3139
|
-
"text-(length:--ui-font-size-md)",
|
|
3140
3289
|
"text-(--b24ui-typography-legend-color) hover:text-(--b24ui-typography-label-color)",
|
|
3141
3290
|
"data-highlighted:text-(--b24ui-typography-label-color)",
|
|
3142
3291
|
"data-[state=open]:text-(--b24ui-typography-label-color)",
|
|
@@ -3147,17 +3296,14 @@ const editorSuggestionMenu = {
|
|
|
3147
3296
|
].join(" "),
|
|
3148
3297
|
itemLeadingIcon: [
|
|
3149
3298
|
"shrink-0",
|
|
3150
|
-
"size-[18px]",
|
|
3151
3299
|
"text-(--ui-color-design-plain-content-icon-secondary)",
|
|
3152
3300
|
"group-data-highlighted:text-(--ui-color-accent-main-primary)",
|
|
3153
3301
|
"group-data-[state=open]:text-(--ui-color-accent-main-primary)",
|
|
3154
3302
|
"group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
3155
3303
|
"transition-colors"
|
|
3156
3304
|
].join(" "),
|
|
3157
|
-
itemLeadingAvatar: "shrink-0
|
|
3158
|
-
|
|
3159
|
-
itemLeadingAvatarSize: "2xs",
|
|
3160
|
-
// @memo this wrong
|
|
3305
|
+
itemLeadingAvatar: "shrink-0",
|
|
3306
|
+
itemLeadingAvatarSize: "",
|
|
3161
3307
|
itemWrapper: "ms-[4px] flex-1 flex flex-col text-start min-w-0",
|
|
3162
3308
|
itemLabel: [
|
|
3163
3309
|
"max-w-[240px] truncate -mt-px",
|
|
@@ -3167,6 +3313,53 @@ const editorSuggestionMenu = {
|
|
|
3167
3313
|
itemLabelExternalIcon: "inline-block size-[16px] text-(--ui-color-design-plain-content-icon-secondary)"
|
|
3168
3314
|
},
|
|
3169
3315
|
variants: {
|
|
3316
|
+
size: {
|
|
3317
|
+
xss: {
|
|
3318
|
+
label: "px-[14px] text-(length:--ui-font-size-4xs)/[normal] gap-[14px]",
|
|
3319
|
+
item: "px-[14px] :text-(length:--ui-font-size-4xs)/[normal] gap-[14px]",
|
|
3320
|
+
itemLeadingIcon: "size-4 text-(length:--ui-font-size-sm)/[normal]",
|
|
3321
|
+
itemLeadingAvatarSize: "3xs"
|
|
3322
|
+
},
|
|
3323
|
+
xs: {
|
|
3324
|
+
label: "px-[14px] text-(length:--ui-font-size-4xs)/[normal] gap-[14px]",
|
|
3325
|
+
item: "px-[14px] :text-(length:--ui-font-size-xs)/[normal] gap-[14px]",
|
|
3326
|
+
itemLeadingIcon: "size-4 text-(length:--ui-font-size-sm)/[normal]",
|
|
3327
|
+
itemLeadingAvatarSize: "3xs"
|
|
3328
|
+
},
|
|
3329
|
+
sm: {
|
|
3330
|
+
label: "px-[18px] text-(length:--ui-font-size-xs)/[normal] gap-[18px]",
|
|
3331
|
+
item: "px-[18px] :text-(length:--ui-font-size-xs)/[normal] gap-[18px]",
|
|
3332
|
+
itemLeadingIcon: "size-4 text-(length:--ui-font-size-sm)/[normal]",
|
|
3333
|
+
itemLeadingAvatarSize: "3xs"
|
|
3334
|
+
},
|
|
3335
|
+
md: {
|
|
3336
|
+
label: "px-[18px] text-(length:--ui-font-size-sm)/[normal] gap-[18px]",
|
|
3337
|
+
item: "h-[36px] px-[18px] text-(length:--ui-font-size-sm)/[normal] gap-[18px]",
|
|
3338
|
+
itemLeadingIcon: "size-[18px] text-(length:--ui-font-size-lg)/[normal]",
|
|
3339
|
+
itemLeadingAvatar: "size-[16px] me-[8px]",
|
|
3340
|
+
// @memo 18-2px
|
|
3341
|
+
itemLeadingAvatarSize: "2xs"
|
|
3342
|
+
// @memo this wrong
|
|
3343
|
+
},
|
|
3344
|
+
lg: {
|
|
3345
|
+
label: "px-[20px] :text-(length:--ui-font-size-sm)/[normal] gap-[20px]",
|
|
3346
|
+
item: "px-[20px] text-(length:--ui-font-size-sm)/[normal] gap-[20px]",
|
|
3347
|
+
itemLeadingIcon: "size-[18px] text-(length:--ui-font-size-lg)/[normal]",
|
|
3348
|
+
itemLeadingAvatar: "size-[16px] me-[8px]",
|
|
3349
|
+
// @memo 18-2px
|
|
3350
|
+
itemLeadingAvatarSize: "2xs"
|
|
3351
|
+
// @memo this wrong
|
|
3352
|
+
},
|
|
3353
|
+
xl: {
|
|
3354
|
+
label: "px-[20px] text-(length:--ui-font-size-sm)/[normal] gap-[20px]",
|
|
3355
|
+
item: "px-[20px] text-(length:--ui-font-size-lg)/[normal] gap-[20px]",
|
|
3356
|
+
itemLeadingIcon: "size-[20px] text-(length:--ui-font-size-2xl)/[normal]",
|
|
3357
|
+
itemLeadingAvatar: "size-[16px] me-[8px]",
|
|
3358
|
+
// @memo 18-2px
|
|
3359
|
+
itemLeadingAvatarSize: "xs"
|
|
3360
|
+
// @memo this wrong
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3170
3363
|
active: {
|
|
3171
3364
|
true: {
|
|
3172
3365
|
item: [
|
|
@@ -3181,6 +3374,9 @@ const editorSuggestionMenu = {
|
|
|
3181
3374
|
},
|
|
3182
3375
|
false: {}
|
|
3183
3376
|
}
|
|
3377
|
+
},
|
|
3378
|
+
defaultVariants: {
|
|
3379
|
+
size: "md"
|
|
3184
3380
|
}
|
|
3185
3381
|
};
|
|
3186
3382
|
|
|
@@ -4097,8 +4293,10 @@ const inputMenu = () => {
|
|
|
4097
4293
|
"group",
|
|
4098
4294
|
"absolute inset-y-0 end-0 flex items-center",
|
|
4099
4295
|
"disabled:cursor-not-allowed",
|
|
4100
|
-
"disabled:opacity-30"
|
|
4296
|
+
"disabled:opacity-30",
|
|
4297
|
+
"focus:outline-none"
|
|
4101
4298
|
].join(" "),
|
|
4299
|
+
trailingClear: "p-0",
|
|
4102
4300
|
content: [
|
|
4103
4301
|
"base-mode",
|
|
4104
4302
|
// w-(--reka-combobox-trigger-width)
|
|
@@ -7298,7 +7496,8 @@ const selectMenu = () => {
|
|
|
7298
7496
|
content,
|
|
7299
7497
|
"origin-(--reka-combobox-content-transform-origin) "
|
|
7300
7498
|
// w-(--reka-combobox-trigger-width)
|
|
7301
|
-
]
|
|
7499
|
+
],
|
|
7500
|
+
trailingClear: "p-0"
|
|
7302
7501
|
},
|
|
7303
7502
|
variants: {
|
|
7304
7503
|
virtualize: {
|
|
@@ -7451,9 +7650,9 @@ const skeleton = {
|
|
|
7451
7650
|
},
|
|
7452
7651
|
variants: {
|
|
7453
7652
|
accent: {
|
|
7454
|
-
default: "bg-(--ui-color-g-glass-grey-bg-1)",
|
|
7455
|
-
accent: "bg-(--ui-color-g-glass-grey-bg-2)",
|
|
7456
|
-
less: "bg-(--ui-color-g-
|
|
7653
|
+
default: "bg-(--ui-color-g-glass-grey-bg-1) edge-dark:bg-(--ui-color-g-glass-grey-bg-3)",
|
|
7654
|
+
accent: "bg-(--ui-color-g-glass-grey-bg-3) light:bg-(--ui-color-g-glass-grey-bg-2) edge-dark:bg-(--ui-color-g-glass-grey-bg-1)",
|
|
7655
|
+
less: "bg-(--ui-color-tech-push) dark:bg-(--ui-color-g-content-grey-3)"
|
|
7457
7656
|
}
|
|
7458
7657
|
},
|
|
7459
7658
|
defaultVariants: {
|
|
@@ -10363,6 +10562,16 @@ const tr = {
|
|
|
10363
10562
|
const th = {
|
|
10364
10563
|
slots: {
|
|
10365
10564
|
base: ""
|
|
10565
|
+
},
|
|
10566
|
+
variants: {
|
|
10567
|
+
align: {
|
|
10568
|
+
left: "text-left",
|
|
10569
|
+
center: "text-center",
|
|
10570
|
+
right: "text-right"
|
|
10571
|
+
}
|
|
10572
|
+
},
|
|
10573
|
+
defaultVariants: {
|
|
10574
|
+
align: "left"
|
|
10366
10575
|
}
|
|
10367
10576
|
};
|
|
10368
10577
|
|
|
@@ -10374,6 +10583,16 @@ const td = {
|
|
|
10374
10583
|
"[&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5",
|
|
10375
10584
|
"[&_li]:leading-6 [&_li]:my-0.5"
|
|
10376
10585
|
].join(" ")
|
|
10586
|
+
},
|
|
10587
|
+
variants: {
|
|
10588
|
+
align: {
|
|
10589
|
+
left: "text-left",
|
|
10590
|
+
center: "text-center",
|
|
10591
|
+
right: "text-right"
|
|
10592
|
+
}
|
|
10593
|
+
},
|
|
10594
|
+
defaultVariants: {
|
|
10595
|
+
align: "left"
|
|
10377
10596
|
}
|
|
10378
10597
|
};
|
|
10379
10598
|
|
|
@@ -10503,7 +10722,30 @@ const contentSearch = {
|
|
|
10503
10722
|
false: {
|
|
10504
10723
|
modal: "sm:max-w-[768px] h-full sm:h-[436px]"
|
|
10505
10724
|
}
|
|
10725
|
+
},
|
|
10726
|
+
size: {
|
|
10727
|
+
xss: {
|
|
10728
|
+
input: "[&>input]:text-(length:--ui-font-size-4xs)/[normal]"
|
|
10729
|
+
},
|
|
10730
|
+
xs: {
|
|
10731
|
+
input: "[&>input]:text-(length:--ui-font-size-xs)/[normal]"
|
|
10732
|
+
},
|
|
10733
|
+
sm: {
|
|
10734
|
+
input: "[&>input]:text-(length:--ui-font-size-sm)/[normal]"
|
|
10735
|
+
},
|
|
10736
|
+
md: {
|
|
10737
|
+
input: "[&>input]:text-(length:--ui-font-size-md)/[normal]"
|
|
10738
|
+
},
|
|
10739
|
+
lg: {
|
|
10740
|
+
input: "[&>input]:text-(length:--ui-font-size-lg)/[normal]"
|
|
10741
|
+
},
|
|
10742
|
+
xl: {
|
|
10743
|
+
input: "[&>input]:text-(length:--ui-font-size-2xl)/[normal]"
|
|
10744
|
+
}
|
|
10506
10745
|
}
|
|
10746
|
+
},
|
|
10747
|
+
defaultVariants: {
|
|
10748
|
+
size: "md"
|
|
10507
10749
|
}
|
|
10508
10750
|
};
|
|
10509
10751
|
|
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 getDefaultConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultConfig } from './shared/b24ui-nuxt.DEyBXBFe.mjs';
|
|
7
7
|
import fs from 'node:fs';
|
|
8
8
|
import path from 'node:path';
|
|
9
9
|
import MagicString from 'magic-string';
|
|
@@ -63,6 +63,7 @@ function TemplatePlugin(options, appConfig) {
|
|
|
63
63
|
|
|
64
64
|
function PluginsPlugin(options) {
|
|
65
65
|
const plugins = globSync(["**/*", "!*.d.ts"], { cwd: join(runtimeDir, "plugins"), absolute: true });
|
|
66
|
+
plugins.unshift(resolvePathSync("../runtime/vue/plugins/router", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
66
67
|
plugins.unshift(resolvePathSync("../runtime/vue/plugins/head", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
67
68
|
if (options.colorMode) {
|
|
68
69
|
plugins.push(resolvePathSync("../runtime/vue/plugins/color-mode", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
@@ -91,9 +92,10 @@ function PluginsPlugin(options) {
|
|
|
91
92
|
load() {
|
|
92
93
|
return `
|
|
93
94
|
${plugins.map((p) => `import ${genSafeVariableName(p)} from "${p}"`).join("\n")}
|
|
95
|
+
|
|
94
96
|
export default {
|
|
95
|
-
install (app) {
|
|
96
|
-
${plugins.map((p) => ` app.use(${genSafeVariableName(p)})`).join("\n")}
|
|
97
|
+
install (app, pluginOptions = {}) {
|
|
98
|
+
${plugins.map((p) => ` app.use(${genSafeVariableName(p)}, pluginOptions)`).join("\n")}
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
101
|
`;
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as unplugin from 'unplugin';
|
|
2
2
|
import { Bitrix24UIOptions } from './unplugin.mjs';
|
|
3
|
-
import 'unplugin';
|
|
4
3
|
import 'unplugin-auto-import/types';
|
|
5
4
|
import 'unplugin-vue-components/types';
|
|
6
5
|
import '#build/b24ui';
|
|
@@ -9,6 +8,6 @@ import '@nuxt/schema';
|
|
|
9
8
|
import '../dist/runtime/types/index.js';
|
|
10
9
|
import '../dist/runtime/types/tv.js';
|
|
11
10
|
|
|
12
|
-
declare const _default: (options?: Bitrix24UIOptions | undefined) =>
|
|
11
|
+
declare const _default: (options?: Bitrix24UIOptions | undefined) => unplugin.VitePlugin<any> | unplugin.VitePlugin<any>[];
|
|
13
12
|
|
|
14
13
|
export { Bitrix24UIOptions, _default as default };
|