akaza-ui 0.0.8-alpha → 0.0.10-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/dist/akaza-ui.cjs +12599 -11774
- package/dist/akaza-ui.cjs.map +1 -1
- package/dist/akaza-ui.css +205 -37
- package/dist/akaza-ui.js +12603 -11778
- package/dist/akaza-ui.js.map +1 -1
- package/dist/color-conversion-B5zm5Dji.cjs +1911 -0
- package/dist/color-conversion-B5zm5Dji.cjs.map +1 -0
- package/dist/color-conversion-IRr4zbEp.js +1912 -0
- package/dist/color-conversion-IRr4zbEp.js.map +1 -0
- package/dist/nuxt.cjs +7 -0
- package/dist/nuxt.cjs.map +1 -1
- package/dist/nuxt.js +7 -0
- package/dist/nuxt.js.map +1 -1
- package/dist/types/components/app-layout/AppLayout.vue.d.ts +41 -0
- package/dist/types/components/app-layout/index.d.ts +59 -0
- package/dist/types/components/color-area/ColorArea.vue.d.ts +45 -0
- package/dist/types/components/color-area/index.d.ts +22 -0
- package/dist/types/components/color-field/ColorField.vue.d.ts +41 -0
- package/dist/types/components/color-field/index.d.ts +16 -0
- package/dist/types/components/color-picker/ColorPicker.vue.d.ts +103 -0
- package/dist/types/components/color-picker/index.d.ts +28 -0
- package/dist/types/components/color-slider/ColorSlider.vue.d.ts +49 -0
- package/dist/types/components/color-slider/index.d.ts +18 -0
- package/dist/types/components/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/types/components/color-swatch/index.d.ts +10 -0
- package/dist/types/components/color-swatch-picker/ColorSwatchPicker.vue.d.ts +64 -0
- package/dist/types/components/color-swatch-picker/index.d.ts +38 -0
- package/dist/types/components/combobox/Combobox.vue.d.ts +2 -2
- package/dist/types/components/context-menu/index.d.ts +2 -0
- package/dist/types/components/date-range-picker/DateRangePicker.vue.d.ts +2 -2
- package/dist/types/components/listbox/Listbox.vue.d.ts +4 -4
- package/dist/types/components/menu/index.d.ts +2 -0
- package/dist/types/components/menu/useMenuActions.d.ts +21 -0
- package/dist/types/components/menubar/index.d.ts +2 -0
- package/dist/types/components/navigation-menu/items.d.ts +9 -0
- package/dist/types/components/select/Select.vue.d.ts +2 -2
- package/dist/types/components/sidebar/Sidebar.vue.d.ts +1 -0
- package/dist/types/components/sidebar/index.d.ts +1 -1
- package/dist/types/composables/color/engine.d.ts +23 -0
- package/dist/types/composables/color/index.d.ts +4 -0
- package/dist/types/composables/color/types.d.ts +30 -0
- package/dist/types/composables/color/useColor.d.ts +26 -0
- package/dist/types/composables/color/useColorCanvas.d.ts +10 -0
- package/dist/types/composables/color/useColorControl.d.ts +63 -0
- package/dist/types/composables/color/useColorInteraction.d.ts +10 -0
- package/dist/types/composables/disclosure/index.d.ts +2 -0
- package/dist/types/composables/disclosure/useDisclosure.d.ts +9 -0
- package/dist/types/composables/form-reset/index.d.ts +1 -0
- package/dist/types/composables/sidebar/useSidebar.d.ts +8 -8
- package/dist/types/composables/typeahead/index.d.ts +2 -0
- package/dist/types/composables/typeahead/useTypeahead.d.ts +15 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/utils/changeEvent.d.ts +5 -0
- package/dist/types/utils/floatingPosition.d.ts +22 -1
- package/dist/types/utils/number.d.ts +2 -0
- package/dist/types/utils/useDelayedAction.d.ts +5 -0
- package/dist/types/utils/useFieldControl.d.ts +11 -0
- package/dist/types/utils/useModalLifecycle.d.ts +14 -0
- package/dist/types/utils/usePopupInteraction.d.ts +13 -0
- package/dist/types/utils/useRangeFieldState.d.ts +24 -0
- package/dist/types/utils/useRovingFocus.d.ts +15 -0
- package/dist/types/utils/useSegmentFocus.d.ts +13 -0
- package/package.json +22 -20
package/README.md
CHANGED
|
@@ -36,12 +36,13 @@ Import component styles once in your app entry point:
|
|
|
36
36
|
import "akaza-ui/dist/akaza-ui.css";
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
**If you use Tailwind CSS**,
|
|
39
|
+
**If you use Tailwind CSS**, put the Akaza import in your CSS entry instead of `main.ts`. Declare `akaza-reset` first so utility classes take precedence, then import Tailwind followed by Akaza:
|
|
40
40
|
|
|
41
41
|
```css
|
|
42
42
|
/* main.css */
|
|
43
43
|
@layer akaza-reset;
|
|
44
44
|
@import "tailwindcss";
|
|
45
|
+
@import "akaza-ui/dist/akaza-ui.css";
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
### Nuxt
|
|
@@ -59,10 +60,14 @@ No manual CSS import or component registration needed.
|
|
|
59
60
|
|
|
60
61
|
## Components
|
|
61
62
|
|
|
62
|
-
`
|
|
63
|
+
`AppLayout` provides a flat application shell with optional header, left, content, right, and footer slots. Compose `Sidebar` for responsive navigation. A readable `layout` object controls spans and overlay sides; `scroll` selects content or page scrolling. Try the layout builder in the component docs for complete examples.
|
|
64
|
+
|
|
65
|
+
`Accordion` · `AlertDialog` · `AppLayout` · `Avatar` · `Button` · `Calendar` · `Checkbox` · `CheckboxGroup` · `Collapsible` · `Combobox` · `ContextMenu` · `DataTable` · `DateField` · `DateRangeField` · `DateRangePicker` · `Dialog` · `Drawer` · `Editable` · `Field` · `Fieldset` · `Form` · `HoverPreviewCard` · `Input` · `Listbox` · `Menu` · `Menubar` · `Meter` · `NavigationMenu` · `NumberField` · `OverlayProvider` · `Pagination` · `PinInput` · `Popover` · `Progress` · `RadioGroup` · `Rating` · `Select` · `Separator` · `Sidebar` · `Slider` · `Stepper` · `Switch` · `Tabs` · `TagsInput` · `Toast` · `Toggle` · `ToggleGroup` · `Toolbar` · `Tooltip` · `Tree`
|
|
63
66
|
|
|
64
67
|
## Usage
|
|
65
68
|
|
|
69
|
+
Color controls include `ColorPicker`, `ColorField`, `ColorArea`, `ColorSlider`, `ColorSwatch`, and `ColorSwatchPicker`. They share the DOM-free `useColor` composable and CSS string models. The `format` prop selects output notation, including HEX, RGB, HSL, HWB, Lab/LCH, OKLab/OKLCH, Display P3, and other CSS spaces. ColorPicker uses flat slots and nested `ui` maps rather than a required public part tree. See the [color documentation](https://akaza-ui.com/components/color-picker) for examples and gamut limits.
|
|
70
|
+
|
|
66
71
|
```vue
|
|
67
72
|
<script setup lang="ts">
|
|
68
73
|
import { Dialog } from "akaza-ui";
|