Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 8162c61

Browse files
authored
feat(BFormSpinButton)!: rename to BFormSpinbutton for compat docs: add defaults in data.ts files refactor: BListGroupItem does not extend BLink fixes bootstrap-vue-next#1394 refactor(useBLinkHelper): blink decomposition fixes bootstrap-vue-next#1385 fix: "active" prop fixes bootstrap-vue-next#1395 fix(BLink): router-link-active class not being applied fixes bootstrap-vue-next#1395
feat(BFormSpinButton)!: rename to BFormSpinbutton for compat docs: add defaults in data.ts files refactor: BListGroupItem does not extend BLink fixes bootstrap-vue-next#1394 refactor(useBLinkHelper): blink decomposition fixes bootstrap-vue-next#1385 fix: "active" prop fixes bootstrap-vue-next#1395 fix(BLink): router-link-active class not being applied fixes bootstrap-vue-next#1395
1 parent 551ab58 commit 8162c61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1648
-882
lines changed

apps/docs/src/data/components/accordion.data.ts

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,27 @@ export default {
88
{
99
prop: 'flush',
1010
type: 'Booleanish',
11+
default: false,
1112
description:
12-
'remove the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container',
13+
'Remove the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container',
1314
},
1415
{
1516
prop: 'free',
1617
type: 'Booleanish',
17-
description: 'accordion items stay open when another item is opened',
18+
default: false,
19+
description: 'Accordion items will stay open when another item is opened',
1820
},
1921
{
2022
prop: 'id',
2123
type: 'string',
24+
default: undefined,
2225
description:
23-
'The Id to be injected to accordian items and used to in BCollapse for state managment',
26+
'The Id to be injected to accordion items and used to in BCollapse for state managment',
27+
},
28+
{
29+
prop: 'modelValue',
30+
type: 'string',
31+
default: undefined,
2432
},
2533
],
2634
emits: [],
@@ -38,14 +46,47 @@ export default {
3846
{
3947
prop: 'id',
4048
type: 'string',
49+
default: undefined,
4150
},
4251
{
4352
prop: 'title',
4453
type: 'string',
54+
default: undefined,
55+
},
56+
{
57+
prop: 'modelValue',
58+
type: 'Booleanish',
59+
default: false,
60+
},
61+
{
62+
prop: 'headerTag',
63+
type: 'string',
64+
default: 'h2',
65+
},
66+
{
67+
prop: 'tag',
68+
type: 'string',
69+
default: undefined,
70+
},
71+
{
72+
prop: 'toggle',
73+
type: 'Booleanish',
74+
default: undefined,
75+
},
76+
{
77+
prop: 'horizontal',
78+
type: 'Booleanish',
79+
default: undefined,
4580
},
4681
{
4782
prop: 'visible',
4883
type: 'Booleanish',
84+
default: false,
85+
},
86+
{
87+
prop: 'isNav',
88+
type: 'Booleanish',
89+
default: undefined,
4990
},
5091
],
5192
emits: [],

apps/docs/src/data/components/alert.data.ts

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,68 @@ export default {
66
component: 'BAlert',
77
props: [
88
{
9-
prop: 'dismissLabel',
9+
prop: 'closeVariant',
10+
type: 'ButtonVariant | null',
11+
default: 'secondary',
12+
},
13+
{
14+
prop: 'closeClass',
15+
type: 'ClassValue',
16+
default: undefined,
17+
},
18+
{
19+
prop: 'closeLabel',
1020
type: 'string',
11-
description: "Value for the 'aria-label' attribute on the dismiss button",
21+
default: 'Close',
1222
},
1323
{
14-
prop: 'dismissible',
24+
prop: 'closeContent',
25+
type: 'string',
26+
default: undefined,
27+
},
28+
{
29+
prop: 'noHoverPause',
1530
type: 'Booleanish',
16-
description: 'When set, enables the dismiss close button',
17-
default: 'abc',
31+
default: false,
1832
},
1933
{
20-
description: '',
21-
prop: 'modelValue',
22-
type: 'boolean | number',
34+
prop: 'dismissible',
35+
type: 'Booleanish',
36+
default: false,
37+
description: 'When set, enables the dismiss close button',
2338
},
2439
{
2540
prop: 'fade',
2641
type: 'Booleanish',
42+
default: false,
2743
description: 'When set to true, enables the fade animation/transition on the component',
2844
},
45+
{
46+
prop: 'modelValue',
47+
type: 'boolean | number',
48+
default: false,
49+
},
2950
{
3051
prop: 'variant',
31-
type: 'ColorVariant',
52+
type: 'ColorVariant | null',
53+
default: 'info',
3254
description: 'Applies one of the Bootstrap theme color variants to the component',
3355
},
56+
{
57+
prop: 'immediate',
58+
type: 'Booleanish',
59+
default: true,
60+
},
61+
{
62+
prop: 'interval',
63+
type: 'number | string',
64+
default: 1000,
65+
},
66+
{
67+
prop: 'showOnPause',
68+
type: 'Booleanish',
69+
default: true,
70+
},
3471
],
3572
slots: [],
3673
emits: [

apps/docs/src/data/components/avatar.data.ts

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,74 +8,77 @@ export default {
88
{
99
prop: 'alt',
1010
type: 'string',
11-
},
12-
{
13-
prop: 'ariaLabel',
14-
type: 'string',
11+
default: 'avatar',
1512
},
1613
{
1714
prop: 'badge',
1815
type: 'boolean | string',
16+
default: false,
1917
},
2018
{
2119
prop: 'badgeLeft',
2220
type: 'Booleanish',
21+
default: false,
2322
},
2423
{
2524
prop: 'badgeOffset',
2625
type: 'string',
26+
default: undefined,
2727
},
2828
{
2929
prop: 'badgeTop',
3030
type: 'Booleanish',
31+
default: false,
3132
},
3233
{
3334
prop: 'badgeVariant',
34-
type: 'ColorVariant',
35+
type: 'ColorVariant | null',
36+
default: 'primary',
3537
},
3638
{
3739
prop: 'button',
3840
type: 'Booleanish',
41+
default: false,
3942
},
4043
{
4144
prop: 'buttonType',
42-
type: 'string',
43-
},
44-
{
45-
prop: 'disabled',
46-
type: 'Booleanish',
45+
type: 'ButtonType',
46+
default: 'button',
4747
},
4848
{
4949
prop: 'icon',
5050
type: 'string',
51+
default: undefined,
5152
},
5253
{
5354
prop: 'rounded',
5455
type: 'boolean | string',
56+
default: 'circle',
5557
},
5658
{
5759
prop: 'size',
58-
type: "'sm' | 'md' | 'lg' | string",
60+
type: 'Size | string',
61+
default: undefined,
5962
},
6063
{
6164
prop: 'square',
6265
type: 'Booleanish',
66+
default: false,
6367
},
6468
{
6569
prop: 'src',
6670
type: 'string',
71+
default: undefined,
6772
},
6873
{
6974
prop: 'text',
7075
type: 'string',
76+
default: undefined,
7177
},
7278
{
7379
prop: 'textVariant',
74-
type: 'ColorVariant',
75-
},
76-
{
77-
prop: 'variant',
78-
type: 'ColorVariant',
80+
type: 'TextColorVariant | null',
81+
default: null,
7982
},
8083
],
8184
emits: [
@@ -121,26 +124,32 @@ export default {
121124
{
122125
prop: 'overlap',
123126
type: 'number | string',
127+
default: 0.3,
124128
},
125129
{
126130
prop: 'rounded',
127131
type: 'boolean | string',
132+
default: false,
128133
},
129134
{
130135
prop: 'size',
131-
type: "'sm' | 'md' | 'lg' | string",
136+
type: 'Size | string',
137+
default: undefined,
132138
},
133139
{
134140
prop: 'square',
135141
type: 'Booleanish',
142+
default: false,
136143
},
137144
{
138145
prop: 'tag',
139146
type: 'string',
147+
default: 'div',
140148
},
141149
{
142150
prop: 'variant',
143-
type: 'ColorVariant',
151+
type: 'ColorVariant | null',
152+
default: null,
144153
},
145154
],
146155
slots: [

apps/docs/src/data/components/badge.data.ts

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,28 @@ export default {
66
component: 'BBadge',
77
props: [
88
{
9-
prop: 'dotIndicator',
10-
description: 'Indication position and dot styling applied',
9+
prop: 'pill',
1110
type: 'Booleanish',
11+
default: false,
12+
description: "When set to 'true', renders the badge in pill style",
1213
},
1314
{
14-
prop: 'textIndicator',
15-
description: 'Indication position applied',
16-
type: 'Booleanish',
15+
prop: 'tag',
16+
type: 'string',
17+
default: 'span',
18+
description: 'Specify the HTML tag to render instead of the default tag',
1719
},
1820
{
19-
prop: 'pill',
20-
description: "When set to 'true', renders the badge in pill style",
21+
prop: 'textIndicator',
2122
type: 'Booleanish',
23+
default: false,
24+
description: 'Indication position applied',
2225
},
2326
{
24-
prop: 'variant',
25-
description: 'Applies one of the Bootstrap theme color variants to the component',
26-
type: 'ColorVariant',
27-
},
28-
{
29-
prop: 'tag',
30-
description: 'Specify the HTML tag to render instead of the default tag',
31-
type: 'string',
27+
prop: 'dotIndicator',
28+
type: 'Booleanish',
29+
default: false,
30+
description: 'Indication position and dot styling applied',
3231
},
3332
],
3433
emits: [],

apps/docs/src/data/components/breadcrumb.data.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default {
99
prop: 'items',
1010
description: '',
1111
type: 'BreadcrumbItem[]',
12+
default: undefined,
1213
},
1314
],
1415
emits: [],
@@ -46,24 +47,14 @@ export default {
4647
],
4748
props: [
4849
{
49-
description: '',
50-
prop: 'active',
51-
type: 'Booleanish',
52-
},
53-
{
54-
description: '',
5550
prop: 'ariaCurrent',
5651
type: 'string',
52+
default: 'location',
5753
},
5854
{
59-
description: '',
60-
prop: 'disabled',
61-
type: 'Booleanish',
62-
},
63-
{
64-
description: '',
6555
prop: 'text',
6656
type: 'string',
57+
default: undefined,
6758
},
6859
],
6960
slots: [

0 commit comments

Comments
 (0)