@bitrix24/b24ui-nuxt 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/b24ui.css +2 -1
- package/README.md +4 -4
- package/cli/templates.mjs +5 -8
- package/dist/module.d.mts +6 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -1
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -1
- package/dist/runtime/air-design-tokens/013_b24_mobile_light.css +1 -1
- package/dist/runtime/air-design-tokens/014_b24_mobile_dark.css +1 -1
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -1
- package/dist/runtime/air-design-tokens/components/scrollbar.css +1 -1
- package/dist/runtime/components/Accordion.d.vue.ts +8 -7
- 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.d.ts +4 -3
- package/dist/runtime/components/Alert.d.vue.ts +8 -7
- 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.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
- 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.d.ts +7 -6
- package/dist/runtime/components/Banner.d.vue.ts +7 -6
- 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.d.ts +14 -13
- package/dist/runtime/components/Button.d.vue.ts +7 -6
- 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.d.ts +6 -5
- package/dist/runtime/components/Card.d.vue.ts +4 -3
- 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.d.ts +6 -5
- package/dist/runtime/components/ChatMessages.d.vue.ts +9 -8
- 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.d.ts +3 -2
- package/dist/runtime/components/ChatPrompt.d.vue.ts +3 -2
- package/dist/runtime/components/ChatPrompt.vue.d.ts +3 -2
- package/dist/runtime/components/Checkbox.d.vue.ts +7 -6
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +5 -4
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Chip.d.vue.ts +4 -3
- package/dist/runtime/components/Chip.vue.d.ts +4 -3
- package/dist/runtime/components/Collapsible.d.vue.ts +4 -3
- package/dist/runtime/components/Collapsible.vue.d.ts +4 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +20 -19
- package/dist/runtime/components/CommandPalette.vue +1 -1
- package/dist/runtime/components/CommandPalette.vue.d.ts +20 -19
- package/dist/runtime/components/Container.d.vue.ts +2 -1
- package/dist/runtime/components/Container.vue.d.ts +2 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +19 -18
- 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.d.ts +5 -4
- package/dist/runtime/components/DashboardGroup.d.vue.ts +3 -2
- package/dist/runtime/components/DashboardGroup.vue.d.ts +3 -2
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +11 -10
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +11 -10
- package/dist/runtime/components/DashboardPanel.d.vue.ts +7 -6
- package/dist/runtime/components/DashboardPanel.vue.d.ts +7 -6
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +2 -1
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +2 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -3
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -3
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +19 -18
- package/dist/runtime/components/DashboardSidebar.vue +3 -3
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +19 -18
- package/dist/runtime/components/DashboardToolbar.d.vue.ts +4 -3
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +4 -3
- package/dist/runtime/components/DescriptionList.d.vue.ts +17 -18
- package/dist/runtime/components/DescriptionList.vue +4 -4
- package/dist/runtime/components/DescriptionList.vue.d.ts +17 -18
- package/dist/runtime/components/Drawer.d.vue.ts +8 -7
- package/dist/runtime/components/Drawer.vue.d.ts +8 -7
- package/dist/runtime/components/DropdownMenu.d.vue.ts +20 -19
- 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.d.ts +4 -3
- package/dist/runtime/components/Editor.d.vue.ts +3 -2
- package/dist/runtime/components/Editor.vue.d.ts +3 -2
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +3 -2
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +3 -2
- package/dist/runtime/components/EditorToolbar.d.vue.ts +3 -2
- 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.d.ts +9 -8
- package/dist/runtime/components/Error.d.vue.ts +6 -5
- package/dist/runtime/components/Error.vue.d.ts +6 -5
- package/dist/runtime/components/FieldGroup.d.vue.ts +2 -1
- package/dist/runtime/components/FieldGroup.vue.d.ts +2 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +29 -28
- package/dist/runtime/components/FileUpload.vue.d.ts +29 -28
- package/dist/runtime/components/Footer.d.vue.ts +6 -5
- package/dist/runtime/components/Footer.vue.d.ts +6 -5
- package/dist/runtime/components/FooterColumns.d.vue.ts +12 -11
- package/dist/runtime/components/FooterColumns.vue.d.ts +12 -11
- package/dist/runtime/components/Form.d.vue.ts +3 -2
- package/dist/runtime/components/Form.vue.d.ts +3 -2
- package/dist/runtime/components/FormField.d.vue.ts +19 -18
- package/dist/runtime/components/FormField.vue.d.ts +19 -18
- package/dist/runtime/components/Header.d.vue.ts +12 -11
- package/dist/runtime/components/Header.vue.d.ts +12 -11
- package/dist/runtime/components/Input.d.vue.ts +7 -6
- package/dist/runtime/components/Input.vue.d.ts +7 -6
- package/dist/runtime/components/InputDate.d.vue.ts +9 -9
- package/dist/runtime/components/InputDate.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.d.vue.ts +25 -24
- package/dist/runtime/components/InputMenu.vue.d.ts +25 -24
- package/dist/runtime/components/InputNumber.d.vue.ts +3 -2
- package/dist/runtime/components/InputNumber.vue.d.ts +3 -2
- package/dist/runtime/components/InputTags.d.vue.ts +10 -9
- package/dist/runtime/components/InputTags.vue.d.ts +10 -9
- package/dist/runtime/components/InputTime.d.vue.ts +7 -7
- package/dist/runtime/components/InputTime.vue.d.ts +7 -7
- package/dist/runtime/components/Kbd.d.vue.ts +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +2 -1
- package/dist/runtime/components/Link.d.vue.ts +3 -2
- package/dist/runtime/components/Link.vue.d.ts +3 -2
- package/dist/runtime/components/Main.d.vue.ts +2 -1
- package/dist/runtime/components/Main.vue.d.ts +2 -1
- package/dist/runtime/components/Modal.d.vue.ts +16 -15
- package/dist/runtime/components/Modal.vue.d.ts +16 -15
- 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.d.ts +8 -0
- package/dist/runtime/components/NavbarDivider.d.vue.ts +8 -0
- 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.d.ts +8 -0
- package/dist/runtime/components/NavbarSpacer.d.vue.ts +8 -0
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +8 -0
- package/dist/runtime/components/NavigationMenu.d.vue.ts +20 -15
- package/dist/runtime/components/NavigationMenu.vue.d.ts +20 -15
- package/dist/runtime/components/Page.d.vue.ts +4 -3
- package/dist/runtime/components/Page.vue +9 -3
- package/dist/runtime/components/Page.vue.d.ts +4 -3
- package/dist/runtime/components/PageAside.d.vue.ts +4 -3
- package/dist/runtime/components/PageAside.vue.d.ts +4 -3
- package/dist/runtime/components/PageBody.d.vue.ts +2 -1
- package/dist/runtime/components/PageBody.vue.d.ts +2 -1
- package/dist/runtime/components/PageCard.d.vue.ts +9 -8
- package/dist/runtime/components/PageCard.vue.d.ts +9 -8
- package/dist/runtime/components/PageColumns.d.vue.ts +2 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +2 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +6 -5
- package/dist/runtime/components/PageFeature.vue.d.ts +6 -5
- package/dist/runtime/components/PageGrid.d.vue.ts +2 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +2 -1
- package/dist/runtime/components/PageHeader.d.vue.ts +6 -5
- package/dist/runtime/components/PageHeader.vue.d.ts +6 -5
- package/dist/runtime/components/PageLinks.d.vue.ts +9 -8
- package/dist/runtime/components/PageLinks.vue.d.ts +9 -8
- package/dist/runtime/components/PageList.d.vue.ts +2 -1
- package/dist/runtime/components/PageList.vue.d.ts +2 -1
- package/dist/runtime/components/PageSection.d.vue.ts +14 -13
- package/dist/runtime/components/PageSection.vue.d.ts +14 -13
- package/dist/runtime/components/Pagination.d.vue.ts +9 -8
- package/dist/runtime/components/Pagination.vue.d.ts +9 -8
- package/dist/runtime/components/Popover.d.vue.ts +8 -5
- 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.d.ts +4 -3
- package/dist/runtime/components/RadioGroup.d.vue.ts +5 -4
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/ScrollArea.d.vue.ts +6 -2
- package/dist/runtime/components/ScrollArea.vue +2 -2
- package/dist/runtime/components/ScrollArea.vue.d.ts +6 -2
- package/dist/runtime/components/Select.d.vue.ts +20 -19
- package/dist/runtime/components/Select.vue.d.ts +20 -19
- package/dist/runtime/components/SelectMenu.d.vue.ts +25 -24
- package/dist/runtime/components/SelectMenu.vue.d.ts +25 -24
- package/dist/runtime/components/Separator.d.vue.ts +3 -2
- package/dist/runtime/components/Separator.vue.d.ts +3 -2
- package/dist/runtime/components/Sidebar.d.vue.ts +6 -0
- package/dist/runtime/components/Sidebar.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarBody.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarBody.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarFooter.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarFooter.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarHeader.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarHeader.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarHeading.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarHeading.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarLayout.d.vue.ts +7 -2
- package/dist/runtime/components/SidebarLayout.vue +1 -2
- package/dist/runtime/components/SidebarLayout.vue.d.ts +7 -2
- package/dist/runtime/components/SidebarSection.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarSection.vue.d.ts +6 -0
- package/dist/runtime/components/SidebarSpacer.d.vue.ts +6 -0
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +6 -0
- package/dist/runtime/components/Slideover.d.vue.ts +20 -19
- package/dist/runtime/components/Slideover.vue.d.ts +20 -19
- package/dist/runtime/components/Stepper.d.vue.ts +8 -7
- 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.d.ts +7 -6
- package/dist/runtime/components/Table.d.vue.ts +11 -12
- 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.d.ts +2 -1
- package/dist/runtime/components/Tabs.d.vue.ts +9 -9
- package/dist/runtime/components/Tabs.vue.d.ts +9 -9
- package/dist/runtime/components/Textarea.d.vue.ts +7 -6
- package/dist/runtime/components/Textarea.vue.d.ts +7 -6
- package/dist/runtime/components/Theme.d.vue.ts +2 -1
- package/dist/runtime/components/Theme.vue.d.ts +2 -1
- package/dist/runtime/components/Timeline.d.vue.ts +7 -6
- 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.d.ts +8 -7
- package/dist/runtime/components/Toaster.d.vue.ts +2 -1
- package/dist/runtime/components/Toaster.vue.d.ts +2 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +5 -4
- package/dist/runtime/components/Tooltip.vue +1 -1
- 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.d.ts +6 -5
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +4 -3
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +4 -3
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +6 -5
- 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.d.ts +15 -14
- package/dist/runtime/components/prose/A.d.vue.ts +2 -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.d.ts +2 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +2 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Callout.d.vue.ts +2 -1
- 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.d.ts +3 -2
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +2 -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.d.ts +2 -1
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +2 -1
- 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.d.ts +3 -2
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Em.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Field.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +2 -1
- package/dist/runtime/components/prose/FieldGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +2 -1
- 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.d.ts +2 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +2 -1
- 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.d.ts +2 -1
- package/dist/runtime/components/prose/H5.d.vue.ts +2 -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.d.ts +2 -1
- package/dist/runtime/components/prose/Li.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Ol.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +2 -1
- package/dist/runtime/components/prose/P.d.vue.ts +2 -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.d.ts +2 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Table.d.vue.ts +2 -1
- 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.d.ts +2 -1
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +2 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Td.d.vue.ts +2 -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.d.ts +2 -1
- package/dist/runtime/components/prose/Thead.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tr.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Ul.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +2 -1
- package/dist/runtime/composables/color-mode/useColorMode.js +3 -1
- package/dist/runtime/composables/useResizable.d.ts +2 -2
- package/dist/runtime/composables/useResizable.js +2 -2
- package/dist/runtime/types/utils.d.ts +2 -2
- package/dist/runtime/utils/tv.js +1 -0
- package/dist/shared/{b24ui-nuxt.DstlkmYO.mjs → b24ui-nuxt.C-GSAtA1.mjs} +166 -120
- package/dist/unplugin.d.mts +6 -0
- package/dist/unplugin.mjs +3 -2
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
- package/dist/runtime/composables/useLoading.d.ts +0 -29
- 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.4.
|
|
11
|
+
const version = "2.4.2";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -24,6 +24,7 @@ const defaultOptions = {
|
|
|
24
24
|
colorMode: true,
|
|
25
25
|
colorModeInitialValue: "light",
|
|
26
26
|
colorModeTypeLight: "light",
|
|
27
|
+
colorModeStorageKey: "vueuse-color-scheme",
|
|
27
28
|
version,
|
|
28
29
|
mdc: true,
|
|
29
30
|
content: false
|
|
@@ -2424,11 +2425,11 @@ const commandPalette = {
|
|
|
2424
2425
|
root: [
|
|
2425
2426
|
"flex flex-col",
|
|
2426
2427
|
"min-h-0 min-w-0",
|
|
2427
|
-
"divide-y divide-(--ui-color-
|
|
2428
|
+
"divide-y divide-(--ui-color-divider-default)"
|
|
2428
2429
|
].join(" "),
|
|
2429
2430
|
input: "",
|
|
2430
2431
|
close: "",
|
|
2431
|
-
back: "p-0",
|
|
2432
|
+
back: "p-0 -ms-1.5 me-1",
|
|
2432
2433
|
content: "relative overflow-hidden flex flex-col",
|
|
2433
2434
|
footer: "p-1",
|
|
2434
2435
|
viewport: [
|
|
@@ -2488,7 +2489,6 @@ const commandPalette = {
|
|
|
2488
2489
|
},
|
|
2489
2490
|
false: {
|
|
2490
2491
|
viewport: ""
|
|
2491
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
2492
2492
|
}
|
|
2493
2493
|
},
|
|
2494
2494
|
size: {
|
|
@@ -2853,12 +2853,12 @@ const dashboardGroup = {
|
|
|
2853
2853
|
|
|
2854
2854
|
const dashboardNavbar = {
|
|
2855
2855
|
slots: {
|
|
2856
|
-
root: "h-(--b24ui-header-height) shrink-0 flex items-center justify-between
|
|
2856
|
+
root: "h-(--b24ui-header-height) shrink-0 flex items-center justify-between ps-2 pe-4 lg:ps-4 lg:pe-4 gap-1.5",
|
|
2857
2857
|
left: "flex items-center gap-1.5 min-w-0",
|
|
2858
2858
|
icon: "shrink-0 size-5 self-center me-1.5",
|
|
2859
|
-
title: "flex items-center gap-1.5
|
|
2859
|
+
title: "flex items-center gap-1.5 text-[length:25px] bitrix-mobile:text-[length:18px] font-medium text-(--ui-color-base-1) truncate",
|
|
2860
2860
|
center: "hidden lg:flex",
|
|
2861
|
-
right: "flex items-center shrink-0 gap-
|
|
2861
|
+
right: "flex items-center shrink-0 gap-3",
|
|
2862
2862
|
toggle: ""
|
|
2863
2863
|
},
|
|
2864
2864
|
variants: {
|
|
@@ -2875,8 +2875,8 @@ const dashboardNavbar = {
|
|
|
2875
2875
|
|
|
2876
2876
|
const dashboardPanel = {
|
|
2877
2877
|
slots: {
|
|
2878
|
-
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",
|
|
2879
|
-
body: "flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto p-4 sm:
|
|
2878
|
+
root: "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-e lg:not-last:border-e-0 lg:not-last:border-(--ui-color-divider-default) shrink-0",
|
|
2879
|
+
body: "flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto sm:p-4 sm:pt-0 scrollbar-thin",
|
|
2880
2880
|
handle: ""
|
|
2881
2881
|
},
|
|
2882
2882
|
variants: {
|
|
@@ -2940,10 +2940,18 @@ const dashboardSearchButton = {
|
|
|
2940
2940
|
|
|
2941
2941
|
const dashboardSidebar = {
|
|
2942
2942
|
slots: {
|
|
2943
|
-
root:
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2943
|
+
root: [
|
|
2944
|
+
"relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
|
|
2945
|
+
"backdrop-blur-sm bg-(--ui-color-bg-content-primary)/20 light:bg-transparent dark:bg-(--ui-color-bg-content-primary)/70",
|
|
2946
|
+
"light:bg-transparent light:[--leftmenu-group-stroke:var(--ui-color-base-30)]"
|
|
2947
|
+
].join(" "),
|
|
2948
|
+
header: "h-(--b24ui-header-height) shrink-0 flex items-center gap-1.5 ps-4 pe-4",
|
|
2949
|
+
body: "flex flex-col gap-4 flex-1 overflow-y-auto ps-4 pe-4 py-2 scrollbar-thin scrollbar-transparent",
|
|
2950
|
+
footer: [
|
|
2951
|
+
"shrink-0 flex items-center gap-1.5 ps-4 pe-4 py-2",
|
|
2952
|
+
"lg:border-t lg:border-(--ui-color-divider-default)",
|
|
2953
|
+
"light:lg:border-(--ui-color-base-30)"
|
|
2954
|
+
].join(" "),
|
|
2947
2955
|
toggle: "",
|
|
2948
2956
|
handle: "",
|
|
2949
2957
|
content: "lg:hidden",
|
|
@@ -2959,7 +2967,7 @@ const dashboardSidebar = {
|
|
|
2959
2967
|
},
|
|
2960
2968
|
side: {
|
|
2961
2969
|
left: {
|
|
2962
|
-
root: "border-e border-(--ui-color-divider-
|
|
2970
|
+
root: "border-e border-e-0 border-(--ui-color-divider-accent)"
|
|
2963
2971
|
},
|
|
2964
2972
|
right: {
|
|
2965
2973
|
root: ""
|
|
@@ -2998,7 +3006,7 @@ const dashboardSidebarToggle = {
|
|
|
2998
3006
|
|
|
2999
3007
|
const dashboardToolbar = {
|
|
3000
3008
|
slots: {
|
|
3001
|
-
root: "shrink-0 flex items-center justify-between border-
|
|
3009
|
+
root: "shrink-0 flex items-center justify-between border-0 px-4 gap-1.5 overflow-x-auto min-h-[49px]",
|
|
3002
3010
|
left: "flex items-center gap-1.5",
|
|
3003
3011
|
right: "flex items-center gap-1.5"
|
|
3004
3012
|
}
|
|
@@ -3258,56 +3266,65 @@ const dropdownMenu = {
|
|
|
3258
3266
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
3259
3267
|
"relative",
|
|
3260
3268
|
"isolate",
|
|
3261
|
-
"px-0 py-(--menu-popup-padding)",
|
|
3269
|
+
"px-0 py-(--menu-popup-padding) bitrix-mobile:py-0!",
|
|
3262
3270
|
"pointer-events-auto"
|
|
3263
3271
|
].join(" "),
|
|
3264
3272
|
viewport: [
|
|
3265
3273
|
"relative",
|
|
3266
3274
|
"w-full max-h-[40vh] min-w-[192px]",
|
|
3267
3275
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
3268
|
-
// scrollbar-transparent
|
|
3269
3276
|
].join(" "),
|
|
3270
3277
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
3271
|
-
// for content bottom|top::start -> ml-[12px]
|
|
3272
3278
|
group: "grid",
|
|
3273
|
-
// p-1 isolate
|
|
3274
3279
|
label: [
|
|
3275
3280
|
"w-full h-(--popup-window-delimiter-section-height)",
|
|
3276
|
-
|
|
3281
|
+
"bitrix-mobile:h-[27px]",
|
|
3277
3282
|
"px-[18px] mt-(--menu-item-block-stack-space)",
|
|
3283
|
+
"bitrix-mobile:pe-0 bitrix-mobile:mt-0 bitrix-mobile:-mb-[12px]",
|
|
3278
3284
|
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3279
3285
|
"select-none outline-none whitespace-nowrap",
|
|
3280
3286
|
"text-start",
|
|
3281
3287
|
"text-(length:--ui-size-sm)",
|
|
3282
|
-
"text-(--
|
|
3288
|
+
"text-(--ui-color-base-3)",
|
|
3289
|
+
'bitrix-mobile:[&_[data-slot="itemLabel"]]:text-(--ui-color-base-5)',
|
|
3283
3290
|
"font-(--ui-font-weight-normal)",
|
|
3284
3291
|
"after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--ui-color-divider-vibrant-default)"
|
|
3285
3292
|
].join(" "),
|
|
3286
|
-
separator:
|
|
3293
|
+
separator: [
|
|
3294
|
+
"bg-(--ui-color-divider-vibrant-default)",
|
|
3295
|
+
"my-2 mx-4.5 h-px",
|
|
3296
|
+
"bitrix-mobile:my-0 bitrix-mobile:mx-0 bitrix-mobile:h-1.5"
|
|
3297
|
+
].join(" "),
|
|
3287
3298
|
item: [
|
|
3288
3299
|
"group",
|
|
3289
3300
|
"w-full h-[36px]",
|
|
3290
|
-
|
|
3291
|
-
"px-
|
|
3301
|
+
"bitrix-mobile:h-[42px]",
|
|
3302
|
+
"px-4.5 pe-2 mt-(--menu-item-block-stack-space)",
|
|
3303
|
+
"bitrix-mobile:mt-0",
|
|
3292
3304
|
"relative",
|
|
3293
|
-
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3305
|
+
"flex flex-row rtl:flex-row-reverse items-center gap-2",
|
|
3294
3306
|
"select-none outline-none whitespace-nowrap",
|
|
3295
3307
|
"cursor-pointer",
|
|
3296
3308
|
"data-disabled:cursor-not-allowed data-disabled:opacity-30",
|
|
3297
3309
|
"text-start",
|
|
3298
3310
|
"text-(length:--ui-font-size-md)",
|
|
3299
|
-
"text-(--
|
|
3300
|
-
"
|
|
3301
|
-
"data-
|
|
3311
|
+
"text-(--ui-color-base-1)",
|
|
3312
|
+
"hover:text-(--ui-color-base-1)",
|
|
3313
|
+
"data-highlighted:text-(--ui-color-base-1)",
|
|
3314
|
+
"data-[state=open]:text-(--ui-color-base-1)",
|
|
3302
3315
|
"hover:bg-(--ui-color-divider-optical-1-alt)",
|
|
3303
3316
|
"data-highlighted:bg-(--ui-color-divider-optical-1-alt)",
|
|
3304
3317
|
"data-[state=open]:bg-(--ui-color-divider-optical-1-alt)",
|
|
3305
|
-
"
|
|
3318
|
+
"bitrix-mobile:data-[state=open]:bg-(--ui-color-bg-state-hover-default)",
|
|
3319
|
+
"transition-colors",
|
|
3320
|
+
'bitrix-mobile:[[data-slot="item"]+&]:border-t',
|
|
3321
|
+
"bitrix-mobile:border-t-(--ui-color-divider-vibrant-default)",
|
|
3322
|
+
"bitrix-mobile:data-highlighted:bg-(--ui-color-bg-state-hover-default)"
|
|
3306
3323
|
].join(" "),
|
|
3307
3324
|
itemLeadingIcon: [
|
|
3308
3325
|
"shrink-0",
|
|
3309
|
-
"size-[
|
|
3310
|
-
"text-(--ui-color-
|
|
3326
|
+
"size-[25px]",
|
|
3327
|
+
"text-(--ui-color-base-5)",
|
|
3311
3328
|
"group-data-highlighted:text-(--ui-color-accent-main-primary)",
|
|
3312
3329
|
"group-data-[state=open]:text-(--ui-color-accent-main-primary)",
|
|
3313
3330
|
"group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
@@ -3318,7 +3335,7 @@ const dropdownMenu = {
|
|
|
3318
3335
|
itemLeadingAvatarSize: "2xs",
|
|
3319
3336
|
// @memo this wrong
|
|
3320
3337
|
itemTrailing: "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
3321
|
-
itemTrailingIcon: "shrink-0 size-[
|
|
3338
|
+
itemTrailingIcon: "shrink-0 size-[25px] text-(--ui-color-accent-main-primary)",
|
|
3322
3339
|
itemTrailingKbds: "shrink-0 hidden lg:inline-flex items-center gap-0.5",
|
|
3323
3340
|
itemTrailingKbdsSize: "md",
|
|
3324
3341
|
itemWrapper: "flex-1 flex flex-col text-start min-w-0",
|
|
@@ -3327,7 +3344,7 @@ const dropdownMenu = {
|
|
|
3327
3344
|
"group-data-[state=checked]:text-(--ui-color-accent-main-primary)"
|
|
3328
3345
|
].join(" "),
|
|
3329
3346
|
itemDescription: "max-w-[240px] truncate -mt-[6px] text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
|
|
3330
|
-
itemLabelExternalIcon: "inline-block size-[
|
|
3347
|
+
itemLabelExternalIcon: "inline-block size-[25px] text-(--ui-color-base-5)"
|
|
3331
3348
|
},
|
|
3332
3349
|
variants: {
|
|
3333
3350
|
color: {
|
|
@@ -3336,7 +3353,7 @@ const dropdownMenu = {
|
|
|
3336
3353
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
3337
3354
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
3338
3355
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
3339
|
-
|
|
3356
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3340
3357
|
"default": { item: "style-old-default" },
|
|
3341
3358
|
"danger": { item: "style-old-danger" },
|
|
3342
3359
|
"success": { item: "style-old-success" },
|
|
@@ -3401,6 +3418,7 @@ const dropdownMenu = {
|
|
|
3401
3418
|
active: true,
|
|
3402
3419
|
class: ""
|
|
3403
3420
|
},
|
|
3421
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3404
3422
|
{
|
|
3405
3423
|
color: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
3406
3424
|
active: false,
|
|
@@ -3413,6 +3431,7 @@ const dropdownMenu = {
|
|
|
3413
3431
|
].join(" ")
|
|
3414
3432
|
}
|
|
3415
3433
|
},
|
|
3434
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3416
3435
|
{
|
|
3417
3436
|
color: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
3418
3437
|
active: true,
|
|
@@ -4166,17 +4185,15 @@ const header = {
|
|
|
4166
4185
|
const input = {
|
|
4167
4186
|
slots: {
|
|
4168
4187
|
root: "isolate relative inline-flex items-center",
|
|
4169
|
-
// remove ? w-full -> see select
|
|
4170
4188
|
base: [
|
|
4171
4189
|
"px-3",
|
|
4172
4190
|
"w-full py-0 border-0 focus:outline-none",
|
|
4173
4191
|
"disabled:cursor-not-allowed",
|
|
4174
|
-
"disabled:pointer-events-
|
|
4192
|
+
"disabled:pointer-events-auto",
|
|
4175
4193
|
"disabled:select-none",
|
|
4176
4194
|
"disabled:opacity-30",
|
|
4177
4195
|
"disabled:resize-none",
|
|
4178
|
-
"appearance-none transition duration-300 ease-linear",
|
|
4179
|
-
// transition-colors
|
|
4196
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
4180
4197
|
"text-(--ui-color-base-1)",
|
|
4181
4198
|
"style-blurred-bg-input",
|
|
4182
4199
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -4266,7 +4283,7 @@ const input = {
|
|
|
4266
4283
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
4267
4284
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
4268
4285
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
4269
|
-
// @deprecate ////
|
|
4286
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4270
4287
|
"default": { base: "style-old-default" },
|
|
4271
4288
|
"danger": { base: "style-old-danger" },
|
|
4272
4289
|
"success": { base: "style-old-success" },
|
|
@@ -4345,7 +4362,7 @@ const input = {
|
|
|
4345
4362
|
class: {
|
|
4346
4363
|
base: [
|
|
4347
4364
|
"focus-visible:border-(--b24ui-border-color)",
|
|
4348
|
-
"hover:border-(--b24ui-border-color)",
|
|
4365
|
+
"hover:not-disabled:not-data-disabled:border-(--b24ui-border-color)",
|
|
4349
4366
|
"data-[state=open]:border-(--b24ui-border-color)"
|
|
4350
4367
|
].join(" ")
|
|
4351
4368
|
}
|
|
@@ -4496,6 +4513,23 @@ const input = {
|
|
|
4496
4513
|
trailingIcon: "size-[21px]"
|
|
4497
4514
|
}
|
|
4498
4515
|
},
|
|
4516
|
+
{
|
|
4517
|
+
loading: true,
|
|
4518
|
+
leading: true,
|
|
4519
|
+
noPadding: true,
|
|
4520
|
+
class: {
|
|
4521
|
+
base: "ps-[34px]"
|
|
4522
|
+
}
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
loading: true,
|
|
4526
|
+
leading: false,
|
|
4527
|
+
trailing: true,
|
|
4528
|
+
noPadding: true,
|
|
4529
|
+
class: {
|
|
4530
|
+
base: "pe-[34px]"
|
|
4531
|
+
}
|
|
4532
|
+
},
|
|
4499
4533
|
// endregion ////
|
|
4500
4534
|
// region fieldGroup ////
|
|
4501
4535
|
{
|
|
@@ -4583,7 +4617,7 @@ const inputDate = () => {
|
|
|
4583
4617
|
"data-[segment=literal]:text-(--ui-color-base-6)",
|
|
4584
4618
|
"data-invalid:text-(--ui-color-accent-main-alert)",
|
|
4585
4619
|
"data-disabled:cursor-not-allowed",
|
|
4586
|
-
"data-disabled:pointer-events-
|
|
4620
|
+
"data-disabled:pointer-events-auto",
|
|
4587
4621
|
"data-disabled:select-none",
|
|
4588
4622
|
"data-disabled:opacity-30",
|
|
4589
4623
|
"transition-colors",
|
|
@@ -4630,12 +4664,11 @@ const inputMenu = () => {
|
|
|
4630
4664
|
base: [
|
|
4631
4665
|
"w-full py-0 border-0 focus:outline-none",
|
|
4632
4666
|
"disabled:cursor-not-allowed",
|
|
4633
|
-
"disabled:pointer-events-
|
|
4667
|
+
"disabled:pointer-events-auto",
|
|
4634
4668
|
"disabled:select-none",
|
|
4635
4669
|
"disabled:opacity-30",
|
|
4636
4670
|
"disabled:resize-none",
|
|
4637
|
-
"appearance-none transition duration-300 ease-linear
|
|
4638
|
-
// transition-colors
|
|
4671
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
4639
4672
|
"text-(--ui-color-base-1)",
|
|
4640
4673
|
"style-blurred-bg-input",
|
|
4641
4674
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -4655,7 +4688,6 @@ const inputMenu = () => {
|
|
|
4655
4688
|
trailingClear: "p-0",
|
|
4656
4689
|
content: [
|
|
4657
4690
|
"base-mode",
|
|
4658
|
-
// w-(--reka-combobox-trigger-width)
|
|
4659
4691
|
"bg-(--ui-color-bg-content-primary)",
|
|
4660
4692
|
"shadow-(--popup-window-box-shadow)",
|
|
4661
4693
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
@@ -4672,14 +4704,11 @@ const inputMenu = () => {
|
|
|
4672
4704
|
"scroll-py-1",
|
|
4673
4705
|
"w-[240px] max-h-[40vh]",
|
|
4674
4706
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
4675
|
-
// scrollbar-transparent
|
|
4676
4707
|
].join(" "),
|
|
4677
4708
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
4678
|
-
// for content bottom|top::start -> ml-[12px]
|
|
4679
4709
|
group: "grid",
|
|
4680
4710
|
empty: [
|
|
4681
4711
|
"h-(--popup-window-delimiter-section-height)",
|
|
4682
|
-
// 'mt-(--menu-item-block-stack-space)',
|
|
4683
4712
|
"py-[8px]",
|
|
4684
4713
|
"select-none outline-none whitespace-nowrap",
|
|
4685
4714
|
"text-center",
|
|
@@ -4759,7 +4788,8 @@ const inputMenu = () => {
|
|
|
4759
4788
|
tagsItemDelete: [
|
|
4760
4789
|
"cursor-pointer",
|
|
4761
4790
|
"inline-flex items-center",
|
|
4762
|
-
"disabled:
|
|
4791
|
+
"disabled:cursor-not-allowed",
|
|
4792
|
+
"disabled:pointer-events-auto",
|
|
4763
4793
|
"text-(--b24ui-icon-color-secondary)",
|
|
4764
4794
|
"hover:text-(--b24ui-icon-color-secondary-hover)",
|
|
4765
4795
|
"transition-none"
|
|
@@ -4774,13 +4804,11 @@ const inputMenu = () => {
|
|
|
4774
4804
|
},
|
|
4775
4805
|
false: {
|
|
4776
4806
|
viewport: ""
|
|
4777
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
4778
4807
|
}
|
|
4779
4808
|
},
|
|
4780
4809
|
addNew: {
|
|
4781
4810
|
true: {
|
|
4782
4811
|
group: "",
|
|
4783
|
-
// p-0 isolate -m-px
|
|
4784
4812
|
item: [
|
|
4785
4813
|
"text-(--b24ui-typography-legend-color)",
|
|
4786
4814
|
"data-highlighted:not-data-disabled:text-(--b24ui-typography-label-color)",
|
|
@@ -4812,7 +4840,7 @@ const inputMenu = () => {
|
|
|
4812
4840
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
4813
4841
|
"focus:outline-none",
|
|
4814
4842
|
"disabled:cursor-not-allowed",
|
|
4815
|
-
"disabled:pointer-events-
|
|
4843
|
+
"disabled:pointer-events-auto",
|
|
4816
4844
|
"disabled:select-none",
|
|
4817
4845
|
"disabled:opacity-30",
|
|
4818
4846
|
"focus:ring-0 focus-visible:ring-0"
|
|
@@ -4824,7 +4852,7 @@ const inputMenu = () => {
|
|
|
4824
4852
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
4825
4853
|
"focus:outline-none",
|
|
4826
4854
|
"disabled:cursor-not-allowed",
|
|
4827
|
-
"disabled:pointer-events-
|
|
4855
|
+
"disabled:pointer-events-auto",
|
|
4828
4856
|
"disabled:select-none",
|
|
4829
4857
|
"disabled:opacity-30"
|
|
4830
4858
|
].join(" ")
|
|
@@ -4929,6 +4957,7 @@ const inputMenu = () => {
|
|
|
4929
4957
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
4930
4958
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
4931
4959
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
4960
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4932
4961
|
"default": { item: "style-old-default" },
|
|
4933
4962
|
"danger": { item: "style-old-danger" },
|
|
4934
4963
|
"success": { item: "style-old-success" },
|
|
@@ -4940,7 +4969,6 @@ const inputMenu = () => {
|
|
|
4940
4969
|
}
|
|
4941
4970
|
},
|
|
4942
4971
|
compoundVariants: [
|
|
4943
|
-
// 'has-focus-visible:ring-1 has-focus-visible:ring-red-500'
|
|
4944
4972
|
// from dropdown-menu
|
|
4945
4973
|
{
|
|
4946
4974
|
colorItem: ["air-primary", "air-primary-success", "air-primary-alert", "air-primary-copilot", "air-primary-warning"],
|
|
@@ -4976,6 +5004,7 @@ const inputMenu = () => {
|
|
|
4976
5004
|
active: true,
|
|
4977
5005
|
class: ""
|
|
4978
5006
|
},
|
|
5007
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4979
5008
|
{
|
|
4980
5009
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
4981
5010
|
active: false,
|
|
@@ -4988,6 +5017,7 @@ const inputMenu = () => {
|
|
|
4988
5017
|
].join(" ")
|
|
4989
5018
|
}
|
|
4990
5019
|
},
|
|
5020
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4991
5021
|
{
|
|
4992
5022
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
4993
5023
|
active: true,
|
|
@@ -5044,11 +5074,11 @@ const inputNumber = () => {
|
|
|
5044
5074
|
base: [
|
|
5045
5075
|
"w-full py-0 border-0 focus:outline-none",
|
|
5046
5076
|
"disabled:cursor-not-allowed",
|
|
5047
|
-
"disabled:pointer-events-
|
|
5077
|
+
"disabled:pointer-events-auto",
|
|
5078
|
+
"disabled:select-none",
|
|
5048
5079
|
"disabled:opacity-30",
|
|
5049
5080
|
"disabled:resize-none",
|
|
5050
|
-
"appearance-none transition duration-300 ease-linear",
|
|
5051
|
-
// transition-colors
|
|
5081
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
5052
5082
|
"text-(--ui-color-base-1)",
|
|
5053
5083
|
"style-blurred-bg-input",
|
|
5054
5084
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -5079,7 +5109,7 @@ const inputNumber = () => {
|
|
|
5079
5109
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
5080
5110
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
5081
5111
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
5082
|
-
// @deprecate ////
|
|
5112
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
5083
5113
|
"default": { base: "style-old-default" },
|
|
5084
5114
|
"danger": { base: "style-old-danger" },
|
|
5085
5115
|
"success": { base: "style-old-success" },
|
|
@@ -5089,10 +5119,6 @@ const inputNumber = () => {
|
|
|
5089
5119
|
"collab": { base: "style-old-collab" },
|
|
5090
5120
|
"ai": { base: "style-old-ai" }
|
|
5091
5121
|
},
|
|
5092
|
-
/**
|
|
5093
|
-
* @memo now get from Badge
|
|
5094
|
-
*/
|
|
5095
|
-
// tagColor: {},
|
|
5096
5122
|
rounded: {
|
|
5097
5123
|
...input$1.variants.rounded
|
|
5098
5124
|
},
|
|
@@ -5145,7 +5171,7 @@ const inputNumber = () => {
|
|
|
5145
5171
|
"focus-visible:ring-1",
|
|
5146
5172
|
"focus-visible:ring-inset",
|
|
5147
5173
|
"focus-visible:ring-(--b24ui-border-color)",
|
|
5148
|
-
"hover:ring-1 hover:ring-inset hover:ring-(--b24ui-border-color)",
|
|
5174
|
+
"hover:not-disabled:not-data-disabled:ring-1 hover:not-disabled:not-data-disabled:ring-inset hover:not-disabled:not-data-disabled:ring-(--b24ui-border-color)",
|
|
5149
5175
|
"data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-(--b24ui-border-color)"
|
|
5150
5176
|
].join(" ")
|
|
5151
5177
|
}
|
|
@@ -5474,12 +5500,11 @@ const inputTags = () => {
|
|
|
5474
5500
|
base: [
|
|
5475
5501
|
"border-0 focus:outline-none",
|
|
5476
5502
|
"disabled:cursor-not-allowed",
|
|
5477
|
-
"disabled:pointer-events-
|
|
5503
|
+
"disabled:pointer-events-auto",
|
|
5478
5504
|
"disabled:select-none",
|
|
5479
5505
|
"disabled:opacity-30",
|
|
5480
5506
|
"disabled:resize-none",
|
|
5481
|
-
"appearance-none transition duration-300 ease-linear
|
|
5482
|
-
// transition-colors
|
|
5507
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
5483
5508
|
"text-(--ui-color-base-1)",
|
|
5484
5509
|
"style-blurred-bg-input",
|
|
5485
5510
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -5497,8 +5522,9 @@ const inputTags = () => {
|
|
|
5497
5522
|
"leading-(--main-ui-square-item-height)",
|
|
5498
5523
|
"font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular)",
|
|
5499
5524
|
"inline-flex items-center gap-1",
|
|
5500
|
-
"data-disabled:cursor-not-allowed
|
|
5501
|
-
"data-disabled:
|
|
5525
|
+
"data-disabled:cursor-not-allowed",
|
|
5526
|
+
"data-disabled:opacity-30",
|
|
5527
|
+
"data-disabled:pointer-events-auto",
|
|
5502
5528
|
"data-disabled:select-none",
|
|
5503
5529
|
"text-(--ui-color-design-tinted-content)",
|
|
5504
5530
|
"bg-(--ui-color-design-tinted-bg-alt)"
|
|
@@ -5509,7 +5535,8 @@ const inputTags = () => {
|
|
|
5509
5535
|
itemDelete: [
|
|
5510
5536
|
"cursor-pointer",
|
|
5511
5537
|
"inline-flex items-center",
|
|
5512
|
-
"disabled:
|
|
5538
|
+
"disabled:cursor-not-allowed",
|
|
5539
|
+
"disabled:pointer-events-auto",
|
|
5513
5540
|
"disabled:select-none",
|
|
5514
5541
|
"text-(--b24ui-icon-color-secondary)",
|
|
5515
5542
|
"hover:text-(--b24ui-icon-color-secondary-hover)",
|
|
@@ -5524,7 +5551,7 @@ const inputTags = () => {
|
|
|
5524
5551
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
5525
5552
|
"focus:outline-none",
|
|
5526
5553
|
"disabled:cursor-not-allowed",
|
|
5527
|
-
"disabled:pointer-events-
|
|
5554
|
+
"disabled:pointer-events-auto",
|
|
5528
5555
|
"disabled:select-none",
|
|
5529
5556
|
"disabled:opacity-30",
|
|
5530
5557
|
"focus:ring-0",
|
|
@@ -5670,7 +5697,7 @@ const inputTime = () => {
|
|
|
5670
5697
|
"data-[segment=literal]:text-(--ui-color-base-6)",
|
|
5671
5698
|
"data-invalid:text-(--ui-color-accent-main-alert)",
|
|
5672
5699
|
"data-disabled:cursor-not-allowed",
|
|
5673
|
-
"data-disabled:pointer-events-
|
|
5700
|
+
"data-disabled:pointer-events-auto",
|
|
5674
5701
|
"data-disabled:select-none",
|
|
5675
5702
|
"data-disabled:opacity-30",
|
|
5676
5703
|
"data-disabled:resize-none",
|
|
@@ -5907,7 +5934,7 @@ const navigationMenu = {
|
|
|
5907
5934
|
list: "isolate min-w-0",
|
|
5908
5935
|
label: [
|
|
5909
5936
|
"w-full h-[22px] overflow-hidden mt-[10px]",
|
|
5910
|
-
"opacity-70 text-(length:--ui-font-size-sm)"
|
|
5937
|
+
"opacity-70 text-legend text-(length:--ui-font-size-sm)"
|
|
5911
5938
|
].join(" "),
|
|
5912
5939
|
item: "min-w-0",
|
|
5913
5940
|
link: [
|
|
@@ -6005,7 +6032,11 @@ const navigationMenu = {
|
|
|
6005
6032
|
"menu-item-horizontal",
|
|
6006
6033
|
"h-[32px] min-h-[32px]",
|
|
6007
6034
|
"px-[10px]",
|
|
6008
|
-
"
|
|
6035
|
+
"leading-7",
|
|
6036
|
+
"border border-(--menu-item-background) hover:border-(--ui-color-design-plain-na-focused-stroke) data-[state=open]:bg-(--ui-color-design-plain-na-focused-stroke)",
|
|
6037
|
+
"bitrix-mobile:px-3",
|
|
6038
|
+
"bitrix-mobile:h-[34px] bitrix-mobile:min-h-[34px]",
|
|
6039
|
+
"bitrix-mobile:text-(--ui-color-base-4) bitrix-mobile:border-(--ui-color-base-7)"
|
|
6009
6040
|
].join(" "),
|
|
6010
6041
|
linkTrailingIcon: "size-[16px]",
|
|
6011
6042
|
linkLeadingBadge: "-top-[6px] -right-[14px] -translate-x-1/2",
|
|
@@ -6025,7 +6056,8 @@ const navigationMenu = {
|
|
|
6025
6056
|
content: "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto scrollbar-thin scrollbar-transparent"
|
|
6026
6057
|
},
|
|
6027
6058
|
vertical: {
|
|
6028
|
-
root: "flex-col w-full ps-
|
|
6059
|
+
root: "flex-col w-full ps-0 pe-0 rtl:pe-0 rtl:ps-0",
|
|
6060
|
+
// ps-(--menu-items-block-padding-x) rtl:pe-(--menu-items-block-padding-x)
|
|
6029
6061
|
list: "flex flex-col",
|
|
6030
6062
|
item: [
|
|
6031
6063
|
"mt-(--menu-item-block-stack-space)",
|
|
@@ -6071,9 +6103,14 @@ const navigationMenu = {
|
|
|
6071
6103
|
},
|
|
6072
6104
|
active: {
|
|
6073
6105
|
true: {
|
|
6106
|
+
/**
|
|
6107
|
+
* @memo Special color for `light` mode - see b24.settings.
|
|
6108
|
+
* @see src/runtime/air-design-tokens/components/navigation-menu.css
|
|
6109
|
+
*/
|
|
6110
|
+
link: "light:font-semibold",
|
|
6074
6111
|
childLink: [
|
|
6075
|
-
"text-(--ui-color-accent-main-primary)
|
|
6076
|
-
|
|
6112
|
+
"text-(--ui-color-accent-main-primary)",
|
|
6113
|
+
"hover:text-(--ui-color-accent-main-primary)"
|
|
6077
6114
|
].join(" "),
|
|
6078
6115
|
childLinkIcon: "text-(--ui-color-accent-main-primary)"
|
|
6079
6116
|
},
|
|
@@ -6158,7 +6195,10 @@ const navigationMenu = {
|
|
|
6158
6195
|
active: true,
|
|
6159
6196
|
orientation: "horizontal",
|
|
6160
6197
|
class: {
|
|
6161
|
-
link:
|
|
6198
|
+
link: [
|
|
6199
|
+
"leading-7 menu-item-horizontal-active border-(--menu-item-border)",
|
|
6200
|
+
"bitrix-mobile:text-(--ui-color-base-2) bitrix-mobile:bg-transparent bitrix-mobile:border-(--ui-color-base-2)"
|
|
6201
|
+
].join(" ")
|
|
6162
6202
|
}
|
|
6163
6203
|
},
|
|
6164
6204
|
{
|
|
@@ -6974,13 +7014,12 @@ const pinInput = () => ({
|
|
|
6974
7014
|
"px-0 py-0",
|
|
6975
7015
|
"border-0 focus:outline-none",
|
|
6976
7016
|
"disabled:cursor-not-allowed",
|
|
6977
|
-
"disabled:pointer-events-
|
|
7017
|
+
"disabled:pointer-events-auto",
|
|
6978
7018
|
"disabled:select-none",
|
|
6979
7019
|
"disabled:opacity-30",
|
|
6980
7020
|
"disabled:resize-none",
|
|
6981
7021
|
"text-center",
|
|
6982
|
-
"appearance-none transition duration-300 ease-linear",
|
|
6983
|
-
// transition-colors
|
|
7022
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
6984
7023
|
"text-(--ui-color-base-1)",
|
|
6985
7024
|
"style-blurred-bg-input",
|
|
6986
7025
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -7020,7 +7059,7 @@ const pinInput = () => ({
|
|
|
7020
7059
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
7021
7060
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
7022
7061
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
7023
|
-
// @deprecate ////
|
|
7062
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
7024
7063
|
"default": { base: "style-old-default" },
|
|
7025
7064
|
"danger": { base: "style-old-danger" },
|
|
7026
7065
|
"success": { base: "style-old-success" },
|
|
@@ -7154,11 +7193,13 @@ const popover = {
|
|
|
7154
7193
|
"bg-(--ui-color-bg-content-primary)",
|
|
7155
7194
|
"shadow-(--popup-window-box-shadow)",
|
|
7156
7195
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
7196
|
+
// 'ring ring-(--ui-color-divider-default)',
|
|
7157
7197
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
7158
7198
|
"origin-(--reka-popover-content-transform-origin)",
|
|
7159
7199
|
"focus:outline-none pointer-events-auto"
|
|
7160
7200
|
].join(" "),
|
|
7161
7201
|
arrow: "fill-(--ui-color-bg-content-primary)"
|
|
7202
|
+
// stroke-(--ui-color-divider-default)
|
|
7162
7203
|
}
|
|
7163
7204
|
};
|
|
7164
7205
|
|
|
@@ -7819,19 +7860,19 @@ const select = () => {
|
|
|
7819
7860
|
{
|
|
7820
7861
|
slots: {
|
|
7821
7862
|
root: () => "isolate relative inline-flex items-center",
|
|
7822
|
-
// @todo !!! ? w-full need
|
|
7823
7863
|
base: () => [
|
|
7824
7864
|
"relative inline-flex items-center group",
|
|
7825
7865
|
"px-3",
|
|
7826
7866
|
"w-full py-0 border-0 focus:outline-none",
|
|
7827
7867
|
"cursor-pointer",
|
|
7828
7868
|
"disabled:cursor-not-allowed",
|
|
7829
|
-
"disabled:pointer-events-
|
|
7869
|
+
"disabled:pointer-events-auto",
|
|
7870
|
+
// fix ! 'disabled:pointer-events-none',
|
|
7830
7871
|
"disabled:select-none",
|
|
7831
7872
|
"disabled:opacity-30",
|
|
7832
7873
|
"disabled:resize-none",
|
|
7833
|
-
"appearance-none transition duration-300 ease-linear",
|
|
7834
|
-
// transition
|
|
7874
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
7875
|
+
// fix ! transition
|
|
7835
7876
|
"text-(--ui-color-base-1)",
|
|
7836
7877
|
"style-blurred-bg-input",
|
|
7837
7878
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -7844,7 +7885,6 @@ const select = () => {
|
|
|
7844
7885
|
value: "truncate pointer-events-none",
|
|
7845
7886
|
placeholder: "truncate text-(--ui-color-design-plain-na-content-secondary)",
|
|
7846
7887
|
content: [
|
|
7847
|
-
// w-(--reka-combobox-trigger-width)
|
|
7848
7888
|
"base-mode",
|
|
7849
7889
|
"bg-(--ui-color-bg-content-primary)",
|
|
7850
7890
|
"shadow-(--popup-window-box-shadow)",
|
|
@@ -7862,10 +7902,8 @@ const select = () => {
|
|
|
7862
7902
|
"scroll-py-1",
|
|
7863
7903
|
"w-[240px] max-h-[40vh]",
|
|
7864
7904
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
7865
|
-
// scrollbar-transparent
|
|
7866
7905
|
].join(" "),
|
|
7867
7906
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
7868
|
-
// for content bottom|top::start -> ml-[12px]
|
|
7869
7907
|
group: "grid",
|
|
7870
7908
|
empty: [
|
|
7871
7909
|
"h-(--popup-window-delimiter-section-height)",
|
|
@@ -7992,6 +8030,7 @@ const select = () => {
|
|
|
7992
8030
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
7993
8031
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
7994
8032
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
8033
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
7995
8034
|
"default": { item: "style-old-default" },
|
|
7996
8035
|
"danger": { item: "style-old-danger" },
|
|
7997
8036
|
"success": { item: "style-old-success" },
|
|
@@ -8004,7 +8043,7 @@ const select = () => {
|
|
|
8004
8043
|
},
|
|
8005
8044
|
compoundVariants: (prev) => {
|
|
8006
8045
|
return [
|
|
8007
|
-
// from dropdown-menu
|
|
8046
|
+
// @memo from dropdown-menu
|
|
8008
8047
|
{
|
|
8009
8048
|
colorItem: ["air-primary", "air-primary-success", "air-primary-alert", "air-primary-copilot", "air-primary-warning"],
|
|
8010
8049
|
active: false,
|
|
@@ -8051,6 +8090,7 @@ const select = () => {
|
|
|
8051
8090
|
].join(" ")
|
|
8052
8091
|
}
|
|
8053
8092
|
},
|
|
8093
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
8054
8094
|
{
|
|
8055
8095
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
8056
8096
|
active: true,
|
|
@@ -8087,12 +8127,10 @@ const selectMenu = () => {
|
|
|
8087
8127
|
"scroll-py-1",
|
|
8088
8128
|
"w-[240px] max-h-[40vh]",
|
|
8089
8129
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
8090
|
-
// scrollbar-transparent
|
|
8091
8130
|
].join(" "),
|
|
8092
8131
|
content: (content) => [
|
|
8093
8132
|
content,
|
|
8094
|
-
"origin-(--reka-combobox-content-transform-origin)
|
|
8095
|
-
// w-(--reka-combobox-trigger-width)
|
|
8133
|
+
"origin-(--reka-combobox-content-transform-origin)"
|
|
8096
8134
|
],
|
|
8097
8135
|
trailingClear: "p-0"
|
|
8098
8136
|
},
|
|
@@ -8103,13 +8141,11 @@ const selectMenu = () => {
|
|
|
8103
8141
|
},
|
|
8104
8142
|
false: {
|
|
8105
8143
|
viewport: ""
|
|
8106
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
8107
8144
|
}
|
|
8108
8145
|
},
|
|
8109
8146
|
addNew: {
|
|
8110
8147
|
true: {
|
|
8111
8148
|
group: "",
|
|
8112
|
-
// p-0 isolate -m-px
|
|
8113
8149
|
item: [
|
|
8114
8150
|
"text-(--b24ui-typography-legend-color)",
|
|
8115
8151
|
"data-highlighted:not-data-disabled:text-(--b24ui-typography-label-color)",
|
|
@@ -8835,10 +8871,11 @@ const table$1 = {
|
|
|
8835
8871
|
root: "relative overflow-auto",
|
|
8836
8872
|
base: [
|
|
8837
8873
|
"min-w-full",
|
|
8838
|
-
"font-[family-name:var(--ui-font-family-primary)]"
|
|
8874
|
+
"font-[family-name:var(--ui-font-family-primary)]",
|
|
8875
|
+
"table-fixed border-separate border-spacing-0"
|
|
8839
8876
|
].join(" "),
|
|
8840
8877
|
caption: "sr-only",
|
|
8841
|
-
thead: "relative",
|
|
8878
|
+
thead: "relative [&>tr]:[&>th]:h-[45px]",
|
|
8842
8879
|
tbody: [
|
|
8843
8880
|
"isolate",
|
|
8844
8881
|
"[&>tr]:data-[selectable=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
@@ -8846,7 +8883,8 @@ const table$1 = {
|
|
|
8846
8883
|
"[&>tr]:data-[selectable=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8847
8884
|
"[&>tr]:data-[selected=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
8848
8885
|
"light:[&>tr]:data-[selected=true]:hover:bg-(#eff7d7)",
|
|
8849
|
-
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)"
|
|
8886
|
+
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8887
|
+
"[&>tr]:last:[&>td]:border-b-0"
|
|
8850
8888
|
].join(" "),
|
|
8851
8889
|
tfoot: "relative",
|
|
8852
8890
|
tr: [
|
|
@@ -8854,14 +8892,15 @@ const table$1 = {
|
|
|
8854
8892
|
"light:data-[selected=true]:bg-[#f4fcde]"
|
|
8855
8893
|
].join(" "),
|
|
8856
8894
|
th: [
|
|
8857
|
-
"px-4 py-
|
|
8895
|
+
"px-4 py-2",
|
|
8858
8896
|
"text-(length:--ui-font-size-md)/(--ui-font-line-height-md)",
|
|
8859
8897
|
"text-(--b24ui-typography-label-color)",
|
|
8860
8898
|
"whitespace-nowrap",
|
|
8861
8899
|
"text-left rtl:text-right",
|
|
8862
8900
|
"font-(--ui-font-weight-normal)",
|
|
8863
8901
|
"[&:has([role=checkbox])]:pe-0",
|
|
8864
|
-
"align-middle"
|
|
8902
|
+
"align-middle",
|
|
8903
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8865
8904
|
].join(" "),
|
|
8866
8905
|
td: [
|
|
8867
8906
|
"p-4",
|
|
@@ -8870,7 +8909,8 @@ const table$1 = {
|
|
|
8870
8909
|
"whitespace-nowrap",
|
|
8871
8910
|
"font-(--ui-font-weight-normal)",
|
|
8872
8911
|
"[&:has([role=checkbox])]:pe-0",
|
|
8873
|
-
"align-middle"
|
|
8912
|
+
"align-middle",
|
|
8913
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8874
8914
|
].join(" "),
|
|
8875
8915
|
separator: [
|
|
8876
8916
|
"absolute z-1 left-0",
|
|
@@ -8888,11 +8928,11 @@ const table$1 = {
|
|
|
8888
8928
|
variants: {
|
|
8889
8929
|
virtualize: {
|
|
8890
8930
|
true: {
|
|
8891
|
-
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-
|
|
8931
|
+
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-divider-default)"
|
|
8892
8932
|
},
|
|
8893
8933
|
false: {
|
|
8894
8934
|
base: "overflow-clip",
|
|
8895
|
-
tbody: "divide-y divide-(--ui-color-
|
|
8935
|
+
tbody: "divide-y divide-(--ui-color-divider-default)"
|
|
8896
8936
|
}
|
|
8897
8937
|
},
|
|
8898
8938
|
pinned: {
|
|
@@ -9248,17 +9288,15 @@ const tabs$1 = {
|
|
|
9248
9288
|
const textarea = {
|
|
9249
9289
|
slots: {
|
|
9250
9290
|
root: "isolate relative inline-flex items-center",
|
|
9251
|
-
// remove ? w-full
|
|
9252
9291
|
base: [
|
|
9253
9292
|
"px-3",
|
|
9254
9293
|
"w-full pt-[7px] pb-[8px] border-0 focus:outline-none",
|
|
9255
9294
|
"disabled:cursor-not-allowed",
|
|
9256
|
-
"disabled:pointer-events-
|
|
9295
|
+
"disabled:pointer-events-auto",
|
|
9257
9296
|
"disabled:select-none",
|
|
9258
9297
|
"disabled:opacity-30",
|
|
9259
9298
|
"disabled:resize-none",
|
|
9260
|
-
"appearance-none transition duration-300 ease-linear",
|
|
9261
|
-
// transition-colors
|
|
9299
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
9262
9300
|
"text-(--ui-color-base-1)",
|
|
9263
9301
|
"style-blurred-bg-input",
|
|
9264
9302
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -9301,7 +9339,7 @@ const textarea = {
|
|
|
9301
9339
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
9302
9340
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
9303
9341
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
9304
|
-
// @deprecate ////
|
|
9342
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
9305
9343
|
"default": { base: "style-old-default" },
|
|
9306
9344
|
"danger": { base: "style-old-danger" },
|
|
9307
9345
|
"success": { base: "style-old-success" },
|
|
@@ -9374,7 +9412,7 @@ const textarea = {
|
|
|
9374
9412
|
class: {
|
|
9375
9413
|
base: [
|
|
9376
9414
|
"focus-visible:border-(--b24ui-border-color)",
|
|
9377
|
-
"hover:border-(--b24ui-border-color)",
|
|
9415
|
+
"hover:not-disabled:not-data-disabled:border-(--b24ui-border-color)",
|
|
9378
9416
|
"data-[state=open]:border-(--b24ui-border-color)"
|
|
9379
9417
|
].join(" ")
|
|
9380
9418
|
}
|
|
@@ -9407,6 +9445,11 @@ const textarea = {
|
|
|
9407
9445
|
noPadding: false,
|
|
9408
9446
|
class: "ps-[34px]"
|
|
9409
9447
|
},
|
|
9448
|
+
{
|
|
9449
|
+
leading: true,
|
|
9450
|
+
loading: true,
|
|
9451
|
+
class: "ps-[34px]"
|
|
9452
|
+
},
|
|
9410
9453
|
// endregion ////
|
|
9411
9454
|
// region trailing ////
|
|
9412
9455
|
{
|
|
@@ -9761,24 +9804,23 @@ const toaster = {
|
|
|
9761
9804
|
const tooltip = {
|
|
9762
9805
|
slots: {
|
|
9763
9806
|
content: [
|
|
9764
|
-
"
|
|
9807
|
+
"light",
|
|
9765
9808
|
"flex flex-row items-center justify-between gap-[5px] will-change-[opacity]",
|
|
9766
9809
|
"min-h-[37px]",
|
|
9767
9810
|
"shadow-xl/20",
|
|
9768
9811
|
"select-none",
|
|
9769
9812
|
"motion-safe:data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
9770
|
-
"p-[
|
|
9771
|
-
"text-(length:--ui-font-size-
|
|
9772
|
-
"bg-(--ui-color-bg-content-
|
|
9773
|
-
"text-(--ui-color-
|
|
9774
|
-
"rounded-[calc(var(--ui-border-radius-
|
|
9775
|
-
|
|
9776
|
-
// 'border border-(--popup-window-border)'
|
|
9813
|
+
"p-[13px] ps-[26px]",
|
|
9814
|
+
"text-(length:--ui-font-size-lg)/[normal] font-[family-name:var(--ui-font-family-system)]",
|
|
9815
|
+
"bg-(--ui-color-bg-content-inapp)",
|
|
9816
|
+
"text-(--ui-color-base-8)",
|
|
9817
|
+
"rounded-[calc(var(--ui-border-radius-3xl)-2px)]",
|
|
9818
|
+
"ring ring-(--ui-color-bg-content-inapp)",
|
|
9777
9819
|
"origin-(--reka-tooltip-content-transform-origin)",
|
|
9778
9820
|
"pointer-events-auto"
|
|
9779
9821
|
].join(" "),
|
|
9780
|
-
arrow: "fill-(--ui-color-bg-content-
|
|
9781
|
-
text: "text-pretty max-w-[
|
|
9822
|
+
arrow: "fill-(--ui-color-bg-content-inapp) stroke-(--ui-color-bg-content-inapp)",
|
|
9823
|
+
text: "text-pretty max-w-[344px] min-w-[100px]",
|
|
9782
9824
|
// truncate
|
|
9783
9825
|
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`,
|
|
9784
9826
|
kbdsSize: "sm",
|
|
@@ -9797,6 +9839,7 @@ const sidebarLayout = {
|
|
|
9797
9839
|
].join(" "),
|
|
9798
9840
|
sidebar: [
|
|
9799
9841
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9842
|
+
// @deprecate This rule (air-sidebar) is deprecated and will be removed in version `3.0.0` ////
|
|
9800
9843
|
"air-sidebar",
|
|
9801
9844
|
"before:absolute before:inset-0 before:z-[-1]",
|
|
9802
9845
|
"before:bg-(--leftmenu-bg-expanded)",
|
|
@@ -9825,6 +9868,7 @@ const sidebarLayout = {
|
|
|
9825
9868
|
].join(" "),
|
|
9826
9869
|
header: [
|
|
9827
9870
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9871
|
+
// @deprecate This rule (air-header) is deprecated and will be removed in version `3.0.0` ////
|
|
9828
9872
|
"air-header",
|
|
9829
9873
|
"px-(--content-area-shift) min-h-(--topbar-height)",
|
|
9830
9874
|
"flex items-center gap-x-1"
|
|
@@ -11087,7 +11131,7 @@ const field = {
|
|
|
11087
11131
|
};
|
|
11088
11132
|
|
|
11089
11133
|
const fieldGroup = {
|
|
11090
|
-
base: "my-[20px] divide-y divide-(--ui-color-
|
|
11134
|
+
base: "my-[20px] divide-y divide-(--ui-color-divider-default) *:not-last:pb-[20px]"
|
|
11091
11135
|
};
|
|
11092
11136
|
|
|
11093
11137
|
const ol = {
|
|
@@ -11462,6 +11506,7 @@ const contentToc = {
|
|
|
11462
11506
|
"lg:hidden"
|
|
11463
11507
|
].join(" "),
|
|
11464
11508
|
content: [
|
|
11509
|
+
"relative",
|
|
11465
11510
|
"motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out]",
|
|
11466
11511
|
"motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out]",
|
|
11467
11512
|
"overflow-hidden",
|
|
@@ -11654,9 +11699,10 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
|
|
|
11654
11699
|
body {
|
|
11655
11700
|
scrollbar-gutter: stable;
|
|
11656
11701
|
background: var(--air-theme-background);
|
|
11657
|
-
@apply ${prefix}antialiased ${prefix}font-(family-name:--ui-font-family-system) ${prefix}
|
|
11702
|
+
@apply ${prefix}antialiased ${prefix}font-(family-name:--ui-font-family-system) ${prefix}scheme-light ${prefix}dark:scheme-dark ${prefix}edge-light:scheme-light ${prefix}edge-dark:scheme-light;
|
|
11658
11703
|
}
|
|
11659
11704
|
|
|
11705
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
11660
11706
|
.sidebar-layout.--inner {
|
|
11661
11707
|
background: var(--air-theme-background);
|
|
11662
11708
|
}
|