@thebase/ui 1.1.3 → 1.1.5

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 (95) hide show
  1. package/CHANGELOG.md +37 -18
  2. package/README.md +26 -22
  3. package/bin/create-baseui-app.mjs +7 -7
  4. package/dist/baseui.apidoc.esm.js +949 -0
  5. package/dist/baseui.apidoc.min.js +950 -0
  6. package/dist/baseui.esm.js +31 -31
  7. package/dist/baseui.min.css +1 -1
  8. package/dist/baseui.min.js +31 -31
  9. package/dist/baseui.registry.json +5 -5
  10. package/dist/baseui.templates.xml +60 -31
  11. package/dist/types/apidoc.d.ts +27 -0
  12. package/docs/analytics.md +5 -5
  13. package/docs/blocks.md +5 -5
  14. package/docs/components/accordion.md +3 -3
  15. package/docs/components/alert-dialog.md +2 -2
  16. package/docs/components/alert.md +2 -2
  17. package/docs/components/apidoc.md +17 -4
  18. package/docs/components/aspect-ratio.md +2 -2
  19. package/docs/components/attachment.md +3 -3
  20. package/docs/components/avatar.md +5 -5
  21. package/docs/components/badge.md +2 -2
  22. package/docs/components/block-viewer.md +4 -4
  23. package/docs/components/breadcrumb.md +3 -3
  24. package/docs/components/bubble.md +2 -2
  25. package/docs/components/button-group.md +2 -2
  26. package/docs/components/button.md +2 -2
  27. package/docs/components/calendar.md +5 -5
  28. package/docs/components/card.md +2 -2
  29. package/docs/components/carousel.md +5 -5
  30. package/docs/components/chart.md +5 -5
  31. package/docs/components/checkbox.md +2 -2
  32. package/docs/components/clipboard-button.md +2 -2
  33. package/docs/components/collapsible.md +2 -2
  34. package/docs/components/combobox.md +7 -6
  35. package/docs/components/command.md +5 -5
  36. package/docs/components/context-menu.md +5 -5
  37. package/docs/components/data-table.md +6 -6
  38. package/docs/components/date-picker.md +9 -8
  39. package/docs/components/dialog.md +4 -4
  40. package/docs/components/direction.md +2 -2
  41. package/docs/components/drawer.md +3 -3
  42. package/docs/components/dropdown-menu.md +3 -3
  43. package/docs/components/empty.md +3 -3
  44. package/docs/components/field.md +23 -17
  45. package/docs/components/form.md +3 -3
  46. package/docs/components/hover-card.md +5 -8
  47. package/docs/components/icon.md +3 -3
  48. package/docs/components/input-group.md +8 -7
  49. package/docs/components/input-otp.md +5 -5
  50. package/docs/components/input.md +6 -5
  51. package/docs/components/item.md +2 -2
  52. package/docs/components/kbd.md +2 -2
  53. package/docs/components/label.md +2 -2
  54. package/docs/components/markdown.md +3 -3
  55. package/docs/components/marker.md +2 -2
  56. package/docs/components/menubar.md +2 -2
  57. package/docs/components/message-scroller.md +5 -5
  58. package/docs/components/message.md +5 -5
  59. package/docs/components/native-select.md +4 -4
  60. package/docs/components/navigation-menu.md +3 -3
  61. package/docs/components/pagination.md +3 -3
  62. package/docs/components/popover.md +7 -7
  63. package/docs/components/progress.md +2 -2
  64. package/docs/components/pwa.md +2 -2
  65. package/docs/components/questionnaire.md +5 -5
  66. package/docs/components/radio-group.md +2 -2
  67. package/docs/components/resizable.md +5 -5
  68. package/docs/components/scroll-area.md +5 -5
  69. package/docs/components/select.md +6 -5
  70. package/docs/components/separator.md +2 -2
  71. package/docs/components/sheet.md +3 -3
  72. package/docs/components/shell.md +2 -2
  73. package/docs/components/sidebar.md +2 -2
  74. package/docs/components/skeleton.md +2 -2
  75. package/docs/components/slider.md +2 -2
  76. package/docs/components/spinner.md +3 -3
  77. package/docs/components/switch.md +2 -2
  78. package/docs/components/table.md +2 -2
  79. package/docs/components/tabs.md +4 -4
  80. package/docs/components/text-editor.md +2 -2
  81. package/docs/components/textarea.md +11 -15
  82. package/docs/components/theme-button.md +4 -4
  83. package/docs/components/toast.md +3 -3
  84. package/docs/components/toggle-group.md +5 -5
  85. package/docs/components/toggle.md +5 -5
  86. package/docs/components/tooltip.md +7 -7
  87. package/docs/components/typography.md +3 -3
  88. package/docs/icons.md +7 -7
  89. package/docs/installation.md +14 -13
  90. package/docs/owl-components.md +17 -17
  91. package/docs/registry.md +8 -8
  92. package/docs/runtime-api.md +3 -3
  93. package/docs/theming.md +5 -5
  94. package/docs/usage-guide.md +26 -26
  95. package/package.json +9 -2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `b-ui="pwa"` for a bottom-anchored install/permission prompt (an "Add to Home Screen" or "Allow notifications" sheet). Pwa is presentational only — it owns open/close state and focus/Escape handling, not the actual install or notification API calls. Wire your app's `beforeinstallprompt`/`Notification.requestPermission()` logic to the footer buttons you compose inside it.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import {
@@ -59,7 +59,7 @@ A launcher rendered outside the `Pwa` tree opens it through `PwaTrigger`, or by
59
59
 
60
60
  Render a second `Pwa` instance for a follow-up prompt (e.g. "Allow notifications" after install is dismissed) — each `Pwa` owns its own open state independently.
61
61
 
62
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
62
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
63
63
 
64
64
  ## Static component
65
65
 
@@ -4,9 +4,9 @@ Use `b-ui="questionnaire"` for a CDN-ready questionnaire component.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load the pinned BaseUI CSS and JavaScript files; no extra dependency is required for this component.
7
+ Load the pinned the Base UI CSS and JavaScript files; no extra dependency is required for this component.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { Questionnaire, QuestionnaireNext, QuestionnairePrevious, QuestionnaireStep } from "@thebase/ui";
@@ -83,7 +83,7 @@ import { Questionnaire, QuestionnaireNext, QuestionnairePrevious, QuestionnaireS
83
83
  | `QuestionnaireStep` | `index` | `Number` | required |
84
84
  | `QuestionnaireStep` | `className` | `String` | optional |
85
85
 
86
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
86
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
87
87
 
88
88
  ## Static component
89
89
 
@@ -109,7 +109,7 @@ Interactive components emit documented `baseui:*` events from their root element
109
109
 
110
110
  ## CSS variables
111
111
 
112
- The component inherits BaseUI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
112
+ The component inherits the Base UI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
113
113
 
114
114
  ## Accessibility behavior
115
115
 
@@ -121,7 +121,7 @@ See `examples/index.html` for a working CDN-style page.
121
121
 
122
122
  ## Browser support
123
123
 
124
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
124
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
125
125
 
126
126
  ## Test checklist
127
127
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Native radio input or label wrapper.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { RadioGroup, RadioGroupItem } from "@thebase/ui";
@@ -28,7 +28,7 @@ import { RadioGroup, RadioGroupItem } from "@thebase/ui";
28
28
  | `RadioGroupItem` | `disabled` | `Boolean` | optional |
29
29
  | `RadioGroupItem` | `className` | `String` | optional |
30
30
 
31
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
31
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
32
32
 
33
33
  ## Static component
34
34
 
@@ -4,9 +4,9 @@ Use `b-ui="resizable"` for a CDN-ready resizable component.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load the pinned BaseUI CSS and JavaScript files; no extra dependency is required for this component.
7
+ Load the pinned the Base UI CSS and JavaScript files; no extra dependency is required for this component.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { Resizable } from "@thebase/ui";
@@ -39,7 +39,7 @@ import { Resizable } from "@thebase/ui";
39
39
  | `Resizable` | `onChange` | `Function` | optional |
40
40
  | `Resizable` | `className` | `String` | optional |
41
41
 
42
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
42
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
43
43
 
44
44
  ## Static component
45
45
 
@@ -65,7 +65,7 @@ Interactive components emit documented `baseui:*` events from their root element
65
65
 
66
66
  ## CSS variables
67
67
 
68
- The component inherits BaseUI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
68
+ The component inherits the Base UI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
69
69
 
70
70
  ## Accessibility behavior
71
71
 
@@ -77,7 +77,7 @@ See `examples/index.html` for a working CDN-style page.
77
77
 
78
78
  ## Browser support
79
79
 
80
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
80
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
81
81
 
82
82
  ## Test checklist
83
83
 
@@ -4,9 +4,9 @@ Use `b-ui="scroll-area"` for a CDN-ready scroll area component.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load the pinned BaseUI CSS and JavaScript files; no extra dependency is required for this component.
7
+ Load the pinned the Base UI CSS and JavaScript files; no extra dependency is required for this component.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { ScrollArea } from "@thebase/ui";
@@ -43,7 +43,7 @@ import { ScrollArea } from "@thebase/ui";
43
43
  | --- | --- | --- | --- |
44
44
  | `ScrollArea` | `className` | `String` | optional |
45
45
 
46
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
46
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
47
47
 
48
48
  ## Static component
49
49
 
@@ -69,7 +69,7 @@ Interactive components emit documented `baseui:*` events from their root element
69
69
 
70
70
  ## CSS variables
71
71
 
72
- The component inherits BaseUI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
72
+ The component inherits the Base UI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
73
73
 
74
74
  ## Accessibility behavior
75
75
 
@@ -81,7 +81,7 @@ See `examples/index.html` for a working CDN-style page.
81
81
 
82
82
  ## Browser support
83
83
 
84
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
84
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
85
85
 
86
86
  ## Test checklist
87
87
 
@@ -1,15 +1,15 @@
1
1
  # Select
2
2
 
3
- ## Pure Owl component
3
+ ## Base component
4
4
 
5
5
  ```js
6
6
  import { Select, SelectContent, SelectItem, SelectTrigger } from "@thebase/ui";
7
7
  ```
8
8
 
9
9
  ```base-ui
10
- <div style="max-width: 180px">
11
- <Select value="'dark'">
12
- <SelectTrigger>Theme</SelectTrigger>
10
+ <div style="max-width: 240px">
11
+ <Select label="'Theme'" value="'dark'">
12
+ <SelectTrigger>Dark</SelectTrigger>
13
13
  <SelectContent>
14
14
  <SelectItem value="'light'">Light</SelectItem>
15
15
  <SelectItem value="'dark'">Dark</SelectItem>
@@ -24,12 +24,13 @@ import { Select, SelectContent, SelectItem, SelectTrigger } from "@thebase/ui";
24
24
  | `Select` | `value` | `String` | optional |
25
25
  | `Select` | `onChange` | `Function` | optional |
26
26
  | `Select` | `className` | `String` | optional |
27
+ | `Select` | `label`, `labelBackground`, `supportingText`, `errorText`, `invalid` | `String` / `Boolean` | Material-style outlined field, same behaviour as [Input](/examples/blocks.html#/docs/components/input): the label floats onto the border, `errorText` replaces `supportingText`. Also inherited from a parent `Field`. |
27
28
  | `SelectContent` | `className` | `String` | optional |
28
29
  | `SelectItem` | `value` | `String` | required |
29
30
  | `SelectItem` | `className` | `String` | optional |
30
31
  | `SelectTrigger` | `className` | `String` | optional |
31
32
 
32
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
33
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
33
34
 
34
35
  ## Static component
35
36
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Visual divider with separator semantics.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Separator } from "@thebase/ui";
@@ -30,7 +30,7 @@ import { Separator } from "@thebase/ui";
30
30
  | `Separator` | `orientation` | `String` | optional |
31
31
  | `Separator` | `className` | `String` | optional |
32
32
 
33
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
33
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
34
34
 
35
35
  ## Static component
36
36
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `b-ui="sheet"` for offcanvas panels.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "@thebase/ui";
@@ -38,7 +38,7 @@ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHe
38
38
  | `SheetTitle` | `className` | `String` | optional |
39
39
  | `SheetTrigger` | `className` | `String` | optional |
40
40
 
41
- `SheetContent` also accepts `side` (`"left"` or the default right), falling back to the `side` prop on the parent `Sheet` when unset. It is driven by a real `bootstrap.Offcanvas` instance bound to its own root, rendered as `.offcanvas.offcanvas-end` by default or `.offcanvas.offcanvas-start` for `side="left"`, permanently mounted rather than added/removed from the DOM. Escape, backdrop click, and the Tab focus trap are Bootstrap's own native Offcanvas behavior; focus-restore-to-trigger on close is kept by hand (not native to Offcanvas). `SheetClose` closes via `data-bs-dismiss="offcanvas"`. See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
41
+ `SheetContent` also accepts `side` (`"left"` or the default right), falling back to the `side` prop on the parent `Sheet` when unset. It is driven by a real `bootstrap.Offcanvas` instance bound to its own root, rendered as `.offcanvas.offcanvas-end` by default or `.offcanvas.offcanvas-start` for `side="left"`, permanently mounted rather than added/removed from the DOM. Escape, backdrop click, and the Tab focus trap are Bootstrap's own native Offcanvas behavior; focus-restore-to-trigger on close is kept by hand (not native to Offcanvas). `SheetClose` closes via `data-bs-dismiss="offcanvas"`. See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
42
42
 
43
43
  ## Static component
44
44
 
@@ -53,6 +53,6 @@ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHe
53
53
 
54
54
  At mount, `[b-ui="sheet"]` itself becomes the `.offcanvas.offcanvas-end` element (`.offcanvas.offcanvas-start` when `b-att-side="left"`, `tabindex="-1"`) driven by a real `bootstrap.Offcanvas` instance (`backdrop: true, keyboard: true, scroll: false`); `[b-sheet-panel]` stays as a plain cosmetic content box inside it. `[b-sheet-close]` buttons get `data-bs-dismiss="offcanvas"` at mount time instead of a manual click handler.
55
55
 
56
- Events: `baseui:open`, `baseui:close` (BaseUI), plus the underlying `shown.bs.offcanvas`/`hidden.bs.offcanvas`.
56
+ Events: `baseui:open`, `baseui:close` (the Base UI), plus the underlying `shown.bs.offcanvas`/`hidden.bs.offcanvas`.
57
57
 
58
58
  Options: `b-att-side="left"` moves the sheet panel to the left (`offcanvas-start` instead of `offcanvas-end`). The sheet closes on backdrop click, close button (`data-bs-dismiss="offcanvas"`), or Escape — all native `bootstrap.Offcanvas` behavior — and traps Tab focus while open, restoring focus to the trigger on close (kept by hand — not native to Offcanvas).
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `b-ui="shell"` for a collapsible app shell: a desktop-collapsible/mobile off-canvas sidebar next to a sticky header and scrollable content region.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import {
@@ -74,7 +74,7 @@ Four cross-cutting concerns are opt-in via props instead of baked into the layou
74
74
  | `ShellContent` | `className` | `String` | optional |
75
75
  | `ShellUserMenu` | `className` | `String` | optional |
76
76
 
77
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
77
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
78
78
 
79
79
  ## Static component
80
80
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `b-ui="sidebar"` for app navigation panels. The component mirrors shadcn's composable Sidebar parts: header, content, footer, groups, menu rows, actions, nested submenus, rail, inset, and trigger.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from "@thebase/ui";
@@ -234,7 +234,7 @@ Reusable nav-content primitives, extracted from the recurring group/item shapes
234
234
  | `SidebarMenuSubButton` | `href` | `String` | optional |
235
235
  | `SidebarMenuSubItem` | `className` | `String` | optional |
236
236
 
237
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
237
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
238
238
 
239
239
  ## Static component
240
240
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Loading placeholder for content that is not ready yet.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Skeleton } from "@thebase/ui";
@@ -29,7 +29,7 @@ import { Skeleton } from "@thebase/ui";
29
29
  | `Skeleton` | `shape` | `String` | optional |
30
30
  | `Skeleton` | `className` | `String` | optional |
31
31
 
32
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
32
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
33
33
 
34
34
  ## Static component
35
35
 
@@ -1,6 +1,6 @@
1
1
  # Slider
2
2
 
3
- ## Pure Owl component
3
+ ## Base component
4
4
 
5
5
  ```js
6
6
  import { Slider } from "@thebase/ui";
@@ -22,7 +22,7 @@ import { Slider } from "@thebase/ui";
22
22
  | `Slider` | `className` | `String` | optional |
23
23
  | `Slider` | `onChange` | `Function` | optional |
24
24
 
25
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
25
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
26
26
 
27
27
  ## Static component
28
28
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Inline loading indicator using Bootstrap spinner classes.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Spinner } from "@thebase/ui";
@@ -24,7 +24,7 @@ import { Spinner } from "@thebase/ui";
24
24
  | `Spinner` | `label` | `String` | optional |
25
25
  | `Spinner` | `className` | `String` | optional |
26
26
 
27
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
27
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
28
28
 
29
29
  ## Static component
30
30
 
@@ -35,4 +35,4 @@ See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for
35
35
 
36
36
  Options: `b-att-type="border|grow"`, `b-att-label`.
37
37
 
38
- Accessibility: BaseUI adds `role="status"` and hidden loading text.
38
+ Accessibility: The Base UI adds `role="status"` and hidden loading text.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Checkbox-backed switch control using `role="switch"`.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Switch } from "@thebase/ui";
@@ -21,7 +21,7 @@ import { Switch } from "@thebase/ui";
21
21
  | `Switch` | `className` | `String` | optional |
22
22
  | `Switch` | `onChange` | `Function` | optional |
23
23
 
24
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
24
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
25
25
 
26
26
  ## Static component
27
27
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Native table styling for static or server-rendered data.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Table } from "@thebase/ui";
@@ -50,7 +50,7 @@ import { Table } from "@thebase/ui";
50
50
  | `Table` | `hover` | `Boolean` | optional |
51
51
  | `Table` | `className` | `String` | optional |
52
52
 
53
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
53
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
54
54
 
55
55
  ## Static component
56
56
 
@@ -6,7 +6,7 @@ as a segmented pill control on a muted background by default, or a transparent u
6
6
  background — a bordered/padded look is opt-in via `className` on `TabsContainer` (or the
7
7
  consumer's own wrapper), not baked into every panel.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { Tabs, TabContent, TabsContainer, TabsList, TabTrigger } from "@thebase/ui";
@@ -57,10 +57,10 @@ The `"line"` variant swaps the segmented pill for a transparent, underline-drive
57
57
 
58
58
  ArrowLeft/ArrowRight (or ArrowUp/ArrowDown when vertical) move focus and selection between
59
59
  `TabTrigger`s, same as the static API — each trigger's own live `bootstrap.Tab` instance handles
60
- this natively. See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how
60
+ this natively. See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how
61
61
  to load `@base/owl` and `dist/baseui.templates.xml`.
62
62
 
63
- Each `TabTrigger` (`b-tab` button / pure Owl `TabTrigger`'s own root) is driven by a live `bootstrap.Tab` instance: it always carries `role="tab"` plus a `data-bs-target="#<id>"` pointing at its linked pane, and Bootstrap itself manages the pane's `tab-pane fade`/`show`/`active` classes and the trigger's `active`/`aria-selected`/`tabindex` across switches — don't rely on node removal to detect the active panel; every `TabContent`/`b-panel` stays mounted permanently (`role="tabpanel"`, `tab-pane fade` + `show active` on the initially active one).
63
+ Each `TabTrigger` (`b-tab` button / pure Base `TabTrigger`'s own root) is driven by a live `bootstrap.Tab` instance: it always carries `role="tab"` plus a `data-bs-target="#<id>"` pointing at its linked pane, and Bootstrap itself manages the pane's `tab-pane fade`/`show`/`active` classes and the trigger's `active`/`aria-selected`/`tabindex` across switches — don't rely on node removal to detect the active panel; every `TabContent`/`b-panel` stays mounted permanently (`role="tabpanel"`, `tab-pane fade` + `show active` on the initially active one).
64
64
 
65
65
  ## Static component
66
66
 
@@ -74,7 +74,7 @@ Each `TabTrigger` (`b-tab` button / pure Owl `TabTrigger`'s own root) is driven
74
74
  ```
75
75
 
76
76
  Add `b-att-variant="line"` on the `[b-ui="tabs"]` host for the transparent underline look instead
77
- of the default segmented pill. `orientation` is a pure-Owl-only prop — the static markup lays
77
+ of the default segmented pill. `orientation` is a pure Base-only prop — the static markup lays
78
78
  `[b-tab]`/`[b-panel]` flat as siblings with no `TabsList`/`TabsContainer`-equivalent grouping
79
79
  wrapper to flip into a row/column pair.
80
80
 
@@ -1,6 +1,6 @@
1
1
  # Text Editor
2
2
 
3
- Use `b-ui="text-editor"` (or the pure Owl `TextEditor` component) for WYSIWYG rich-text editing backed by [Milkdown](https://milkdown.dev/) (ProseMirror + a Markdown-aware schema, via `@milkdown/kit`). The editor runtime is lazy-loaded from `dist/runtime/milkdown/milkdown-text-editor.js`, so the default BaseUI bundle stays small until an editor is actually mounted. `content`/`onChange` still deal in HTML — Milkdown's document is converted to/from HTML at the boundary, so nothing in this contract changes even though the engine now understands Markdown natively (e.g. typing a leading `#`, `**bold**`, or `1.` auto-formats as you type).
3
+ Use `b-ui="text-editor"` (or the pure Base `TextEditor` component) for WYSIWYG rich-text editing backed by [Milkdown](https://milkdown.dev/) (ProseMirror + a Markdown-aware schema, via `@milkdown/kit`). The editor runtime is lazy-loaded from `dist/runtime/milkdown/milkdown-text-editor.js`, so the default the Base UI bundle stays small until an editor is actually mounted. `content`/`onChange` still deal in HTML — Milkdown's document is converted to/from HTML at the boundary, so nothing in this contract changes even though the engine now understands Markdown natively (e.g. typing a leading `#`, `**bold**`, or `1.` auto-formats as you type).
4
4
 
5
5
  Collaborative mode (`collaborative` / `b-att-collaborative`) is optional and off by default; toggle it per editor without changing anything else. It runs on Yjs + `@milkdown/plugin-collab` over one of two providers, picked with `provider` / `b-att-provider`:
6
6
 
@@ -9,7 +9,7 @@ Collaborative mode (`collaborative` / `b-att-collaborative`) is optional and off
9
9
 
10
10
  Collaboration actually turns on when `collaborative` is explicitly truthy, **or** when both `provider` and `url` are supplied — so pointing an editor at a websocket backend (`provider="'websocket'"` + a `url`) is enough on its own, without also setting `collaborative="true"`. If `collaborative` is `false`/unset and `provider`+`url` aren't both present, the editor stays single-user.
11
11
 
12
- ## Pure Owl Component
12
+ ## Base Component
13
13
 
14
14
  ```js
15
15
  import { TextEditor } from "@base/component";
@@ -1,8 +1,8 @@
1
1
  # Textarea
2
2
 
3
- Native multiline text input with BaseUI and Bootstrap styling.
3
+ Native multiline text input with Base UI and Bootstrap styling.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Textarea } from "@thebase/ui";
@@ -10,25 +10,20 @@ import { Textarea } from "@thebase/ui";
10
10
 
11
11
  ```base-ui
12
12
  <div class="d-flex flex-column gap-4" style="max-width: 28rem; width: 100%">
13
- <Textarea placeholder="'Type your message here.'"/>
13
+ <Textarea label="'Message'"/>
14
14
 
15
- <div class="d-grid gap-3">
16
- <Label htmlFor="'message'">Your message</Label>
17
- <Textarea placeholder="'Type your message here.'" id="'message'"/>
18
- </div>
15
+ <Textarea label="'Your message'" placeholder="'Type your message here.'" id="'message'"/>
19
16
 
20
- <div class="d-grid gap-3">
21
- <Label htmlFor="'message-2'">Your Message</Label>
22
- <Textarea placeholder="'Type your message here.'" id="'message-2'"/>
23
- <Typography variant="'small'" className="'text-muted'">Your message will be copied to the support team.</Typography>
24
- </div>
17
+ <Textarea label="'Your message'" supportingText="'Your message will be copied to the support team.'" maxLength="200"/>
18
+
19
+ <Textarea label="'Your message'" errorText="'Message is required'"/>
25
20
 
26
21
  <div class="d-grid gap-2">
27
- <Textarea placeholder="'Type your message here.'"/>
22
+ <Textarea label="'Feedback'"/>
28
23
  <Button>Send message</Button>
29
24
  </div>
30
25
 
31
- <Textarea placeholder="'Type your message here.'" disabled="true"/>
26
+ <Textarea label="'Disabled'" placeholder="'Type your message here.'" disabled="true"/>
32
27
  </div>
33
28
  ```
34
29
 
@@ -44,8 +39,9 @@ import { Textarea } from "@thebase/ui";
44
39
  | `Textarea` | `id` | `String` | optional, e.g. for `Label`'s `for` |
45
40
  | `Textarea` | `onInput` | `Function` | optional |
46
41
  | `Textarea` | `onChange` | `Function` | optional |
42
+ | `Textarea` | `label`, `supportingText`, `errorText`, `maxLength`, `invalid`, `placeholder` | `String` / `Boolean` | Material-style outlined field, same behaviour as [Input](/examples/blocks.html#/docs/components/input): the label floats onto the border, `errorText` replaces `supportingText`. Also inherited from a parent `Field`. |
47
43
 
48
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
44
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
49
45
 
50
46
  ## Static component
51
47
 
@@ -4,9 +4,9 @@ Use `b-ui="theme-button"` for an icon-only light/dark theme toggle.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load BaseUI CSS and the BaseUI JavaScript bundle (`baseui.min.js`). The component uses the built-in Lucide icon renderer and the `@base/theme` helper bundled with BaseUI.
7
+ Load the Base UI CSS and the Base UI JavaScript bundle (`baseui.min.js`). The component uses the built-in Lucide icon renderer and the `@base/theme` helper bundled with Base UI.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { ThemeButton } from "@thebase/ui";
@@ -24,7 +24,7 @@ import { ThemeButton } from "@thebase/ui";
24
24
  | `ThemeButton` | `className` | `String` | optional |
25
25
  | `ThemeButton` | `onChange` | `Function` | optional |
26
26
 
27
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
27
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
28
28
 
29
29
  ## Static component
30
30
 
@@ -62,7 +62,7 @@ See the example page headers for working `b-ui="theme-button"` navigation usage.
62
62
 
63
63
  ## Browser support
64
64
 
65
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
65
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
66
66
 
67
67
  ## Test checklist
68
68
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `b-ui="toast"` for transient status messages.
4
4
 
5
- ## Pure Owl component
5
+ ## Base component
6
6
 
7
7
  ```js
8
8
  import { Toast } from "@thebase/ui";
@@ -35,7 +35,7 @@ The toast stays hidden until `open`/`state` becomes truthy (never shows on mount
35
35
  | `Toast` | `onOpenChange` | `Function` | optional |
36
36
  | `Toast` | `action` slot | — | optional — e.g. a `<Button/>`, rendered grouped next to the close button (`<t t-set-slot="action">...</t>`) |
37
37
 
38
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
38
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
39
39
 
40
40
  ## Static component
41
41
 
@@ -85,4 +85,4 @@ Set `b-att-position` to `top-left`, `top-right`, `bottom-left`, or `bottom-right
85
85
  </div>
86
86
  ```
87
87
 
88
- The pure Owl `Toast` component takes the same values via its `position` prop.
88
+ The pure Base `Toast` component takes the same values via its `position` prop.
@@ -4,9 +4,9 @@ Use `b-ui="toggle-group"` for a CDN-ready toggle group component.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load the pinned BaseUI CSS and JavaScript files; no extra dependency is required for this component.
7
+ Load the pinned the Base UI CSS and JavaScript files; no extra dependency is required for this component.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { ToggleGroup, ToggleGroupItem } from "@thebase/ui";
@@ -36,7 +36,7 @@ import { ToggleGroup, ToggleGroupItem } from "@thebase/ui";
36
36
  | `ToggleGroupItem` | `value` | `String` | required |
37
37
  | `ToggleGroupItem` | `className` | `String` | optional |
38
38
 
39
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
39
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
40
40
 
41
41
  ## Static component
42
42
 
@@ -62,7 +62,7 @@ Interactive components emit documented `baseui:*` events from their root element
62
62
 
63
63
  ## CSS variables
64
64
 
65
- The component inherits BaseUI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
65
+ The component inherits the Base UI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
66
66
 
67
67
  ## Accessibility behavior
68
68
 
@@ -74,7 +74,7 @@ See `examples/index.html` for a working CDN-style page.
74
74
 
75
75
  ## Browser support
76
76
 
77
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
77
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
78
78
 
79
79
  ## Test checklist
80
80
 
@@ -4,9 +4,9 @@ Use `b-ui="toggle"` for a CDN-ready toggle component.
4
4
 
5
5
  ## CDN install requirements
6
6
 
7
- Load the pinned BaseUI CSS and JavaScript files; no extra dependency is required for this component.
7
+ Load the pinned the Base UI CSS and JavaScript files; no extra dependency is required for this component.
8
8
 
9
- ## Pure Owl component
9
+ ## Base component
10
10
 
11
11
  ```js
12
12
  import { Toggle } from "@thebase/ui";
@@ -37,7 +37,7 @@ import { Toggle } from "@thebase/ui";
37
37
  | `Toggle` | `className` | `String` | optional |
38
38
  | `Toggle` | `onChange` | `Function` | optional |
39
39
 
40
- See [Pure Owl Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
40
+ See [Base Components](/examples/blocks.html#/docs/guide/owl-components) for how to load `@base/owl` and `dist/baseui.templates.xml`.
41
41
 
42
42
  ## Static component
43
43
 
@@ -63,7 +63,7 @@ Interactive components emit documented `baseui:*` events from their root element
63
63
 
64
64
  ## CSS variables
65
65
 
66
- The component inherits BaseUI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
66
+ The component inherits the Base UI semantic tokens such as `--b-surface`, `--b-border`, `--b-primary`, and `--b-radius`.
67
67
 
68
68
  ## Accessibility behavior
69
69
 
@@ -75,7 +75,7 @@ See `examples/index.html` for a working CDN-style page.
75
75
 
76
76
  ## Browser support
77
77
 
78
- BaseUI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
78
+ The Base UI targets modern evergreen browsers that support ES modules, CSS variables, and Bootstrap 5.3.
79
79
 
80
80
  ## Test checklist
81
81