@bitrix24/b24ui-nuxt 0.7.1 → 1.0.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/.nuxt/b24ui/accordion.ts +3 -3
- package/.nuxt/b24ui/advice.ts +6 -5
- package/.nuxt/b24ui/alert.ts +102 -49
- package/.nuxt/b24ui/avatar-group.ts +10 -10
- package/.nuxt/b24ui/avatar.ts +18 -18
- package/.nuxt/b24ui/badge.ts +167 -176
- package/.nuxt/b24ui/button-group.ts +3 -1
- package/.nuxt/b24ui/button.ts +179 -170
- package/.nuxt/b24ui/calendar.ts +48 -28
- package/.nuxt/b24ui/checkbox.ts +82 -85
- package/.nuxt/b24ui/chip.ts +121 -32
- package/.nuxt/b24ui/container.ts +1 -1
- package/.nuxt/b24ui/content/table-wrapper.ts +11 -11
- package/.nuxt/b24ui/countdown.ts +11 -11
- package/.nuxt/b24ui/description-list.ts +6 -6
- package/.nuxt/b24ui/dropdown-menu.ts +111 -183
- package/.nuxt/b24ui/form-field.ts +19 -19
- package/.nuxt/b24ui/index.ts +0 -1
- package/.nuxt/b24ui/input-menu.ts +294 -357
- package/.nuxt/b24ui/input-number.ts +111 -259
- package/.nuxt/b24ui/input.ts +136 -259
- package/.nuxt/b24ui/kbd.ts +15 -13
- package/.nuxt/b24ui/link.ts +5 -5
- package/.nuxt/b24ui/modal.ts +14 -12
- package/.nuxt/b24ui/navbar-divider.ts +1 -1
- package/.nuxt/b24ui/navbar-section.ts +1 -1
- package/.nuxt/b24ui/navbar.ts +1 -1
- package/.nuxt/b24ui/navigation-menu.ts +70 -754
- package/.nuxt/b24ui/popover.ts +2 -2
- package/.nuxt/b24ui/progress.ts +58 -68
- package/.nuxt/b24ui/prose/a.ts +1 -1
- package/.nuxt/b24ui/prose/blockquote.ts +1 -1
- package/.nuxt/b24ui/prose/code.ts +45 -9
- package/.nuxt/b24ui/prose/h1.ts +21 -2
- package/.nuxt/b24ui/prose/h2.ts +21 -12
- package/.nuxt/b24ui/prose/h3.ts +21 -12
- package/.nuxt/b24ui/prose/h4.ts +21 -12
- package/.nuxt/b24ui/prose/h5.ts +21 -12
- package/.nuxt/b24ui/prose/h6.ts +21 -12
- package/.nuxt/b24ui/prose/hr.ts +1 -1
- package/.nuxt/b24ui/prose/ol.ts +1 -1
- package/.nuxt/b24ui/prose/p.ts +26 -1
- package/.nuxt/b24ui/prose/thead.ts +1 -1
- package/.nuxt/b24ui/prose/ul.ts +1 -1
- package/.nuxt/b24ui/radio-group.ts +115 -155
- package/.nuxt/b24ui/range.ts +38 -26
- package/.nuxt/b24ui/select-menu.ts +251 -306
- package/.nuxt/b24ui/select.ts +246 -301
- package/.nuxt/b24ui/separator.ts +40 -85
- package/.nuxt/b24ui/sidebar-header.ts +1 -1
- package/.nuxt/b24ui/sidebar-heading.ts +1 -1
- package/.nuxt/b24ui/sidebar-layout.ts +130 -19
- package/.nuxt/b24ui/sidebar-section.ts +1 -1
- package/.nuxt/b24ui/skeleton.ts +19 -1
- package/.nuxt/b24ui/slideover.ts +35 -34
- package/.nuxt/b24ui/switch.ts +59 -48
- package/.nuxt/b24ui/tabs.ts +26 -239
- package/.nuxt/b24ui/textarea.ts +50 -236
- package/.nuxt/b24ui/toast.ts +38 -30
- package/.nuxt/b24ui/toaster.ts +1 -1
- package/.nuxt/b24ui/tooltip.ts +5 -5
- package/cli/templates.mjs +2 -1
- package/dist/meta.d.mts +18759 -5002
- package/dist/meta.mjs +18759 -5002
- package/dist/module.d.mts +1 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -5
- package/dist/runtime/air-design-tokens/001_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -0
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -0
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -0
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -0
- package/dist/runtime/air-design-tokens/007_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/008_ui_global.css +1 -0
- package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -0
- package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -0
- package/dist/runtime/air-design-tokens/components/button.css +1 -0
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -0
- package/dist/runtime/air-design-tokens/components/popup.css +1 -0
- package/dist/runtime/air-design-tokens/components/scrollbar.css +2 -0
- package/dist/runtime/air-design-tokens/index.css +1 -0
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Advice.vue +1 -13
- package/dist/runtime/components/Advice.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue +6 -4
- package/dist/runtime/components/Alert.vue.d.ts +11 -4
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +7 -11
- package/dist/runtime/components/Badge.vue.d.ts +6 -8
- package/dist/runtime/components/Button.vue +18 -15
- package/dist/runtime/components/Button.vue.d.ts +5 -7
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +8 -8
- package/dist/runtime/components/Calendar.vue.d.ts +14 -8
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/Chip.vue +28 -7
- package/dist/runtime/components/Chip.vue.d.ts +22 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/Countdown.vue.d.ts +5 -3
- package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +20 -9
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -5
- package/dist/runtime/components/DropdownMenuContent.vue +29 -7
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Form.vue +3 -3
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Input.vue +8 -4
- package/dist/runtime/components/Input.vue.d.ts +9 -8
- package/dist/runtime/components/InputMenu.vue +44 -18
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -223
- package/dist/runtime/components/InputNumber.vue +14 -11
- package/dist/runtime/components/InputNumber.vue.d.ts +13 -87
- package/dist/runtime/components/Kbd.vue +6 -3
- package/dist/runtime/components/Kbd.vue.d.ts +7 -3
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue +37 -33
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/Navbar.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSection.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -1
- package/dist/runtime/components/NavigationMenu.vue +95 -84
- package/dist/runtime/components/NavigationMenu.vue.d.ts +31 -33
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +8 -2
- package/dist/runtime/components/Popover.vue.d.ts +9 -3
- package/dist/runtime/components/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -5
- package/dist/runtime/components/Range.vue.d.ts +6 -6
- package/dist/runtime/components/Select.vue +25 -11
- package/dist/runtime/components/Select.vue.d.ts +7 -7
- package/dist/runtime/components/SelectMenu.vue +38 -19
- package/dist/runtime/components/SelectMenu.vue.d.ts +11 -10
- package/dist/runtime/components/Separator.vue +4 -4
- package/dist/runtime/components/Separator.vue.d.ts +6 -3
- package/dist/runtime/components/Sidebar.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarBody.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarFooter.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeader.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeading.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarLayout.vue +148 -63
- package/dist/runtime/components/SidebarLayout.vue.d.ts +61 -8
- package/dist/runtime/components/SidebarSection.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +4 -1
- package/dist/runtime/components/Skeleton.vue +7 -3
- package/dist/runtime/components/Skeleton.vue.d.ts +12 -1
- package/dist/runtime/components/Slideover.vue +120 -43
- package/dist/runtime/components/Slideover.vue.d.ts +22 -9
- package/dist/runtime/components/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/Tabs.vue +11 -3
- package/dist/runtime/components/Tabs.vue.d.ts +8 -7
- package/dist/runtime/components/Textarea.vue +8 -4
- package/dist/runtime/components/Textarea.vue.d.ts +8 -7
- package/dist/runtime/components/Toast.vue +16 -8
- package/dist/runtime/components/Toast.vue.d.ts +16 -15
- package/dist/runtime/components/Toaster.vue.d.ts +2 -2
- package/dist/runtime/components/Tooltip.vue +9 -5
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -1
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +4 -7
- package/dist/runtime/composables/useFormField.js +6 -3
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +29 -2
- package/dist/runtime/composables/useOverlay.js +8 -7
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/composables/useSidebarLayout.d.ts +20 -0
- package/dist/runtime/composables/useSidebarLayout.js +16 -0
- package/dist/runtime/dictionary/icons.js +7 -7
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.vue +3 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +6 -0
- package/dist/runtime/locale/br.js +6 -0
- package/dist/runtime/locale/de.js +6 -0
- package/dist/runtime/locale/en.js +6 -0
- package/dist/runtime/locale/fr.js +6 -0
- package/dist/runtime/locale/id.js +6 -0
- package/dist/runtime/locale/it.js +6 -0
- package/dist/runtime/locale/ja.js +6 -0
- package/dist/runtime/locale/kz.js +6 -0
- package/dist/runtime/locale/la.js +6 -0
- package/dist/runtime/locale/ms.js +6 -0
- package/dist/runtime/locale/pl.js +6 -0
- package/dist/runtime/locale/ru.js +6 -0
- package/dist/runtime/locale/sc.js +6 -0
- package/dist/runtime/locale/tc.js +6 -0
- package/dist/runtime/locale/th.js +6 -0
- package/dist/runtime/locale/tr.js +6 -0
- package/dist/runtime/locale/ua.js +6 -0
- package/dist/runtime/locale/vn.js +6 -0
- package/dist/runtime/plugins/ui-version.d.ts +5 -0
- package/dist/runtime/plugins/ui-version.js +8 -0
- package/dist/runtime/prose/A.vue.d.ts +4 -1
- package/dist/runtime/prose/Blockquote.vue.d.ts +4 -1
- package/dist/runtime/prose/Code.vue.d.ts +4 -1
- package/dist/runtime/prose/Em.vue.d.ts +4 -1
- package/dist/runtime/prose/H1.vue +4 -1
- package/dist/runtime/prose/H1.vue.d.ts +7 -1
- package/dist/runtime/prose/H2.vue +4 -1
- package/dist/runtime/prose/H2.vue.d.ts +7 -1
- package/dist/runtime/prose/H3.vue +4 -1
- package/dist/runtime/prose/H3.vue.d.ts +7 -1
- package/dist/runtime/prose/H4.vue +4 -1
- package/dist/runtime/prose/H4.vue.d.ts +7 -1
- package/dist/runtime/prose/H5.vue +4 -1
- package/dist/runtime/prose/H5.vue.d.ts +7 -1
- package/dist/runtime/prose/H6.vue +4 -1
- package/dist/runtime/prose/H6.vue.d.ts +7 -1
- package/dist/runtime/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/prose/Li.vue.d.ts +4 -1
- package/dist/runtime/prose/Ol.vue.d.ts +4 -1
- package/dist/runtime/prose/P.vue +6 -1
- package/dist/runtime/prose/P.vue.d.ts +12 -1
- package/dist/runtime/prose/Pre.vue.d.ts +4 -1
- package/dist/runtime/prose/Strong.vue.d.ts +4 -1
- package/dist/runtime/prose/Table.vue.d.ts +5 -2
- package/dist/runtime/prose/Tbody.vue.d.ts +4 -1
- package/dist/runtime/prose/Td.vue.d.ts +4 -1
- package/dist/runtime/prose/Th.vue.d.ts +4 -1
- package/dist/runtime/prose/Thead.vue.d.ts +4 -1
- package/dist/runtime/prose/Tr.vue.d.ts +4 -1
- package/dist/runtime/prose/Ul.vue.d.ts +4 -1
- package/dist/runtime/types/index.d.ts +1 -2
- package/dist/runtime/types/index.js +1 -2
- package/dist/runtime/types/locale.d.ts +6 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +27 -0
- package/dist/runtime/utils/tv.js +66 -1
- package/dist/runtime/vue/components/Link.vue +3 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/b24ui-nuxt.dLc5H7ID.mjs +6100 -0
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +40 -28
- package/.nuxt/b24ui/stacked-layout.ts +0 -34
- package/dist/runtime/air-design-tokens.css +0 -1
- package/dist/runtime/components/StackedLayout.vue +0 -117
- package/dist/runtime/components/StackedLayout.vue.d.ts +0 -44
- package/dist/shared/b24ui-nuxt.CxsFEY3M.mjs +0 -7895
|
@@ -7,33 +7,33 @@ const size = [
|
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
9
|
"slots": {
|
|
10
|
-
"base": "font-
|
|
10
|
+
"base": "font-[family-name:var(--ui-font-family-primary)] [&>table]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table]:relative [&>table]:w-full [&>table]:text-left [&>table]:rtl:text-right [&>table]:text-(--b24ui-typography-label-color) [&>table>thead>tr>td]:align-middle [&>table>thead>tr>th]:align-middle [&>table>tbody>tr>td]:align-middle [&>table>tbody>tr>th]:align-middle [&>table>tfoot>tr>td]:align-middle [&>table>tfoot>tr>th]:align-middle [&>table>thead>tr>td]:whitespace-nowrap [&>table>thead>tr>td]:text-(length:--ui-font-size-md) [&>table>thead>tr>td]:font-(--ui-font-weight-normal) [&>table>thead>tr>th]:whitespace-nowrap [&>table>thead>tr>th]:text-(length:--ui-font-size-md) [&>table>thead>tr>th]:font-(--ui-font-weight-normal) [&>table>tbody>tr>th]:whitespace-nowrap [&>table>tbody>tr>th]:text-(length:--ui-font-size-md) [&>table>tbody>tr>th]:font-(--ui-font-weight-normal) [&>table>tfoot>tr>td]:whitespace-nowrap [&>table>tfoot>tr>td]:text-(length:--ui-font-size-md) [&>table>tfoot>tr>td]:font-(--ui-font-weight-normal) [&>table>tfoot>tr>th]:whitespace-nowrap [&>table>tfoot>tr>th]:text-(length:--ui-font-size-md) [&>table>tfoot>tr>th]:font-(--ui-font-weight-normal) [&>table>thead>tr]:border-(--ui-color-divider-vibrant-accent-more) [&>table>tbody>tr]:border-(--ui-color-divider-vibrant-default) [&>table>tfoot]:border-(--ui-color-divider-vibrant-default) [&>table>thead>tr]:border-b [&>table>tbody>tr:not(:last-child)]:border-b [&>table>tfoot]:border-t"
|
|
11
11
|
},
|
|
12
12
|
"variants": {
|
|
13
13
|
"size": {
|
|
14
|
-
"xs": "[&>table>thead>tr>td]:text-xs [&>table>thead>tr>td]:px-2 [&>table>thead>tr>td]:py-1 [&>table>thead>tr>th]:text-xs [&>table>thead>tr>th]:px-2 [&>table>thead>tr>th]:py-1 [&>table>tbody>tr>td]:text-xs [&>table>tbody>tr>td]:px-2 [&>table>tbody>tr>td]:py-1 [&>table>tbody>tr>th]:text-xs [&>table>tbody>tr>th]:px-2 [&>table>tbody>tr>th]:py-1 [&>table>tfoot>tr>td]:text-xs [&>table>tfoot>tr>
|
|
15
|
-
"sm": "[&>table>thead>tr>td]:text-sm [&>table>thead>tr>td]:px-3 [&>table>thead>tr>td]:py-2 [&>table>thead>tr>th]:text-sm [&>table>thead>tr>th]:px-3 [&>table>thead>tr>th]:py-2 [&>table>tbody>tr>td]:text-sm [&>table>tbody>tr>td]:px-3 [&>table>tbody>tr>td]:py-2 [&>table>tbody>tr>th]:text-sm [&>table>tbody>tr>th]:px-3 [&>table>tbody>tr>th]:py-2 [&>table>tfoot>tr>td]:text-sm [&>table>tfoot>tr>
|
|
16
|
-
"md": "[&>table>thead>tr>td]:text-md [&>table>thead>tr>td]:px-4 [&>table>thead>tr>td]:py-3.5 [&>table>thead>tr>th]:text-md [&>table>thead>tr>th]:px-4 [&>table>thead>tr>th]:py-3.5 [&>table>tbody>tr>td]:text-md [&>table>tbody>tr>td]:px-4 [&>table>tbody>tr>td]:py-3.5 [&>table>tbody>tr>th]:text-md [&>table>tbody>tr>th]:px-4 [&>table>tbody>tr>th]:py-3.5 [&>table>tfoot>tr>td]:text-md [&>table>tfoot>tr>
|
|
17
|
-
"lg": "[&>table>thead>tr>td]:text-lg [&>table>thead>tr>td]:px-5 [&>table>thead>tr>td]:py-4 [&>table>thead>tr>th]:text-lg [&>table>thead>tr>th]:px-5 [&>table>thead>tr>th]:py-4 [&>table>tbody>tr>td]:text-lg [&>table>tbody>tr>td]:px-5 [&>table>tbody>tr>td]:py-4 [&>table>tbody>tr>th]:text-lg [&>table>tbody>tr>th]:px-5 [&>table>tbody>tr>th]:py-4 [&>table>tfoot>tr>td]:text-lg [&>table>tfoot>tr>
|
|
14
|
+
"xs": "[&>table>thead>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>thead>tr>td]:px-2 [&>table>thead>tr>td]:py-1 [&>table>thead>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>thead>tr>th]:px-2 [&>table>thead>tr>th]:py-1 [&>table>tbody>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tbody>tr>td]:px-2 [&>table>tbody>tr>td]:py-1 [&>table>tbody>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tbody>tr>th]:px-2 [&>table>tbody>tr>th]:py-1 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tfoot>tr>th]:px-2 [&>table>tfoot>tr>th]:py-1 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tfoot>tr>th]:px-2 [&>table>tfoot>tr>th]:py-1",
|
|
15
|
+
"sm": "[&>table>thead>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>thead>tr>td]:px-3 [&>table>thead>tr>td]:py-2 [&>table>thead>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>thead>tr>th]:px-3 [&>table>thead>tr>th]:py-2 [&>table>tbody>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tbody>tr>td]:px-3 [&>table>tbody>tr>td]:py-2 [&>table>tbody>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tbody>tr>th]:px-3 [&>table>tbody>tr>th]:py-2 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tfoot>tr>th]:px-3 [&>table>tfoot>tr>th]:py-2 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tfoot>tr>th]:px-3 [&>table>tfoot>tr>th]:py-2",
|
|
16
|
+
"md": "[&>table>thead>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>thead>tr>td]:px-4 [&>table>thead>tr>td]:py-3.5 [&>table>thead>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>thead>tr>th]:px-4 [&>table>thead>tr>th]:py-3.5 [&>table>tbody>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tbody>tr>td]:px-4 [&>table>tbody>tr>td]:py-3.5 [&>table>tbody>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tbody>tr>th]:px-4 [&>table>tbody>tr>th]:py-3.5 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tfoot>tr>th]:px-4 [&>table>tfoot>tr>th]:py-3.5 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tfoot>tr>th]:px-4 [&>table>tfoot>tr>th]:py-3.5",
|
|
17
|
+
"lg": "[&>table>thead>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>thead>tr>td]:px-5 [&>table>thead>tr>td]:py-4 [&>table>thead>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>thead>tr>th]:px-5 [&>table>thead>tr>th]:py-4 [&>table>tbody>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tbody>tr>td]:px-5 [&>table>tbody>tr>td]:py-4 [&>table>tbody>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tbody>tr>th]:px-5 [&>table>tbody>tr>th]:py-4 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tfoot>tr>th]:px-5 [&>table>tfoot>tr>th]:py-4 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tfoot>tr>th]:px-5 [&>table>tfoot>tr>th]:py-4"
|
|
18
18
|
},
|
|
19
19
|
"rounded": {
|
|
20
|
-
"true": "rounded-md",
|
|
20
|
+
"true": "rounded-(--ui-border-radius-md)",
|
|
21
21
|
"false": ""
|
|
22
22
|
},
|
|
23
23
|
"zebra": {
|
|
24
|
-
"true": "[&>table>tbody>tr]:even:bg-base-
|
|
24
|
+
"true": "[&>table>tbody>tr]:even:bg-(--ui-color-base-8) [&>table>tbody>tr]:even:[&>td]:bg-(--ui-color-base-8) [&>table>tbody>tr]:even:[&>th]:bg-(--ui-color-base-8) light:[&>table>tbody>tr]:even:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:even:[&>td]:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:even:[&>th]:bg-(--ui-color-base-6)"
|
|
25
25
|
},
|
|
26
26
|
"pinRows": {
|
|
27
|
-
"true": "[&>table>thead>tr]:sticky [&>table>thead>tr]:top-0
|
|
27
|
+
"true": "[&>table>thead>tr]:sticky [&>table>thead>tr]:top-0 [&>table>thead>tr]:z-1 dark:[&>table>thead>tr]:bg-(--ui-color-base-5) [&>table>thead>tr]:bg-(--ui-color-base-white-fixed) [&>table>thead>tr]:text-(--ui-color-g-content-grey-1) [&>table>thead>tr]:shadow-bottom-sm [&>table>tfoot>tr]:sticky [&>table>tfoot>tr]:bottom-0 [&>table>tfoot>tr]:z-1 dark:[&>table>tfoot>tr]:bg-(--ui-color-base-5) [&>table>tfoot>tr]:bg-(--ui-color-base-white-fixed) [&>table>tfoot>tr]:text-(--ui-color-g-content-grey-1) [&>table>tfoot>tr]:shadow-top-sm"
|
|
28
28
|
},
|
|
29
29
|
"pinCols": {
|
|
30
|
-
"true": "[&>table>thead>tr>th]:sticky [&>table>thead>tr>th]:right-0 [&>table>thead>tr>th]:left-0 [&>table>thead>tr>th]:bg-base-
|
|
30
|
+
"true": "[&>table>thead>tr>th]:sticky [&>table>thead>tr>th]:right-0 [&>table>thead>tr>th]:left-0 dark:[&>table>thead>tr>th]:bg-(--ui-color-base-5) [&>table>thead>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>thead>tr>th]:text-(--ui-color-g-content-grey-1) [&>table>tbody>tr>th]:sticky [&>table>tbody>tr>th]:right-0 [&>table>tbody>tr>th]:left-0 dark:[&>table>tbody>tr>th]:bg-(--ui-color-base-5) [&>table>tbody>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>tbody>tr>th]:text-(--ui-color-g-content-grey-1) [&>table>tfoot>tr>th]:sticky [&>table>tfoot>tr>th]:right-0 [&>table>tfoot>tr>th]:left-0 dark:[&>table>tfoot>tr>th]:bg-(--ui-color-base-5) [&>table>tfoot>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>tfoot>tr>th]:text-(--ui-color-g-content-grey-1)"
|
|
31
31
|
},
|
|
32
32
|
"rowHover": {
|
|
33
|
-
"true": "[&>table>tbody>tr]:hover:bg-base-
|
|
33
|
+
"true": "[&>table>tbody>tr]:hover:bg-(--ui-color-base-8) [&>table>tbody>tr]:hover:[&>td]:bg-(--ui-color-base-8) [&>table>tbody>tr]:hover:[&>th]:bg-(--ui-color-base-8) light:[&>table>tbody>tr]:hover:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:hover:[&>td]:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:hover:[&>th]:bg-(--ui-color-base-6)"
|
|
34
34
|
},
|
|
35
35
|
"bordered": {
|
|
36
|
-
"true": "border border-
|
|
36
|
+
"true": "border border-(--ui-color-divider-vibrant-default)"
|
|
37
37
|
},
|
|
38
38
|
"scrollbarThin": {
|
|
39
39
|
"true": "scrollbar-thin"
|
package/.nuxt/b24ui/countdown.ts
CHANGED
|
@@ -8,7 +8,7 @@ const size = [
|
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
10
|
"slots": {
|
|
11
|
-
"base": "relative flex flex-row flex-nowrap items-center justify-between text-
|
|
11
|
+
"base": "relative flex flex-row flex-nowrap items-center justify-between text-(--b24ui-typography-legend-color)",
|
|
12
12
|
"label": "",
|
|
13
13
|
"leadingIcon": "shrink-0",
|
|
14
14
|
"leadingAvatar": "shrink-0",
|
|
@@ -21,27 +21,27 @@ export default {
|
|
|
21
21
|
"variants": {
|
|
22
22
|
"size": {
|
|
23
23
|
"xs": {
|
|
24
|
-
"base": "gap-0.5 text-5xs
|
|
24
|
+
"base": "gap-0.5 text-(length:--ui-font-size-5xs)/(--ui-font-line-height-reset)",
|
|
25
25
|
"leadingIcon": "size-sm",
|
|
26
26
|
"leadingAvatarSize": "3xs"
|
|
27
27
|
},
|
|
28
28
|
"sm": {
|
|
29
|
-
"base": "gap-1 text-4xs
|
|
29
|
+
"base": "gap-1 text-(length:--ui-font-size-4xs)/(--ui-font-line-height-reset)",
|
|
30
30
|
"leadingIcon": "size-sm2",
|
|
31
31
|
"leadingAvatarSize": "3xs"
|
|
32
32
|
},
|
|
33
33
|
"md": {
|
|
34
|
-
"base": "gap-1 text-md
|
|
34
|
+
"base": "gap-1 text-(length:--ui-font-size-md)/(--ui-font-line-height-reset)",
|
|
35
35
|
"leadingIcon": "size-[16px]",
|
|
36
36
|
"leadingAvatarSize": "3xs"
|
|
37
37
|
},
|
|
38
38
|
"lg": {
|
|
39
|
-
"base": "gap-1 text-lg
|
|
39
|
+
"base": "gap-1 text-(length:--ui-font-size-lg)/(--ui-font-line-height-reset)",
|
|
40
40
|
"leadingIcon": "size-[22px]",
|
|
41
41
|
"leadingAvatarSize": "2xs"
|
|
42
42
|
},
|
|
43
43
|
"xl": {
|
|
44
|
-
"base": "gap-1 text-xl
|
|
44
|
+
"base": "gap-1 text-(length:--ui-font-size-xl)/(--ui-font-line-height-reset)",
|
|
45
45
|
"leadingIcon": "size-[26px]",
|
|
46
46
|
"leadingAvatarSize": "xs"
|
|
47
47
|
}
|
|
@@ -60,27 +60,27 @@ export default {
|
|
|
60
60
|
{
|
|
61
61
|
"size": "xs" as typeof size[number],
|
|
62
62
|
"useCircle": true,
|
|
63
|
-
"class": "text-7xs
|
|
63
|
+
"class": "text-(length:--ui-font-size-7xs)/[normal] p-0.5"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"size": "sm" as typeof size[number],
|
|
67
67
|
"useCircle": true,
|
|
68
|
-
"class": "text-6xs
|
|
68
|
+
"class": "text-(length:--ui-font-size-6xs)/[normal] p-1.5"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"size": "md" as typeof size[number],
|
|
72
72
|
"useCircle": true,
|
|
73
|
-
"class": "text-3xs
|
|
73
|
+
"class": "text-(length:--ui-font-size-3xs)/[normal] p-1.5"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"size": "lg" as typeof size[number],
|
|
77
77
|
"useCircle": true,
|
|
78
|
-
"class": "text-xs
|
|
78
|
+
"class": "text-(length:--ui-font-size-xs)/[normal] p-1.5 pb-2"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"size": "xl" as typeof size[number],
|
|
82
82
|
"useCircle": true,
|
|
83
|
-
"class": "text-sm
|
|
83
|
+
"class": "text-(length:--ui-font-size-sm)/[normal] p-2 pb-2.5"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
"defaultVariants": {
|
|
@@ -6,18 +6,18 @@ const size = [
|
|
|
6
6
|
export default {
|
|
7
7
|
"slots": {
|
|
8
8
|
"root": "w-full shrink-0",
|
|
9
|
-
"legend": "font-semibold text-
|
|
10
|
-
"text": "text-
|
|
9
|
+
"legend": "font-(--ui-font-weight-semibold) text-(--b24ui-typography-label-color)",
|
|
10
|
+
"text": "text-(--b24ui-typography-description-color)",
|
|
11
11
|
"container": "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
|
|
12
|
-
"labelWrapper": "col-start-1 border-t first:border-none sm:border-t flex flex-nowrap flex-row items-center justify-start gap-1.5 border-
|
|
13
|
-
"icon": "shrink-0 size-6 text-
|
|
12
|
+
"labelWrapper": "col-start-1 border-t first:border-none sm:border-t flex flex-nowrap flex-row items-center justify-start gap-1.5 border-(--ui-color-divider-vibrant-default) sm:border-(--ui-color-divider-vibrant-default) text-(--b24ui-typography-description-color)",
|
|
13
|
+
"icon": "shrink-0 size-6 text-(--b24ui-typography-description-color)",
|
|
14
14
|
"avatar": "shrink-0",
|
|
15
15
|
"avatarSize": "",
|
|
16
16
|
"label": "",
|
|
17
|
-
"descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none
|
|
17
|
+
"descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none sm:border-(--ui-color-divider-vibrant-default) text-(--b24ui-typography-label-color)",
|
|
18
18
|
"description": "",
|
|
19
19
|
"actions": "flex flex-wrap gap-1.5 shrink-0",
|
|
20
|
-
"footer": "border-t border-
|
|
20
|
+
"footer": "border-t border-(--ui-color-divider-vibrant-default)"
|
|
21
21
|
},
|
|
22
22
|
"variants": {
|
|
23
23
|
"size": {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
const color = [
|
|
2
|
+
"air-primary",
|
|
3
|
+
"air-primary-success",
|
|
4
|
+
"air-primary-alert",
|
|
5
|
+
"air-primary-copilot",
|
|
6
|
+
"air-primary-warning",
|
|
2
7
|
"default",
|
|
3
8
|
"danger",
|
|
4
9
|
"success",
|
|
@@ -9,228 +14,151 @@ const color = [
|
|
|
9
14
|
"ai"
|
|
10
15
|
] as const
|
|
11
16
|
|
|
12
|
-
const size = [
|
|
13
|
-
"xs",
|
|
14
|
-
"sm",
|
|
15
|
-
"md",
|
|
16
|
-
"lg"
|
|
17
|
-
] as const
|
|
18
|
-
|
|
19
17
|
export default {
|
|
20
18
|
"slots": {
|
|
21
|
-
"content": "
|
|
22
|
-
"viewport": "relative
|
|
23
|
-
"arrow": "fill-
|
|
24
|
-
"group": "
|
|
25
|
-
"label": "w-full flex items-center font-
|
|
26
|
-
"separator": "-mx-
|
|
27
|
-
"item": "group
|
|
28
|
-
"itemLeadingIcon": "shrink-0
|
|
29
|
-
"itemLeadingAvatar": "shrink-0",
|
|
30
|
-
"itemLeadingAvatarSize": "",
|
|
31
|
-
"itemTrailing": "
|
|
32
|
-
"itemTrailingIcon": "shrink-0",
|
|
33
|
-
"itemTrailingKbds": "hidden lg:inline-flex items-center
|
|
34
|
-
"itemTrailingKbdsSize": "",
|
|
35
|
-
"itemLabel": "truncate",
|
|
36
|
-
"itemLabelExternalIcon": "inline-block size-
|
|
19
|
+
"content": "light bg-(--popup-window-background-color) shadow-(--popup-window-box-shadow) rounded-(--popup-window-border-radius) will-change-[opacity] motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) font-[family-name:var(--ui-font-family-primary)] relative isolate px-0 py-(--menu-popup-padding) pointer-events-auto",
|
|
20
|
+
"viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
|
|
21
|
+
"arrow": "fill-(--popup-window-background-color)",
|
|
22
|
+
"group": "grid",
|
|
23
|
+
"label": "w-full min-w-[195px] h-(--popup-window-delimiter-section-height) px-[18px] mt-(--menu-item-block-stack-space) flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap text-start text-(length:--popup-window-delimiter-font-size) text-(--popup-window-delimiter-text-color) font-(--popup-window-delimiter-font-weight) after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--popup-window-delimiter-bg-color)",
|
|
24
|
+
"separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
|
|
25
|
+
"item": "group w-full min-w-[195px] h-[36px] px-[18px] mt-(--menu-item-block-stack-space) relative flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-30 text-start text-(length:--menu-popup-item-font-size) text-(--menu-popup-item-color) hover:text-(--menu-popup-item-color-hover) data-highlighted:text-(--menu-popup-item-color-hover) data-[state=open]:text-(--menu-popup-item-color-hover) hover:bg-(--menu-popup-item-bg-color-hover) data-highlighted:bg-(--menu-popup-item-bg-color-hover) data-[state=open]:bg-(--menu-popup-item-bg-color-hover) transition-colors",
|
|
26
|
+
"itemLeadingIcon": "shrink-0 size-[18px] text-(--ui-color-design-plain-content-icon-secondary) group-data-highlighted:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary) group-data-[state=checked]:text-(--ui-color-accent-main-primary) transition-colors",
|
|
27
|
+
"itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
|
|
28
|
+
"itemLeadingAvatarSize": "2xs",
|
|
29
|
+
"itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
30
|
+
"itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
|
|
31
|
+
"itemTrailingKbds": "shrink-0 hidden lg:inline-flex items-center gap-0.5",
|
|
32
|
+
"itemTrailingKbdsSize": "md",
|
|
33
|
+
"itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
34
|
+
"itemLabelExternalIcon": "inline-block size-[16px] text-(--ui-color-design-plain-content-icon-secondary)"
|
|
37
35
|
},
|
|
38
36
|
"variants": {
|
|
39
37
|
"color": {
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
38
|
+
"air-primary": {
|
|
39
|
+
"item": "style-filled"
|
|
40
|
+
},
|
|
41
|
+
"air-primary-success": {
|
|
42
|
+
"item": "style-filled-success"
|
|
43
|
+
},
|
|
44
|
+
"air-primary-alert": {
|
|
45
|
+
"item": "style-filled-alert"
|
|
46
|
+
},
|
|
47
|
+
"air-primary-copilot": {
|
|
48
|
+
"item": "style-filled-copilot"
|
|
49
|
+
},
|
|
50
|
+
"air-primary-warning": {
|
|
51
|
+
"item": "style-filled-warning"
|
|
52
|
+
},
|
|
53
|
+
"default": {
|
|
54
|
+
"item": "style-old-default"
|
|
55
|
+
},
|
|
56
|
+
"danger": {
|
|
57
|
+
"item": "style-old-danger"
|
|
58
|
+
},
|
|
59
|
+
"success": {
|
|
60
|
+
"item": "style-old-success"
|
|
61
|
+
},
|
|
62
|
+
"warning": {
|
|
63
|
+
"item": "style-old-warning"
|
|
64
|
+
},
|
|
65
|
+
"primary": {
|
|
66
|
+
"item": "style-old-primary"
|
|
67
|
+
},
|
|
68
|
+
"secondary": {
|
|
69
|
+
"item": "style-old-secondary"
|
|
70
|
+
},
|
|
71
|
+
"collab": {
|
|
72
|
+
"item": "style-old-collab"
|
|
73
|
+
},
|
|
74
|
+
"ai": {
|
|
75
|
+
"item": "style-old-ai"
|
|
76
|
+
}
|
|
48
77
|
},
|
|
49
78
|
"active": {
|
|
50
|
-
"false": {
|
|
51
|
-
"item": "text-base-master data-highlighted:text-base-900 data-highlighted:before:bg-base-100/50 data-[state=open]:text-base-900 data-[state=open]:before:bg-base-100/50 dark:text-base-150 dark:data-highlighted:text-base-200 dark:data-highlighted:before:bg-base-900 dark:data-[state=open]:text-base-200 dark:data-[state=open]:before:bg-base-900 transition-colors before:transition-colors",
|
|
52
|
-
"itemLeadingIcon": "text-base-500 group-data-highlighted:text-base-master group-data-[state=open]:text-base-master dark:text-base-700 dark:group-data-highlighted:text-base-150 dark:group-data-[state=open]:text-base-150 transition-colors"
|
|
53
|
-
},
|
|
54
79
|
"true": {
|
|
55
|
-
"item": "text-
|
|
56
|
-
"itemLeadingIcon": "text-
|
|
57
|
-
}
|
|
80
|
+
"item": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary)",
|
|
81
|
+
"itemLeadingIcon": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary)"
|
|
82
|
+
},
|
|
83
|
+
"false": {}
|
|
58
84
|
},
|
|
59
85
|
"loading": {
|
|
60
86
|
"true": {
|
|
61
87
|
"itemLeadingIcon": "animate-spin"
|
|
62
88
|
}
|
|
63
|
-
},
|
|
64
|
-
"size": {
|
|
65
|
-
"xs": {
|
|
66
|
-
"label": "p-1 text-xs gap-1",
|
|
67
|
-
"item": "p-1 text-xs gap-1",
|
|
68
|
-
"itemLeadingIcon": "size-4",
|
|
69
|
-
"itemLeadingAvatarSize": "3xs",
|
|
70
|
-
"itemTrailingIcon": "size-4",
|
|
71
|
-
"itemTrailingKbds": "gap-0.5",
|
|
72
|
-
"itemTrailingKbdsSize": "sm"
|
|
73
|
-
},
|
|
74
|
-
"sm": {
|
|
75
|
-
"label": "p-1.5 text-xs gap-1.5",
|
|
76
|
-
"item": "p-1.5 text-xs gap-1.5",
|
|
77
|
-
"itemLeadingIcon": "size-4",
|
|
78
|
-
"itemLeadingAvatarSize": "3xs",
|
|
79
|
-
"itemTrailingIcon": "size-4",
|
|
80
|
-
"itemTrailingKbds": "gap-0.5",
|
|
81
|
-
"itemTrailingKbdsSize": "sm"
|
|
82
|
-
},
|
|
83
|
-
"md": {
|
|
84
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
85
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
86
|
-
"itemLeadingIcon": "size-5",
|
|
87
|
-
"itemLeadingAvatarSize": "2xs",
|
|
88
|
-
"itemTrailingIcon": "size-3",
|
|
89
|
-
"itemTrailingKbds": "gap-0.5",
|
|
90
|
-
"itemTrailingKbdsSize": "md"
|
|
91
|
-
},
|
|
92
|
-
"lg": {
|
|
93
|
-
"label": "p-2 text-sm gap-2",
|
|
94
|
-
"item": "p-2 text-sm gap-2",
|
|
95
|
-
"itemLeadingIcon": "size-5",
|
|
96
|
-
"itemLeadingAvatarSize": "2xs",
|
|
97
|
-
"itemTrailingIcon": "size-5",
|
|
98
|
-
"itemTrailingKbds": "gap-1",
|
|
99
|
-
"itemTrailingKbdsSize": "md"
|
|
100
|
-
}
|
|
101
89
|
}
|
|
102
90
|
},
|
|
103
91
|
"compoundVariants": [
|
|
104
92
|
{
|
|
105
|
-
"color":
|
|
93
|
+
"color": [
|
|
94
|
+
"air-primary" as typeof color[number],
|
|
95
|
+
"air-primary-success" as typeof color[number],
|
|
96
|
+
"air-primary-alert" as typeof color[number],
|
|
97
|
+
"air-primary-copilot" as typeof color[number],
|
|
98
|
+
"air-primary-warning" as typeof color[number]
|
|
99
|
+
],
|
|
106
100
|
"active": false,
|
|
107
101
|
"class": {
|
|
108
|
-
"item": "text-
|
|
109
|
-
"itemLeadingIcon": "text-
|
|
102
|
+
"item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
103
|
+
"itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
|
|
110
104
|
}
|
|
111
105
|
},
|
|
112
106
|
{
|
|
113
|
-
"color":
|
|
107
|
+
"color": [
|
|
108
|
+
"air-primary" as typeof color[number],
|
|
109
|
+
"air-primary-success" as typeof color[number],
|
|
110
|
+
"air-primary-alert" as typeof color[number],
|
|
111
|
+
"air-primary-copilot" as typeof color[number],
|
|
112
|
+
"air-primary-warning" as typeof color[number]
|
|
113
|
+
],
|
|
114
114
|
"active": true,
|
|
115
115
|
"class": {
|
|
116
|
-
"item": "text-
|
|
117
|
-
"itemLeadingIcon": "text-
|
|
116
|
+
"item": "text-(--b24ui-background-active)",
|
|
117
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
"color": "
|
|
122
|
-
"active": false,
|
|
123
|
-
"class": {
|
|
124
|
-
"item": "text-red-950 data-highlighted:text-red-900 data-highlighted:before:bg-red-100 data-[state=open]:text-red-900 data-[state=open]:before:bg-red-100 dark:text-red-150 dark:data-highlighted:text-red-200 dark:data-highlighted:before:bg-red-900 dark:data-[state=open]:text-red-200 dark:data-[state=open]:before:bg-red-900",
|
|
125
|
-
"itemLeadingIcon": "text-red-500 group-data-highlighted:text-red-900 group-data-[state=open]:text-red-900 dark:text-red-700 dark:group-data-highlighted:text-red-150 dark:group-data-[state=open]:text-red-150"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"color": "danger" as typeof color[number],
|
|
130
|
-
"active": true,
|
|
131
|
-
"class": {
|
|
132
|
-
"item": "text-red-900 before:bg-red-100 dark:text-red-200 dark:before:bg-red-900",
|
|
133
|
-
"itemLeadingIcon": "text-red-900 group-data-[state=open]:text-red-900 dark:text-red-700"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"color": "success" as typeof color[number],
|
|
138
|
-
"active": false,
|
|
139
|
-
"class": {
|
|
140
|
-
"item": "text-green-950 data-highlighted:text-green-900 data-highlighted:before:bg-green-100 data-[state=open]:text-green-900 data-[state=open]:before:bg-green-100 dark:text-green-150 dark:data-highlighted:text-green-200 dark:data-highlighted:before:bg-green-900 dark:data-[state=open]:text-green-200 dark:data-[state=open]:before:bg-green-900",
|
|
141
|
-
"itemLeadingIcon": "text-green-500 group-data-highlighted:text-green-900 group-data-[state=open]:text-green-900 dark:text-green-700 dark:group-data-highlighted:text-green-150 dark:group-data-[state=open]:text-green-150"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"color": "success" as typeof color[number],
|
|
146
|
-
"active": true,
|
|
147
|
-
"class": {
|
|
148
|
-
"item": "text-green-900 before:bg-green-100 dark:text-green-200 dark:before:bg-green-900",
|
|
149
|
-
"itemLeadingIcon": "text-green-900 group-data-[state=open]:text-green-900 dark:text-green-700"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"color": "warning" as typeof color[number],
|
|
154
|
-
"active": false,
|
|
155
|
-
"class": {
|
|
156
|
-
"item": "text-orange-950 data-highlighted:text-orange-900 data-highlighted:before:bg-orange-100 data-[state=open]:text-orange-900 data-[state=open]:before:bg-orange-100 dark:text-orange-150 dark:data-highlighted:text-orange-200 dark:data-highlighted:before:bg-orange-900 dark:data-[state=open]:text-orange-200 dark:data-[state=open]:before:bg-orange-900",
|
|
157
|
-
"itemLeadingIcon": "text-orange-500 group-data-highlighted:text-orange-900 group-data-[state=open]:text-orange-900 dark:text-orange-700 dark:group-data-highlighted:text-orange-150 dark:group-data-[state=open]:text-orange-150"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"color": "warning" as typeof color[number],
|
|
162
|
-
"active": true,
|
|
163
|
-
"class": {
|
|
164
|
-
"item": "text-orange-900 before:bg-orange-100 dark:text-orange-200 dark:before:bg-orange-900",
|
|
165
|
-
"itemLeadingIcon": "text-orange-900 group-data-[state=open]:text-orange-900 dark:text-orange-700"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"color": "primary" as typeof color[number],
|
|
170
|
-
"active": false,
|
|
171
|
-
"class": {
|
|
172
|
-
"item": "text-blue-950 data-highlighted:text-blue-900 data-highlighted:before:bg-blue-100 data-[state=open]:text-blue-900 data-[state=open]:before:bg-blue-100 dark:text-blue-150 dark:data-highlighted:text-blue-200 dark:data-highlighted:before:bg-blue-900 dark:data-[state=open]:text-blue-200 dark:data-[state=open]:before:bg-blue-900",
|
|
173
|
-
"itemLeadingIcon": "text-blue-500 group-data-highlighted:text-blue-900 group-data-[state=open]:text-blue-900 dark:text-blue-700 dark:group-data-highlighted:text-blue-150 dark:group-data-[state=open]:text-blue-150"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"color": "primary" as typeof color[number],
|
|
178
|
-
"active": true,
|
|
179
|
-
"class": {
|
|
180
|
-
"item": "text-blue-900 before:bg-blue-100 dark:text-blue-200 dark:before:bg-blue-900",
|
|
181
|
-
"itemLeadingIcon": "text-blue-900 group-data-[state=open]:text-blue-900 dark:text-blue-700"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"color": "secondary" as typeof color[number],
|
|
186
|
-
"active": false,
|
|
187
|
-
"class": {
|
|
188
|
-
"item": "text-cyan-950 data-highlighted:text-cyan-900 data-highlighted:before:bg-cyan-100/50 data-[state=open]:text-cyan-900 data-[state=open]:before:bg-cyan-100/50 dark:text-cyan-150 dark:data-highlighted:text-cyan-200 dark:data-highlighted:before:bg-cyan-900 dark:data-[state=open]:text-cyan-200 dark:data-[state=open]:before:bg-cyan-900",
|
|
189
|
-
"itemLeadingIcon": "text-cyan-500 group-data-highlighted:text-cyan-900 group-data-[state=open]:text-cyan-900 dark:text-cyan-700 dark:group-data-highlighted:text-cyan-150 dark:group-data-[state=open]:text-cyan-150"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"color": "secondary" as typeof color[number],
|
|
194
|
-
"active": true,
|
|
195
|
-
"class": {
|
|
196
|
-
"item": "text-cyan-900 before:bg-cyan-100/50 dark:text-cyan-200 dark:before:bg-cyan-900",
|
|
197
|
-
"itemLeadingIcon": "text-cyan-900 group-data-[state=open]:text-cyan-900 dark:text-cyan-700"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"color": "collab" as typeof color[number],
|
|
121
|
+
"color": "default" as typeof color[number],
|
|
202
122
|
"active": false,
|
|
203
|
-
"class":
|
|
204
|
-
"item": "text-collab-900 data-highlighted:text-collab-900 data-highlighted:before:bg-collab-100 data-[state=open]:text-collab-900 data-[state=open]:before:bg-collab-100 dark:text-collab-150 dark:data-highlighted:text-collab-200 dark:data-highlighted:before:bg-collab-900 dark:data-[state=open]:text-collab-200 dark:data-[state=open]:before:bg-collab-900",
|
|
205
|
-
"itemLeadingIcon": "text-collab-600 group-data-highlighted:text-collab-900 group-data-[state=open]:text-collab-900 dark:text-collab-700 dark:group-data-highlighted:text-collab-150 dark:group-data-[state=open]:text-collab-150"
|
|
206
|
-
}
|
|
123
|
+
"class": ""
|
|
207
124
|
},
|
|
208
125
|
{
|
|
209
|
-
"color": "
|
|
126
|
+
"color": "default" as typeof color[number],
|
|
210
127
|
"active": true,
|
|
211
|
-
"class":
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
128
|
+
"class": ""
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"color": [
|
|
132
|
+
"danger" as typeof color[number],
|
|
133
|
+
"success" as typeof color[number],
|
|
134
|
+
"warning" as typeof color[number],
|
|
135
|
+
"primary" as typeof color[number],
|
|
136
|
+
"secondary" as typeof color[number],
|
|
137
|
+
"collab" as typeof color[number],
|
|
138
|
+
"ai" as typeof color[number]
|
|
139
|
+
],
|
|
218
140
|
"active": false,
|
|
219
141
|
"class": {
|
|
220
|
-
"item": "text-
|
|
221
|
-
"itemLeadingIcon": "text-
|
|
142
|
+
"item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
143
|
+
"itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
|
|
222
144
|
}
|
|
223
145
|
},
|
|
224
146
|
{
|
|
225
|
-
"color":
|
|
147
|
+
"color": [
|
|
148
|
+
"danger" as typeof color[number],
|
|
149
|
+
"success" as typeof color[number],
|
|
150
|
+
"warning" as typeof color[number],
|
|
151
|
+
"primary" as typeof color[number],
|
|
152
|
+
"secondary" as typeof color[number],
|
|
153
|
+
"collab" as typeof color[number],
|
|
154
|
+
"ai" as typeof color[number]
|
|
155
|
+
],
|
|
226
156
|
"active": true,
|
|
227
157
|
"class": {
|
|
228
|
-
"item": "text-
|
|
229
|
-
"itemLeadingIcon": "text-
|
|
158
|
+
"item": "text-(--b24ui-background-active)",
|
|
159
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
230
160
|
}
|
|
231
161
|
}
|
|
232
162
|
],
|
|
233
|
-
"defaultVariants": {
|
|
234
|
-
"size": "md" as typeof size[number]
|
|
235
|
-
}
|
|
163
|
+
"defaultVariants": {}
|
|
236
164
|
}
|
|
@@ -7,47 +7,47 @@ const size = [
|
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
9
|
"slots": {
|
|
10
|
-
"root": "font-
|
|
11
|
-
"wrapper": "leading-
|
|
10
|
+
"root": "font-[family-name:var(--ui-font-family-system)] font-(--ui-font-weight-regular)",
|
|
11
|
+
"wrapper": "leading-(--ui-font-line-height-reset)",
|
|
12
12
|
"labelWrapper": "flex content-center items-center justify-between",
|
|
13
|
-
"label": "block text-
|
|
14
|
-
"hint": "text-
|
|
13
|
+
"label": "block text-(--b24ui-typography-label-color)",
|
|
14
|
+
"hint": "text-(--b24ui-typography-description-color)",
|
|
15
15
|
"container": "relative",
|
|
16
|
-
"description": "mt-
|
|
17
|
-
"error": "mt-
|
|
18
|
-
"errorWrapper": "flex flex-row flex-nowrap gap-0.5",
|
|
19
|
-
"errorIcon": "size-
|
|
20
|
-
"help": "mt-
|
|
16
|
+
"description": "mt-[2px] leading-(--ui-font-line-height-2xs) text-(--b24ui-typography-description-color)",
|
|
17
|
+
"error": "mt-[4px] text-(--ui-color-accent-main-alert)",
|
|
18
|
+
"errorWrapper": "flex flex-row flex-nowrap items-center gap-0.5",
|
|
19
|
+
"errorIcon": "size-[18px] mt-[2px]",
|
|
20
|
+
"help": "mt-[6px] leading-(--ui-font-line-height-2xs) italic text-(--b24ui-typography-description-color)"
|
|
21
21
|
},
|
|
22
22
|
"variants": {
|
|
23
23
|
"useDescription": {
|
|
24
24
|
"true": {
|
|
25
|
-
"wrapper": "mb-
|
|
25
|
+
"wrapper": "mb-[6px]"
|
|
26
26
|
},
|
|
27
27
|
"false": {
|
|
28
|
-
"wrapper": "mb-
|
|
28
|
+
"wrapper": "mb-[10px]"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"size": {
|
|
32
32
|
"xs": {
|
|
33
|
-
"root": "text-xs",
|
|
34
|
-
"errorIcon": "size-
|
|
33
|
+
"root": "text-(length:--ui-font-size-xs)",
|
|
34
|
+
"errorIcon": "size-[16px]"
|
|
35
35
|
},
|
|
36
36
|
"sm": {
|
|
37
|
-
"root": "text-xs",
|
|
38
|
-
"errorIcon": "size-
|
|
37
|
+
"root": "text-(length:--ui-font-size-xs)",
|
|
38
|
+
"errorIcon": "size-[16px]"
|
|
39
39
|
},
|
|
40
40
|
"md": {
|
|
41
|
-
"root": "text-sm",
|
|
42
|
-
"errorIcon": "size-
|
|
41
|
+
"root": "text-(length:--ui-font-size-sm)",
|
|
42
|
+
"errorIcon": "size-[18px]"
|
|
43
43
|
},
|
|
44
44
|
"lg": {
|
|
45
|
-
"root": "text-md"
|
|
45
|
+
"root": "text-(length:--ui-font-size-md)"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"required": {
|
|
49
49
|
"true": {
|
|
50
|
-
"label": "after:content-['*'] after:ms-0.5 after:text-
|
|
50
|
+
"label": "after:content-['*'] after:ms-0.5 after:text-(--ui-color-accent-main-alert)"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
package/.nuxt/b24ui/index.ts
CHANGED
|
@@ -44,7 +44,6 @@ export { default as sidebarSection } from './sidebar-section'
|
|
|
44
44
|
export { default as sidebarSpacer } from './sidebar-spacer'
|
|
45
45
|
export { default as skeleton } from './skeleton'
|
|
46
46
|
export { default as slideover } from './slideover'
|
|
47
|
-
export { default as stackedLayout } from './stacked-layout'
|
|
48
47
|
export { default as switch } from './switch'
|
|
49
48
|
export { default as tabs } from './tabs'
|
|
50
49
|
export { default as textarea } from './textarea'
|