bitboss-ui 3.0.0-beta.70 → 3.0.0-beta.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/BbBreadcrumbs.md +3 -0
- package/dist/ai/BbCheckbox.md +5 -6
- package/dist/ai/BbCheckboxGroup.md +25 -26
- package/dist/ai/BbColorInput.md +3 -4
- package/dist/ai/BbDatePickerInput.md +3 -4
- package/dist/ai/BbDropdown.md +35 -1
- package/dist/ai/BbDropdownButton.md +4 -3
- package/dist/ai/BbNumberInput.md +3 -4
- package/dist/ai/BbRadio.md +5 -6
- package/dist/ai/BbRadioGroup.md +24 -30
- package/dist/ai/BbRating.md +3 -9
- package/dist/ai/BbSelect.md +10 -11
- package/dist/ai/BbSlider.md +3 -9
- package/dist/ai/BbSwitch.md +6 -6
- package/dist/ai/BbSwitchGroup.md +4 -7
- package/dist/ai/BbTag.md +3 -4
- package/dist/ai/BbTextInput.md +11 -11
- package/dist/ai/BbTextarea.md +8 -8
- package/dist/ai/BbTimePickerInput.md +3 -4
- package/dist/ai/BbTooltip.md +17 -13
- package/dist/ai/CommonField.md +2 -10
- package/dist/ai/OptionsContainer.md +5 -13
- package/dist/ai/changelog.json +44 -5
- package/dist/ai/components.json +26 -26
- package/dist/ai/guides/migration/v2-to-v3.md +26 -2
- package/dist/ai/guides/preset-components.md +35 -10
- package/dist/ai/helpers/definePreset.json +8 -1
- package/dist/ai/helpers/definePreset.ts +35 -10
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/manifest/common.json +2 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbCheckbox.json +2 -2
- package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +9 -19
- package/dist/ai/manifest/components/BbColorInput.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +2 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +2 -2
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +8 -18
- package/dist/ai/manifest/components/BbRating.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelect.json +15 -15
- package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
- package/dist/ai/manifest/components/BbSlider.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -2
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +5 -10
- package/dist/ai/manifest/components/OptionsContainer.tree.json +5 -13
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/manifest/types.advanced.json +1 -1
- package/dist/ai/manifest/types.api.json +2 -2
- package/dist/ai/source/BbBreadcrumbs.md +31 -12
- package/dist/ai/source/BbCheckbox.md +36 -42
- package/dist/ai/source/BbCheckboxGroup.md +2 -4
- package/dist/ai/source/BbColorInput.md +2 -4
- package/dist/ai/source/BbDatePickerInput.md +2 -4
- package/dist/ai/source/BbDropdown.md +11 -2
- package/dist/ai/source/BbDropdownButton.md +4 -1
- package/dist/ai/source/BbDropdownGroup.md +9 -2
- package/dist/ai/source/BbNumberInput.md +2 -4
- package/dist/ai/source/BbRadio.md +36 -42
- package/dist/ai/source/BbRadioGroup.md +2 -4
- package/dist/ai/source/BbRating.md +2 -14
- package/dist/ai/source/BbSelect.md +30 -13
- package/dist/ai/source/BbSlider.md +2 -4
- package/dist/ai/source/BbSwitch.md +34 -38
- package/dist/ai/source/BbTable.md +4 -1
- package/dist/ai/source/BbTag.md +2 -4
- package/dist/ai/source/BbTextInput.md +2 -4
- package/dist/ai/source/BbTextarea.md +2 -4
- package/dist/ai/source/BbTimePickerInput.md +2 -4
- package/dist/ai/source/BbTooltip.md +9 -3
- package/dist/ai/source/CommonField.md +17 -106
- package/dist/ai/source/GuidesComponent.md +3 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +106 -106
- package/dist/components/BbBreadcrumbs/types.d.ts +6 -0
- package/dist/components/BbCheckbox/types.d.ts +2 -4
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -4
- package/dist/components/BbColorInput/types.d.ts +2 -4
- package/dist/components/BbDatePickerInput/types.d.ts +2 -4
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +121 -120
- package/dist/components/BbDropdown/normalizeGroups.js +37 -33
- package/dist/components/BbDropdown/types.d.ts +9 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +95 -94
- package/dist/components/BbNumberInput/types.d.ts +2 -4
- package/dist/components/BbRadio/types.d.ts +2 -4
- package/dist/components/BbRadioGroup/types.d.ts +2 -4
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +116 -118
- package/dist/components/BbRating/types.d.ts +2 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +10 -4
- package/dist/components/BbSelect/types.d.ts +4 -6
- package/dist/components/BbSlider/types.d.ts +2 -4
- package/dist/components/BbTable/types.d.ts +1 -1
- package/dist/components/BbTag/types.d.ts +2 -4
- package/dist/components/BbTextInput/types.d.ts +2 -4
- package/dist/components/BbTextarea/types.d.ts +2 -4
- package/dist/components/BbTimePickerInput/types.d.ts +2 -4
- package/dist/components/BbTooltip/ptKeys.generated.d.ts +4 -4
- package/dist/components/BbTooltip/types.d.ts +3 -1
- package/dist/components/CommonField/types.d.ts +2 -4
- package/dist/composables/useChoiceIndicator.js +67 -64
- package/dist/directives/bbDropdown.js +1 -1
- package/dist/llms-full.txt +246 -201
- package/dist/styles.css +2 -2
- package/dist/types/FieldLayout.d.ts +4 -1
- package/dist/types/ItemAccessor.d.ts +3 -1
- package/dist/types/ItemPath.d.ts +33 -0
- package/dist/utils/versionCheck.js +1 -1
- package/package.json +6 -4
- package/scripts/README.md +31 -29
- package/scripts/lib/define-preset-copy.mjs +1 -1
- package/scripts/lib/setup.mjs +8 -0
- package/scripts/lib/toolchain-check.mjs +125 -7
- package/scripts/lib/validate-bb-markup.mjs +1 -1
|
@@ -2871,8 +2871,32 @@ nullValue }, BbTextarea: { nullValue } }`, same values (`'null'` /
|
|
|
2871
2871
|
strip with the pick filled in the primary colour. It is now separate
|
|
2872
2872
|
outline buttons, 8px apart, at BbButton's `md` height, the pick in the
|
|
2873
2873
|
button's pressed state. Remove CSS that joined the strip or undid its
|
|
2874
|
-
radius.
|
|
2875
|
-
|
|
2874
|
+
radius. After 3.0.0-beta.70 the buttons paint like
|
|
2875
|
+
`BbButton variant="outline"` (`compact` takes its `sm` size) and
|
|
2876
|
+
`outline` renders no indicator: `pt:indicator` and `--indicator-bg` no
|
|
2877
|
+
longer apply, so restyle the pick with `pt:item:checked`.
|
|
2878
|
+
|
|
2879
|
+
160. **Side-by-side field labels align to the top; option glyphs stay on
|
|
2880
|
+
their first line** (after 3.0.0-beta.70; every field with
|
|
2881
|
+
`layout`). This replaces item 34's first-line alignment between a
|
|
2882
|
+
field's label and its control: with `layout` set side by side, the
|
|
2883
|
+
label column's top now meets the control column's top — no computed
|
|
2884
|
+
padding on either column, at any label line height — and
|
|
2885
|
+
`label-align` / `input-align` omitted mean `'top'` now. Option
|
|
2886
|
+
text against its icon does not change: a standalone checkbox,
|
|
2887
|
+
radio or switch glyph, and every group row's glyph (described
|
|
2888
|
+
rows and tiles included), still centres on its label's first
|
|
2889
|
+
line, and `item-label-align` / `item-input-align` omitted still
|
|
2890
|
+
mean that; an explicit `input-align="top"` /
|
|
2891
|
+
`item-input-align="top"` puts a glyph flush with the top instead.
|
|
2892
|
+
For the closest to the old look on a single-line field set
|
|
2893
|
+
`label-align="center"`; on a described settings row
|
|
2894
|
+
`input-align="center"` (in a group, `item-input-align="center"`)
|
|
2895
|
+
centres the control on the whole label block. Remove a
|
|
2896
|
+
`label-align="top"` written to force this — it is the default —
|
|
2897
|
+
and any `--ctrl-line` override: the variable no longer exists,
|
|
2898
|
+
and neither does `--star` on a `BbRating` root. Vertical layouts
|
|
2899
|
+
are unchanged.
|
|
2876
2900
|
|
|
2877
2901
|
## 7. Class overrides → variants
|
|
2878
2902
|
|
|
@@ -58,7 +58,7 @@ you import from. It needs TypeScript 5.0 or later and nothing but `vue`. The
|
|
|
58
58
|
file, for reading (the copied one is identical):
|
|
59
59
|
|
|
60
60
|
```ts
|
|
61
|
-
// bitboss-ui definePreset rev
|
|
61
|
+
// bitboss-ui definePreset rev 6 — update: cp <knowledge-base>/helpers/definePreset.ts <this file> (see below)
|
|
62
62
|
/**
|
|
63
63
|
* definePreset: an app component made of a bitboss-ui component with some
|
|
64
64
|
* props (and slots) already set, e.g. a `CustomerSelect`.
|
|
@@ -220,20 +220,45 @@ type DefaultValueOf<P> = P extends { itemText?: unknown }
|
|
|
220
220
|
: never
|
|
221
221
|
: RowOf<P>;
|
|
222
222
|
|
|
223
|
+
/** One segment of a fixed dotted `itemValue` path (`never` when absent). */
|
|
224
|
+
type SegValueOf<R, H> =
|
|
225
|
+
NonNullable<R> extends infer U
|
|
226
|
+
? U extends ReadonlyArray<infer E>
|
|
227
|
+
? H extends 'length'
|
|
228
|
+
? number
|
|
229
|
+
: H extends `${number}`
|
|
230
|
+
? E
|
|
231
|
+
: never
|
|
232
|
+
: H extends keyof U
|
|
233
|
+
? U[H]
|
|
234
|
+
: never
|
|
235
|
+
: never;
|
|
236
|
+
|
|
237
|
+
/** The type at one given dotted path, walking only that literal. */
|
|
238
|
+
type PathValueOf<R, K> = K extends `${infer H}.${infer Rest}`
|
|
239
|
+
? SegValueOf<R, H> extends infer V
|
|
240
|
+
? [V] extends [never]
|
|
241
|
+
? never
|
|
242
|
+
:
|
|
243
|
+
| ([Extract<V, null | undefined>] extends [never] ? never : undefined)
|
|
244
|
+
| PathValueOf<NonNullable<V>, Rest>
|
|
245
|
+
: never
|
|
246
|
+
: SegValueOf<R, K>;
|
|
247
|
+
|
|
223
248
|
/**
|
|
224
|
-
* The value type when the preset decides it: a fixed key
|
|
225
|
-
* `itemValue`, or fixed `items` with no `itemValue` (the row's
|
|
226
|
-
* else the row).
|
|
227
|
-
* `never` = not decided (
|
|
228
|
-
* the component keeps its own model type.
|
|
249
|
+
* The value type when the preset decides it: a fixed key, dotted path or
|
|
250
|
+
* getter as `itemValue`, or fixed `items` with no `itemValue` (the row's
|
|
251
|
+
* own `value`, else the row).
|
|
252
|
+
* `never` = not decided (`itemValue` left to the caller, or not a path on
|
|
253
|
+
* the row): the component keeps its own model type.
|
|
229
254
|
*/
|
|
230
255
|
type ValueOf<P, F> = [RowOf<P>] extends [never]
|
|
231
256
|
? never
|
|
232
257
|
: F extends { itemValue: infer K }
|
|
233
|
-
? K extends
|
|
234
|
-
?
|
|
235
|
-
: K extends
|
|
236
|
-
?
|
|
258
|
+
? K extends (row: any) => infer R
|
|
259
|
+
? R
|
|
260
|
+
: K extends string
|
|
261
|
+
? PathValueOf<RowOf<P>, K>
|
|
237
262
|
: never
|
|
238
263
|
: F extends { items: unknown }
|
|
239
264
|
? DefaultValueOf<P>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "The revisions of the definePreset recipe (src/wrapper-bench/definePreset.ts), written by hand. A change to its code (comments excluded: `canon` is the canonical hash, scripts/lib/helper-canon.mjs) adds a revision here AND bumps the `// bitboss-ui definePreset rev N` stamp on the file's first line;
|
|
2
|
+
"$comment": "The revisions of the definePreset recipe (src/wrapper-bench/definePreset.ts), written by hand. A change to its code (comments excluded: `canon` is the canonical hash, scripts/lib/helper-canon.mjs) adds a revision here AND bumps the `// bitboss-ui definePreset rev N` stamp on the file's first line; the node tier fails otherwise. `reason` is what `bitboss-ui check` tells an app whose copy is older (`stale-define-preset`). The build ships the file and this ledger under dist/ai/helpers/. See scripts/lib/define-preset-copy.mjs.",
|
|
3
3
|
"revisions": [
|
|
4
4
|
{
|
|
5
5
|
"rev": 1,
|
|
@@ -35,6 +35,13 @@
|
|
|
35
35
|
"date": "2026-10-29",
|
|
36
36
|
"canon": "7d84f97651f7d49f81b1afd40e74e5b9d5376fd176472edca48d8c3de02c18d4",
|
|
37
37
|
"reason": "a preset that leaves `multiple` open types the v-model by the caller's `multiple`: `T | null` without it, `T[]` with it"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"rev": 6,
|
|
41
|
+
"commit": "35e7ca6f0",
|
|
42
|
+
"date": "2026-11-09",
|
|
43
|
+
"canon": "511b9c2c8dbd541796f41dc28db8ce098b33d79a234eb34c3066e0b9da8c27ed",
|
|
44
|
+
"reason": "a preset fixing a dotted `itemValue` path (`'meta.code'`) types the v-model as the type at that path, matching BbSelect's own typed nested keys"
|
|
38
45
|
}
|
|
39
46
|
]
|
|
40
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// bitboss-ui definePreset rev
|
|
1
|
+
// bitboss-ui definePreset rev 6 — update: cp <knowledge-base>/helpers/definePreset.ts <this file> (see below)
|
|
2
2
|
/**
|
|
3
3
|
* definePreset: an app component made of a bitboss-ui component with some
|
|
4
4
|
* props (and slots) already set, e.g. a `CustomerSelect`.
|
|
@@ -160,20 +160,45 @@ type DefaultValueOf<P> = P extends { itemText?: unknown }
|
|
|
160
160
|
: never
|
|
161
161
|
: RowOf<P>;
|
|
162
162
|
|
|
163
|
+
/** One segment of a fixed dotted `itemValue` path (`never` when absent). */
|
|
164
|
+
type SegValueOf<R, H> =
|
|
165
|
+
NonNullable<R> extends infer U
|
|
166
|
+
? U extends ReadonlyArray<infer E>
|
|
167
|
+
? H extends 'length'
|
|
168
|
+
? number
|
|
169
|
+
: H extends `${number}`
|
|
170
|
+
? E
|
|
171
|
+
: never
|
|
172
|
+
: H extends keyof U
|
|
173
|
+
? U[H]
|
|
174
|
+
: never
|
|
175
|
+
: never;
|
|
176
|
+
|
|
177
|
+
/** The type at one given dotted path, walking only that literal. */
|
|
178
|
+
type PathValueOf<R, K> = K extends `${infer H}.${infer Rest}`
|
|
179
|
+
? SegValueOf<R, H> extends infer V
|
|
180
|
+
? [V] extends [never]
|
|
181
|
+
? never
|
|
182
|
+
:
|
|
183
|
+
| ([Extract<V, null | undefined>] extends [never] ? never : undefined)
|
|
184
|
+
| PathValueOf<NonNullable<V>, Rest>
|
|
185
|
+
: never
|
|
186
|
+
: SegValueOf<R, K>;
|
|
187
|
+
|
|
163
188
|
/**
|
|
164
|
-
* The value type when the preset decides it: a fixed key
|
|
165
|
-
* `itemValue`, or fixed `items` with no `itemValue` (the row's
|
|
166
|
-
* else the row).
|
|
167
|
-
* `never` = not decided (
|
|
168
|
-
* the component keeps its own model type.
|
|
189
|
+
* The value type when the preset decides it: a fixed key, dotted path or
|
|
190
|
+
* getter as `itemValue`, or fixed `items` with no `itemValue` (the row's
|
|
191
|
+
* own `value`, else the row).
|
|
192
|
+
* `never` = not decided (`itemValue` left to the caller, or not a path on
|
|
193
|
+
* the row): the component keeps its own model type.
|
|
169
194
|
*/
|
|
170
195
|
type ValueOf<P, F> = [RowOf<P>] extends [never]
|
|
171
196
|
? never
|
|
172
197
|
: F extends { itemValue: infer K }
|
|
173
|
-
? K extends
|
|
174
|
-
?
|
|
175
|
-
: K extends
|
|
176
|
-
?
|
|
198
|
+
? K extends (row: any) => infer R
|
|
199
|
+
? R
|
|
200
|
+
: K extends string
|
|
201
|
+
? PathValueOf<RowOf<P>, K>
|
|
177
202
|
: never
|
|
178
203
|
: F extends { items: unknown }
|
|
179
204
|
? DefaultValueOf<P>
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
{"name":"enforceCoherence","type":"boolean","default":"false","description":"After every applied, successful load (an empty one included), drops the model values the options no longer contain (a single value resets to `null`). A failed load never prunes."},
|
|
64
64
|
{"name":"failedText","type":"string","default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},
|
|
65
65
|
{"name":"hideLegend","type":"boolean","default":"false","description":"Visually hides the legend of the fieldset while maintaining accessibility."},
|
|
66
|
-
{"name":"inputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
66
|
+
{"name":"inputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
67
67
|
{"name":"itemInputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line."},
|
|
68
68
|
{"name":"itemLabelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of each option's label in its row. Omitted, it stays as it is."},
|
|
69
69
|
{"name":"itemLayout","type":"FieldLayout","default":"'auto'","description":"How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`."},
|
|
70
70
|
{"name":"itemProps","type":"BbOptionGroupItemProps<T>","description":"ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly."},
|
|
71
71
|
{"name":"itemText","type":"ItemAccessor<T, string>","default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},
|
|
72
72
|
{"name":"itemValue","type":"ItemAccessor<T>","default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},
|
|
73
|
-
{"name":"labelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
73
|
+
{"name":"labelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
74
74
|
{"name":"layout","type":"Responsive<FieldLayout>","description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},
|
|
75
75
|
{"name":"legendPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\"","default":"'start'","description":"Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},
|
|
76
76
|
{"name":"loadingText","type":"string","description":"String displayed while items are being loaded."},
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"nav"
|
|
47
47
|
],
|
|
48
48
|
"types": [
|
|
49
|
-
{"name":"BbBreadcrumbsItem","usedAs":["prop items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"}
|
|
49
|
+
{"name":"BbBreadcrumbsItem","usedAs":["prop items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; hidden?: boolean; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"}
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
{"name":"hint","common":true},
|
|
22
22
|
{"name":"id","common":true},
|
|
23
23
|
{"name":"indeterminate","type":"boolean","default":"false","description":"Sets the input in an indeterminate state."},
|
|
24
|
-
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
24
|
+
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
25
25
|
{"name":"inputPosition","common":true},
|
|
26
26
|
{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},
|
|
27
|
-
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
27
|
+
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
28
28
|
{"name":"labelPosition","common":true},
|
|
29
29
|
{"name":"layout","type":"Responsive<FieldLayout>","default":"'auto'","description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},
|
|
30
30
|
{"name":"modelValue","common":true},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{"part":"icon","target":"BbBaseCheckboxIcon"}
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckbox","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
8
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckbox","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
9
9
|
{"name":"BbBaseCheckboxIcon","kind":"public"}
|
|
10
10
|
]
|
|
11
11
|
},
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
{"part":"icon","target":"BbBaseCheckboxIcon"}
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
10
|
-
{"name":"OptionsContainer","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-
|
|
9
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
10
|
+
{"name":"OptionsContainer","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--list-fg","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--hover-fg","documented":true},{"name":"--active-fg","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--active-fw","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-inset","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--elev","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--indicator-shadow","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--active-fw","documented":false,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--list-h","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--trigger-gap","documented":false},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-px","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--fs","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]}]},
|
|
11
11
|
{"name":"BbBaseCheckboxIcon","kind":"public"}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -59,13 +59,11 @@
|
|
|
59
59
|
"--active-fg",
|
|
60
60
|
"--active-fw",
|
|
61
61
|
"--color-gray-200",
|
|
62
|
-
"--divider",
|
|
63
62
|
"--elev",
|
|
64
63
|
"--fs",
|
|
65
64
|
"--gap",
|
|
66
65
|
"--height",
|
|
67
66
|
"--hit",
|
|
68
|
-
"--hover-bg",
|
|
69
67
|
"--hover-fg",
|
|
70
68
|
"--indicator-bg",
|
|
71
69
|
"--indicator-border",
|
|
@@ -114,7 +112,7 @@
|
|
|
114
112
|
{"class":"bb-checkbox-group__item--focused","state":"focused"},
|
|
115
113
|
{"class":"bb-checkbox-group__item--focus-visible","state":"focusVisible"},
|
|
116
114
|
{"class":"bb-checkbox-group__list--line","state":"line"},
|
|
117
|
-
{"class":"bb-checkbox-group__list--outline","state":"outline","reads":["--
|
|
115
|
+
{"class":"bb-checkbox-group__list--outline","state":"outline","reads":["--list-h","--p"]}
|
|
118
116
|
],
|
|
119
117
|
"internal": [
|
|
120
118
|
{"class":"bb-checkbox-group__empty"},
|
|
@@ -127,7 +125,7 @@
|
|
|
127
125
|
{"class":"bb-checkbox-group__item--label-align-center"},
|
|
128
126
|
{"class":"bb-checkbox-group__item--label-align-top"},
|
|
129
127
|
{"class":"bb-checkbox-group__item--reverse"},
|
|
130
|
-
{"class":"bb-checkbox-group__item--selected"
|
|
128
|
+
{"class":"bb-checkbox-group__item--selected"},
|
|
131
129
|
{"class":"bb-checkbox-group__item--vertical"},
|
|
132
130
|
{"class":"bb-checkbox-group__list--block"},
|
|
133
131
|
{"class":"bb-checkbox-group__list--horizontal"},
|
|
@@ -199,21 +197,13 @@
|
|
|
199
197
|
{"name":"--elev","value":"none","selector":".bb-checkbox-group__list--line"},
|
|
200
198
|
{"name":"--list-bg","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
201
199
|
{"name":"--list-border","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
202
|
-
{"name":"--list-h","value":"
|
|
200
|
+
{"name":"--list-h","value":"auto","selector":".bb-checkbox-group__list--outline"},
|
|
203
201
|
{"name":"--p","value":"0px","selector":".bb-checkbox-group__list--outline"},
|
|
204
202
|
{"name":"--trigger-gap","value":"8px","selector":".bb-checkbox-group__list--outline"},
|
|
205
|
-
{"name":"--trigger-
|
|
203
|
+
{"name":"--trigger-min-h","value":"calc(var(--bb-control-h) - 4px)","selector":".bb-checkbox-group__list--outline","description":"BbButton md"},
|
|
206
204
|
{"name":"--trigger-px","value":"12px","selector":".bb-checkbox-group__list--outline"},
|
|
207
|
-
{"name":"--
|
|
208
|
-
{"name":"--
|
|
209
|
-
{"name":"--
|
|
210
|
-
{"name":"--active-fw","value":"500","selector":".bb-checkbox-group__list--outline"},
|
|
211
|
-
{"name":"--indicator-bg","value":"var(--bb-outline-pressed)","selector":".bb-checkbox-group__list--outline"},
|
|
212
|
-
{"name":"--indicator-border","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
213
|
-
{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-checkbox-group__list--outline"},
|
|
214
|
-
{"name":"--indicator-shadow","value":"none","selector":".bb-checkbox-group__list--outline"},
|
|
215
|
-
{"name":"--elev","value":"none","selector":".bb-checkbox-group__list--outline"},
|
|
216
|
-
{"name":"--divider","value":"var(--bb-outline-border)","selector":".bb-checkbox-group__list--outline","description":"Each button's frame"},
|
|
217
|
-
{"name":"--hover-bg","value":"var(--bb-outline-hover)","selector":".bb-checkbox-group__list--outline","description":"An unpicked button under the pointer"}
|
|
205
|
+
{"name":"--fs","value":"var(--bb-fs)","selector":".bb-checkbox-group__list--outline"},
|
|
206
|
+
{"name":"--trigger-r","value":"var(--bb-radius)","selector":".bb-checkbox-group__list--outline"},
|
|
207
|
+
{"name":"--elev","value":"var(--bb-elev)","selector":".bb-checkbox-group__list--outline"}
|
|
218
208
|
]
|
|
219
209
|
}
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
{"name":"hideLabel","common":true},
|
|
25
25
|
{"name":"hint","common":true},
|
|
26
26
|
{"name":"id","common":true},
|
|
27
|
-
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
27
|
+
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
28
28
|
{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},
|
|
29
|
-
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
29
|
+
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
30
30
|
{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\"","description":"Label rendering mode: `outside` places the label above the input, `floating` overlays it on the field and shrinks it when a value is set, `inside` keeps it inside the field."},
|
|
31
31
|
{"name":"labelPosition","common":true},
|
|
32
32
|
{"name":"layout","common":true},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{"to":"BbColorPalette","mapping":"{ panel: 'panel', sheet: 'sheet', swatch: 'swatch' }"}
|
|
12
12
|
],
|
|
13
13
|
"nodes": [
|
|
14
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
14
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
15
15
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]},
|
|
16
16
|
{"name":"BbColorPalette","kind":"public"}
|
|
17
17
|
]
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"nodes": [
|
|
14
14
|
{"name":"BbDatePicker","kind":"public"},
|
|
15
15
|
{"name":"BbIcon","kind":"public"},
|
|
16
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
16
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
17
17
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]}
|
|
18
18
|
]
|
|
19
19
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{"name":"placement","type":"\"cursor\" | Placement","default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position of the dropdown relative to the activator. Use `'cursor'` to anchor at the mouse/touch coordinates. (No arrow is drawn either way — arrows are tooltip-only in v3.)"},
|
|
28
28
|
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"input\", \"list\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
29
29
|
{"name":"queryDebounceTime","type":"number","default":"300","description":"Debounce (ms) applied to the async re-fetch a `searchable` group fires as the user types. Applies to every searchable group in the menu."},
|
|
30
|
-
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is
|
|
30
|
+
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},
|
|
31
31
|
{"name":"trigger","type":"DropdownTrigger | DropdownTrigger[]","default":"\"click\"","description":"Interaction(s) that open the dropdown. Accepts a single trigger or an array to combine them.\n- `'click'` — left-click / tap (default)\n- `'contextMenu'` — right-click on desktop, long-press on mobile"},
|
|
32
32
|
{"name":"width","type":"string | number","default":"\"auto\"","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}
|
|
33
33
|
],
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
],
|
|
93
93
|
"config": "adaptive*, compact*, variants",
|
|
94
94
|
"types": [
|
|
95
|
-
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
95
|
+
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","hidden?: boolean","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","hidden?: boolean","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
96
96
|
{"name":"BbDropdownItemSlotProps","usedAs":["slot item:append","slot item:prepend","slot <value>","slot <value>:prepend","slot <value>:append","slot <groupId>:item","slot <groupId>:item:prepend","slot <groupId>:item:append","slot <groupId>","slot <groupId>:prepend","slot <groupId>:append"],"fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"]},
|
|
97
97
|
{"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
|
|
98
98
|
{"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor","prop boundary"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | null;"},
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
{"name":"text","common":true},
|
|
67
67
|
{"name":"to","type":"string | et | X","description":"Route Location the link should navigate to when clicked on."},
|
|
68
68
|
{"name":"toggle:icon","type":"string","description":"Replaces the chevron shown inside the dropdown toggle button. A constrained alternative to a slot: only the toggle's icon changes, so the button keeps its semantics. Named after the part it sits in (the `toggle`), the way `prepend:icon` / `append:icon` name theirs."},
|
|
69
|
-
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is
|
|
69
|
+
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},
|
|
70
70
|
{"name":"type","type":"\"button\" | \"reset\" | \"submit\"","description":"Gets the classification and default behavior of the button."},
|
|
71
71
|
{"name":"variant","type":"ButtonVariantType","default":"`components.BbButton.variant`, else `'primary'`","values":["outline","primary","destructive","secondary","none","ghost","link"],"description":"Visual variant shared by both buttons of the split control. `'none'` takes no look (you own hover, focus and disabled); register a real one with the plugin's `components.BbButton.variants` and style `.bb-button--<name>`. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},
|
|
72
72
|
{"name":"viewTransition","common":true},
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
],
|
|
148
148
|
"config": "block*",
|
|
149
149
|
"types": [
|
|
150
|
-
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
150
|
+
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","hidden?: boolean","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","hidden?: boolean","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
151
151
|
{"name":"BbDropdownItemSlotProps","usedAs":["slot <value>","slot <value>:prepend","slot <value>:append","slot <groupId>:item","slot <groupId>:item:prepend","slot <groupId>:item:append","slot <groupId>","slot <groupId>:prepend","slot <groupId>:append"],"fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"]},
|
|
152
152
|
{"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
|
|
153
153
|
{"name":"ButtonVariantType","usedAs":["prop variant"],"definition":"type ButtonVariantType = ButtonVariantFromRegistry | 'none';","values":["primary","outline","secondary","ghost","destructive","link","none"],"extensibleVia":"ButtonVariantRegistry"},
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{"part":"controlAttrs","target":"input"}
|
|
8
8
|
],
|
|
9
9
|
"nodes": [
|
|
10
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbNumberInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
10
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbNumberInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
11
11
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbNumberInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{"part":"icon","target":"BbBaseRadioIcon"}
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbRadio","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
8
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbRadio","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
9
9
|
{"name":"BbBaseRadioIcon","kind":"public"}
|
|
10
10
|
]
|
|
11
11
|
},
|