Skip to content

Commit

Permalink
Merge branch 'main' into refactor/toolbar-358
Browse files Browse the repository at this point in the history
  • Loading branch information
Cr0zy07 committed Jan 8, 2024
2 parents fa11427 + 2c6fbb0 commit 307c27d
Show file tree
Hide file tree
Showing 849 changed files with 9,034 additions and 9,360 deletions.
5 changes: 1 addition & 4 deletions .docs/content/primitives/1.getting-started/1.introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ head:

With Oku, you get a wide range of features that can be easily integrated into your projects, including unstyled, accessible UI components, state management solutions, API integrations, and much more.


Oku Primitives is a low-level UI component library with a focus on accessibility, customization and developer experience. You can use these components either as the base layer of your design system, or adopt them incrementally.

## Acknowledgement

A big thank you to the developers of [Radix Primitives](https://www.radix-ui.com/). Their amazing work made it possible for me to create this port to Vue 3 - without them there is no Oku Primitives.


## Vision

Most of us share similar definitions for common UI patterns like accordion, checkbox,
Expand Down Expand Up @@ -82,7 +80,6 @@ The following components are available:
Get an overview of all available components.
::


## Features

- Supports Tailwind CSS
Expand Down Expand Up @@ -121,4 +118,4 @@ To file issues, request features, and contribute, check out our GitHub.

[GitHub repo](https://github.com/oku-ui/primitives)

[Code of conduct](https://github.com/oku-ui/primitives/blob/main/CODE_OF_CONDUCT.md)
[Code of conduct](https://github.com/oku-ui/primitives/blob/main/CODE_OF_CONDUCT.md)
6 changes: 1 addition & 5 deletions .docs/content/primitives/1.getting-started/2.nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ export default {
```
::




## Options

::code-group
Expand Down Expand Up @@ -86,7 +83,6 @@ export default {
```
::


::OkuTable
---
data:
Expand All @@ -100,4 +96,4 @@ data:
description: |
Install only selected components
---
::
::
2 changes: 1 addition & 1 deletion .docs/content/primitives/1.getting-started/3.figma.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ The file also contains cover images and open-graph images for Twitter posts.

## Resources
- [Oku Primitives File](https://www.figma.com/community/file/1287361241251561588/oku-ui-primitives)
- [Oku Figma](https://www.figma.com/@oku_ui)
- [Oku Figma](https://www.figma.com/@oku_ui)
12 changes: 1 addition & 11 deletions .docs/content/primitives/2.components/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ npm install @oku-ui/accordion

::


## Anatomy

Import the component.
Expand Down Expand Up @@ -95,7 +94,6 @@ import {
### OkuAccordion
Contains all the parts of an accordion.


::OkuTable
---
data:
Expand Down Expand Up @@ -157,7 +155,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand All @@ -170,7 +167,6 @@ data:
---
::


### OkuAccordionItem
Contains all the parts of a collapsible section.

Expand Down Expand Up @@ -200,7 +196,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand Down Expand Up @@ -236,7 +231,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand Down Expand Up @@ -272,7 +266,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand All @@ -292,7 +285,6 @@ data:
### OkuAccordionContent
Contains the collapsible content for an item.


::OkuTable
---
data:
Expand All @@ -314,7 +306,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand All @@ -331,7 +322,6 @@ data:
---
::


::CssVariablesTable
---
data:
Expand Down Expand Up @@ -382,4 +372,4 @@ data:
description: |
When focus is on an `OkuAccordionTrigger`, moves focus to the last `OkuAccordionTrigger`.
---
::
::
6 changes: 0 additions & 6 deletions .docs/content/primitives/2.components/alert-dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ navigation:
::
::


## Features

- Full keyboard navigation.
Expand Down Expand Up @@ -57,7 +56,6 @@ npm install @oku-ui/alert-dialog

::


## Anatomy

Import the component.
Expand Down Expand Up @@ -101,7 +99,6 @@ import {
### OkuAlertDialog
Contains all the parts of an alert dialog.


::OkuTable
---
data:
Expand Down Expand Up @@ -141,7 +138,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand Down Expand Up @@ -195,7 +191,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand Down Expand Up @@ -248,7 +243,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand Down
5 changes: 1 addition & 4 deletions .docs/content/primitives/2.components/aspect-ratio.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ npm install @oku-ui/aspect-ratio

::



## Anatomy

Import the component.
Expand All @@ -75,7 +73,6 @@ import { OkuAspectRatio } from '@oku-ui/aspect-ratio'
### OkuAspectRatio
Contains the content you want to constrain to a given ratio.


::OkuTable
---
data:
Expand All @@ -89,4 +86,4 @@ data:
default: 1
description: The desired ratio
---
::
::
3 changes: 0 additions & 3 deletions .docs/content/primitives/2.components/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ links:
::
::


## Features

- Automatic and manual control over when the image renders.
Expand Down Expand Up @@ -87,7 +86,6 @@ data:
---
::


### OkuAvatarImage
The image to render. By default it will only render when it has loaded. You can use the `onLoadingStatusChange` handler if you need more control.

Expand All @@ -106,7 +104,6 @@ data:
---
::


### OkuAvatarFallback

An element that renders when the image hasn't loaded. This means whilst it's loading, or if there was an error. If you notice a flash during loading, you can provide a `delay-ms` prop to delay its rendering so it only renders for those with slower connections. For more control, use the `onLoadingStatusChange` handler on `OkuAvatarImage`.
Expand Down
10 changes: 0 additions & 10 deletions .docs/content/primitives/2.components/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@ links:
::
::



## Features

- Supports indeterminate state.
- Full keyboard navigation.
- Can be controlled or uncontrolled.



## Installation

Install the component from your command line.
Expand All @@ -57,7 +53,6 @@ npm install @oku-ui/checkbox

::


## Anatomy

Import the component.
Expand All @@ -81,7 +76,6 @@ import { OkuCheckbox, OkuCheckboxIndicator } from '@oku-ui/checkbox'
### OkuCheckbox
Contains all the parts of a checkbox. An input will also render when used within a form to ensure events propagate correctly.


::OkuTable
---
data:
Expand Down Expand Up @@ -119,7 +113,6 @@ data:
---
::


::OkuAttributesTable
---
data:
Expand All @@ -133,8 +126,6 @@ data:
---
::



### OkuCheckboxIndicator
Renders when the checkbox is in a checked or indeterminate state. You can style this element directly, or you can use it as a wrapper to put an icon into, or both.

Expand Down Expand Up @@ -165,7 +156,6 @@ data:
---
::


## Accessibility

Adheres to the [tri-state Checkbox WAI-ARIA design pattern](https://www.w3.org/WAI/ARIA/apg/patterns/checkbox).
Expand Down
7 changes: 0 additions & 7 deletions .docs/content/primitives/2.components/collapsible.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ links:
- Full keyboard navigation.
- Can be controlled or uncontrolled.


## Installation

Install the component from your command line.
Expand Down Expand Up @@ -113,11 +112,9 @@ data:
---
::


## OkuCollapsibleTrigger
The button that toggles the collapsible.


::OkuTable
---
data:
Expand All @@ -141,11 +138,9 @@ data:
---
::


## OkuCollapsibleContent
The component that contains the collapsible content.


::OkuTable
---
data:
Expand Down Expand Up @@ -182,12 +177,10 @@ data:
---
::


## Accessibility

Adheres to the [Disclosure WAI-ARIA design pattern.](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/)


::OkuKeyboardTable
---
data:
Expand Down

0 comments on commit 307c27d

Please sign in to comment.