@bitrix24/b24ui-nuxt 2.0.7 → 2.0.8

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 (142) hide show
  1. package/dist/meta.d.mts +1 -1
  2. package/dist/meta.mjs +1 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
  6. package/dist/runtime/components/RadioGroup.vue +1 -1
  7. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
  8. package/dist/shared/{b24ui-nuxt.CPlfZAfR.mjs → b24ui-nuxt.CEMVb5Ee.mjs} +5 -3
  9. package/dist/unplugin.mjs +29 -1
  10. package/dist/vite.mjs +3 -1
  11. package/package.json +1 -8
  12. package/.nuxt/b24ui/accordion.ts +0 -20
  13. package/.nuxt/b24ui/advice.ts +0 -36
  14. package/.nuxt/b24ui/alert.ts +0 -176
  15. package/.nuxt/b24ui/avatar-group.ts +0 -52
  16. package/.nuxt/b24ui/avatar.ts +0 -63
  17. package/.nuxt/b24ui/badge.ts +0 -333
  18. package/.nuxt/b24ui/banner.ts +0 -78
  19. package/.nuxt/b24ui/breadcrumb.ts +0 -42
  20. package/.nuxt/b24ui/button.ts +0 -350
  21. package/.nuxt/b24ui/calendar.ts +0 -112
  22. package/.nuxt/b24ui/card.ts +0 -180
  23. package/.nuxt/b24ui/chat-message.ts +0 -123
  24. package/.nuxt/b24ui/chat-messages.ts +0 -14
  25. package/.nuxt/b24ui/chat-palette.ts +0 -8
  26. package/.nuxt/b24ui/chat-prompt-submit.ts +0 -5
  27. package/.nuxt/b24ui/chat-prompt.ts +0 -35
  28. package/.nuxt/b24ui/checkbox-group.ts +0 -255
  29. package/.nuxt/b24ui/checkbox.ts +0 -195
  30. package/.nuxt/b24ui/chip.ts +0 -238
  31. package/.nuxt/b24ui/collapsible.ts +0 -6
  32. package/.nuxt/b24ui/color-picker.ts +0 -42
  33. package/.nuxt/b24ui/command-palette.ts +0 -56
  34. package/.nuxt/b24ui/container.ts +0 -3
  35. package/.nuxt/b24ui/content/content-search-button.ts +0 -6
  36. package/.nuxt/b24ui/content/content-search.ts +0 -13
  37. package/.nuxt/b24ui/content/content-surround.ts +0 -21
  38. package/.nuxt/b24ui/content/content-toc.ts +0 -41
  39. package/.nuxt/b24ui/context-menu.ts +0 -91
  40. package/.nuxt/b24ui/countdown.ts +0 -89
  41. package/.nuxt/b24ui/dashboard-group.ts +0 -3
  42. package/.nuxt/b24ui/dashboard-search-button.ts +0 -6
  43. package/.nuxt/b24ui/dashboard-search.ts +0 -13
  44. package/.nuxt/b24ui/description-list.ts +0 -67
  45. package/.nuxt/b24ui/dropdown-menu.ts +0 -166
  46. package/.nuxt/b24ui/empty.ts +0 -145
  47. package/.nuxt/b24ui/error.ts +0 -9
  48. package/.nuxt/b24ui/field-group.ts +0 -17
  49. package/.nuxt/b24ui/file-upload.ts +0 -241
  50. package/.nuxt/b24ui/form-field.ts +0 -58
  51. package/.nuxt/b24ui/form.ts +0 -3
  52. package/.nuxt/b24ui/index.ts +0 -88
  53. package/.nuxt/b24ui/input-menu.ts +0 -631
  54. package/.nuxt/b24ui/input-number.ts +0 -426
  55. package/.nuxt/b24ui/input-tags.ts +0 -412
  56. package/.nuxt/b24ui/input.ts +0 -386
  57. package/.nuxt/b24ui/kbd.ts +0 -33
  58. package/.nuxt/b24ui/link.ts +0 -22
  59. package/.nuxt/b24ui/modal.ts +0 -57
  60. package/.nuxt/b24ui/navbar-divider.ts +0 -5
  61. package/.nuxt/b24ui/navbar-section.ts +0 -5
  62. package/.nuxt/b24ui/navbar-spacer.ts +0 -5
  63. package/.nuxt/b24ui/navbar.ts +0 -5
  64. package/.nuxt/b24ui/navigation-menu.ts +0 -155
  65. package/.nuxt/b24ui/page-card.ts +0 -489
  66. package/.nuxt/b24ui/page-columns.ts +0 -3
  67. package/.nuxt/b24ui/page-grid.ts +0 -3
  68. package/.nuxt/b24ui/page-links.ts +0 -26
  69. package/.nuxt/b24ui/page-list.ts +0 -8
  70. package/.nuxt/b24ui/pagination.ts +0 -13
  71. package/.nuxt/b24ui/pin-input.ts +0 -152
  72. package/.nuxt/b24ui/popover.ts +0 -6
  73. package/.nuxt/b24ui/progress.ts +0 -289
  74. package/.nuxt/b24ui/prose/a.ts +0 -5
  75. package/.nuxt/b24ui/prose/accordion-item.ts +0 -3
  76. package/.nuxt/b24ui/prose/accordion.ts +0 -6
  77. package/.nuxt/b24ui/prose/badge.ts +0 -3
  78. package/.nuxt/b24ui/prose/blockquote.ts +0 -5
  79. package/.nuxt/b24ui/prose/callout.ts +0 -83
  80. package/.nuxt/b24ui/prose/card-group.ts +0 -3
  81. package/.nuxt/b24ui/prose/card.ts +0 -86
  82. package/.nuxt/b24ui/prose/code-collapse.ts +0 -19
  83. package/.nuxt/b24ui/prose/code-group.ts +0 -10
  84. package/.nuxt/b24ui/prose/code-icon.ts +0 -66
  85. package/.nuxt/b24ui/prose/code-preview.ts +0 -14
  86. package/.nuxt/b24ui/prose/code.ts +0 -75
  87. package/.nuxt/b24ui/prose/collapsible.ts +0 -9
  88. package/.nuxt/b24ui/prose/em.ts +0 -5
  89. package/.nuxt/b24ui/prose/field-group.ts +0 -3
  90. package/.nuxt/b24ui/prose/field.ts +0 -11
  91. package/.nuxt/b24ui/prose/h1.ts +0 -26
  92. package/.nuxt/b24ui/prose/h2.ts +0 -28
  93. package/.nuxt/b24ui/prose/h3.ts +0 -28
  94. package/.nuxt/b24ui/prose/h4.ts +0 -28
  95. package/.nuxt/b24ui/prose/h5.ts +0 -25
  96. package/.nuxt/b24ui/prose/h6.ts +0 -25
  97. package/.nuxt/b24ui/prose/hr.ts +0 -5
  98. package/.nuxt/b24ui/prose/img.ts +0 -23
  99. package/.nuxt/b24ui/prose/index.ts +0 -41
  100. package/.nuxt/b24ui/prose/kbd.ts +0 -3
  101. package/.nuxt/b24ui/prose/li.ts +0 -5
  102. package/.nuxt/b24ui/prose/ol.ts +0 -5
  103. package/.nuxt/b24ui/prose/p.ts +0 -30
  104. package/.nuxt/b24ui/prose/pre.ts +0 -17
  105. package/.nuxt/b24ui/prose/steps.ts +0 -19
  106. package/.nuxt/b24ui/prose/strong.ts +0 -5
  107. package/.nuxt/b24ui/prose/table.ts +0 -6
  108. package/.nuxt/b24ui/prose/tabs-item.ts +0 -3
  109. package/.nuxt/b24ui/prose/tabs.ts +0 -5
  110. package/.nuxt/b24ui/prose/tbody.ts +0 -5
  111. package/.nuxt/b24ui/prose/td.ts +0 -5
  112. package/.nuxt/b24ui/prose/th.ts +0 -5
  113. package/.nuxt/b24ui/prose/thead.ts +0 -5
  114. package/.nuxt/b24ui/prose/tr.ts +0 -5
  115. package/.nuxt/b24ui/prose/ul.ts +0 -5
  116. package/.nuxt/b24ui/radio-group.ts +0 -303
  117. package/.nuxt/b24ui/range.ts +0 -184
  118. package/.nuxt/b24ui/select-menu.ts +0 -554
  119. package/.nuxt/b24ui/select.ts +0 -533
  120. package/.nuxt/b24ui/separator.ts +0 -131
  121. package/.nuxt/b24ui/sidebar-body.ts +0 -15
  122. package/.nuxt/b24ui/sidebar-footer.ts +0 -5
  123. package/.nuxt/b24ui/sidebar-header.ts +0 -5
  124. package/.nuxt/b24ui/sidebar-heading.ts +0 -5
  125. package/.nuxt/b24ui/sidebar-layout.ts +0 -160
  126. package/.nuxt/b24ui/sidebar-section.ts +0 -5
  127. package/.nuxt/b24ui/sidebar-spacer.ts +0 -5
  128. package/.nuxt/b24ui/sidebar.ts +0 -5
  129. package/.nuxt/b24ui/skeleton.ts +0 -21
  130. package/.nuxt/b24ui/slideover.ts +0 -130
  131. package/.nuxt/b24ui/stepper.ts +0 -187
  132. package/.nuxt/b24ui/switch.ts +0 -139
  133. package/.nuxt/b24ui/table-wrapper.ts +0 -46
  134. package/.nuxt/b24ui/table.ts +0 -131
  135. package/.nuxt/b24ui/tabs.ts +0 -119
  136. package/.nuxt/b24ui/textarea.ts +0 -186
  137. package/.nuxt/b24ui/timeline.ts +0 -211
  138. package/.nuxt/b24ui/toast.ts +0 -95
  139. package/.nuxt/b24ui/toaster.ts +0 -91
  140. package/.nuxt/b24ui/tooltip.ts +0 -10
  141. package/.nuxt/b24ui/user.ts +0 -95
  142. package/.nuxt/b24ui.css +0 -5
@@ -1,67 +0,0 @@
1
- const size = [
2
- "sm",
3
- "md"
4
- ] as const
5
-
6
- export default {
7
- "slots": {
8
- "root": "w-full shrink-0",
9
- "legend": "font-(--ui-font-weight-semi-bold) text-(--b24ui-typography-label-color)",
10
- "text": "text-(--b24ui-typography-description-color)",
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-(--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
- "avatar": "shrink-0",
15
- "avatarSize": "",
16
- "label": "",
17
- "descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none sm:border-(--ui-color-divider-vibrant-default) text-(--b24ui-typography-label-color)",
18
- "description": "",
19
- "actions": "flex flex-wrap gap-1.5 shrink-0",
20
- "footer": "border-t border-(--ui-color-divider-vibrant-default)"
21
- },
22
- "variants": {
23
- "size": {
24
- "sm": {
25
- "legend": "text-md",
26
- "text": "mt-1 max-w-2/3 text-(length:--ui-font-size-sm)",
27
- "container": "mt-2.5 text-md",
28
- "labelWrapper": "pt-3 sm:py-3",
29
- "avatarSize": "xs",
30
- "label": "",
31
- "descriptionWrapper": "pb-3 pt-1 sm:py-3",
32
- "description": "",
33
- "footer": "mt-2 p-2"
34
- },
35
- "md": {
36
- "legend": "text-xl",
37
- "text": "mt-2 max-w-2/3 text-(length:--ui-font-size-lg) leading-5",
38
- "container": "mt-3 text-(length:--ui-font-size-lg)",
39
- "labelWrapper": "pt-3 sm:py-3",
40
- "avatarSize": "xs",
41
- "label": "",
42
- "descriptionWrapper": "pb-3 pt-1 sm:py-3",
43
- "description": "",
44
- "footer": "mt-4 p-4"
45
- }
46
- },
47
- "orientation": {
48
- "horizontal": {
49
- "descriptionWrapper": "w-full flex flex-row items-center justify-between gap-4",
50
- "actions": "items-center"
51
- },
52
- "vertical": {
53
- "descriptionWrapper": "",
54
- "actions": "items-start mt-2.5"
55
- }
56
- },
57
- "title": {
58
- "true": {
59
- "description": "mt-1"
60
- }
61
- }
62
- },
63
- "compoundVariants": [],
64
- "defaultVariants": {
65
- "size": "md" as typeof size[number]
66
- }
67
- }
@@ -1,166 +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
- "default",
8
- "danger",
9
- "success",
10
- "warning",
11
- "primary",
12
- "secondary",
13
- "collab",
14
- "ai"
15
- ] as const
16
-
17
- export default {
18
- "slots": {
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-full max-h-[40vh] min-w-[120px] overflow-x-hidden overflow-y-auto scrollbar-thin",
21
- "arrow": "fill-(--popup-window-background-color)",
22
- "group": "grid",
23
- "label": "w-full 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 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] me-[8px]",
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-accent-main-primary)",
31
- "itemTrailingKbds": "shrink-0 hidden lg:inline-flex items-center gap-0.5",
32
- "itemTrailingKbdsSize": "md",
33
- "itemWrapper": "flex-1 flex flex-col text-start min-w-0",
34
- "itemLabel": "max-w-[240px] truncate -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
35
- "itemDescription": "max-w-[240px] truncate -mt-[6px] text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
36
- "itemLabelExternalIcon": "inline-block size-[16px] text-(--ui-color-design-plain-content-icon-secondary)"
37
- },
38
- "variants": {
39
- "color": {
40
- "air-primary": {
41
- "item": "style-filled"
42
- },
43
- "air-primary-success": {
44
- "item": "style-filled-success"
45
- },
46
- "air-primary-alert": {
47
- "item": "style-filled-alert"
48
- },
49
- "air-primary-copilot": {
50
- "item": "style-filled-copilot"
51
- },
52
- "air-primary-warning": {
53
- "item": "style-filled-warning"
54
- },
55
- "default": {
56
- "item": "style-old-default"
57
- },
58
- "danger": {
59
- "item": "style-old-danger"
60
- },
61
- "success": {
62
- "item": "style-old-success"
63
- },
64
- "warning": {
65
- "item": "style-old-warning"
66
- },
67
- "primary": {
68
- "item": "style-old-primary"
69
- },
70
- "secondary": {
71
- "item": "style-old-secondary"
72
- },
73
- "collab": {
74
- "item": "style-old-collab"
75
- },
76
- "ai": {
77
- "item": "style-old-ai"
78
- }
79
- },
80
- "active": {
81
- "true": {
82
- "item": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary)",
83
- "itemLeadingIcon": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary)"
84
- },
85
- "false": {}
86
- },
87
- "loading": {
88
- "true": {
89
- "itemLeadingIcon": "animate-spin"
90
- }
91
- }
92
- },
93
- "compoundVariants": [
94
- {
95
- "color": [
96
- "air-primary" as typeof color[number],
97
- "air-primary-success" as typeof color[number],
98
- "air-primary-alert" as typeof color[number],
99
- "air-primary-copilot" as typeof color[number],
100
- "air-primary-warning" as typeof color[number]
101
- ],
102
- "active": false,
103
- "class": {
104
- "item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
105
- "itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
106
- }
107
- },
108
- {
109
- "color": [
110
- "air-primary" as typeof color[number],
111
- "air-primary-success" as typeof color[number],
112
- "air-primary-alert" as typeof color[number],
113
- "air-primary-copilot" as typeof color[number],
114
- "air-primary-warning" as typeof color[number]
115
- ],
116
- "active": true,
117
- "class": {
118
- "item": "text-(--b24ui-background-active)",
119
- "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
120
- }
121
- },
122
- {
123
- "color": "default" as typeof color[number],
124
- "active": false,
125
- "class": ""
126
- },
127
- {
128
- "color": "default" as typeof color[number],
129
- "active": true,
130
- "class": ""
131
- },
132
- {
133
- "color": [
134
- "danger" as typeof color[number],
135
- "success" as typeof color[number],
136
- "warning" as typeof color[number],
137
- "primary" as typeof color[number],
138
- "secondary" as typeof color[number],
139
- "collab" as typeof color[number],
140
- "ai" as typeof color[number]
141
- ],
142
- "active": false,
143
- "class": {
144
- "item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
145
- "itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
146
- }
147
- },
148
- {
149
- "color": [
150
- "danger" as typeof color[number],
151
- "success" as typeof color[number],
152
- "warning" as typeof color[number],
153
- "primary" as typeof color[number],
154
- "secondary" as typeof color[number],
155
- "collab" as typeof color[number],
156
- "ai" as typeof color[number]
157
- ],
158
- "active": true,
159
- "class": {
160
- "item": "text-(--b24ui-background-active)",
161
- "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
162
- }
163
- }
164
- ],
165
- "defaultVariants": {}
166
- }
@@ -1,145 +0,0 @@
1
- const size = [
2
- "xs",
3
- "sm",
4
- "md",
5
- "lg",
6
- "xl"
7
- ] as const
8
-
9
- const color = [
10
- "air-primary",
11
- "air-primary-success",
12
- "air-primary-alert",
13
- "air-primary-copilot",
14
- "air-primary-warning",
15
- "air-secondary",
16
- "air-secondary-alert",
17
- "air-secondary-accent",
18
- "air-secondary-accent-1",
19
- "air-secondary-accent-2",
20
- "air-tertiary"
21
- ] as const
22
-
23
- export default {
24
- "slots": {
25
- "root": "relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0 bg-(--b24ui-background) ring ring-(--b24ui-border-color) ring-(length:--b24ui-border-width)",
26
- "header": "flex flex-col items-center gap-2 max-w-[384px] text-center",
27
- "indicator": "rounded-full text-(--b24ui-color) bg-(--b24ui-background-active) flex items-center justify-center mb-2",
28
- "icon": "shrink-0",
29
- "title": "text-(--b24ui-color) text-pretty font-(--ui-font-weight-medium)",
30
- "description": "text-balance text-center text-(--b24ui-color)",
31
- "body": "flex flex-col items-center gap-4 max-w-[384px]",
32
- "actions": "flex flex-wrap justify-center gap-2 shrink-0",
33
- "footer": "flex flex-col items-center gap-2 max-w-[384px]"
34
- },
35
- "variants": {
36
- "size": {
37
- "xs": {
38
- "icon": "size-[26px]",
39
- "title": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)",
40
- "description": "text-(length:--ui-font-size-xs)"
41
- },
42
- "sm": {
43
- "icon": "size-[28px]",
44
- "title": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)",
45
- "description": "text-(length:--ui-font-size-xs)"
46
- },
47
- "md": {
48
- "icon": "size-[38px]",
49
- "title": "text-base",
50
- "description": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)"
51
- },
52
- "lg": {
53
- "icon": "size-[44px]",
54
- "title": "text-base",
55
- "description": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)"
56
- },
57
- "xl": {
58
- "icon": "size-[56px]",
59
- "title": "text-(length:--ui-font-size-xl)/(--ui-font-line-height-3xs)",
60
- "description": "text-(length:--ui-font-size-lg)/(--ui-font-line-height-3xs)"
61
- }
62
- },
63
- "color": {
64
- "air-primary": {
65
- "root": "style-filled"
66
- },
67
- "air-primary-success": {
68
- "root": "style-filled-success"
69
- },
70
- "air-primary-alert": {
71
- "root": "style-filled-alert"
72
- },
73
- "air-primary-copilot": {
74
- "root": "style-filled-copilot"
75
- },
76
- "air-primary-warning": {
77
- "root": "style-filled-warning"
78
- },
79
- "air-secondary": {
80
- "root": "style-tinted"
81
- },
82
- "air-secondary-alert": {
83
- "root": "style-tinted-alert"
84
- },
85
- "air-secondary-accent": {
86
- "root": "style-outline"
87
- },
88
- "air-secondary-accent-1": {
89
- "root": "style-outline-accent-1"
90
- },
91
- "air-secondary-accent-2": {
92
- "root": "style-outline-accent-2"
93
- },
94
- "air-tertiary": {
95
- "root": "style-outline-no-accent"
96
- }
97
- },
98
- "inverted": {
99
- "true": "",
100
- "false": ""
101
- }
102
- },
103
- "compoundVariants": [
104
- {
105
- "inverted": true,
106
- "color": "air-primary" as typeof color[number],
107
- "class": {
108
- "root": "style-filled-inverted"
109
- }
110
- },
111
- {
112
- "inverted": true,
113
- "color": "air-primary-success" as typeof color[number],
114
- "class": {
115
- "root": "style-filled-success-inverted"
116
- }
117
- },
118
- {
119
- "inverted": true,
120
- "color": "air-primary-alert" as typeof color[number],
121
- "class": {
122
- "root": "style-filled-alert-inverted"
123
- }
124
- },
125
- {
126
- "inverted": true,
127
- "color": "air-primary-copilot" as typeof color[number],
128
- "class": {
129
- "root": "style-filled-copilot-inverted"
130
- }
131
- },
132
- {
133
- "inverted": true,
134
- "color": "air-primary-warning" as typeof color[number],
135
- "class": {
136
- "root": "style-filled-warning-inverted"
137
- }
138
- }
139
- ],
140
- "defaultVariants": {
141
- "color": "air-secondary-accent" as typeof color[number],
142
- "size": "md" as typeof size[number],
143
- "inverted": false
144
- }
145
- }
@@ -1,9 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "min-h-[calc(100vh-var(--topbar-height))] flex flex-col items-center justify-center text-center",
4
- "statusCode": "text-(length:--ui-font-size-sm) font-(--ui-font-weight-semi-bold) text-(--b24ui-typography-legend-color)",
5
- "statusMessage": "mt-2 text-(length:--ui-font-size-4xl)/(--ui-font-line-height-md) sm:text-(length:--ui-font-size-5xl)/(--ui-font-line-height-md) font-(--ui-font-weight-bold) text-(--b24ui-typography-label-color) text-balance",
6
- "message": "mt-4 text-(length:--ui-font-size-2xl)/(--ui-font-line-height-md) text-(--b24ui-typography-description-color) text-balance",
7
- "links": "mt-8 flex items-center justify-center gap-6"
8
- }
9
- }
@@ -1,17 +0,0 @@
1
- export default {
2
- "base": "relative",
3
- "variants": {
4
- "size": {
5
- "xss": "",
6
- "xs": "",
7
- "sm": "",
8
- "md": "",
9
- "lg": "",
10
- "xl": ""
11
- },
12
- "orientation": {
13
- "horizontal": "flex flex-row -space-x-px",
14
- "vertical": "flex flex-col -space-y-px"
15
- }
16
- }
17
- }
@@ -1,241 +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-secondary-alert",
9
- "air-secondary-accent",
10
- "air-secondary-accent-1",
11
- "air-secondary-accent-2",
12
- "air-tertiary"
13
- ] as const
14
-
15
- const variant = [
16
- "area",
17
- "button"
18
- ] as const
19
-
20
- const size = [
21
- "xs",
22
- "sm",
23
- "md",
24
- "lg"
25
- ] as const
26
-
27
- const layout = [
28
- "list",
29
- "grid"
30
- ] as const
31
-
32
- export default {
33
- "slots": {
34
- "root": "light relative flex flex-col",
35
- "base": "w-full flex-1 bg-(--b24ui-background)/90 border-(--b24ui-border-color) border-(length:--b24ui-border-width) flex flex-col gap-2 items-stretch justify-center rounded-(--ui-border-radius-md) focus-visible:outline-2 transition-[background]",
36
- "wrapper": "flex flex-col items-center justify-center text-center",
37
- "icon": "shrink-0",
38
- "avatar": "shrink-0",
39
- "label": "mt-2 text-(--b24ui-color) font-(--ui-font-weight-medium)",
40
- "description": "mt-1 text-(--b24ui-typography-description-color)",
41
- "actions": "mt-4 flex flex-wrap gap-1.5 shrink-0",
42
- "files": "",
43
- "file": "relative",
44
- "fileLeadingAvatar": "shrink-0",
45
- "fileWrapper": "flex flex-col min-w-0",
46
- "fileName": "text-(--b24ui-color) truncate",
47
- "fileSize": "text-(--b24ui-typography-description-color) truncate",
48
- "fileTrailingButton": ""
49
- },
50
- "variants": {
51
- "color": {
52
- "air-primary": {
53
- "root": "style-filled-inverted"
54
- },
55
- "air-primary-success": {
56
- "root": "style-filled-success-inverted"
57
- },
58
- "air-primary-alert": {
59
- "root": "style-filled-alert-inverted"
60
- },
61
- "air-primary-copilot": {
62
- "root": "style-filled-copilot-inverted"
63
- },
64
- "air-primary-warning": {
65
- "root": "style-filled-warning-inverted"
66
- },
67
- "air-secondary": {
68
- "root": "style-tinted"
69
- },
70
- "air-secondary-alert": {
71
- "root": "style-tinted-alert"
72
- },
73
- "air-secondary-accent": {
74
- "root": "style-outline"
75
- },
76
- "air-secondary-accent-1": {
77
- "root": "style-outline-accent-1"
78
- },
79
- "air-secondary-accent-2": {
80
- "root": "style-outline-accent-2"
81
- },
82
- "air-tertiary": {
83
- "root": "style-outline-no-accent"
84
- }
85
- },
86
- "variant": {
87
- "area": {
88
- "wrapper": "px-4 py-3",
89
- "base": "p-4"
90
- },
91
- "button": {}
92
- },
93
- "size": {
94
- "xs": {
95
- "base": "text-(length:--ui-font-size-xs)",
96
- "icon": "size-4",
97
- "file": "text-(length:--ui-font-size-xs) px-2 py-1 gap-1",
98
- "fileWrapper": "flex-row gap-1"
99
- },
100
- "sm": {
101
- "base": "text-(length:--ui-font-size-xs)",
102
- "icon": "size-4",
103
- "file": "text-(length:--ui-font-size-xs) px-2.5 py-1.5 gap-1.5",
104
- "fileWrapper": "flex-row gap-1"
105
- },
106
- "md": {
107
- "base": "text-(length:--ui-font-size-sm)",
108
- "icon": "size-5",
109
- "file": "text-(length:--ui-font-size-xs) px-2.5 py-1.5 gap-1.5"
110
- },
111
- "lg": {
112
- "base": "ext-(length:--ui-font-size-sm)",
113
- "icon": "size-5",
114
- "file": "ext-(length:--ui-font-size-sm) px-3 py-2 gap-2",
115
- "fileSize": "ext-(length:--ui-font-size-xs)"
116
- }
117
- },
118
- "layout": {
119
- "list": {
120
- "root": "gap-2 items-start",
121
- "files": "flex flex-col w-full gap-2",
122
- "file": "min-w-0 w-full rounded-(--ui-border-radius-md) flex items-center border border-(--b24ui-border-color)",
123
- "fileTrailingButton": "ms-auto"
124
- },
125
- "grid": {
126
- "fileWrapper": "hidden",
127
- "fileLeadingAvatar": "size-full rounded-lg",
128
- "fileTrailingButton": "absolute -top-1.5 -end-1.5 rounded-(--ui-border-radius-pill) border"
129
- }
130
- },
131
- "position": {
132
- "inside": "",
133
- "outside": ""
134
- },
135
- "dropzone": {
136
- "true": "border-dashed data-[dragging=true]:bg-(--ui-color-accent-soft-grey-1)/90"
137
- },
138
- "interactive": {
139
- "true": ""
140
- },
141
- "highlight": {
142
- "true": ""
143
- },
144
- "multiple": {
145
- "true": ""
146
- },
147
- "disabled": {
148
- "true": "cursor-not-allowed opacity-75"
149
- }
150
- },
151
- "compoundVariants": [
152
- {
153
- "class": "focus-visible:outline-inverted"
154
- },
155
- {
156
- "highlight": true,
157
- "class": "border-inverted"
158
- },
159
- {
160
- "size": "xs" as typeof size[number],
161
- "layout": "list" as typeof layout[number],
162
- "class": {
163
- "fileTrailingButton": "-me-1"
164
- }
165
- },
166
- {
167
- "size": "sm" as typeof size[number],
168
- "layout": "list" as typeof layout[number],
169
- "class": {
170
- "fileTrailingButton": "-me-1.5"
171
- }
172
- },
173
- {
174
- "size": "md" as typeof size[number],
175
- "layout": "list" as typeof layout[number],
176
- "class": {
177
- "fileTrailingButton": "-me-1.5"
178
- }
179
- },
180
- {
181
- "size": "lg" as typeof size[number],
182
- "layout": "list" as typeof layout[number],
183
- "class": {
184
- "fileTrailingButton": "-me-2"
185
- }
186
- },
187
- {
188
- "variant": "button" as typeof variant[number],
189
- "size": "xs" as typeof size[number],
190
- "class": {
191
- "base": "p-1"
192
- }
193
- },
194
- {
195
- "variant": "button" as typeof variant[number],
196
- "size": "sm" as typeof size[number],
197
- "class": {
198
- "base": "p-1.5"
199
- }
200
- },
201
- {
202
- "variant": "button" as typeof variant[number],
203
- "size": "md" as typeof size[number],
204
- "class": {
205
- "base": "p-1.5"
206
- }
207
- },
208
- {
209
- "variant": "button" as typeof variant[number],
210
- "size": "lg" as typeof size[number],
211
- "class": {
212
- "base": "p-2"
213
- }
214
- },
215
- {
216
- "layout": "grid" as typeof layout[number],
217
- "multiple": true,
218
- "class": {
219
- "files": "grid grid-cols-2 md:grid-cols-3 gap-4 w-full",
220
- "file": "p-0 aspect-square"
221
- }
222
- },
223
- {
224
- "layout": "grid" as typeof layout[number],
225
- "multiple": false,
226
- "class": {
227
- "file": "absolute inset-0 p-0"
228
- }
229
- },
230
- {
231
- "interactive": true,
232
- "disabled": false,
233
- "class": "hover:bg-elevated/25"
234
- }
235
- ],
236
- "defaultVariants": {
237
- "color": "air-tertiary" as typeof color[number],
238
- "variant": "area" as typeof variant[number],
239
- "size": "md" as typeof size[number]
240
- }
241
- }