Skip to content

Commit 262f927

Browse files
committed
docs(color-picker): correctly name and order examples
to better follow the lib's conventions
1 parent 2481356 commit 262f927

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/color-picker/color-picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import type { CustomColorSwatch } from './color-picker.types';
2222
* :::
2323
*
2424
* @exampleComponent limel-example-color-picker-basic
25-
* @exampleComponent limel-example-color-picker-readonly
2625
* @exampleComponent limel-example-color-picker-custom-palette
2726
* @exampleComponent limel-example-color-picker-manual-input
27+
* @exampleComponent limel-example-color-picker-composite
2828
*/
2929
@Component({
3030
tag: 'limel-color-picker',

src/components/color-picker/examples/color-picker-readonly.tsx renamed to src/components/color-picker/examples/color-picker-composite.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { Component, h, Host, State } from '@stencil/core';
44
*/
55

66
@Component({
7-
tag: 'limel-example-color-picker-readonly',
7+
tag: 'limel-example-color-picker-composite',
88
shadow: true,
99
})
10-
export class ColorPickerReadonlyExample {
10+
export class ColorPickerCompositeExample {
1111
@State()
1212
private value = 'rgba(var(--color-red-default), 0.4)';
1313

0 commit comments

Comments
 (0)