diff --git a/packages/oruga/src/components/autocomplete/examples/readme.md b/packages/oruga/src/components/autocomplete/examples/readme.md index c089c77bf..510692680 100644 --- a/packages/oruga/src/components/autocomplete/examples/readme.md +++ b/packages/oruga/src/components/autocomplete/examples/readme.md @@ -1,3 +1,3 @@ The **Autocomplete** input component allows you to search through a list of options. It is an advanced input that provides suggestions as the user types. -Based on the Dropdown component, the Autocomplete component implements the W3C ARIA APG [Combobox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/). +Based on the Dropdown component, the Autocomplete component implements the W3C ARIA APG [Combobox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/). \ No newline at end of file diff --git a/packages/oruga/src/components/carousel/examples/readme.md b/packages/oruga/src/components/carousel/examples/readme.md index 0cd819528..4dba2956a 100644 --- a/packages/oruga/src/components/carousel/examples/readme.md +++ b/packages/oruga/src/components/carousel/examples/readme.md @@ -1 +1 @@ -The **Carousel** component is a slideshow for cycling through elements — images or slides of text—like a carousel. +The **Carousel** component is a slideshow for cycling through elements — images or slides of text—like a carousel. \ No newline at end of file diff --git a/packages/oruga/src/components/checkbox/examples/readme.md b/packages/oruga/src/components/checkbox/examples/readme.md index 2bcf35a44..eff5849d7 100644 --- a/packages/oruga/src/components/checkbox/examples/readme.md +++ b/packages/oruga/src/components/checkbox/examples/readme.md @@ -2,4 +2,4 @@ The **Checkbox** input component uses [HTML's native checkbox input](https://dev It can display one or many options to a user and is a great way to allow users to select multiple items from a list. The component supports single and multiple checkbox inputs. The component supports the W3C ARIA APG [Checkbox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/). -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/field/examples/readme.md b/packages/oruga/src/components/field/examples/readme.md index b058e807c..37c60bd56 100644 --- a/packages/oruga/src/components/field/examples/readme.md +++ b/packages/oruga/src/components/field/examples/readme.md @@ -1 +1 @@ -The **Field** component is used to add functionality to controls and to attach/group components and elements together. +The **Field** component is used to add functionality to controls and to attach/group components and elements together. \ No newline at end of file diff --git a/packages/oruga/src/components/loading/examples/readme.md b/packages/oruga/src/components/loading/examples/readme.md index e28164944..ac48490e8 100644 --- a/packages/oruga/src/components/loading/examples/readme.md +++ b/packages/oruga/src/components/loading/examples/readme.md @@ -1 +1 @@ -The **Loading** component allows you to display a loading state for use on a global state or a specific element. +The **Loading** component allows you to display a loading state for use on a global state or a specific element. \ No newline at end of file diff --git a/packages/oruga/src/components/menu/examples/index.vue b/packages/oruga/src/components/menu/examples/index.vue index d9807a69b..def98f101 100644 --- a/packages/oruga/src/components/menu/examples/index.vue +++ b/packages/oruga/src/components/menu/examples/index.vue @@ -21,6 +21,39 @@ import OptionsCode from "./options.vue?raw";

-

Options

- +

Options

+

+ Instead of using the <o-menu-item> component + directly inside the default slot, an options prop can + be defined, which can be used to define the options + programmatically. It accepts several different formats of values: +

+ + +
+

Note

+

+ The options prop works the same as the + + Select + + input component options prop. +

+
+ + diff --git a/packages/oruga/src/components/pagination/examples/readme.md b/packages/oruga/src/components/pagination/examples/readme.md index a2e515e88..909b426a5 100644 --- a/packages/oruga/src/components/pagination/examples/readme.md +++ b/packages/oruga/src/components/pagination/examples/readme.md @@ -1 +1 @@ -The **Pagination** component is responsive and flexible way to indicate a series of related content exists across multiple pages. +The **Pagination** component is responsive and flexible way to indicate a series of related content exists across multiple pages. \ No newline at end of file diff --git a/packages/oruga/src/components/radio/examples/readme.md b/packages/oruga/src/components/radio/examples/readme.md index 6d1e63c61..78fbdffb2 100644 --- a/packages/oruga/src/components/radio/examples/readme.md +++ b/packages/oruga/src/components/radio/examples/readme.md @@ -1,3 +1,3 @@ The **Radio** input component uses [HTML's native radio inputs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio) to allow a user to select one value from a set of options. The component supports the W3C ARIA APG [Radio Group Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/radio/). -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/select/examples/readme.md b/packages/oruga/src/components/select/examples/readme.md index 865b64829..d73ff918a 100644 --- a/packages/oruga/src/components/select/examples/readme.md +++ b/packages/oruga/src/components/select/examples/readme.md @@ -1,3 +1,3 @@ The **Select** input component uses [HTML's native select input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select). Select inputs can be single value selections, or multi-value selections by using the `multiple` attribute. -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/skeleton/examples/readme.md b/packages/oruga/src/components/skeleton/examples/readme.md index ab9650acf..1dcbb3675 100644 --- a/packages/oruga/src/components/skeleton/examples/readme.md +++ b/packages/oruga/src/components/skeleton/examples/readme.md @@ -1 +1 @@ -The **Skeleton** component is a placeholder for content to load. +The **Skeleton** component is a placeholder for content to load. \ No newline at end of file diff --git a/packages/oruga/src/components/slider/examples/readme.md b/packages/oruga/src/components/slider/examples/readme.md index 428b5da33..fc2b3ec46 100644 --- a/packages/oruga/src/components/slider/examples/readme.md +++ b/packages/oruga/src/components/slider/examples/readme.md @@ -1,3 +1,3 @@ The **Slider** input component let user select a value or range from a given range with a graphic slider. The component implements the W3C ARIA APG [Slider Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/slider/). -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/switch/examples/readme.md b/packages/oruga/src/components/switch/examples/readme.md index c1ab003fd..3c8595b8e 100644 --- a/packages/oruga/src/components/switch/examples/readme.md +++ b/packages/oruga/src/components/switch/examples/readme.md @@ -1,4 +1,4 @@ The **Switch** input component — sometimes called a "toggle" — offers a choice between one of two values; it's a great option when you want the user to toggle a feature on or off. This component implements the W3C ARIA APG [Switch Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/). -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/taginput/examples/readme.md b/packages/oruga/src/components/taginput/examples/readme.md index 060840ce9..a824cbbb8 100644 --- a/packages/oruga/src/components/taginput/examples/readme.md +++ b/packages/oruga/src/components/taginput/examples/readme.md @@ -1,3 +1,3 @@ The **Taginput** input component allows users to search through a list of options and apply any number of tags. The component is based on the Autocomplete component and supports the W3C ARIA APG [Combobox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/). -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file diff --git a/packages/oruga/src/components/upload/examples/readme.md b/packages/oruga/src/components/upload/examples/readme.md index 72b4bf219..f03d3612d 100644 --- a/packages/oruga/src/components/upload/examples/readme.md +++ b/packages/oruga/src/components/upload/examples/readme.md @@ -1,2 +1,2 @@ The **Upload** input component uses [HTML's native file input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file). It allows users to select files from their device for upload. In addition to native input features, it adds support for Drag and drop and clearing the input. -Use it with the Field component to access all the functionalities. +Use it with the Field component to access all the functionalities. \ No newline at end of file