@bitrix24/b24ui-nuxt 2.0.7 → 2.0.9

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.
Files changed (167) hide show
  1. package/dist/meta.d.mts +28 -6
  2. package/dist/meta.mjs +28 -6
  3. package/dist/module.d.mts +13 -1
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +6 -5
  6. package/dist/runtime/air-design-tokens/001_b24_global.css +1 -1
  7. package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
  8. package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
  9. package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -1
  10. package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -1
  11. package/dist/runtime/air-design-tokens/007_b24_global.css +1 -1
  12. package/dist/runtime/air-design-tokens/008_ui_global.css +1 -1
  13. package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -1
  14. package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -1
  15. package/dist/runtime/air-design-tokens/components/button.css +1 -1
  16. package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -1
  17. package/dist/runtime/air-design-tokens/components/popup.css +1 -1
  18. package/dist/runtime/air-design-tokens/components/scrollbar.css +1 -2
  19. package/dist/runtime/air-design-tokens/index.css +1 -1
  20. package/dist/runtime/components/Form.d.vue.ts +1 -1
  21. package/dist/runtime/components/Form.vue +3 -4
  22. package/dist/runtime/components/Form.vue.d.ts +1 -1
  23. package/dist/runtime/components/Modal.d.vue.ts +5 -0
  24. package/dist/runtime/components/Modal.vue +37 -9
  25. package/dist/runtime/components/Modal.vue.d.ts +5 -0
  26. package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
  27. package/dist/runtime/components/RadioGroup.vue +1 -1
  28. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
  29. package/dist/runtime/index.css +1 -1
  30. package/dist/runtime/plugins/colors.js +4 -8
  31. package/dist/shared/{b24ui-nuxt.CPlfZAfR.mjs → b24ui-nuxt.4XNR9Ysu.mjs} +219 -126
  32. package/dist/unplugin.d.mts +3 -1
  33. package/dist/unplugin.mjs +32 -3
  34. package/dist/vite.mjs +5 -3
  35. package/package.json +4 -11
  36. package/.nuxt/b24ui/accordion.ts +0 -20
  37. package/.nuxt/b24ui/advice.ts +0 -36
  38. package/.nuxt/b24ui/alert.ts +0 -176
  39. package/.nuxt/b24ui/avatar-group.ts +0 -52
  40. package/.nuxt/b24ui/avatar.ts +0 -63
  41. package/.nuxt/b24ui/badge.ts +0 -333
  42. package/.nuxt/b24ui/banner.ts +0 -78
  43. package/.nuxt/b24ui/breadcrumb.ts +0 -42
  44. package/.nuxt/b24ui/button.ts +0 -350
  45. package/.nuxt/b24ui/calendar.ts +0 -112
  46. package/.nuxt/b24ui/card.ts +0 -180
  47. package/.nuxt/b24ui/chat-message.ts +0 -123
  48. package/.nuxt/b24ui/chat-messages.ts +0 -14
  49. package/.nuxt/b24ui/chat-palette.ts +0 -8
  50. package/.nuxt/b24ui/chat-prompt-submit.ts +0 -5
  51. package/.nuxt/b24ui/chat-prompt.ts +0 -35
  52. package/.nuxt/b24ui/checkbox-group.ts +0 -255
  53. package/.nuxt/b24ui/checkbox.ts +0 -195
  54. package/.nuxt/b24ui/chip.ts +0 -238
  55. package/.nuxt/b24ui/collapsible.ts +0 -6
  56. package/.nuxt/b24ui/color-picker.ts +0 -42
  57. package/.nuxt/b24ui/command-palette.ts +0 -56
  58. package/.nuxt/b24ui/container.ts +0 -3
  59. package/.nuxt/b24ui/content/content-search-button.ts +0 -6
  60. package/.nuxt/b24ui/content/content-search.ts +0 -13
  61. package/.nuxt/b24ui/content/content-surround.ts +0 -21
  62. package/.nuxt/b24ui/content/content-toc.ts +0 -41
  63. package/.nuxt/b24ui/context-menu.ts +0 -91
  64. package/.nuxt/b24ui/countdown.ts +0 -89
  65. package/.nuxt/b24ui/dashboard-group.ts +0 -3
  66. package/.nuxt/b24ui/dashboard-search-button.ts +0 -6
  67. package/.nuxt/b24ui/dashboard-search.ts +0 -13
  68. package/.nuxt/b24ui/description-list.ts +0 -67
  69. package/.nuxt/b24ui/dropdown-menu.ts +0 -166
  70. package/.nuxt/b24ui/empty.ts +0 -145
  71. package/.nuxt/b24ui/error.ts +0 -9
  72. package/.nuxt/b24ui/field-group.ts +0 -17
  73. package/.nuxt/b24ui/file-upload.ts +0 -241
  74. package/.nuxt/b24ui/form-field.ts +0 -58
  75. package/.nuxt/b24ui/form.ts +0 -3
  76. package/.nuxt/b24ui/index.ts +0 -88
  77. package/.nuxt/b24ui/input-menu.ts +0 -631
  78. package/.nuxt/b24ui/input-number.ts +0 -426
  79. package/.nuxt/b24ui/input-tags.ts +0 -412
  80. package/.nuxt/b24ui/input.ts +0 -386
  81. package/.nuxt/b24ui/kbd.ts +0 -33
  82. package/.nuxt/b24ui/link.ts +0 -22
  83. package/.nuxt/b24ui/modal.ts +0 -57
  84. package/.nuxt/b24ui/navbar-divider.ts +0 -5
  85. package/.nuxt/b24ui/navbar-section.ts +0 -5
  86. package/.nuxt/b24ui/navbar-spacer.ts +0 -5
  87. package/.nuxt/b24ui/navbar.ts +0 -5
  88. package/.nuxt/b24ui/navigation-menu.ts +0 -155
  89. package/.nuxt/b24ui/page-card.ts +0 -489
  90. package/.nuxt/b24ui/page-columns.ts +0 -3
  91. package/.nuxt/b24ui/page-grid.ts +0 -3
  92. package/.nuxt/b24ui/page-links.ts +0 -26
  93. package/.nuxt/b24ui/page-list.ts +0 -8
  94. package/.nuxt/b24ui/pagination.ts +0 -13
  95. package/.nuxt/b24ui/pin-input.ts +0 -152
  96. package/.nuxt/b24ui/popover.ts +0 -6
  97. package/.nuxt/b24ui/progress.ts +0 -289
  98. package/.nuxt/b24ui/prose/a.ts +0 -5
  99. package/.nuxt/b24ui/prose/accordion-item.ts +0 -3
  100. package/.nuxt/b24ui/prose/accordion.ts +0 -6
  101. package/.nuxt/b24ui/prose/badge.ts +0 -3
  102. package/.nuxt/b24ui/prose/blockquote.ts +0 -5
  103. package/.nuxt/b24ui/prose/callout.ts +0 -83
  104. package/.nuxt/b24ui/prose/card-group.ts +0 -3
  105. package/.nuxt/b24ui/prose/card.ts +0 -86
  106. package/.nuxt/b24ui/prose/code-collapse.ts +0 -19
  107. package/.nuxt/b24ui/prose/code-group.ts +0 -10
  108. package/.nuxt/b24ui/prose/code-icon.ts +0 -66
  109. package/.nuxt/b24ui/prose/code-preview.ts +0 -14
  110. package/.nuxt/b24ui/prose/code.ts +0 -75
  111. package/.nuxt/b24ui/prose/collapsible.ts +0 -9
  112. package/.nuxt/b24ui/prose/em.ts +0 -5
  113. package/.nuxt/b24ui/prose/field-group.ts +0 -3
  114. package/.nuxt/b24ui/prose/field.ts +0 -11
  115. package/.nuxt/b24ui/prose/h1.ts +0 -26
  116. package/.nuxt/b24ui/prose/h2.ts +0 -28
  117. package/.nuxt/b24ui/prose/h3.ts +0 -28
  118. package/.nuxt/b24ui/prose/h4.ts +0 -28
  119. package/.nuxt/b24ui/prose/h5.ts +0 -25
  120. package/.nuxt/b24ui/prose/h6.ts +0 -25
  121. package/.nuxt/b24ui/prose/hr.ts +0 -5
  122. package/.nuxt/b24ui/prose/img.ts +0 -23
  123. package/.nuxt/b24ui/prose/index.ts +0 -41
  124. package/.nuxt/b24ui/prose/kbd.ts +0 -3
  125. package/.nuxt/b24ui/prose/li.ts +0 -5
  126. package/.nuxt/b24ui/prose/ol.ts +0 -5
  127. package/.nuxt/b24ui/prose/p.ts +0 -30
  128. package/.nuxt/b24ui/prose/pre.ts +0 -17
  129. package/.nuxt/b24ui/prose/steps.ts +0 -19
  130. package/.nuxt/b24ui/prose/strong.ts +0 -5
  131. package/.nuxt/b24ui/prose/table.ts +0 -6
  132. package/.nuxt/b24ui/prose/tabs-item.ts +0 -3
  133. package/.nuxt/b24ui/prose/tabs.ts +0 -5
  134. package/.nuxt/b24ui/prose/tbody.ts +0 -5
  135. package/.nuxt/b24ui/prose/td.ts +0 -5
  136. package/.nuxt/b24ui/prose/th.ts +0 -5
  137. package/.nuxt/b24ui/prose/thead.ts +0 -5
  138. package/.nuxt/b24ui/prose/tr.ts +0 -5
  139. package/.nuxt/b24ui/prose/ul.ts +0 -5
  140. package/.nuxt/b24ui/radio-group.ts +0 -303
  141. package/.nuxt/b24ui/range.ts +0 -184
  142. package/.nuxt/b24ui/select-menu.ts +0 -554
  143. package/.nuxt/b24ui/select.ts +0 -533
  144. package/.nuxt/b24ui/separator.ts +0 -131
  145. package/.nuxt/b24ui/sidebar-body.ts +0 -15
  146. package/.nuxt/b24ui/sidebar-footer.ts +0 -5
  147. package/.nuxt/b24ui/sidebar-header.ts +0 -5
  148. package/.nuxt/b24ui/sidebar-heading.ts +0 -5
  149. package/.nuxt/b24ui/sidebar-layout.ts +0 -160
  150. package/.nuxt/b24ui/sidebar-section.ts +0 -5
  151. package/.nuxt/b24ui/sidebar-spacer.ts +0 -5
  152. package/.nuxt/b24ui/sidebar.ts +0 -5
  153. package/.nuxt/b24ui/skeleton.ts +0 -21
  154. package/.nuxt/b24ui/slideover.ts +0 -130
  155. package/.nuxt/b24ui/stepper.ts +0 -187
  156. package/.nuxt/b24ui/switch.ts +0 -139
  157. package/.nuxt/b24ui/table-wrapper.ts +0 -46
  158. package/.nuxt/b24ui/table.ts +0 -131
  159. package/.nuxt/b24ui/tabs.ts +0 -119
  160. package/.nuxt/b24ui/textarea.ts +0 -186
  161. package/.nuxt/b24ui/timeline.ts +0 -211
  162. package/.nuxt/b24ui/toast.ts +0 -95
  163. package/.nuxt/b24ui/toaster.ts +0 -91
  164. package/.nuxt/b24ui/tooltip.ts +0 -10
  165. package/.nuxt/b24ui/user.ts +0 -95
  166. package/.nuxt/b24ui.css +0 -5
  167. package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
@@ -1,66 +0,0 @@
1
- export default {
2
- "package.json": "NodeIcon",
3
- "tsconfig.json": "TsconfigIcon",
4
- ".npmrc": "NpmIcon",
5
- ".editorconfig": "EditorconfigIcon",
6
- ".eslintrc": "EslintIcon",
7
- ".eslintrc.cjs": "EslintIcon",
8
- ".eslintignore": "EslintIcon",
9
- "eslint.config.js": "EslintIcon",
10
- "eslint.config.mjs": "EslintIcon",
11
- "eslint.config.cjs": "EslintIcon",
12
- ".gitignore": "GitIcon",
13
- "yarn.lock": "YarnIcon",
14
- ".env": "DotenvIcon",
15
- ".env.example": "DotenvIcon",
16
- ".vscode/settings.json": "VscodeIcon",
17
- "nuxt": "NuxtIcon",
18
- ".nuxtrc": "NuxtIcon",
19
- ".nuxtignore": "NuxtIcon",
20
- "nuxt.config.js": "NuxtIcon",
21
- "nuxt.config.ts": "NuxtIcon",
22
- "nuxt.schema.ts": "NuxtIcon",
23
- "tailwind.config.js": "TailwindIcon",
24
- "tailwind.config.ts": "TailwindIcon",
25
- "vue": "VueIcon",
26
- "ts": "TypescriptIcon",
27
- "tsx": "TypescriptIcon",
28
- "mjs": "JsIcon",
29
- "cjs": "JsIcon",
30
- "js": "JsIcon",
31
- "jsx": "JsIcon",
32
- "md": "MarkdownIcon",
33
- "py": "PythonIcon",
34
- "cs": "CsharpIcon",
35
- "asm": "AssemblyIcon",
36
- "f": "FortranIcon",
37
- "hs": "HaskellIcon",
38
- "fs": "FsharpIcon",
39
- "kt": "KotlinIcon",
40
- "rs": "RustIcon",
41
- "rb": "RubyIcon",
42
- "lsp": "LispIcon",
43
- "ps1": "PowershellIcon",
44
- "psd1": "PowershellIcon",
45
- "psm1": "PowershellIcon",
46
- "go": "GoIcon",
47
- "gleam": "GleamIcon",
48
- "bicep": "BicepIcon",
49
- "bicepparam": "BicepIcon",
50
- "exs": "ElixirIcon",
51
- "erl": "ErlangIcon",
52
- "sbt": "ScalaIcon",
53
- "h": "CppheaderIcon",
54
- "ino": "ArduinoIcon",
55
- "pl": "PerlIcon",
56
- "jl": "JuliaIcon",
57
- "dart": "DartlangIcon",
58
- "ico": "FaviconIcon",
59
- "npm": "NpmIcon",
60
- "pnpm": "PnpmIcon",
61
- "npx": "NpmIcon",
62
- "yarn": "YarnIcon",
63
- "bun": "BunIcon",
64
- "yml": "YamlIcon",
65
- "terminal": "TerminalIcon"
66
- }
@@ -1,14 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-5",
4
- "preview": "flex justify-center border border-(--ui-color-design-tinted-na-stroke) relative p-4 rounded-md",
5
- "code": "[&>div>pre]:rounded-t-none [&>div]:my-0"
6
- },
7
- "variants": {
8
- "code": {
9
- "true": {
10
- "preview": "border-b-0 rounded-b-none"
11
- }
12
- }
13
- }
14
- }
@@ -1,75 +0,0 @@
1
- const color = [
2
- "air-primary",
3
- "air-primary-success",
4
- "air-primary-alert",
5
- "air-primary-copilot",
6
- "air-primary-warning",
7
- "air-secondary",
8
- "air-tertiary",
9
- "default",
10
- "danger",
11
- "success",
12
- "warning",
13
- "primary",
14
- "secondary",
15
- "collab",
16
- "ai"
17
- ] as const
18
-
19
- export default {
20
- "slots": {
21
- "base": "px-1.5 py-0.5 font-[family-name:var(--ui-font-family-system-mono)] font-(--ui-font-weight-medium) text-(length:--ui-font-size-sm)/[normal] rounded-(--ui-border-radius-md) inline-block ring ring-inset text-(--b24ui-color) bg-(--b24ui-background) ring-(--b24ui-border-color) dark:text-(--ui-color-design-tinted-na-content) dark:bg-(--ui-color-design-tinted-na-bg) dark:ring-(--ui-color-design-outline-na-stroke)"
22
- },
23
- "variants": {
24
- "color": {
25
- "air-primary": {
26
- "base": "style-filled"
27
- },
28
- "air-primary-success": {
29
- "base": "style-filled-success"
30
- },
31
- "air-primary-alert": {
32
- "base": "style-filled-alert"
33
- },
34
- "air-primary-copilot": {
35
- "base": "style-filled-copilot"
36
- },
37
- "air-primary-warning": {
38
- "base": "style-filled-warning"
39
- },
40
- "air-secondary": {
41
- "base": "style-filled-black"
42
- },
43
- "air-tertiary": {
44
- "base": "style-outline-no-accent"
45
- },
46
- "default": {
47
- "base": "style-old-default"
48
- },
49
- "danger": {
50
- "base": "style-old-danger"
51
- },
52
- "success": {
53
- "base": "style-old-success"
54
- },
55
- "warning": {
56
- "base": "style-old-warning"
57
- },
58
- "primary": {
59
- "base": "style-old-primary"
60
- },
61
- "secondary": {
62
- "base": "style-old-secondary"
63
- },
64
- "collab": {
65
- "base": "style-old-collab"
66
- },
67
- "ai": {
68
- "base": "style-old-ai"
69
- }
70
- }
71
- },
72
- "defaultVariants": {
73
- "color": "air-secondary" as typeof color[number]
74
- }
75
- }
@@ -1,9 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-[20px]",
4
- "trigger": "group relative rounded-(--ui-border-radius-md) inline-flex items-center gap-[4px] text-(--b24ui-typography-description-color) hover:text-(--b24ui-typography-label-color) text-(length:--ui-font-size-3xs) leading-(--ui-font-line-height-2xs) focus-visible:ring-2 focus-visible:ring-(--ui-color-design-selection-stroke) focus:outline-none cursor-pointer transition-colors",
5
- "triggerIcon": "size-[14px] shrink-0 motion-safe:group-data-[state=open]:rotate-180 transition-transform duration-200",
6
- "triggerLabel": "truncate",
7
- "content": "*:first:mt-2.5 *:last:mb-0 *:my-1.5"
8
- }
9
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "my-[20px] divide-y divide-(--ui-color-design-tinted-na-stroke) *:not-last:pb-[20px]"
3
- }
@@ -1,11 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-[20px]",
4
- "container": "flex items-center gap-3 font-[family-name:var(--ui-font-family-system-mono)] text-(length:--ui-font-size-sm)",
5
- "name": "font-(--ui-font-weight-semi-bold) text-(--ui-color-accent-main-primary)",
6
- "wrapper": "flex-1 flex items-center gap-1.5 text-(length:--ui-font-size-xs)",
7
- "required": "rounded-(--ui-border-radius-sm) bg-(--ui-color-design-outline-alert-content)/10 text-(--ui-color-accent-main-alert) px-1.5 py-0.5",
8
- "type": "rounded-(--ui-border-radius-sm) bg-(--ui-color-design-tinted-na-bg) text-(--b24ui-typography-description-color) px-1.5 py-0.5",
9
- "description": "mt-3 text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm) [&_code]:text-(length:--ui-font-size-xs)/4"
10
- }
11
- }
@@ -1,26 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(22px+15px+var(--topbar-height))] text-(length:--ui-font-size-5xl) [&>code]:text-(length:--ui-font-size-4xl)/7",
12
- "link": "inline-flex items-center gap-[8px]"
13
- },
14
- "variants": {
15
- "accent": {
16
- "default": "text-(--b24ui-typography-label-color)",
17
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
18
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
19
- "less": "text-(--b24ui-typography-description-color)",
20
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
21
- }
22
- },
23
- "defaultVariants": {
24
- "accent": "default" as typeof accent[number]
25
- }
26
- }
@@ -1,28 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(48px+45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(48px+22px+15px+var(--topbar-height))] text-(length:--ui-font-size-4xl) [&>a>code]:text-(length:--ui-font-size-3xl)/7 [&>a]:focus-visible:outline-(--ui-color-accent-main-primary) hover:[&>a>code]:text-(--ui-color-accent-main-primary-alt-2) hover:[&>a>code]:bg-(--ui-color-design-selection-bg) hover:[&>a>code]:ring-(--ui-color-design-selection-stroke)",
12
- "leading": "absolute style-tinted-no-accent-1 -ms-[18px] top-[12px] opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-[1px] bg-(--b24ui-background) ring-(length:--b24ui-border-width) ring-(--b24ui-border-color) text-(--b24ui-color) hover:text-(--ui-color-accent-main-primary-alt-2) rounded-(--ui-border-radius-2xs) hidden lg:flex transition",
13
- "leadingIcon": "size-[14px] shrink-0",
14
- "link": "group lg:ps-2 lg:-ms-2"
15
- },
16
- "variants": {
17
- "accent": {
18
- "default": "text-(--b24ui-typography-label-color)",
19
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
20
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
21
- "less": "text-(--b24ui-typography-description-color)",
22
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
23
- }
24
- },
25
- "defaultVariants": {
26
- "accent": "default" as typeof accent[number]
27
- }
28
- }
@@ -1,28 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(32px+45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(32px+22px+15px+var(--topbar-height))] text-(length:--ui-font-size-3xl) [&>a>code]:text-(length:--ui-font-size-2xl)/6 [&>a]:focus-visible:outline-(--ui-color-accent-main-primary) hover:[&>a>code]:text-(--ui-color-accent-main-primary-alt-2) hover:[&>a>code]:bg-(--ui-color-design-selection-bg) hover:[&>a>code]:ring-(--ui-color-design-selection-stroke)",
12
- "leading": "absolute style-tinted-no-accent-1 -ms-[18px] top-[9px] opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-[1px] bg-(--b24ui-background) ring-(length:--b24ui-border-width) ring-(--b24ui-border-color) text-(--b24ui-color) hover:text-(--ui-color-accent-main-primary-alt-2) rounded-(--ui-border-radius-2xs) hidden lg:flex transition",
13
- "leadingIcon": "size-[14px] shrink-0",
14
- "link": "group lg:ps-2 lg:-ms-2"
15
- },
16
- "variants": {
17
- "accent": {
18
- "default": "text-(--b24ui-typography-label-color)",
19
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
20
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
21
- "less": "text-(--b24ui-typography-description-color)",
22
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
23
- }
24
- },
25
- "defaultVariants": {
26
- "accent": "default" as typeof accent[number]
27
- }
28
- }
@@ -1,28 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(24px+45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(24px+22px+15px+var(--topbar-height))] text-(length:--ui-font-size-2xl) [&>a>code]:text-(length:--ui-font-size-xl)/5 [&>a]:focus-visible:outline-(--ui-color-accent-main-primary) hover:[&>a>code]:text-(--ui-color-accent-main-primary-alt-2) hover:[&>a>code]:bg-(--ui-color-design-selection-bg) hover:[&>a>code]:ring-(--ui-color-design-selection-stroke)",
12
- "leading": "absolute style-tinted-no-accent-1 -ms-[18px] top-[6px] opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-[1px] bg-(--b24ui-background) ring-(length:--b24ui-border-width) ring-(--b24ui-border-color) text-(--b24ui-color) hover:text-(--ui-color-accent-main-primary-alt-2) rounded-(--ui-border-radius-2xs) hidden lg:flex transition",
13
- "leadingIcon": "size-[14px] shrink-0",
14
- "link": "group lg:ps-2 lg:-ms-2"
15
- },
16
- "variants": {
17
- "accent": {
18
- "default": "text-(--b24ui-typography-label-color)",
19
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
20
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
21
- "less": "text-(--b24ui-typography-description-color)",
22
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
23
- }
24
- },
25
- "defaultVariants": {
26
- "accent": "default" as typeof accent[number]
27
- }
28
- }
@@ -1,25 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(24px+45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(24px+22px+15px+var(--topbar-height))] text-(length:--ui-font-size-xl)"
12
- },
13
- "variants": {
14
- "accent": {
15
- "default": "text-(--b24ui-typography-label-color)",
16
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
17
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
18
- "less": "text-(--b24ui-typography-description-color)",
19
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
20
- }
21
- },
22
- "defaultVariants": {
23
- "accent": "default" as typeof accent[number]
24
- }
25
- }
@@ -1,25 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "relative mb-2 scroll-mt-[calc(24px+45px+24px+var(--topbar-height))] lg:scroll-mt-[calc(24px+22px+15px+var(--topbar-height))] text-(length:--ui-font-size-md)"
12
- },
13
- "variants": {
14
- "accent": {
15
- "default": "text-(--b24ui-typography-label-color)",
16
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
17
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
18
- "less": "text-(--b24ui-typography-description-color)",
19
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
20
- }
21
- },
22
- "defaultVariants": {
23
- "accent": "default" as typeof accent[number]
24
- }
25
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "my-4 border-t border-(--ui-color-divider-default)"
4
- }
5
- }
@@ -1,23 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "rounded-md",
4
- "overlay": "fixed inset-0 bg-[#003366]/20 motion-safe:backdrop-blur-[2px] will-change-opacity",
5
- "content": "fixed inset-0 flex items-center justify-center cursor-zoom-out focus:outline-none p-4 sm:p-8",
6
- "zoomedImage": "w-full h-auto max-w-[95vw] max-h-[95vh] object-contain rounded-md"
7
- },
8
- "variants": {
9
- "zoom": {
10
- "true": "will-change-transform"
11
- },
12
- "open": {
13
- "true": ""
14
- }
15
- },
16
- "compoundVariants": [
17
- {
18
- "zoom": true,
19
- "open": false,
20
- "class": "cursor-zoom-in"
21
- }
22
- ]
23
- }
@@ -1,41 +0,0 @@
1
- export { default as a } from './a'
2
- export { default as accordion } from './accordion'
3
- export { default as accordionItem } from './accordion-item'
4
- export { default as badge } from './badge'
5
- export { default as blockquote } from './blockquote'
6
- export { default as callout } from './callout'
7
- export { default as card } from './card'
8
- export { default as cardGroup } from './card-group'
9
- export { default as code } from './code'
10
- export { default as codeCollapse } from './code-collapse'
11
- export { default as codeGroup } from './code-group'
12
- export { default as codeIcon } from './code-icon'
13
- export { default as codePreview } from './code-preview'
14
- export { default as collapsible } from './collapsible'
15
- export { default as em } from './em'
16
- export { default as field } from './field'
17
- export { default as fieldGroup } from './field-group'
18
- export { default as h1 } from './h1'
19
- export { default as h2 } from './h2'
20
- export { default as h3 } from './h3'
21
- export { default as h4 } from './h4'
22
- export { default as h5 } from './h5'
23
- export { default as h6 } from './h6'
24
- export { default as hr } from './hr'
25
- export { default as img } from './img'
26
- export { default as kbd } from './kbd'
27
- export { default as li } from './li'
28
- export { default as ol } from './ol'
29
- export { default as p } from './p'
30
- export { default as pre } from './pre'
31
- export { default as steps } from './steps'
32
- export { default as strong } from './strong'
33
- export { default as table } from './table'
34
- export { default as tabs } from './tabs'
35
- export { default as tabsItem } from './tabs-item'
36
- export { default as tbody } from './tbody'
37
- export { default as td } from './td'
38
- export { default as th } from './th'
39
- export { default as thead } from './thead'
40
- export { default as tr } from './tr'
41
- export { default as ul } from './ul'
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "align-text-top"
3
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "my-1.5 ps-1.5 leading-relaxed [&>ul]:my-0 [&>ol]:my-0 text-(--b24ui-typography-label-color)"
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "list-decimal ps-2 mb-2 ms-3 marker:text-(--b24ui-typography-label-color) text-(--b24ui-typography-label-color)"
4
- }
5
- }
@@ -1,30 +0,0 @@
1
- const accent = [
2
- "default",
3
- "accent",
4
- "accent-more",
5
- "less",
6
- "less-more"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "base": "mb-2 last:mb-0 leading-relaxed text-pretty"
12
- },
13
- "variants": {
14
- "small": {
15
- "true": "text-(length:--ui-font-size-3xs) leading-(--ui-font-line-height-2xs)",
16
- "false": "text-(length:--ui-font-size-xl) leading-(--ui-font-line-height-lg)"
17
- },
18
- "accent": {
19
- "default": "text-(--b24ui-typography-label-color)",
20
- "accent": "text-(--ui-color-accent-brand-blue)" as typeof accent[number],
21
- "accent-more": "text-(--ui-color-accent-soft-element-blue)",
22
- "less": "text-(--b24ui-typography-description-color)",
23
- "less-more": "text-(--ui-color-design-plain-na-content-secondary)"
24
- }
25
- },
26
- "defaultVariants": {
27
- "small": false,
28
- "accent": "default" as typeof accent[number]
29
- }
30
- }
@@ -1,17 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative group my-5 w-full",
4
- "header": "flex items-center gap-1.5 border border-(--ui-color-design-tinted-na-stroke) bg-(--ui-color-design-tinted-na-bg) text-(--ui-color-design-tinted-na-content) border-b-0 relative rounded-t-md px-4 py-3",
5
- "filename": "text-(--ui-color-design-tinted-na-content) text-(length:--ui-font-size-md)/(--ui-size-xl)",
6
- "icon": "size-[16px] shrink-0 mt-px",
7
- "copy": "absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",
8
- "base": "text-green-350 group text-pretty text-(length:--ui-font-size-md)/(--ui-font-line-height-md) font-[family-name:var(--ui-font-family-system-mono)] border border-(--ui-color-design-tinted-na-stroke) bg-(--ui-color-gray-90) dark:bg-(--ui-color-gray-90)/20 rounded-(--ui-border-radius-md) px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none"
9
- },
10
- "variants": {
11
- "filename": {
12
- "true": {
13
- "root": "[&>pre]:rounded-t-none [&>pre]:my-0 my-5"
14
- }
15
- }
16
- }
17
- }
@@ -1,19 +0,0 @@
1
- const level = [
2
- "2",
3
- "3",
4
- "4"
5
- ] as const
6
-
7
- export default {
8
- "base": "ms-4 my-4 border-s border-(--ui-color-design-tinted-na-bg) ps-8 [counter-reset:step]",
9
- "variants": {
10
- "level": {
11
- "2": "[&>h2]:[counter-increment:step] [&>h2]:relative [&>h2]:before:absolute [&>h2]:before:size-7 [&>h2]:before:bg-(--ui-color-design-tinted-na-bg) [&>h2]:before:rounded-full [&>h2]:before:font-semibold [&>h2]:before:text-md [&>h2]:before:tabular-nums [&>h2]:before:inline-flex [&>h2]:before:items-center [&>h2]:before:justify-center [&>h2]:before:ring-4 [&>h2]:before:ring-(--ui-color-design-tinted-na-bg) [&>h2]:before:-ms-[48.5px] [&>h2]:before:-mt-0 [&>h2]:before:content-[counter(step)] [&>h2>a>span.absolute]:hidden",
12
- "3": "[&>h3]:[counter-increment:step] [&>h3]:relative [&>h3]:before:absolute [&>h3]:before:size-6 [&>h3]:before:inset-x-0.5 [&>h3]:before:bg-(--ui-color-design-tinted-na-bg) [&>h3]:before:rounded-full [&>h3]:before:font-semibold [&>h3]:before:text-md [&>h3]:before:tabular-nums [&>h3]:before:inline-flex [&>h3]:before:items-center [&>h3]:before:justify-center [&>h3]:before:ring-4 [&>h3]:before:ring-(--ui-color-design-tinted-na-bg) [&>h3]:before:-ms-[48.5px] [&>h3]:before:content-[counter(step)] [&>h3>a>span.absolute]:hidden",
13
- "4": "[&>h4]:[counter-increment:step] [&>h4]:relative [&>h4]:before:absolute [&>h4]:before:size-6 [&>h4]:before:inset-x-0.5 [&>h4]:before:bg-(--ui-color-design-tinted-na-bg) [&>h4]:before:rounded-full [&>h4]:before:font-semibold [&>h4]:before:text-md [&>h4]:before:tabular-nums [&>h4]:before:inline-flex [&>h4]:before:items-center [&>h4]:before:justify-center [&>h4]:before:ring-4 [&>h4]:before:ring-(--ui-color-design-tinted-na-bg) [&>h4]:before:-ms-[48.5px] [&>h4]:before:content-[counter(step)] [&>h4>a>span.absolute]:hidden"
14
- }
15
- },
16
- "defaultVariants": {
17
- "level": "3" as typeof level[number]
18
- }
19
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-4 overflow-x-auto",
4
- "base": ""
5
- }
6
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "*:first:mt-0 *:last:mb-0 *:my-1.5"
3
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-5 gap-4"
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "[&_code]:text-(length:--ui-font-size-xs)/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5"
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "bg-(--ui-color-design-tinted-na-bg) text-(--ui-color-design-tinted-na-content)"
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "list-disc ps-2 mb-2 ms-3 marker:text-(--b24ui-typography-label-color) text-(--b24ui-typography-label-color)"
4
- }
5
- }