File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 177177| Prop name | Required | Kind | Reactive | Type | Default value | Description |
178178| :-------- | :------- | :--------------- | :------- | --------------------------------- | ---------------------- | ------------------------------------------------ |
179179| 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 |
181181| disabled | No | <code >let</code > | No | <code >boolean</code > | <code >false</code > | Set to ` true ` to disable the accordion |
182182| skeleton | No | <code >let</code > | No | <code >boolean</code > | <code >false</code > | Set to ` true ` to display the skeleton state |
183183
Original file line number Diff line number Diff line change 2121 "name" : " size" ,
2222 "kind" : " let" ,
2323 "description" : " Specify the size of the accordion" ,
24- "type" : " \" sm\" | \" xl \" " ,
24+ "type" : " \" sm\" | \" lg \" " ,
2525 "isFunction" : false ,
2626 "isFunctionDeclaration" : false ,
2727 "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
8888
8989<FileSource src="/framed/Accordion/ExpandableAccordion" />
9090
91- ## Extra-large size
91+ ## Large size
9292
93- <Accordion size="xl ">
93+ <Accordion size="lg ">
9494 <AccordionItem title="Natural Language Classifier">
9595 <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.
9696 </p>
Original file line number Diff line number Diff line change 99
1010 /**
1111 * Specify the size of the accordion
12- * @type {"sm" | "xl "}
12+ * @type {"sm" | "lg "}
1313 */
1414 export let size = undefined ;
1515
4848 class:bx--accordion--start =" {align === ' start' }"
4949 class:bx--accordion--end =" {align === ' end' }"
5050 class:bx--accordion--sm =" {size === ' sm' }"
51- class:bx--accordion--xl =" {size === ' xl' }"
51+ class:bx--accordion--lg =" {size === ' lg ' || size === ' xl' }"
5252 {...$$restProps }
5353 on:click
5454 on:mouseover
Original file line number Diff line number Diff line change 110110 </AccordionItem >
111111</Accordion >
112112
113- <Accordion size =" xl " >
113+ <Accordion size =" lg " >
114114 <AccordionItem title =" Natural Language Classifier" >
115115 <p >
116116 Natural Language Classifier uses advanced natural language processing and
214214
215215<Accordion skeleton open =" {false }" />
216216
217- <Accordion skeleton size =" xl " />
217+ <Accordion skeleton size =" lg " />
218218
219219<Accordion skeleton size =" sm" />
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export interface AccordionProps extends AccordionSkeletonProps {
1212 * Specify the size of the accordion
1313 * @default undefined
1414 */
15- size ?: "sm" | "xl " ;
15+ size ?: "sm" | "lg " ;
1616
1717 /**
1818 * Set to `true` to disable the accordion
You can’t perform that action at this time.
0 commit comments