@bitrix24/b24ui-nuxt 2.3.0 → 2.4.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/README.md +4 -4
- package/cli/package.json +1 -1
- package/cli/templates.mjs +5 -8
- package/dist/module.d.mts +8 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/air-design-tokens/013_b24_mobile_light.css +1 -0
- package/dist/runtime/air-design-tokens/014_b24_mobile_dark.css +1 -0
- package/dist/runtime/air-design-tokens/015_b24_mobile_edge-light.css +1 -0
- package/dist/runtime/air-design-tokens/016_b24_mobile_edge-dark.css +1 -0
- package/dist/runtime/air-design-tokens/023_b24_desktop_light.css +1 -0
- package/dist/runtime/air-design-tokens/024_b24_desktop_dark.css +1 -0
- package/dist/runtime/air-design-tokens/025_b24_desktop_edge-light.css +1 -0
- package/dist/runtime/air-design-tokens/026_b24_desktop_edge-dark.css +1 -0
- package/dist/runtime/air-design-tokens/components/scrollbar.css +1 -1
- package/dist/runtime/air-design-tokens/design-tokens/app.json +23812 -0
- package/dist/runtime/air-design-tokens/design-tokens/mobileapp.json +7476 -0
- package/dist/runtime/air-design-tokens/index.css +1 -1
- package/dist/runtime/components/Accordion.d.vue.ts +8 -7
- package/dist/runtime/components/Accordion.vue +11 -9
- package/dist/runtime/components/Accordion.vue.d.ts +8 -7
- package/dist/runtime/components/Advice.d.vue.ts +4 -3
- package/dist/runtime/components/Advice.vue +13 -11
- package/dist/runtime/components/Advice.vue.d.ts +4 -3
- package/dist/runtime/components/Alert.d.vue.ts +8 -7
- package/dist/runtime/components/Alert.vue +11 -9
- package/dist/runtime/components/Alert.vue.d.ts +8 -7
- package/dist/runtime/components/App.d.vue.ts +2 -1
- package/dist/runtime/components/App.vue.d.ts +2 -1
- package/dist/runtime/components/Avatar.d.vue.ts +2 -1
- package/dist/runtime/components/Avatar.vue +6 -4
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue +5 -3
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Badge.d.vue.ts +7 -6
- package/dist/runtime/components/Badge.vue +9 -7
- package/dist/runtime/components/Badge.vue.d.ts +7 -6
- package/dist/runtime/components/Banner.d.vue.ts +7 -6
- package/dist/runtime/components/Banner.vue +11 -9
- package/dist/runtime/components/Banner.vue.d.ts +7 -6
- package/dist/runtime/components/Breadcrumb.d.vue.ts +14 -13
- package/dist/runtime/components/Breadcrumb.vue +12 -10
- package/dist/runtime/components/Breadcrumb.vue.d.ts +14 -13
- package/dist/runtime/components/Button.d.vue.ts +7 -6
- package/dist/runtime/components/Button.vue +14 -12
- package/dist/runtime/components/Button.vue.d.ts +7 -6
- package/dist/runtime/components/Calendar.d.vue.ts +6 -5
- package/dist/runtime/components/Calendar.vue +14 -12
- package/dist/runtime/components/Calendar.vue.d.ts +6 -5
- package/dist/runtime/components/Card.d.vue.ts +4 -3
- package/dist/runtime/components/Card.vue +6 -4
- package/dist/runtime/components/Card.vue.d.ts +4 -3
- package/dist/runtime/components/ChatMessage.d.vue.ts +6 -5
- package/dist/runtime/components/ChatMessage.vue +10 -8
- package/dist/runtime/components/ChatMessage.vue.d.ts +6 -5
- package/dist/runtime/components/ChatMessages.d.vue.ts +9 -8
- package/dist/runtime/components/ChatMessages.vue +14 -9
- package/dist/runtime/components/ChatMessages.vue.d.ts +9 -8
- package/dist/runtime/components/ChatPalette.d.vue.ts +3 -2
- package/dist/runtime/components/ChatPalette.vue +5 -3
- package/dist/runtime/components/ChatPalette.vue.d.ts +3 -2
- package/dist/runtime/components/ChatPrompt.d.vue.ts +3 -2
- package/dist/runtime/components/ChatPrompt.vue +9 -6
- package/dist/runtime/components/ChatPrompt.vue.d.ts +3 -2
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +4 -4
- package/dist/runtime/components/ChatPromptSubmit.vue +4 -2
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +4 -4
- package/dist/runtime/components/Checkbox.d.vue.ts +7 -6
- package/dist/runtime/components/Checkbox.vue +18 -11
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.vue +7 -5
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Chip.d.vue.ts +5 -4
- package/dist/runtime/components/Chip.vue +5 -3
- package/dist/runtime/components/Chip.vue.d.ts +5 -4
- package/dist/runtime/components/Collapsible.d.vue.ts +4 -3
- package/dist/runtime/components/Collapsible.vue +4 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +4 -3
- package/dist/runtime/components/ColorPicker.vue +9 -7
- package/dist/runtime/components/CommandPalette.d.vue.ts +22 -21
- package/dist/runtime/components/CommandPalette.vue +33 -31
- package/dist/runtime/components/CommandPalette.vue.d.ts +22 -21
- package/dist/runtime/components/Container.d.vue.ts +5 -1
- package/dist/runtime/components/Container.vue +5 -2
- package/dist/runtime/components/Container.vue.d.ts +5 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +19 -18
- package/dist/runtime/components/ContextMenu.vue +4 -2
- package/dist/runtime/components/ContextMenu.vue.d.ts +19 -18
- package/dist/runtime/components/Countdown.d.vue.ts +5 -4
- package/dist/runtime/components/Countdown.vue +11 -9
- package/dist/runtime/components/Countdown.vue.d.ts +5 -4
- package/dist/runtime/components/DashboardGroup.d.vue.ts +10 -4
- package/dist/runtime/components/DashboardGroup.vue +15 -11
- package/dist/runtime/components/DashboardGroup.vue.d.ts +10 -4
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +60 -0
- package/dist/runtime/components/DashboardNavbar.vue +79 -0
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +60 -0
- package/dist/runtime/components/DashboardPanel.d.vue.ts +32 -0
- package/dist/runtime/components/DashboardPanel.vue +66 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +32 -0
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +23 -0
- package/dist/runtime/components/DashboardResizeHandle.vue +30 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +23 -0
- package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -3
- package/dist/runtime/components/DashboardSearch.vue +5 -2
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -3
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/DashboardSearchButton.vue +10 -6
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +2 -2
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +90 -0
- package/dist/runtime/components/DashboardSidebar.vue +169 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +90 -0
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +21 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue +64 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +21 -0
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +21 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue +65 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +21 -0
- package/dist/runtime/components/DashboardToolbar.d.vue.ts +27 -0
- package/dist/runtime/components/DashboardToolbar.vue +34 -0
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +27 -0
- package/dist/runtime/components/DescriptionList.d.vue.ts +17 -18
- package/dist/runtime/components/DescriptionList.vue +19 -17
- package/dist/runtime/components/DescriptionList.vue.d.ts +17 -18
- package/dist/runtime/components/Drawer.d.vue.ts +101 -0
- package/dist/runtime/components/Drawer.vue +133 -0
- package/dist/runtime/components/Drawer.vue.d.ts +101 -0
- package/dist/runtime/components/DropdownMenu.d.vue.ts +20 -19
- package/dist/runtime/components/DropdownMenu.vue +6 -9
- package/dist/runtime/components/DropdownMenu.vue.d.ts +20 -19
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +4 -3
- package/dist/runtime/components/DropdownMenuContent.vue +3 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -3
- package/dist/runtime/components/Editor.d.vue.ts +5 -3
- package/dist/runtime/components/Editor.vue +15 -3
- package/dist/runtime/components/Editor.vue.d.ts +5 -3
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +5 -4
- package/dist/runtime/components/EditorDragHandle.vue +5 -3
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +5 -4
- package/dist/runtime/components/EditorMentionMenu.vue +4 -1
- package/dist/runtime/components/EditorToolbar.d.vue.ts +3 -2
- package/dist/runtime/components/EditorToolbar.vue +6 -4
- package/dist/runtime/components/EditorToolbar.vue.d.ts +3 -2
- package/dist/runtime/components/Empty.d.vue.ts +9 -8
- package/dist/runtime/components/Empty.vue +11 -9
- package/dist/runtime/components/Empty.vue.d.ts +9 -8
- package/dist/runtime/components/Error.d.vue.ts +6 -5
- package/dist/runtime/components/Error.vue +7 -5
- package/dist/runtime/components/Error.vue.d.ts +6 -5
- package/dist/runtime/components/FieldGroup.d.vue.ts +5 -2
- package/dist/runtime/components/FieldGroup.vue +3 -1
- package/dist/runtime/components/FieldGroup.vue.d.ts +5 -2
- package/dist/runtime/components/FileUpload.d.vue.ts +29 -28
- package/dist/runtime/components/FileUpload.vue +17 -15
- package/dist/runtime/components/FileUpload.vue.d.ts +29 -28
- package/dist/runtime/components/Footer.d.vue.ts +31 -0
- package/dist/runtime/components/Footer.vue +47 -0
- package/dist/runtime/components/Footer.vue.d.ts +31 -0
- package/dist/runtime/components/FooterColumns.d.vue.ts +70 -0
- package/dist/runtime/components/FooterColumns.vue +83 -0
- package/dist/runtime/components/FooterColumns.vue.d.ts +70 -0
- package/dist/runtime/components/Form.d.vue.ts +6 -2
- package/dist/runtime/components/Form.vue +10 -2
- package/dist/runtime/components/Form.vue.d.ts +6 -2
- package/dist/runtime/components/FormField.d.vue.ts +19 -18
- package/dist/runtime/components/FormField.vue +12 -10
- package/dist/runtime/components/FormField.vue.d.ts +19 -18
- package/dist/runtime/components/Header.d.vue.ts +82 -0
- package/dist/runtime/components/Header.vue +147 -0
- package/dist/runtime/components/Header.vue.d.ts +82 -0
- package/dist/runtime/components/Input.d.vue.ts +60 -17
- package/dist/runtime/components/Input.vue +16 -12
- package/dist/runtime/components/Input.vue.d.ts +60 -17
- package/dist/runtime/components/InputDate.d.vue.ts +12 -9
- package/dist/runtime/components/InputDate.vue +19 -12
- package/dist/runtime/components/InputDate.vue.d.ts +12 -9
- package/dist/runtime/components/InputMenu.d.vue.ts +177 -48
- package/dist/runtime/components/InputMenu.vue +53 -61
- package/dist/runtime/components/InputMenu.vue.d.ts +177 -48
- package/dist/runtime/components/InputNumber.d.vue.ts +18 -16
- package/dist/runtime/components/InputNumber.vue +19 -11
- package/dist/runtime/components/InputNumber.vue.d.ts +18 -16
- package/dist/runtime/components/InputTags.d.vue.ts +12 -9
- package/dist/runtime/components/InputTags.vue +17 -13
- package/dist/runtime/components/InputTags.vue.d.ts +12 -9
- package/dist/runtime/components/InputTime.d.vue.ts +10 -7
- package/dist/runtime/components/InputTime.vue +17 -10
- package/dist/runtime/components/InputTime.vue.d.ts +10 -7
- package/dist/runtime/components/Kbd.d.vue.ts +3 -1
- package/dist/runtime/components/Kbd.vue +5 -2
- package/dist/runtime/components/Kbd.vue.d.ts +3 -1
- package/dist/runtime/components/Link.d.vue.ts +4 -3
- package/dist/runtime/components/Link.vue +7 -7
- package/dist/runtime/components/Link.vue.d.ts +4 -3
- package/dist/runtime/components/LinkBase.d.vue.ts +1 -1
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Main.d.vue.ts +25 -0
- package/dist/runtime/components/Main.vue +26 -0
- package/dist/runtime/components/Main.vue.d.ts +25 -0
- package/dist/runtime/components/Modal.d.vue.ts +22 -21
- package/dist/runtime/components/Modal.vue +14 -12
- package/dist/runtime/components/Modal.vue.d.ts +22 -21
- package/dist/runtime/components/ModalDialogClose.d.vue.ts +2 -1
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +2 -1
- package/dist/runtime/components/Navbar.d.vue.ts +8 -0
- package/dist/runtime/components/Navbar.vue +3 -1
- package/dist/runtime/components/Navbar.vue.d.ts +8 -0
- package/dist/runtime/components/NavbarDivider.d.vue.ts +8 -0
- package/dist/runtime/components/NavbarDivider.vue +3 -1
- package/dist/runtime/components/NavbarDivider.vue.d.ts +8 -0
- package/dist/runtime/components/NavbarSection.d.vue.ts +8 -0
- package/dist/runtime/components/NavbarSection.vue +3 -1
- package/dist/runtime/components/NavbarSection.vue.d.ts +8 -0
- package/dist/runtime/components/NavbarSpacer.d.vue.ts +8 -0
- package/dist/runtime/components/NavbarSpacer.vue +3 -1
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +8 -0
- package/dist/runtime/components/NavigationMenu.d.vue.ts +38 -34
- package/dist/runtime/components/NavigationMenu.vue +125 -65
- package/dist/runtime/components/NavigationMenu.vue.d.ts +38 -34
- package/dist/runtime/components/Page.d.vue.ts +27 -0
- package/dist/runtime/components/Page.vue +45 -0
- package/dist/runtime/components/Page.vue.d.ts +27 -0
- package/dist/runtime/components/PageAside.d.vue.ts +29 -0
- package/dist/runtime/components/PageAside.vue +38 -0
- package/dist/runtime/components/PageAside.vue.d.ts +29 -0
- package/dist/runtime/components/PageBody.d.vue.ts +23 -0
- package/dist/runtime/components/PageBody.vue +26 -0
- package/dist/runtime/components/PageBody.vue.d.ts +23 -0
- package/dist/runtime/components/PageCard.d.vue.ts +9 -8
- package/dist/runtime/components/PageCard.vue +12 -10
- package/dist/runtime/components/PageCard.vue.d.ts +9 -8
- package/dist/runtime/components/PageColumns.d.vue.ts +5 -1
- package/dist/runtime/components/PageColumns.vue +5 -2
- package/dist/runtime/components/PageColumns.vue.d.ts +5 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +48 -0
- package/dist/runtime/components/PageFeature.vue +79 -0
- package/dist/runtime/components/PageFeature.vue.d.ts +48 -0
- package/dist/runtime/components/PageGrid.d.vue.ts +5 -1
- package/dist/runtime/components/PageGrid.vue +5 -2
- package/dist/runtime/components/PageGrid.vue.d.ts +5 -1
- package/dist/runtime/components/PageHeader.d.vue.ts +38 -0
- package/dist/runtime/components/PageHeader.vue +67 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +38 -0
- package/dist/runtime/components/PageLinks.d.vue.ts +9 -8
- package/dist/runtime/components/PageLinks.vue +11 -9
- package/dist/runtime/components/PageLinks.vue.d.ts +9 -8
- package/dist/runtime/components/PageList.d.vue.ts +5 -1
- package/dist/runtime/components/PageList.vue +5 -2
- package/dist/runtime/components/PageList.vue.d.ts +5 -1
- package/dist/runtime/components/PageSection.d.vue.ts +72 -0
- package/dist/runtime/components/PageSection.vue +110 -0
- package/dist/runtime/components/PageSection.vue.d.ts +72 -0
- package/dist/runtime/components/Pagination.d.vue.ts +11 -10
- package/dist/runtime/components/Pagination.vue +10 -8
- package/dist/runtime/components/Pagination.vue.d.ts +11 -10
- package/dist/runtime/components/PinInput.d.vue.ts +4 -1
- package/dist/runtime/components/PinInput.vue +10 -3
- package/dist/runtime/components/PinInput.vue.d.ts +4 -1
- package/dist/runtime/components/Popover.d.vue.ts +8 -5
- package/dist/runtime/components/Popover.vue +4 -2
- package/dist/runtime/components/Popover.vue.d.ts +8 -5
- package/dist/runtime/components/Progress.d.vue.ts +4 -3
- package/dist/runtime/components/Progress.vue +8 -6
- package/dist/runtime/components/Progress.vue.d.ts +4 -3
- package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
- package/dist/runtime/components/RadioGroup.vue +12 -10
- package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Range.vue +7 -5
- package/dist/runtime/components/ScrollArea.d.vue.ts +13 -2
- package/dist/runtime/components/ScrollArea.vue +36 -12
- package/dist/runtime/components/ScrollArea.vue.d.ts +13 -2
- package/dist/runtime/components/Select.d.vue.ts +81 -36
- package/dist/runtime/components/Select.vue +35 -36
- package/dist/runtime/components/Select.vue.d.ts +81 -36
- package/dist/runtime/components/SelectMenu.d.vue.ts +138 -52
- package/dist/runtime/components/SelectMenu.vue +56 -60
- package/dist/runtime/components/SelectMenu.vue.d.ts +138 -52
- package/dist/runtime/components/Separator.d.vue.ts +5 -4
- package/dist/runtime/components/Separator.vue +9 -7
- package/dist/runtime/components/Separator.vue.d.ts +5 -4
- package/dist/runtime/components/Sidebar.d.vue.ts +6 -0
- package/dist/runtime/components/Sidebar.vue +3 -1
- package/dist/runtime/components/Sidebar.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarBody.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarBody.vue +3 -1
- package/dist/runtime/components/SidebarBody.vue.d.ts +6 -3
- package/dist/runtime/components/SidebarFooter.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarFooter.vue +3 -1
- package/dist/runtime/components/SidebarFooter.vue.d.ts +6 -3
- package/dist/runtime/components/SidebarHeader.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarHeader.vue +3 -1
- package/dist/runtime/components/SidebarHeader.vue.d.ts +6 -3
- package/dist/runtime/components/SidebarHeading.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarHeading.vue +3 -1
- package/dist/runtime/components/SidebarHeading.vue.d.ts +6 -3
- package/dist/runtime/components/SidebarLayout.d.vue.ts +8 -3
- package/dist/runtime/components/SidebarLayout.vue +22 -21
- package/dist/runtime/components/SidebarLayout.vue.d.ts +8 -3
- package/dist/runtime/components/SidebarSection.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarSection.vue +3 -1
- package/dist/runtime/components/SidebarSection.vue.d.ts +6 -3
- package/dist/runtime/components/SidebarSpacer.d.vue.ts +6 -3
- package/dist/runtime/components/SidebarSpacer.vue +3 -1
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +6 -3
- package/dist/runtime/components/Skeleton.vue +3 -1
- package/dist/runtime/components/Slideover.d.vue.ts +23 -22
- package/dist/runtime/components/Slideover.vue +19 -17
- package/dist/runtime/components/Slideover.vue.d.ts +23 -22
- package/dist/runtime/components/Stepper.d.vue.ts +8 -7
- package/dist/runtime/components/Stepper.vue +14 -12
- package/dist/runtime/components/Stepper.vue.d.ts +8 -7
- package/dist/runtime/components/Switch.d.vue.ts +7 -6
- package/dist/runtime/components/Switch.vue +19 -13
- package/dist/runtime/components/Switch.vue.d.ts +7 -6
- package/dist/runtime/components/Table.d.vue.ts +11 -12
- package/dist/runtime/components/Table.vue +25 -23
- package/dist/runtime/components/Table.vue.d.ts +11 -12
- package/dist/runtime/components/TableWrapper.d.vue.ts +2 -1
- package/dist/runtime/components/TableWrapper.vue +3 -1
- package/dist/runtime/components/TableWrapper.vue.d.ts +2 -1
- package/dist/runtime/components/Tabs.d.vue.ts +10 -9
- package/dist/runtime/components/Tabs.vue +17 -12
- package/dist/runtime/components/Tabs.vue.d.ts +10 -9
- package/dist/runtime/components/Textarea.d.vue.ts +60 -17
- package/dist/runtime/components/Textarea.vue +18 -14
- package/dist/runtime/components/Textarea.vue.d.ts +60 -17
- package/dist/runtime/components/Theme.d.vue.ts +18 -0
- package/dist/runtime/components/Theme.vue +17 -0
- package/dist/runtime/components/Theme.vue.d.ts +18 -0
- package/dist/runtime/components/Timeline.d.vue.ts +7 -6
- package/dist/runtime/components/Timeline.vue +11 -9
- package/dist/runtime/components/Timeline.vue.d.ts +7 -6
- package/dist/runtime/components/Toast.d.vue.ts +8 -7
- package/dist/runtime/components/Toast.vue +15 -15
- package/dist/runtime/components/Toast.vue.d.ts +8 -7
- package/dist/runtime/components/Toaster.d.vue.ts +3 -2
- package/dist/runtime/components/Toaster.vue +6 -3
- package/dist/runtime/components/Toaster.vue.d.ts +3 -2
- package/dist/runtime/components/Tooltip.d.vue.ts +5 -4
- package/dist/runtime/components/Tooltip.vue +9 -7
- package/dist/runtime/components/Tooltip.vue.d.ts +5 -4
- package/dist/runtime/components/User.d.vue.ts +6 -5
- package/dist/runtime/components/User.vue +8 -6
- package/dist/runtime/components/User.vue.d.ts +6 -5
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue +4 -2
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue +8 -3
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +4 -3
- package/dist/runtime/components/content/ContentSearch.vue +5 -2
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +4 -3
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/content/ContentSearchButton.vue +5 -3
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +2 -2
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +6 -5
- package/dist/runtime/components/content/ContentSurround.vue +8 -6
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +6 -5
- package/dist/runtime/components/content/ContentToc.d.vue.ts +15 -14
- package/dist/runtime/components/content/ContentToc.vue +15 -13
- package/dist/runtime/components/content/ContentToc.vue.d.ts +15 -14
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -1
- package/dist/runtime/components/locale/LocaleSelect.vue +1 -1
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
- package/dist/runtime/components/prose/A.d.vue.ts +2 -1
- package/dist/runtime/components/prose/A.vue +3 -1
- package/dist/runtime/components/prose/A.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Accordion.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Accordion.vue +3 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +2 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +5 -1
- package/dist/runtime/components/prose/AccordionItem.vue +5 -2
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +5 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +5 -1
- package/dist/runtime/components/prose/Badge.vue +5 -2
- package/dist/runtime/components/prose/Badge.vue.d.ts +5 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Blockquote.vue +3 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Callout.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Callout.vue +5 -3
- package/dist/runtime/components/prose/Callout.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Card.d.vue.ts +3 -2
- package/dist/runtime/components/prose/Card.vue +7 -5
- package/dist/runtime/components/prose/Card.vue.d.ts +3 -2
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +5 -1
- package/dist/runtime/components/prose/CardGroup.vue +5 -2
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +5 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Code.vue +3 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CodeCollapse.vue +6 -4
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CodeGroup.vue +8 -6
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodePreview.d.vue.ts +3 -2
- package/dist/runtime/components/prose/CodePreview.vue +5 -3
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +3 -2
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Collapsible.vue +6 -4
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Em.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Em.vue +3 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Field.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Field.vue +9 -7
- package/dist/runtime/components/prose/Field.vue.d.ts +2 -1
- package/dist/runtime/components/prose/FieldGroup.d.vue.ts +5 -1
- package/dist/runtime/components/prose/FieldGroup.vue +5 -2
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +5 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H1.vue +4 -2
- package/dist/runtime/components/prose/H1.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H2.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H2.vue +6 -4
- package/dist/runtime/components/prose/H2.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H3.vue +6 -4
- package/dist/runtime/components/prose/H3.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H4.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H4.vue +6 -4
- package/dist/runtime/components/prose/H4.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H5.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H5.vue +3 -1
- package/dist/runtime/components/prose/H5.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H6.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H6.vue +3 -1
- package/dist/runtime/components/prose/H6.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Hr.d.vue.ts +0 -6
- package/dist/runtime/components/prose/Hr.vue +3 -1
- package/dist/runtime/components/prose/Hr.vue.d.ts +0 -6
- package/dist/runtime/components/prose/Img.vue +9 -8
- package/dist/runtime/components/prose/Kbd.d.vue.ts +3 -0
- package/dist/runtime/components/prose/Kbd.vue +5 -2
- package/dist/runtime/components/prose/Kbd.vue.d.ts +3 -0
- package/dist/runtime/components/prose/Li.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Li.vue +3 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Ol.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Ol.vue +3 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +2 -4
- package/dist/runtime/components/prose/P.d.vue.ts +2 -1
- package/dist/runtime/components/prose/P.vue +3 -1
- package/dist/runtime/components/prose/P.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Pre.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Pre.vue +8 -6
- package/dist/runtime/components/prose/Pre.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +5 -1
- package/dist/runtime/components/prose/Steps.vue +5 -2
- package/dist/runtime/components/prose/Steps.vue.d.ts +5 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Strong.vue +3 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Table.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Table.vue +4 -2
- package/dist/runtime/components/prose/Table.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tabs.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tabs.vue +3 -1
- package/dist/runtime/components/prose/Tabs.vue.d.ts +2 -1
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +5 -1
- package/dist/runtime/components/prose/TabsItem.vue +5 -2
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +5 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Tbody.vue +3 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Td.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Td.vue +3 -1
- package/dist/runtime/components/prose/Td.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Th.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Th.vue +3 -1
- package/dist/runtime/components/prose/Th.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Thead.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Thead.vue +3 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Tr.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Tr.vue +3 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +2 -4
- package/dist/runtime/components/prose/Ul.d.vue.ts +2 -4
- package/dist/runtime/components/prose/Ul.vue +3 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +2 -4
- package/dist/runtime/composables/color-mode/useColorMode.d.ts +6 -0
- package/dist/runtime/composables/color-mode/useColorMode.js +17 -6
- package/dist/runtime/composables/defineShortcuts.js +4 -1
- package/dist/runtime/composables/internal/useFilter.d.ts +9 -0
- package/dist/runtime/composables/internal/useFilter.js +60 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentUI.d.ts +33 -0
- package/dist/runtime/composables/useComponentUI.js +13 -0
- package/dist/runtime/composables/useEditorMenu.d.ts +11 -0
- package/dist/runtime/composables/useEditorMenu.js +144 -166
- package/dist/runtime/composables/useFieldGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/composables/useResizable.d.ts +3 -3
- package/dist/runtime/composables/useResizable.js +3 -3
- package/dist/runtime/composables/useToast.d.ts +4 -0
- package/dist/runtime/composables/useToast.js +25 -1
- package/dist/runtime/dictionary/icons.d.ts +3 -0
- package/dist/runtime/dictionary/icons.js +7 -1
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/keyframes.css +1 -1
- package/dist/runtime/plugins/platform.d.ts +34 -0
- package/dist/runtime/plugins/platform.js +31 -0
- package/dist/runtime/plugins/ui-version.d.ts +1 -1
- package/dist/runtime/types/color-mode.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +19 -0
- package/dist/runtime/types/index.js +19 -0
- package/dist/runtime/types/input.d.ts +16 -6
- package/dist/runtime/types/utils.d.ts +12 -10
- package/dist/runtime/utils/dashboard.d.ts +4 -5
- package/dist/runtime/utils/dashboard.js +1 -1
- package/dist/runtime/utils/index.d.ts +2 -1
- package/dist/runtime/utils/index.js +11 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/LinkBase.d.vue.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +1 -1
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +1 -1
- package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs/base.d.ts +9 -13
- package/dist/runtime/vue/stubs/base.js +11 -33
- package/dist/shared/{b24ui-nuxt.DEyBXBFe.mjs → b24ui-nuxt.C0de-Y4w.mjs} +672 -64
- package/dist/unplugin.d.mts +8 -1
- package/dist/unplugin.mjs +4 -2
- package/dist/vite.mjs +1 -1
- package/package.json +52 -54
- package/dist/runtime/composables/useLoading.d.ts +0 -26
- package/dist/runtime/composables/useLoading.js +0 -28
|
@@ -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.4.1";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -22,7 +22,9 @@ function getDefaultConfig(theme) {
|
|
|
22
22
|
}
|
|
23
23
|
const defaultOptions = {
|
|
24
24
|
colorMode: true,
|
|
25
|
+
colorModeInitialValue: "light",
|
|
25
26
|
colorModeTypeLight: "light",
|
|
27
|
+
colorModeStorageKey: "vueuse-color-scheme",
|
|
26
28
|
version,
|
|
27
29
|
mdc: true,
|
|
28
30
|
content: false
|
|
@@ -1806,7 +1808,8 @@ const chatPrompt = {
|
|
|
1806
1808
|
header: "flex items-center gap-[8px]",
|
|
1807
1809
|
body: "py-[4px] items-start",
|
|
1808
1810
|
footer: "flex items-center justify-end gap-[8px]",
|
|
1809
|
-
base: "pt-[1px] pb-[0px]
|
|
1811
|
+
base: "pt-[1px] pb-[0px]"
|
|
1812
|
+
// text-(length:--ui-font-size-lg)/(--ui-font-line-height-2xs)
|
|
1810
1813
|
},
|
|
1811
1814
|
variants: {
|
|
1812
1815
|
variant: {
|
|
@@ -2846,8 +2849,51 @@ const countdown = {
|
|
|
2846
2849
|
};
|
|
2847
2850
|
|
|
2848
2851
|
const dashboardGroup = {
|
|
2849
|
-
base: ""
|
|
2850
|
-
|
|
2852
|
+
base: "fixed inset-0 flex overflow-hidden"
|
|
2853
|
+
};
|
|
2854
|
+
|
|
2855
|
+
const dashboardNavbar = {
|
|
2856
|
+
slots: {
|
|
2857
|
+
root: "h-(--b24ui-header-height) shrink-0 flex items-center justify-between border-b border-(--ui-color-divider-default) px-4 gap-1.5",
|
|
2858
|
+
left: "flex items-center gap-1.5 min-w-0",
|
|
2859
|
+
icon: "shrink-0 size-5 self-center me-1.5",
|
|
2860
|
+
title: "flex items-center gap-1.5 font-(--ui-font-weight-semi-bold) text-(--b24ui-typography-label-color) truncate",
|
|
2861
|
+
center: "hidden lg:flex",
|
|
2862
|
+
right: "flex items-center shrink-0 gap-1.5",
|
|
2863
|
+
toggle: ""
|
|
2864
|
+
},
|
|
2865
|
+
variants: {
|
|
2866
|
+
toggleSide: {
|
|
2867
|
+
left: {
|
|
2868
|
+
toggle: ""
|
|
2869
|
+
},
|
|
2870
|
+
right: {
|
|
2871
|
+
toggle: ""
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
const dashboardPanel = {
|
|
2878
|
+
slots: {
|
|
2879
|
+
root: "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-e lg:not-last:border-(--ui-color-divider-default) shrink-0",
|
|
2880
|
+
body: "flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto pt-2.5 lg:p-4 scrollbar-thin",
|
|
2881
|
+
handle: ""
|
|
2882
|
+
},
|
|
2883
|
+
variants: {
|
|
2884
|
+
size: {
|
|
2885
|
+
true: {
|
|
2886
|
+
root: "w-full lg:w-(--width)"
|
|
2887
|
+
},
|
|
2888
|
+
false: {
|
|
2889
|
+
root: "flex-1"
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
const dashboardResizeHandle = {
|
|
2896
|
+
base: "hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1"
|
|
2851
2897
|
};
|
|
2852
2898
|
|
|
2853
2899
|
const dashboardSearch = {
|
|
@@ -2862,24 +2908,12 @@ const dashboardSearch = {
|
|
|
2862
2908
|
}
|
|
2863
2909
|
},
|
|
2864
2910
|
size: {
|
|
2865
|
-
xss: {
|
|
2866
|
-
|
|
2867
|
-
},
|
|
2868
|
-
|
|
2869
|
-
|
|
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
|
-
}
|
|
2911
|
+
xss: {},
|
|
2912
|
+
xs: {},
|
|
2913
|
+
sm: {},
|
|
2914
|
+
md: {},
|
|
2915
|
+
lg: {},
|
|
2916
|
+
xl: {}
|
|
2883
2917
|
}
|
|
2884
2918
|
},
|
|
2885
2919
|
defaultVariants: {
|
|
@@ -2905,6 +2939,72 @@ const dashboardSearchButton = {
|
|
|
2905
2939
|
}
|
|
2906
2940
|
};
|
|
2907
2941
|
|
|
2942
|
+
const dashboardSidebar = {
|
|
2943
|
+
slots: {
|
|
2944
|
+
root: "relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
|
|
2945
|
+
header: "h-(--b24ui-header-height) shrink-0 flex items-center gap-1.5 px-4",
|
|
2946
|
+
body: "flex flex-col gap-4 flex-1 overflow-y-auto py-2 scrollbar-thin scrollbar-transparent",
|
|
2947
|
+
footer: "shrink-0 flex items-center gap-1.5 px-4 py-2",
|
|
2948
|
+
toggle: "",
|
|
2949
|
+
handle: "",
|
|
2950
|
+
content: "lg:hidden",
|
|
2951
|
+
overlay: "lg:hidden"
|
|
2952
|
+
},
|
|
2953
|
+
variants: {
|
|
2954
|
+
menu: {
|
|
2955
|
+
true: {
|
|
2956
|
+
header: "sm:px-6",
|
|
2957
|
+
body: "sm:px-6",
|
|
2958
|
+
footer: "sm:px-6"
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
side: {
|
|
2962
|
+
left: {
|
|
2963
|
+
root: "border-e border-(--ui-color-divider-default)"
|
|
2964
|
+
},
|
|
2965
|
+
right: {
|
|
2966
|
+
root: ""
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
toggleSide: {
|
|
2970
|
+
left: {
|
|
2971
|
+
toggle: ""
|
|
2972
|
+
},
|
|
2973
|
+
right: {
|
|
2974
|
+
toggle: "ms-auto"
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
};
|
|
2979
|
+
|
|
2980
|
+
const dashboardSidebarCollapse = {
|
|
2981
|
+
base: "hidden lg:flex",
|
|
2982
|
+
variants: {
|
|
2983
|
+
side: {
|
|
2984
|
+
left: "",
|
|
2985
|
+
right: ""
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
const dashboardSidebarToggle = {
|
|
2991
|
+
base: "lg:hidden",
|
|
2992
|
+
variants: {
|
|
2993
|
+
side: {
|
|
2994
|
+
left: "",
|
|
2995
|
+
right: ""
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
const dashboardToolbar = {
|
|
3001
|
+
slots: {
|
|
3002
|
+
root: "shrink-0 flex items-center justify-between border-b border-(--ui-color-divider-default) px-4 sm:px-6 gap-1.5 overflow-x-auto min-h-[49px]",
|
|
3003
|
+
left: "flex items-center gap-1.5",
|
|
3004
|
+
right: "flex items-center gap-1.5"
|
|
3005
|
+
}
|
|
3006
|
+
};
|
|
3007
|
+
|
|
2908
3008
|
const descriptionList = {
|
|
2909
3009
|
slots: {
|
|
2910
3010
|
root: "w-full shrink-0",
|
|
@@ -2987,6 +3087,166 @@ const descriptionList = {
|
|
|
2987
3087
|
}
|
|
2988
3088
|
};
|
|
2989
3089
|
|
|
3090
|
+
const drawer = {
|
|
3091
|
+
slots: {
|
|
3092
|
+
overlay: "fixed inset-0",
|
|
3093
|
+
content: [
|
|
3094
|
+
"fixed",
|
|
3095
|
+
"base-mode",
|
|
3096
|
+
"bg-(--ui-color-bg-content-primary)",
|
|
3097
|
+
"flex",
|
|
3098
|
+
"focus:outline-none",
|
|
3099
|
+
"ring ring-(--ui-color-divider-default)"
|
|
3100
|
+
].join(" "),
|
|
3101
|
+
handle: "shrink-0 !bg-(--ui-color-divider-default) transition-opacity",
|
|
3102
|
+
container: "w-full flex flex-col gap-4 p-4 overflow-y-auto",
|
|
3103
|
+
header: "",
|
|
3104
|
+
title: [
|
|
3105
|
+
"font-[family-name:var(--ui-font-family-primary)]",
|
|
3106
|
+
"text-(--b24ui-typography-label-color)",
|
|
3107
|
+
"font-(--ui-font-weight-medium)",
|
|
3108
|
+
"mb-0",
|
|
3109
|
+
"text-[calc(var(--ui-font-size-2xl)+2px)]/(--ui-font-size-2xl)"
|
|
3110
|
+
].join(" "),
|
|
3111
|
+
description: [
|
|
3112
|
+
"mt-1",
|
|
3113
|
+
"text-(--b24ui-typography-description-color)",
|
|
3114
|
+
"text-(length:--ui-font-size-sm)"
|
|
3115
|
+
].join(" "),
|
|
3116
|
+
body: "flex-1",
|
|
3117
|
+
footer: "flex flex-col gap-1.5"
|
|
3118
|
+
},
|
|
3119
|
+
variants: {
|
|
3120
|
+
overlayBlur: {
|
|
3121
|
+
auto: { overlay: "motion-safe:backdrop-blur-[2px]" },
|
|
3122
|
+
on: { overlay: "backdrop-blur-[2px]" },
|
|
3123
|
+
off: { overlay: "" }
|
|
3124
|
+
},
|
|
3125
|
+
scrollbarThin: {
|
|
3126
|
+
true: {
|
|
3127
|
+
body: "scrollbar-thin"
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
overlay: {
|
|
3131
|
+
true: {
|
|
3132
|
+
overlay: "bg-[#003366]/20"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
direction: {
|
|
3136
|
+
top: {
|
|
3137
|
+
content: "mb-24 flex-col-reverse",
|
|
3138
|
+
handle: "mb-4"
|
|
3139
|
+
},
|
|
3140
|
+
right: {
|
|
3141
|
+
content: "flex-row",
|
|
3142
|
+
handle: "!ml-4"
|
|
3143
|
+
},
|
|
3144
|
+
bottom: {
|
|
3145
|
+
content: "mt-24 flex-col",
|
|
3146
|
+
handle: "mt-4"
|
|
3147
|
+
},
|
|
3148
|
+
left: {
|
|
3149
|
+
content: "flex-row-reverse",
|
|
3150
|
+
handle: "!mr-4"
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3153
|
+
inset: {
|
|
3154
|
+
true: {
|
|
3155
|
+
content: "rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]"
|
|
3156
|
+
}
|
|
3157
|
+
},
|
|
3158
|
+
snapPoints: {
|
|
3159
|
+
true: ""
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
compoundVariants: [
|
|
3163
|
+
{
|
|
3164
|
+
direction: ["top", "bottom"],
|
|
3165
|
+
class: {
|
|
3166
|
+
content: "h-auto max-h-[96%]",
|
|
3167
|
+
handle: "!w-12 !h-1.5 mx-auto"
|
|
3168
|
+
}
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
direction: ["top", "bottom"],
|
|
3172
|
+
snapPoints: true,
|
|
3173
|
+
class: {
|
|
3174
|
+
content: "h-full"
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
direction: ["right", "left"],
|
|
3179
|
+
class: {
|
|
3180
|
+
content: "w-auto max-w-[calc(100%-2rem)]",
|
|
3181
|
+
handle: "!h-12 !w-1.5 mt-auto mb-auto"
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3184
|
+
{
|
|
3185
|
+
direction: ["right", "left"],
|
|
3186
|
+
snapPoints: true,
|
|
3187
|
+
class: {
|
|
3188
|
+
content: "w-full"
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
direction: "top",
|
|
3193
|
+
inset: true,
|
|
3194
|
+
class: {
|
|
3195
|
+
content: "inset-x-4 top-4"
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
direction: "top",
|
|
3200
|
+
inset: false,
|
|
3201
|
+
class: {
|
|
3202
|
+
content: "inset-x-0 top-0 rounded-b-lg"
|
|
3203
|
+
}
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
direction: "bottom",
|
|
3207
|
+
inset: true,
|
|
3208
|
+
class: {
|
|
3209
|
+
content: "inset-x-4 bottom-4"
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
direction: "bottom",
|
|
3214
|
+
inset: false,
|
|
3215
|
+
class: {
|
|
3216
|
+
content: "inset-x-0 bottom-0 rounded-t-lg"
|
|
3217
|
+
}
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
direction: "left",
|
|
3221
|
+
inset: true,
|
|
3222
|
+
class: {
|
|
3223
|
+
content: "inset-y-4 left-4"
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
direction: "left",
|
|
3228
|
+
inset: false,
|
|
3229
|
+
class: {
|
|
3230
|
+
content: "inset-y-0 left-0 rounded-r-lg"
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
direction: "right",
|
|
3235
|
+
inset: true,
|
|
3236
|
+
class: {
|
|
3237
|
+
content: "inset-y-4 right-4"
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
direction: "right",
|
|
3242
|
+
inset: false,
|
|
3243
|
+
class: {
|
|
3244
|
+
content: "inset-y-0 right-0 rounded-l-lg"
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3247
|
+
]
|
|
3248
|
+
};
|
|
3249
|
+
|
|
2990
3250
|
const dropdownMenu = {
|
|
2991
3251
|
slots: {
|
|
2992
3252
|
content: [
|
|
@@ -2994,6 +3254,7 @@ const dropdownMenu = {
|
|
|
2994
3254
|
"bg-(--ui-color-bg-content-primary)",
|
|
2995
3255
|
"shadow-(--popup-window-box-shadow)",
|
|
2996
3256
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
3257
|
+
// 'ring ring-(--ui-color-divider-default)',
|
|
2997
3258
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
2998
3259
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
2999
3260
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -3009,7 +3270,7 @@ const dropdownMenu = {
|
|
|
3009
3270
|
// scrollbar-transparent
|
|
3010
3271
|
].join(" "),
|
|
3011
3272
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
3012
|
-
// for content bottom|top::start -> ml-[12px]
|
|
3273
|
+
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
3013
3274
|
group: "grid",
|
|
3014
3275
|
// p-1 isolate
|
|
3015
3276
|
label: [
|
|
@@ -3762,6 +4023,47 @@ const fileUpload = {
|
|
|
3762
4023
|
}
|
|
3763
4024
|
};
|
|
3764
4025
|
|
|
4026
|
+
const footer = {
|
|
4027
|
+
slots: {
|
|
4028
|
+
root: "",
|
|
4029
|
+
top: "py-8 lg:py-12",
|
|
4030
|
+
bottom: "py-8 lg:py-12",
|
|
4031
|
+
container: "py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",
|
|
4032
|
+
left: "flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",
|
|
4033
|
+
center: "mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",
|
|
4034
|
+
right: "lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"
|
|
4035
|
+
}
|
|
4036
|
+
};
|
|
4037
|
+
|
|
4038
|
+
const footerColumns = {
|
|
4039
|
+
slots: {
|
|
4040
|
+
root: "xl:grid xl:grid-cols-3 xl:gap-8",
|
|
4041
|
+
left: "mb-10 xl:mb-0",
|
|
4042
|
+
center: "flex flex-col lg:grid grid-flow-col auto-cols-fr gap-8 xl:col-span-2",
|
|
4043
|
+
right: "mt-10 xl:mt-0",
|
|
4044
|
+
label: "text-(length:--ui-font-size-lg)/[normal] font-(--ui-font-weight-semi-bold)",
|
|
4045
|
+
list: "mt-6 space-y-4",
|
|
4046
|
+
item: "relative",
|
|
4047
|
+
link: "group text-sm flex items-center gap-1.5 focus-visible:outline-primary",
|
|
4048
|
+
linkLeadingIcon: "size-5 shrink-0",
|
|
4049
|
+
linkLabel: "truncate",
|
|
4050
|
+
linkLabelExternalIcon: "inline-block size-[14px] text-(--ui-color-design-plain-content-icon-secondary)"
|
|
4051
|
+
},
|
|
4052
|
+
variants: {
|
|
4053
|
+
active: {
|
|
4054
|
+
true: {
|
|
4055
|
+
link: "text-primary font-medium"
|
|
4056
|
+
},
|
|
4057
|
+
false: {
|
|
4058
|
+
link: [
|
|
4059
|
+
"text-(--b24ui-typography-description-color) hover:text-(--b24ui-typography-label-color)",
|
|
4060
|
+
"transition-colors"
|
|
4061
|
+
].join(" ")
|
|
4062
|
+
}
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
};
|
|
4066
|
+
|
|
3765
4067
|
const form = {
|
|
3766
4068
|
base: ""
|
|
3767
4069
|
};
|
|
@@ -3837,6 +4139,32 @@ const formField = {
|
|
|
3837
4139
|
}
|
|
3838
4140
|
};
|
|
3839
4141
|
|
|
4142
|
+
const header = {
|
|
4143
|
+
slots: {
|
|
4144
|
+
root: "bg-(--ui-color-bg-content-primary)/75 backdrop-blur border-b border-(--ui-color-divider-default) h-(--b24ui-header-height) sticky top-0 z-50",
|
|
4145
|
+
container: "flex items-center justify-between gap-3 h-full",
|
|
4146
|
+
left: "lg:flex-1 flex items-center gap-1.5",
|
|
4147
|
+
center: "hidden lg:flex",
|
|
4148
|
+
right: "flex items-center justify-end lg:flex-1 gap-1.5",
|
|
4149
|
+
title: "shrink-0 font-bold text-xl text-(--b24ui-typography-label-color) flex items-end gap-1.5",
|
|
4150
|
+
toggle: "lg:hidden",
|
|
4151
|
+
content: "lg:hidden",
|
|
4152
|
+
overlay: "lg:hidden",
|
|
4153
|
+
header: "px-4 sm:px-6 h-(--b24ui-header-height) shrink-0 flex items-center justify-between gap-3",
|
|
4154
|
+
body: "p-4 sm:p-6 overflow-y-auto"
|
|
4155
|
+
},
|
|
4156
|
+
variants: {
|
|
4157
|
+
toggleSide: {
|
|
4158
|
+
left: {
|
|
4159
|
+
toggle: "-ms-1.5"
|
|
4160
|
+
},
|
|
4161
|
+
right: {
|
|
4162
|
+
toggle: "-me-1.5"
|
|
4163
|
+
}
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
};
|
|
4167
|
+
|
|
3840
4168
|
const input = {
|
|
3841
4169
|
slots: {
|
|
3842
4170
|
root: "isolate relative inline-flex items-center",
|
|
@@ -3968,6 +4296,9 @@ const input = {
|
|
|
3968
4296
|
trailing: { true: "" },
|
|
3969
4297
|
loading: { true: "" },
|
|
3970
4298
|
highlight: { true: "ring ring-inset ring-(--b24ui-border-color)" },
|
|
4299
|
+
fixed: {
|
|
4300
|
+
false: ""
|
|
4301
|
+
},
|
|
3971
4302
|
type: {
|
|
3972
4303
|
file: [
|
|
3973
4304
|
"file:me-1.5",
|
|
@@ -4192,6 +4523,33 @@ const input = {
|
|
|
4192
4523
|
size: "xss",
|
|
4193
4524
|
rounded: false,
|
|
4194
4525
|
class: "rounded-[5px]"
|
|
4526
|
+
},
|
|
4527
|
+
// endregion ////
|
|
4528
|
+
// region fixed ////
|
|
4529
|
+
{
|
|
4530
|
+
fixed: false,
|
|
4531
|
+
size: "xss",
|
|
4532
|
+
class: "md:text-(length:--ui-font-size-4xs)/[normal]"
|
|
4533
|
+
},
|
|
4534
|
+
{
|
|
4535
|
+
fixed: false,
|
|
4536
|
+
size: "xs",
|
|
4537
|
+
class: "md:text-(length:--ui-font-size-xs)/[normal]"
|
|
4538
|
+
},
|
|
4539
|
+
{
|
|
4540
|
+
fixed: false,
|
|
4541
|
+
size: "sm",
|
|
4542
|
+
class: "md:text-(length:--ui-font-size-sm)/[normal]"
|
|
4543
|
+
},
|
|
4544
|
+
{
|
|
4545
|
+
fixed: false,
|
|
4546
|
+
size: "md",
|
|
4547
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
fixed: false,
|
|
4551
|
+
size: "lg",
|
|
4552
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
4195
4553
|
}
|
|
4196
4554
|
// endregion ////
|
|
4197
4555
|
],
|
|
@@ -4303,6 +4661,7 @@ const inputMenu = () => {
|
|
|
4303
4661
|
"bg-(--ui-color-bg-content-primary)",
|
|
4304
4662
|
"shadow-(--popup-window-box-shadow)",
|
|
4305
4663
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
4664
|
+
// 'ring ring-(--ui-color-divider-default)',
|
|
4306
4665
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
4307
4666
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
4308
4667
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -4319,7 +4678,7 @@ const inputMenu = () => {
|
|
|
4319
4678
|
// scrollbar-transparent
|
|
4320
4679
|
].join(" "),
|
|
4321
4680
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
4322
|
-
// for content bottom|top::start -> ml-[12px]
|
|
4681
|
+
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
4323
4682
|
group: "grid",
|
|
4324
4683
|
empty: [
|
|
4325
4684
|
"h-(--popup-window-delimiter-section-height)",
|
|
@@ -4766,6 +5125,9 @@ const inputNumber = () => {
|
|
|
4766
5125
|
highlight: {
|
|
4767
5126
|
true: ""
|
|
4768
5127
|
},
|
|
5128
|
+
fixed: {
|
|
5129
|
+
false: ""
|
|
5130
|
+
},
|
|
4769
5131
|
increment: {
|
|
4770
5132
|
false: ""
|
|
4771
5133
|
},
|
|
@@ -5071,6 +5433,33 @@ const inputNumber = () => {
|
|
|
5071
5433
|
size: "xss",
|
|
5072
5434
|
rounded: false,
|
|
5073
5435
|
class: "rounded-[5px]"
|
|
5436
|
+
},
|
|
5437
|
+
// endregion ////
|
|
5438
|
+
// region fixed ////
|
|
5439
|
+
{
|
|
5440
|
+
fixed: false,
|
|
5441
|
+
size: "xss",
|
|
5442
|
+
class: "md:text-(length:--ui-font-size-4xs)/[normal]"
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
fixed: false,
|
|
5446
|
+
size: "xs",
|
|
5447
|
+
class: "md:text-(length:--ui-font-size-xs)/[normal]"
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
fixed: false,
|
|
5451
|
+
size: "sm",
|
|
5452
|
+
class: "md:text-(length:--ui-font-size-sm)/[normal]"
|
|
5453
|
+
},
|
|
5454
|
+
{
|
|
5455
|
+
fixed: false,
|
|
5456
|
+
size: "md",
|
|
5457
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
5458
|
+
},
|
|
5459
|
+
{
|
|
5460
|
+
fixed: false,
|
|
5461
|
+
size: "lg",
|
|
5462
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
5074
5463
|
}
|
|
5075
5464
|
// endregion ////
|
|
5076
5465
|
],
|
|
@@ -5401,6 +5790,10 @@ const link = (options) => ({
|
|
|
5401
5790
|
]
|
|
5402
5791
|
});
|
|
5403
5792
|
|
|
5793
|
+
const main = {
|
|
5794
|
+
base: "min-h-[calc(100vh-var(--b24ui-header-height))]"
|
|
5795
|
+
};
|
|
5796
|
+
|
|
5404
5797
|
const modal = {
|
|
5405
5798
|
slots: {
|
|
5406
5799
|
overlay: "fixed inset-0",
|
|
@@ -5539,6 +5932,7 @@ const navigationMenu = {
|
|
|
5539
5932
|
linkLeadingIcon: "shrink-0 size-[26px]",
|
|
5540
5933
|
linkLeadingAvatar: "shrink-0",
|
|
5541
5934
|
linkLeadingAvatarSize: "xs",
|
|
5935
|
+
linkLeadingChipSize: "sm",
|
|
5542
5936
|
linkLeadingHint: [
|
|
5543
5937
|
"inline-flex m-0 absolute -top-[5px] left-[8px]",
|
|
5544
5938
|
"text-(length:--ui-font-size-4xs)",
|
|
@@ -5732,6 +6126,7 @@ const navigationMenu = {
|
|
|
5732
6126
|
class: {
|
|
5733
6127
|
childList: "grid px-0 py-(--menu-popup-padding)",
|
|
5734
6128
|
linkLabel: "hidden",
|
|
6129
|
+
linkLabelExternalIcon: "hidden",
|
|
5735
6130
|
linkTrailing: "hidden"
|
|
5736
6131
|
}
|
|
5737
6132
|
},
|
|
@@ -5781,6 +6176,54 @@ const navigationMenu = {
|
|
|
5781
6176
|
defaultVariants: {}
|
|
5782
6177
|
};
|
|
5783
6178
|
|
|
6179
|
+
const page = {
|
|
6180
|
+
slots: {
|
|
6181
|
+
root: "flex flex-col lg:grid lg:grid-cols-10 lg:gap-10",
|
|
6182
|
+
left: "lg:col-span-2",
|
|
6183
|
+
center: "lg:col-span-8",
|
|
6184
|
+
right: "lg:col-span-2 order-first lg:order-last"
|
|
6185
|
+
},
|
|
6186
|
+
variants: {
|
|
6187
|
+
left: {
|
|
6188
|
+
true: ""
|
|
6189
|
+
},
|
|
6190
|
+
right: {
|
|
6191
|
+
true: ""
|
|
6192
|
+
}
|
|
6193
|
+
},
|
|
6194
|
+
compoundVariants: [
|
|
6195
|
+
{
|
|
6196
|
+
left: true,
|
|
6197
|
+
right: true,
|
|
6198
|
+
class: {
|
|
6199
|
+
center: "lg:col-span-6"
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6202
|
+
{
|
|
6203
|
+
left: false,
|
|
6204
|
+
right: false,
|
|
6205
|
+
class: {
|
|
6206
|
+
center: "lg:col-span-10"
|
|
6207
|
+
}
|
|
6208
|
+
}
|
|
6209
|
+
]
|
|
6210
|
+
};
|
|
6211
|
+
|
|
6212
|
+
const pageAside = {
|
|
6213
|
+
slots: {
|
|
6214
|
+
root: "hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--b24ui-header-height))] lg:sticky lg:top-(--b24ui-header-height)",
|
|
6215
|
+
container: "relative",
|
|
6216
|
+
top: "sticky -top-8 -mt-8 pointer-events-none z-[1]",
|
|
6217
|
+
topHeader: "h-8 bg-(--ui-color-bg-content-primary) -mx-4 px-4",
|
|
6218
|
+
topBody: "bg-(--ui-color-bg-content-primary) relative pointer-events-auto flex flex-col -mx-4 px-4",
|
|
6219
|
+
topFooter: "h-8 bg-gradient-to-b from-(--ui-color-bg-content-primary) -mx-4 px-4"
|
|
6220
|
+
}
|
|
6221
|
+
};
|
|
6222
|
+
|
|
6223
|
+
const pageBody = {
|
|
6224
|
+
base: "mt-8 pb-24 space-y-12"
|
|
6225
|
+
};
|
|
6226
|
+
|
|
5784
6227
|
const pageCard = {
|
|
5785
6228
|
slots: {
|
|
5786
6229
|
root: "relative flex rounded-lg",
|
|
@@ -5791,8 +6234,8 @@ const pageCard = {
|
|
|
5791
6234
|
footer: "pt-4 mt-auto",
|
|
5792
6235
|
leading: "inline-flex items-center mb-2.5",
|
|
5793
6236
|
leadingIcon: "size-5 shrink-0",
|
|
5794
|
-
title: "text-2xl text-pretty font-(--ui-font-weight-semi-bold)",
|
|
5795
|
-
description: "text-lg text-pretty"
|
|
6237
|
+
title: "text-(length:--ui-font-size-2xl)/[normal] text-pretty font-(--ui-font-weight-semi-bold)",
|
|
6238
|
+
description: "text-(length:--ui-font-size-lg)/[normal] text-pretty"
|
|
5796
6239
|
},
|
|
5797
6240
|
variants: {
|
|
5798
6241
|
orientation: {
|
|
@@ -6327,10 +6770,61 @@ const pageColumns = {
|
|
|
6327
6770
|
base: "relative column-1 md:columns-2 lg:columns-3 gap-8 space-y-8 *:break-inside-avoid-column *:will-change-transform"
|
|
6328
6771
|
};
|
|
6329
6772
|
|
|
6773
|
+
const pageFeature = {
|
|
6774
|
+
slots: {
|
|
6775
|
+
root: "relative rounded-sm",
|
|
6776
|
+
wrapper: "",
|
|
6777
|
+
leading: "inline-flex items-center justify-center",
|
|
6778
|
+
leadingIcon: "size-5 shrink-0 text-(--ui-color-accent-main-primary)",
|
|
6779
|
+
title: "text-(length:--ui-font-size-md) text-pretty font-(--ui-font-weight-semi-bold) text-(--b24ui-typography-legend-color)",
|
|
6780
|
+
description: "text-(length:--ui-font-size-sm) text-pretty text-(--b24ui-typography-description-color)"
|
|
6781
|
+
},
|
|
6782
|
+
variants: {
|
|
6783
|
+
orientation: {
|
|
6784
|
+
horizontal: {
|
|
6785
|
+
root: "flex items-start gap-2.5",
|
|
6786
|
+
leading: "p-0.5"
|
|
6787
|
+
},
|
|
6788
|
+
vertical: {
|
|
6789
|
+
leading: "mb-2.5"
|
|
6790
|
+
}
|
|
6791
|
+
},
|
|
6792
|
+
to: {
|
|
6793
|
+
true: {
|
|
6794
|
+
root: "has-focus-visible:ring-2 has-focus-visible:ring-(--ui-color-accent-soft-element-blue) transition"
|
|
6795
|
+
}
|
|
6796
|
+
},
|
|
6797
|
+
title: {
|
|
6798
|
+
true: {
|
|
6799
|
+
description: "mt-1"
|
|
6800
|
+
}
|
|
6801
|
+
}
|
|
6802
|
+
}
|
|
6803
|
+
};
|
|
6804
|
+
|
|
6330
6805
|
const pageGrid = {
|
|
6331
6806
|
base: "relative grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8"
|
|
6332
6807
|
};
|
|
6333
6808
|
|
|
6809
|
+
const pageHeader = {
|
|
6810
|
+
slots: {
|
|
6811
|
+
root: "relative border-b border-(--ui-color-divider-default) py-8",
|
|
6812
|
+
container: "",
|
|
6813
|
+
wrapper: "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",
|
|
6814
|
+
headline: "mb-2.5 text-(length:--ui-font-size-sm) font-(--ui-font-weight-semi-bold) text-(--ui-color-accent-main-primary) flex items-center gap-1.5",
|
|
6815
|
+
title: "text-(length:--ui-font-size-3xl) sm:text-(length:--ui-font-size-4xl) text-pretty font-(--ui-font-weight-bold) text-(--b24ui-typography-label-color)",
|
|
6816
|
+
description: "text-(length:--ui-font-size-lg) text-pretty text-(--b24ui-typography-description-color)",
|
|
6817
|
+
links: "flex flex-wrap items-center gap-1.5"
|
|
6818
|
+
},
|
|
6819
|
+
variants: {
|
|
6820
|
+
title: {
|
|
6821
|
+
true: {
|
|
6822
|
+
description: "mt-4"
|
|
6823
|
+
}
|
|
6824
|
+
}
|
|
6825
|
+
}
|
|
6826
|
+
};
|
|
6827
|
+
|
|
6334
6828
|
const pageLinks = {
|
|
6335
6829
|
slots: {
|
|
6336
6830
|
root: "flex flex-col gap-[12px]",
|
|
@@ -6385,6 +6879,82 @@ const pageList = {
|
|
|
6385
6879
|
}
|
|
6386
6880
|
};
|
|
6387
6881
|
|
|
6882
|
+
const pageSection = {
|
|
6883
|
+
slots: {
|
|
6884
|
+
root: "relative isolate",
|
|
6885
|
+
container: "flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",
|
|
6886
|
+
wrapper: "",
|
|
6887
|
+
header: "",
|
|
6888
|
+
leading: "flex items-center mb-6",
|
|
6889
|
+
leadingIcon: "size-10 shrink-0 text-(--ui-color-accent-main-primary)",
|
|
6890
|
+
headline: "mb-3",
|
|
6891
|
+
title: "text-(length:--ui-font-size-3xl) sm:text-(length:--ui-font-size-4xl) lg:text-(length:--ui-font-size-5xl) text-pretty tracking-tight font-(--ui-font-weight-bold) text-(--b24ui-typography-label-color)",
|
|
6892
|
+
description: "text-(length:--ui-font-size-md) sm:text-(length:--ui-font-size-lg) text-(--b24ui-typography-description-color)",
|
|
6893
|
+
body: "mt-8",
|
|
6894
|
+
features: "grid",
|
|
6895
|
+
footer: "mt-8",
|
|
6896
|
+
links: "flex flex-wrap gap-x-6 gap-y-3"
|
|
6897
|
+
},
|
|
6898
|
+
variants: {
|
|
6899
|
+
orientation: {
|
|
6900
|
+
horizontal: {
|
|
6901
|
+
container: "lg:grid-cols-2 lg:items-center",
|
|
6902
|
+
description: "text-pretty",
|
|
6903
|
+
features: "gap-4"
|
|
6904
|
+
},
|
|
6905
|
+
vertical: {
|
|
6906
|
+
container: "",
|
|
6907
|
+
headline: "justify-center",
|
|
6908
|
+
leading: "justify-center",
|
|
6909
|
+
title: "text-center",
|
|
6910
|
+
description: "text-center text-balance",
|
|
6911
|
+
links: "justify-center",
|
|
6912
|
+
features: "sm:grid-cols-2 lg:grid-cols-3 gap-8"
|
|
6913
|
+
}
|
|
6914
|
+
},
|
|
6915
|
+
reverse: {
|
|
6916
|
+
true: {
|
|
6917
|
+
wrapper: "order-last"
|
|
6918
|
+
}
|
|
6919
|
+
},
|
|
6920
|
+
headline: {
|
|
6921
|
+
true: {
|
|
6922
|
+
headline: "font-(--ui-font-weight-semi-bold) text-(--ui-color-accent-main-primary) flex items-center gap-1.5"
|
|
6923
|
+
}
|
|
6924
|
+
},
|
|
6925
|
+
title: {
|
|
6926
|
+
true: {
|
|
6927
|
+
description: "mt-6"
|
|
6928
|
+
}
|
|
6929
|
+
},
|
|
6930
|
+
description: {
|
|
6931
|
+
true: ""
|
|
6932
|
+
},
|
|
6933
|
+
body: {
|
|
6934
|
+
true: ""
|
|
6935
|
+
}
|
|
6936
|
+
},
|
|
6937
|
+
compoundVariants: [{
|
|
6938
|
+
orientation: "vertical",
|
|
6939
|
+
title: true,
|
|
6940
|
+
class: {
|
|
6941
|
+
body: "mt-16"
|
|
6942
|
+
}
|
|
6943
|
+
}, {
|
|
6944
|
+
orientation: "vertical",
|
|
6945
|
+
description: true,
|
|
6946
|
+
class: {
|
|
6947
|
+
body: "mt-16"
|
|
6948
|
+
}
|
|
6949
|
+
}, {
|
|
6950
|
+
orientation: "vertical",
|
|
6951
|
+
body: true,
|
|
6952
|
+
class: {
|
|
6953
|
+
footer: "mt-16"
|
|
6954
|
+
}
|
|
6955
|
+
}]
|
|
6956
|
+
};
|
|
6957
|
+
|
|
6388
6958
|
const pagination = {
|
|
6389
6959
|
slots: {
|
|
6390
6960
|
root: "",
|
|
@@ -6476,7 +7046,10 @@ const pinInput = () => ({
|
|
|
6476
7046
|
"border-b-(--ui-color-design-outline-stroke)"
|
|
6477
7047
|
].join(" ")
|
|
6478
7048
|
},
|
|
6479
|
-
highlight: { true: "ring ring-inset ring-(--b24ui-border-color)" }
|
|
7049
|
+
highlight: { true: "ring ring-inset ring-(--b24ui-border-color)" },
|
|
7050
|
+
fixed: {
|
|
7051
|
+
false: ""
|
|
7052
|
+
}
|
|
6480
7053
|
},
|
|
6481
7054
|
compoundVariants: [
|
|
6482
7055
|
// region ring for focus and highlight ////
|
|
@@ -6541,6 +7114,33 @@ const pinInput = () => ({
|
|
|
6541
7114
|
"ring-0"
|
|
6542
7115
|
].join(" ")
|
|
6543
7116
|
}
|
|
7117
|
+
},
|
|
7118
|
+
// endregion ////
|
|
7119
|
+
// region fixed ////
|
|
7120
|
+
{
|
|
7121
|
+
fixed: false,
|
|
7122
|
+
size: "xss",
|
|
7123
|
+
class: "md:text-(length:--ui-font-size-4xs)/[normal]"
|
|
7124
|
+
},
|
|
7125
|
+
{
|
|
7126
|
+
fixed: false,
|
|
7127
|
+
size: "xs",
|
|
7128
|
+
class: "md:text-(length:--ui-font-size-xs)/[normal]"
|
|
7129
|
+
},
|
|
7130
|
+
{
|
|
7131
|
+
fixed: false,
|
|
7132
|
+
size: "sm",
|
|
7133
|
+
class: "md:text-(length:--ui-font-size-sm)/[normal]"
|
|
7134
|
+
},
|
|
7135
|
+
{
|
|
7136
|
+
fixed: false,
|
|
7137
|
+
size: "md",
|
|
7138
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
7139
|
+
},
|
|
7140
|
+
{
|
|
7141
|
+
fixed: false,
|
|
7142
|
+
size: "lg",
|
|
7143
|
+
class: "md:text-(length:--ui-font-size-lg)/[normal]"
|
|
6544
7144
|
}
|
|
6545
7145
|
// endregion ////
|
|
6546
7146
|
],
|
|
@@ -6557,11 +7157,13 @@ const popover = {
|
|
|
6557
7157
|
"bg-(--ui-color-bg-content-primary)",
|
|
6558
7158
|
"shadow-(--popup-window-box-shadow)",
|
|
6559
7159
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
7160
|
+
// 'ring ring-(--ui-color-divider-default)',
|
|
6560
7161
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
6561
7162
|
"origin-(--reka-popover-content-transform-origin)",
|
|
6562
7163
|
"focus:outline-none pointer-events-auto"
|
|
6563
7164
|
].join(" "),
|
|
6564
7165
|
arrow: "fill-(--ui-color-bg-content-primary)"
|
|
7166
|
+
// stroke-(--ui-color-divider-default)
|
|
6565
7167
|
}
|
|
6566
7168
|
};
|
|
6567
7169
|
|
|
@@ -7252,6 +7854,7 @@ const select = () => {
|
|
|
7252
7854
|
"bg-(--ui-color-bg-content-primary)",
|
|
7253
7855
|
"shadow-(--popup-window-box-shadow)",
|
|
7254
7856
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
7857
|
+
// 'ring ring-(--ui-color-divider-default)',
|
|
7255
7858
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
7256
7859
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
7257
7860
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -7268,7 +7871,7 @@ const select = () => {
|
|
|
7268
7871
|
// scrollbar-transparent
|
|
7269
7872
|
].join(" "),
|
|
7270
7873
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
7271
|
-
// for content bottom|top::start -> ml-[12px]
|
|
7874
|
+
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
7272
7875
|
group: "grid",
|
|
7273
7876
|
empty: [
|
|
7274
7877
|
"h-(--popup-window-delimiter-section-height)",
|
|
@@ -8714,10 +9317,6 @@ const textarea = {
|
|
|
8714
9317
|
"collab": { base: "style-old-collab" },
|
|
8715
9318
|
"ai": { base: "style-old-ai" }
|
|
8716
9319
|
},
|
|
8717
|
-
/**
|
|
8718
|
-
* @memo now get from Badge
|
|
8719
|
-
*/
|
|
8720
|
-
// tagColor: {},
|
|
8721
9320
|
rounded: {
|
|
8722
9321
|
true: "rounded-(--ui-border-radius-3xl)",
|
|
8723
9322
|
false: "rounded-(--ui-border-radius-sm)"
|
|
@@ -8736,6 +9335,9 @@ const textarea = {
|
|
|
8736
9335
|
leading: { true: "" },
|
|
8737
9336
|
trailing: { true: "" },
|
|
8738
9337
|
loading: { true: "" },
|
|
9338
|
+
fixed: {
|
|
9339
|
+
false: ""
|
|
9340
|
+
},
|
|
8739
9341
|
highlight: { true: "ring ring-inset ring-(--b24ui-border-color)" }
|
|
8740
9342
|
},
|
|
8741
9343
|
compoundVariants: [
|
|
@@ -9089,7 +9691,7 @@ const toast = {
|
|
|
9089
9691
|
const toaster = {
|
|
9090
9692
|
slots: {
|
|
9091
9693
|
viewport: "fixed flex flex-col w-[calc(100%-2rem)] sm:w-[384px] z-[100] data-[expanded=true]:h-(--height) focus:outline-none mr-(--scrollbar-width)",
|
|
9092
|
-
base: "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
|
|
9694
|
+
base: "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
|
|
9093
9695
|
},
|
|
9094
9696
|
variants: {
|
|
9095
9697
|
position: {
|
|
@@ -9128,7 +9730,7 @@ const toaster = {
|
|
|
9128
9730
|
],
|
|
9129
9731
|
class: {
|
|
9130
9732
|
viewport: "top-4",
|
|
9131
|
-
base: "top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]"
|
|
9733
|
+
base: "top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"
|
|
9132
9734
|
}
|
|
9133
9735
|
},
|
|
9134
9736
|
{
|
|
@@ -9139,7 +9741,7 @@ const toaster = {
|
|
|
9139
9741
|
],
|
|
9140
9742
|
class: {
|
|
9141
9743
|
viewport: "bottom-4",
|
|
9142
|
-
base: "bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]"
|
|
9744
|
+
base: "bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"
|
|
9143
9745
|
}
|
|
9144
9746
|
},
|
|
9145
9747
|
{
|
|
@@ -9165,24 +9767,23 @@ const toaster = {
|
|
|
9165
9767
|
const tooltip = {
|
|
9166
9768
|
slots: {
|
|
9167
9769
|
content: [
|
|
9168
|
-
"
|
|
9770
|
+
"light",
|
|
9169
9771
|
"flex flex-row items-center justify-between gap-[5px] will-change-[opacity]",
|
|
9170
9772
|
"min-h-[37px]",
|
|
9171
9773
|
"shadow-xl/20",
|
|
9172
9774
|
"select-none",
|
|
9173
9775
|
"motion-safe:data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
9174
|
-
"p-[
|
|
9175
|
-
"text-(length:--ui-font-size-
|
|
9176
|
-
"bg-(--ui-color-bg-content-
|
|
9177
|
-
"text-(--ui-color-
|
|
9178
|
-
"rounded-[calc(var(--ui-border-radius-
|
|
9179
|
-
|
|
9180
|
-
// 'border border-(--popup-window-border)'
|
|
9776
|
+
"p-[13px] ps-[26px]",
|
|
9777
|
+
"text-(length:--ui-font-size-lg)/[normal] font-[family-name:var(--ui-font-family-system)]",
|
|
9778
|
+
"bg-(--ui-color-bg-content-inapp)",
|
|
9779
|
+
"text-(--ui-color-base-8)",
|
|
9780
|
+
"rounded-[calc(var(--ui-border-radius-3xl)-2px)]",
|
|
9781
|
+
"ring ring-(--ui-color-bg-content-inapp)",
|
|
9181
9782
|
"origin-(--reka-tooltip-content-transform-origin)",
|
|
9182
9783
|
"pointer-events-auto"
|
|
9183
9784
|
].join(" "),
|
|
9184
|
-
arrow: "fill-(--ui-color-bg-content-
|
|
9185
|
-
text: "text-pretty max-w-[
|
|
9785
|
+
arrow: "fill-(--ui-color-bg-content-inapp) stroke-(--ui-color-bg-content-inapp)",
|
|
9786
|
+
text: "text-pretty max-w-[344px] min-w-[100px]",
|
|
9186
9787
|
// truncate
|
|
9187
9788
|
kbds: `hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-[''] not-first-of-type:before:me-0.5`,
|
|
9188
9789
|
kbdsSize: "sm",
|
|
@@ -9708,9 +10309,17 @@ const theme = {
|
|
|
9708
10309
|
contextMenu: contextMenu,
|
|
9709
10310
|
countdown: countdown,
|
|
9710
10311
|
dashboardGroup: dashboardGroup,
|
|
10312
|
+
dashboardNavbar: dashboardNavbar,
|
|
10313
|
+
dashboardPanel: dashboardPanel,
|
|
10314
|
+
dashboardResizeHandle: dashboardResizeHandle,
|
|
9711
10315
|
dashboardSearch: dashboardSearch,
|
|
9712
10316
|
dashboardSearchButton: dashboardSearchButton,
|
|
10317
|
+
dashboardSidebar: dashboardSidebar,
|
|
10318
|
+
dashboardSidebarCollapse: dashboardSidebarCollapse,
|
|
10319
|
+
dashboardSidebarToggle: dashboardSidebarToggle,
|
|
10320
|
+
dashboardToolbar: dashboardToolbar,
|
|
9713
10321
|
descriptionList: descriptionList,
|
|
10322
|
+
drawer: drawer,
|
|
9714
10323
|
dropdownMenu: dropdownMenu,
|
|
9715
10324
|
editor: editor,
|
|
9716
10325
|
editorDragHandle: editorDragHandle,
|
|
@@ -9722,8 +10331,11 @@ const theme = {
|
|
|
9722
10331
|
error: error,
|
|
9723
10332
|
fieldGroup: fieldGroup$1,
|
|
9724
10333
|
fileUpload: fileUpload,
|
|
10334
|
+
footer: footer,
|
|
10335
|
+
footerColumns: footerColumns,
|
|
9725
10336
|
form: form,
|
|
9726
10337
|
formField: formField,
|
|
10338
|
+
header: header,
|
|
9727
10339
|
input: input,
|
|
9728
10340
|
inputDate: inputDate,
|
|
9729
10341
|
inputMenu: inputMenu,
|
|
@@ -9732,17 +10344,24 @@ const theme = {
|
|
|
9732
10344
|
inputTime: inputTime,
|
|
9733
10345
|
kbd: kbd$1,
|
|
9734
10346
|
link: link,
|
|
10347
|
+
main: main,
|
|
9735
10348
|
modal: modal,
|
|
9736
10349
|
navbar: navbar,
|
|
9737
10350
|
navbarDivider: navbarDivider,
|
|
9738
10351
|
navbarSection: navbarSection,
|
|
9739
10352
|
navbarSpacer: navbarSpacer,
|
|
9740
10353
|
navigationMenu: navigationMenu,
|
|
10354
|
+
page: page,
|
|
10355
|
+
pageAside: pageAside,
|
|
10356
|
+
pageBody: pageBody,
|
|
9741
10357
|
pageCard: pageCard,
|
|
9742
10358
|
pageColumns: pageColumns,
|
|
10359
|
+
pageFeature: pageFeature,
|
|
9743
10360
|
pageGrid: pageGrid,
|
|
10361
|
+
pageHeader: pageHeader,
|
|
9744
10362
|
pageLinks: pageLinks,
|
|
9745
10363
|
pageList: pageList,
|
|
10364
|
+
pageSection: pageSection,
|
|
9746
10365
|
pagination: pagination,
|
|
9747
10366
|
pinInput: pinInput,
|
|
9748
10367
|
popover: popover,
|
|
@@ -10165,7 +10784,7 @@ const card = {
|
|
|
10165
10784
|
"transition-colors"
|
|
10166
10785
|
].join(" "),
|
|
10167
10786
|
icon: "size-6 mb-2 block text-(--b24ui-icon)",
|
|
10168
|
-
title: "text-(--b24ui-color) font-
|
|
10787
|
+
title: "text-(--b24ui-color) font-(--ui-font-weight-semi-bold)",
|
|
10169
10788
|
description: "text-[15px] text-(--b24ui-color) [&_p]:text-(--b24ui-color) *:first:mt-0 *:last:mb-0 *:my-1",
|
|
10170
10789
|
externalIcon: [
|
|
10171
10790
|
"size-4",
|
|
@@ -10724,24 +11343,12 @@ const contentSearch = {
|
|
|
10724
11343
|
}
|
|
10725
11344
|
},
|
|
10726
11345
|
size: {
|
|
10727
|
-
xss: {
|
|
10728
|
-
|
|
10729
|
-
},
|
|
10730
|
-
|
|
10731
|
-
|
|
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
|
-
}
|
|
11346
|
+
xss: {},
|
|
11347
|
+
xs: {},
|
|
11348
|
+
sm: {},
|
|
11349
|
+
md: {},
|
|
11350
|
+
lg: {},
|
|
11351
|
+
xl: {}
|
|
10745
11352
|
}
|
|
10746
11353
|
},
|
|
10747
11354
|
defaultVariants: {
|
|
@@ -10860,6 +11467,7 @@ const contentToc = {
|
|
|
10860
11467
|
"lg:hidden"
|
|
10861
11468
|
].join(" "),
|
|
10862
11469
|
content: [
|
|
11470
|
+
"relative",
|
|
10863
11471
|
"motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out]",
|
|
10864
11472
|
"motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out]",
|
|
10865
11473
|
"overflow-hidden",
|