File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 177
177
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
178
178
| :-------- | :------- | :--------------- | :------- | --------------------------------- | ---------------------- | ------------------------------------------------ |
179
179
| align | No | <code >let</code > | No | <code >"start" | ; "end"</code > | <code >"end"</code > | Specify alignment of accordion item chevron icon |
180
- | size | No | <code >let</code > | No | <code >"sm" | ; "xl "</code > | <code >undefined</code > | Specify the size of the accordion |
180
+ | size | No | <code >let</code > | No | <code >"sm" | ; "lg "</code > | <code >undefined</code > | Specify the size of the accordion |
181
181
| disabled | No | <code >let</code > | No | <code >boolean</code > | <code >false</code > | Set to ` true ` to disable the accordion |
182
182
| skeleton | No | <code >let</code > | No | <code >boolean</code > | <code >false</code > | Set to ` true ` to display the skeleton state |
183
183
Original file line number Diff line number Diff line change 21
21
"name" : " size" ,
22
22
"kind" : " let" ,
23
23
"description" : " Specify the size of the accordion" ,
24
- "type" : " \" sm\" | \" xl \" " ,
24
+ "type" : " \" sm\" | \" lg \" " ,
25
25
"isFunction" : false ,
26
26
"isFunctionDeclaration" : false ,
27
27
"isRequired" : false ,
Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ This example demonstrates how a list of items can be programmatically expanded a
88
88
89
89
<FileSource src="/framed/Accordion/ExpandableAccordion" />
90
90
91
- ## Extra-large size
91
+ ## Large size
92
92
93
- <Accordion size="xl ">
93
+ <Accordion size="lg ">
94
94
<AccordionItem title="Natural Language Classifier">
95
95
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
96
96
</p>
Original file line number Diff line number Diff line change 9
9
10
10
/**
11
11
* Specify the size of the accordion
12
- * @type {"sm" | "xl "}
12
+ * @type {"sm" | "lg "}
13
13
*/
14
14
export let size = undefined ;
15
15
47
47
class:bx--accordion--start =" {align === ' start' }"
48
48
class:bx--accordion--end =" {align === ' end' }"
49
49
class:bx--accordion--sm =" {size === ' sm' }"
50
- class:bx--accordion--xl =" {size === ' xl' }"
50
+ class:bx--accordion--lg =" {size === ' lg ' || size === ' xl' }"
51
51
{...$$restProps }
52
52
on:click
53
53
on:mouseover
Original file line number Diff line number Diff line change 110
110
</AccordionItem >
111
111
</Accordion >
112
112
113
- <Accordion size =" xl " >
113
+ <Accordion size =" lg " >
114
114
<AccordionItem title =" Natural Language Classifier" >
115
115
<p >
116
116
Natural Language Classifier uses advanced natural language processing and
214
214
215
215
<Accordion skeleton open =" {false }" />
216
216
217
- <Accordion skeleton size =" xl " />
217
+ <Accordion skeleton size =" lg " />
218
218
219
219
<Accordion skeleton size =" sm" />
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export interface AccordionProps extends AccordionSkeletonProps {
13
13
* Specify the size of the accordion
14
14
* @default undefined
15
15
*/
16
- size ?: "sm" | "xl " ;
16
+ size ?: "sm" | "lg " ;
17
17
18
18
/**
19
19
* Set to `true` to disable the accordion
You can’t perform that action at this time.
0 commit comments