@awes-io/ui 2.142.3 → 2.143.0

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.
Files changed (236) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/assets/css/components/_index.css +7 -1
  3. package/assets/css/components/animation.css +38 -32
  4. package/assets/css/components/content-placeholder.css +103 -0
  5. package/assets/css/components/empty-container.css +69 -1
  6. package/assets/css/components/filter-chosen.css +6 -0
  7. package/assets/css/components/filter-date-range.css +17 -1
  8. package/assets/css/components/filter-month.css +23 -17
  9. package/assets/css/components/filter-select.css +11 -0
  10. package/assets/css/components/layout.css +1 -32
  11. package/assets/css/components/modal.css +1 -1
  12. package/assets/css/components/number.css +12 -0
  13. package/assets/css/components/page-aside.css +54 -0
  14. package/assets/js/css.js +1 -1
  15. package/assets/js/icons/mono.js +59 -91
  16. package/assets/js/icons/multicolor.js +1 -31
  17. package/components/1_atoms/AwContentPlaceholder.vue +60 -0
  18. package/components/1_atoms/AwFlow.vue +21 -48
  19. package/components/1_atoms/AwLabel.vue +1 -1
  20. package/components/2_molecules/AwButton.vue +1 -1
  21. package/components/2_molecules/AwEmptyContainer.vue +74 -72
  22. package/components/2_molecules/AwNumber.vue +180 -0
  23. package/components/2_molecules/AwSelect.vue +11 -4
  24. package/components/3_organisms/AwFilterChosen.vue +73 -0
  25. package/components/3_organisms/AwFilterDateRange.vue +177 -0
  26. package/components/3_organisms/AwFilterMonth.vue +37 -40
  27. package/components/3_organisms/AwFilterSelect.vue +368 -0
  28. package/components/3_organisms/AwMultiBlockBuilder.vue +1 -1
  29. package/components/3_organisms/AwTable/AwTableBuilder.vue +12 -60
  30. package/components/4_pages/AwPageAside.vue +108 -0
  31. package/components/5_layouts/AwLayoutCenter.vue +3 -8
  32. package/components/5_layouts/_AwUserMenu.vue +1 -1
  33. package/dist/css/aw-icons.css +26 -0
  34. package/dist/fonts/aw-icons.svg +18 -0
  35. package/dist/fonts/aw-icons.ttf +0 -0
  36. package/dist/fonts/aw-icons.woff +0 -0
  37. package/dist/fonts/aw-icons.woff2 +0 -0
  38. package/docs/_template.md +80 -0
  39. package/docs/components/atoms/aw-accordion-fold.md +91 -0
  40. package/docs/components/atoms/aw-action-card-body.md +67 -0
  41. package/docs/components/atoms/aw-action-card.md +94 -0
  42. package/docs/components/atoms/aw-action-icon.md +88 -0
  43. package/docs/components/atoms/aw-avatar.md +106 -0
  44. package/docs/components/atoms/aw-card.md +112 -0
  45. package/docs/components/atoms/aw-checkbox.md +112 -0
  46. package/docs/components/atoms/aw-content-placeholder.md +116 -0
  47. package/docs/components/atoms/aw-description.md +83 -0
  48. package/docs/components/atoms/aw-dock.md +84 -0
  49. package/docs/components/atoms/aw-dropdown-button.md +94 -0
  50. package/docs/components/atoms/aw-dropdown.md +128 -0
  51. package/docs/components/atoms/aw-file.md +73 -0
  52. package/docs/components/atoms/aw-flow.md +92 -0
  53. package/docs/components/atoms/aw-grid.md +91 -0
  54. package/docs/components/atoms/aw-headline.md +71 -0
  55. package/docs/components/atoms/aw-icon-system-color.md +121 -0
  56. package/docs/components/atoms/aw-icon-system-mono.md +205 -0
  57. package/docs/components/atoms/aw-icon.md +235 -0
  58. package/docs/components/atoms/aw-info.md +85 -0
  59. package/docs/components/atoms/aw-input.md +120 -0
  60. package/docs/components/atoms/aw-label.md +83 -0
  61. package/docs/components/atoms/aw-link.md +99 -0
  62. package/docs/components/atoms/aw-list.md +88 -0
  63. package/docs/components/atoms/aw-progress.md +70 -0
  64. package/docs/components/atoms/aw-radio.md +109 -0
  65. package/docs/components/atoms/aw-refresh-wrapper.md +81 -0
  66. package/docs/components/atoms/aw-select-native.md +106 -0
  67. package/docs/components/atoms/aw-slider.md +82 -0
  68. package/docs/components/atoms/aw-sub-headline.md +73 -0
  69. package/docs/components/atoms/aw-switcher.md +115 -0
  70. package/docs/components/atoms/aw-tag.md +80 -0
  71. package/docs/components/atoms/aw-title.md +70 -0
  72. package/docs/components/atoms/aw-toggler.md +69 -0
  73. package/docs/components/layouts/aw-layout-center.md +168 -0
  74. package/docs/components/layouts/aw-layout-error.md +153 -0
  75. package/docs/components/layouts/aw-layout-provider.md +238 -0
  76. package/docs/components/layouts/aw-layout.md +88 -0
  77. package/docs/components/molecules/aw-action-button.md +91 -0
  78. package/docs/components/molecules/aw-alert.md +96 -0
  79. package/docs/components/molecules/aw-badge.md +108 -0
  80. package/docs/components/molecules/aw-banner-text.md +90 -0
  81. package/docs/components/molecules/aw-button-nav.md +46 -0
  82. package/docs/components/molecules/aw-button.md +123 -0
  83. package/docs/components/molecules/aw-description-input.md +67 -0
  84. package/docs/components/molecules/aw-empty-container.md +86 -0
  85. package/docs/components/molecules/aw-island.md +234 -0
  86. package/docs/components/molecules/aw-number.md +138 -0
  87. package/docs/components/molecules/aw-select-object.md +401 -0
  88. package/docs/components/molecules/aw-select.md +215 -0
  89. package/docs/components/molecules/aw-tab-nav.md +108 -0
  90. package/docs/components/molecules/aw-tel.md +129 -0
  91. package/docs/components/molecules/aw-textarea.md +83 -0
  92. package/docs/components/molecules/aw-userpic.md +115 -0
  93. package/docs/components/organisms/aw-address-block.md +64 -0
  94. package/docs/components/organisms/aw-address.md +132 -0
  95. package/docs/components/organisms/aw-birthday-picker.md +73 -0
  96. package/docs/components/organisms/aw-bottom-bar.md +66 -0
  97. package/docs/components/organisms/aw-calendar-days.md +115 -0
  98. package/docs/components/organisms/aw-calendar-nav.md +98 -0
  99. package/docs/components/organisms/aw-calendar-view.md +98 -0
  100. package/docs/components/organisms/aw-calendar.md +166 -0
  101. package/docs/components/organisms/aw-chart.md +154 -0
  102. package/docs/components/organisms/aw-chip-select.md +164 -0
  103. package/docs/components/organisms/aw-chip.md +126 -0
  104. package/docs/components/organisms/aw-code-snippet.md +94 -0
  105. package/docs/components/organisms/aw-code.md +132 -0
  106. package/docs/components/organisms/aw-context-menu.md +117 -0
  107. package/docs/components/organisms/aw-cropper.md +151 -0
  108. package/docs/components/organisms/aw-date.md +161 -0
  109. package/docs/components/organisms/aw-display-date.md +33 -0
  110. package/docs/components/organisms/aw-download-link.md +46 -0
  111. package/docs/components/organisms/aw-fetch-data.md +161 -0
  112. package/docs/components/organisms/aw-filter-chosen.md +226 -0
  113. package/docs/components/organisms/aw-filter-date-range.md +205 -0
  114. package/docs/components/organisms/aw-filter-month.md +43 -0
  115. package/docs/components/organisms/aw-filter-select.md +225 -0
  116. package/docs/components/organisms/aw-form.md +174 -0
  117. package/docs/components/organisms/aw-gmap-marker.md +86 -0
  118. package/docs/components/organisms/aw-gmap.md +90 -0
  119. package/docs/components/organisms/aw-image-upload.md +56 -0
  120. package/docs/components/organisms/aw-island-avatar.md +87 -0
  121. package/docs/components/organisms/aw-markdown-editor.md +104 -0
  122. package/docs/components/organisms/aw-modal-buttons.md +57 -0
  123. package/docs/components/organisms/aw-modal.md +246 -0
  124. package/docs/components/organisms/aw-model-edit.md +74 -0
  125. package/docs/components/organisms/aw-money.md +53 -0
  126. package/docs/components/organisms/aw-multi-block-builder.md +165 -0
  127. package/docs/components/organisms/aw-pagination.md +121 -0
  128. package/docs/components/organisms/aw-password.md +103 -0
  129. package/docs/components/organisms/aw-preview-card.md +45 -0
  130. package/docs/components/organisms/aw-search.md +116 -0
  131. package/docs/components/organisms/aw-subnav.md +122 -0
  132. package/docs/components/organisms/aw-table-builder.md +165 -0
  133. package/docs/components/organisms/aw-table-col.md +123 -0
  134. package/docs/components/organisms/aw-table-head.md +92 -0
  135. package/docs/components/organisms/aw-table-row.md +91 -0
  136. package/docs/components/organisms/aw-table.md +172 -0
  137. package/docs/components/organisms/aw-tags.md +54 -0
  138. package/docs/components/organisms/aw-toggle-show-aside.md +43 -0
  139. package/docs/components/organisms/aw-uploader-files.md +125 -0
  140. package/docs/components/organisms/aw-uploader.md +163 -0
  141. package/docs/components/organisms/aw-user-menu.md +87 -0
  142. package/docs/components/pages/aw-page-aside.md +296 -0
  143. package/docs/components/pages/aw-page-menu-buttons.md +172 -0
  144. package/docs/components/pages/aw-page-modal.md +198 -0
  145. package/docs/components/pages/aw-page-single.md +253 -0
  146. package/docs/components/pages/aw-page.md +194 -0
  147. package/docs/configuration.md +493 -0
  148. package/docs/cookbook/advanced-patterns.md +1388 -0
  149. package/docs/cookbook/common-patterns.md +965 -0
  150. package/docs/cookbook/index.md +786 -0
  151. package/docs/getting-started.md +596 -0
  152. package/docs/guides/best-practices.md +1106 -0
  153. package/docs/guides/data-fetching.md +852 -0
  154. package/docs/guides/error-handling.md +1172 -0
  155. package/docs/guides/forms-guide.md +1329 -0
  156. package/docs/guides/mobile-subnavigation.md +359 -0
  157. package/docs/guides/page-patterns/aside-pages.md +1418 -0
  158. package/docs/guides/page-patterns/dashboard-pages.md +990 -0
  159. package/docs/guides/page-patterns/detail-pages.md +1493 -0
  160. package/docs/guides/page-patterns/list-pages.md +1094 -0
  161. package/docs/index.md +263 -1
  162. package/docs/integrations.md +870 -0
  163. package/docs/reference/menu.md +462 -0
  164. package/docs/reference/plugins.md +970 -0
  165. package/docs/reference/troubleshooting.md +945 -0
  166. package/nuxt/awes.config.js +9 -8
  167. package/nuxt/icons.css +26 -0
  168. package/nuxt/index.js +2 -2
  169. package/nuxt/pages/more.vue +1 -1
  170. package/package.json +5 -3
  171. package/readme.md +171 -1
  172. package/docs/aw-accordion-fold.md +0 -46
  173. package/docs/aw-address.md +0 -44
  174. package/docs/aw-avatar.md +0 -51
  175. package/docs/aw-badge.md +0 -32
  176. package/docs/aw-button-nav.md +0 -44
  177. package/docs/aw-button.md +0 -50
  178. package/docs/aw-calendar-days.md +0 -46
  179. package/docs/aw-calendar-nav.md +0 -25
  180. package/docs/aw-calendar-view.md +0 -12
  181. package/docs/aw-calendar.md +0 -59
  182. package/docs/aw-card.md +0 -48
  183. package/docs/aw-chart.md +0 -51
  184. package/docs/aw-checkbox.md +0 -56
  185. package/docs/aw-chip-select.md +0 -46
  186. package/docs/aw-chip.md +0 -53
  187. package/docs/aw-code-snippet.md +0 -18
  188. package/docs/aw-code.md +0 -56
  189. package/docs/aw-content-wrapper.md +0 -40
  190. package/docs/aw-context-menu.md +0 -31
  191. package/docs/aw-cropper.md +0 -60
  192. package/docs/aw-dashboard-card.md +0 -37
  193. package/docs/aw-dashboard-donut.md +0 -30
  194. package/docs/aw-dashboard-line.md +0 -20
  195. package/docs/aw-dashboard-progress.md +0 -33
  196. package/docs/aw-dashboard-section.md +0 -32
  197. package/docs/aw-dashboard-speed.md +0 -30
  198. package/docs/aw-date.md +0 -52
  199. package/docs/aw-dropdown-button.md +0 -31
  200. package/docs/aw-dropdown.md +0 -69
  201. package/docs/aw-fetch-data.md +0 -45
  202. package/docs/aw-form.md +0 -52
  203. package/docs/aw-grid.md +0 -48
  204. package/docs/aw-icon.md +0 -50
  205. package/docs/aw-info.md +0 -53
  206. package/docs/aw-input.md +0 -55
  207. package/docs/aw-layout-default.md +0 -30
  208. package/docs/aw-layout-frame-center.md +0 -29
  209. package/docs/aw-layout-simple.md +0 -49
  210. package/docs/aw-link.md +0 -54
  211. package/docs/aw-markdown-editor.md +0 -51
  212. package/docs/aw-modal.md +0 -63
  213. package/docs/aw-multi-block-builder.md +0 -66
  214. package/docs/aw-page.md +0 -36
  215. package/docs/aw-pagination.md +0 -54
  216. package/docs/aw-password.md +0 -48
  217. package/docs/aw-radio.md +0 -54
  218. package/docs/aw-search.md +0 -49
  219. package/docs/aw-select.md +0 -93
  220. package/docs/aw-slider.md +0 -40
  221. package/docs/aw-svg-image.md +0 -19
  222. package/docs/aw-switcher.md +0 -51
  223. package/docs/aw-tab-nav.md +0 -55
  224. package/docs/aw-table-builder.md +0 -58
  225. package/docs/aw-table-col.md +0 -33
  226. package/docs/aw-table-head.md +0 -28
  227. package/docs/aw-table-row.md +0 -33
  228. package/docs/aw-table.md +0 -59
  229. package/docs/aw-tel.md +0 -47
  230. package/docs/aw-textarea.md +0 -47
  231. package/docs/aw-toggler.md +0 -41
  232. package/docs/aw-uploader-files.md +0 -20
  233. package/docs/aw-uploader.md +0 -60
  234. package/docs/aw-user-menu.md +0 -34
  235. package/docs/aw-userpic.md +0 -34
  236. /package/components/{3_organisms → 2_molecules}/AwTel.vue +0 -0
@@ -0,0 +1,128 @@
1
+ ---
2
+ metaTitle: Dropdown component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The <AwDropdown /> component is used to render Dropdown - UI Vue component for AwesCode UI.
6
+ title: Dropdown
7
+ ---
8
+
9
+ # Dropdown
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwDropdown` component provides a positioned dropdown menu with mobile and desktop support.
14
+
15
+ ## Overview
16
+
17
+ `AwDropdown` creates a dropdown menu that can be positioned relative to a target element using Popper.js. It supports both desktop (positioned) and mobile (fullscreen overlay) modes, with automatic detection based on screen size.
18
+
19
+ ## Usage
20
+
21
+ ### Basic Example
22
+
23
+ ```markup
24
+ <template>
25
+ <div>
26
+ <button ref="trigger" @click="show = !show">Toggle</button>
27
+ <AwDropdown :target="trigger" v-model="show">
28
+ <div>Dropdown content</div>
29
+ </AwDropdown>
30
+ </div>
31
+ </template>
32
+ ```
33
+
34
+ ### With Options
35
+
36
+ ```markup
37
+ <AwDropdown
38
+ :target="trigger"
39
+ v-model="show"
40
+ :options="{ placement: 'bottom-end' }"
41
+ >
42
+ <AwDropdownButton>Option 1</AwDropdownButton>
43
+ <AwDropdownButton>Option 2</AwDropdownButton>
44
+ </AwDropdown>
45
+ ```
46
+
47
+ ### With Title and Description
48
+
49
+ ```markup
50
+ <AwDropdown
51
+ :target="trigger"
52
+ v-model="show"
53
+ title="Menu Title"
54
+ description="Menu description"
55
+ >
56
+ <div>Content</div>
57
+ </AwDropdown>
58
+ ```
59
+
60
+ ## API
61
+
62
+ ### Props
63
+
64
+ | Name | Description | Type | Required | Default |
65
+ |------|-------------|------|----------|---------|
66
+ | tag | HTML tag for dropdown container | `String` | `false` | `'div'` (from config) |
67
+ | target | Target element reference or selector | `String` / `Element` | `false` | `''` |
68
+ | options | Popper.js options object | `Object` | `false` | From config |
69
+ | closeOnAction | Close when action element is clicked | `Boolean` | `false` | `true` |
70
+ | show | Whether dropdown is visible | `Boolean` | `false` | `false` |
71
+ | closeOutside | Close when clicking outside | `Boolean` | `false` | `true` |
72
+ | title | Mobile dropdown title | `String` | `false` | `''` |
73
+ | description | Mobile dropdown description | `String` | `false` | `''` |
74
+ | titleTag | HTML tag for title | `String` | `false` | `'h3'` |
75
+
76
+ ### Slots
77
+
78
+ | Name | Description | Props | Default Slot Content |
79
+ |------|-------------|-------|---------------------|
80
+ | default | Dropdown content | - | - |
81
+ | heading | Custom mobile heading | `{ title, description }` | Default title/description |
82
+ | close | Custom close button (mobile) | - | Default close button |
83
+
84
+ ### Events
85
+
86
+ | Name | Payload | Description |
87
+ |------|---------|-------------|
88
+ | update:show | `boolean` | Emitted when visibility changes (for v-model) |
89
+
90
+ ### Methods
91
+
92
+ | Name | Parameters | Description |
93
+ |------|-----------|-------------|
94
+ | toggle | - | Toggle dropdown visibility |
95
+
96
+ ### Config Options
97
+
98
+ The component uses default configuration from `@AwConfig`:
99
+
100
+ ```javascript
101
+ export default {
102
+ AwDropdown: {
103
+ tag: 'div',
104
+ baseClass: 'aw-dropdown',
105
+ popperOptions: {
106
+ placement: 'bottom-start',
107
+ // ... popper modifiers
108
+ }
109
+ }
110
+ }
111
+ ```
112
+
113
+ ## Related Components
114
+
115
+ - `AwDropdownButton` - Button for dropdown items
116
+ - `AwContextMenu` - Context menu component
117
+ - `AwSelect` - Select component that uses dropdowns
118
+
119
+ ## Notes
120
+
121
+ - **Import Method:** Global - Available as atom component
122
+ - Uses Popper.js for positioning on desktop
123
+ - Automatically switches to mobile overlay mode on small screens
124
+ - Prevents body scrolling when open on mobile
125
+ - Closes automatically when clicking action elements (links, buttons) by default
126
+ - Supports custom Popper.js options for advanced positioning
127
+
128
+
@@ -0,0 +1,73 @@
1
+ ---
2
+ metaTitle: File component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The &lt;AwFile /&gt; component is used to render File input - UI Vue component for AwesCode UI.
6
+ title: File
7
+ ---
8
+
9
+ # File
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwFile` component is a wrapper around the native file input element that emits files as an array.
14
+
15
+ ## Overview
16
+
17
+ `AwFile` provides a styled file input wrapper that handles file selection and emits the selected files as an array. It automatically resets the input after selection.
18
+
19
+ ## Usage
20
+
21
+ ### Basic Example
22
+
23
+ ```markup
24
+ <AwFile @input="handleFiles">
25
+ <AwButton>Select Files</AwButton>
26
+ </AwFile>
27
+ ```
28
+
29
+ ### With Custom Styling
30
+
31
+ ```markup
32
+ <AwFile
33
+ accept="image/*"
34
+ multiple
35
+ @input="handleFiles"
36
+ class="custom-file-input"
37
+ >
38
+ <AwButton icon="awesio/upload">Upload Images</AwButton>
39
+ </AwFile>
40
+ ```
41
+
42
+ ## API
43
+
44
+ ### Props
45
+
46
+ All standard HTML file input attributes are supported via `$attrs` (e.g., `accept`, `multiple`, `disabled`).
47
+
48
+ ### Slots
49
+
50
+ | Name | Description | Props | Default Slot Content |
51
+ |------|-------------|-------|---------------------|
52
+ | default | Custom trigger element (button, icon, etc.) | - | - |
53
+
54
+ ### Events
55
+
56
+ | Name | Payload | Description |
57
+ |------|---------|-------------|
58
+ | input | `File[]` | Emitted when files are selected, provides array of File objects |
59
+
60
+ ## Related Components
61
+
62
+ - `AwUploader` - Full-featured file upload component
63
+ - `AwImageUpload` - Image upload component
64
+ - `AwButton` - Button component for triggers
65
+
66
+ ## Notes
67
+
68
+ - **Import Method:** Global - Available as atom component
69
+ - The native file input is hidden - use the default slot to provide a custom trigger
70
+ - Files are emitted as an array, even for single file selection
71
+ - Input is automatically reset after file selection
72
+ - All standard file input attributes are passed through via `$attrs`
73
+
@@ -0,0 +1,92 @@
1
+ ---
2
+ metaTitle: Flow component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The &lt;AwFlow /&gt; component is used to render Flow layout - UI Vue component for AwesCode UI.
6
+ title: Flow
7
+ ---
8
+
9
+ # Flow
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwFlow` component provides a flexible flow layout system with configurable gaps and alignment.
14
+
15
+ ## Overview
16
+
17
+ `AwFlow` creates a flow-based layout (similar to flexbox) with consistent spacing between children. It supports horizontal and vertical layouts, alignment options, and customizable gaps.
18
+
19
+ ## Usage
20
+
21
+ ### Basic Example
22
+
23
+ ```markup
24
+ <AwFlow>
25
+ <div>Item 1</div>
26
+ <div>Item 2</div>
27
+ <div>Item 3</div>
28
+ </AwFlow>
29
+ ```
30
+
31
+ ### With Custom Gap
32
+
33
+ ```markup
34
+ <AwFlow :gap="8">
35
+ <div>Item 1</div>
36
+ <div>Item 2</div>
37
+ </AwFlow>
38
+ ```
39
+
40
+ ### Vertical Layout
41
+
42
+ ```markup
43
+ <AwFlow vertical :gap="4">
44
+ <div>Item 1</div>
45
+ <div>Item 2</div>
46
+ </AwFlow>
47
+ ```
48
+
49
+ ### With Alignment
50
+
51
+ ```markup
52
+ <AwFlow justify="center" align="center" :gap="6">
53
+ <div>Centered Item</div>
54
+ </AwFlow>
55
+ ```
56
+
57
+ ## API
58
+
59
+ ### Props
60
+
61
+ | Name | Description | Type | Required | Default |
62
+ |------|-------------|------|----------|---------|
63
+ | tag | HTML tag to render | `String` | `false` | `'span'` |
64
+ | gap | Gap scale (spacing multiplier) | `Number` | `false` | `4` |
65
+ | wrapChildren | Whether to wrap each child in a container | `Boolean` | `false` | `true` |
66
+ | justify | Horizontal alignment (center, end) | `String` | `false` | `''` |
67
+ | align | Vertical alignment (start, center, end) | `String` | `false` | `''` |
68
+ | vertical | Use vertical layout | `Boolean` | `false` | `false` |
69
+
70
+ ### Slots
71
+
72
+ | Name | Description | Props | Default Slot Content |
73
+ |------|-------------|-------|---------------------|
74
+ | default | Flow children | - | - |
75
+
76
+ ### Events
77
+
78
+ No events are emitted by this component.
79
+
80
+ ## Related Components
81
+
82
+ - `AwGrid` - Grid layout component
83
+ - `AwCard` - Card component that may use flow layouts
84
+
85
+ ## Notes
86
+
87
+ - **Import Method:** Global - Available as atom component
88
+ - Gap is a scale multiplier, not pixels
89
+ - Empty nodes are automatically filtered out
90
+ - When `wrapChildren` is false, children are not wrapped in containers
91
+ - Supports responsive alignment and justification
92
+
@@ -0,0 +1,91 @@
1
+ ---
2
+ metaTitle: Grid component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The &lt;AwGrid /&gt; component is used to render Grid layout - UI Vue component for AwesCode UI.
6
+ title: Grid
7
+ ---
8
+
9
+ # Grid
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwGrid` component provides a CSS Grid-based layout system with configurable columns, gaps, and alignment.
14
+
15
+ ## Overview
16
+
17
+ `AwGrid` creates a responsive grid layout using CSS Grid. It supports configurable column counts, gaps, and alignment options. Children can span multiple columns using the `span` attribute.
18
+
19
+ ## Usage
20
+
21
+ ### Basic Example
22
+
23
+ ```markup
24
+ <AwGrid :col="3" :gap="6">
25
+ <div>Item 1</div>
26
+ <div>Item 2</div>
27
+ <div>Item 3</div>
28
+ </AwGrid>
29
+ ```
30
+
31
+ ### Responsive Columns
32
+
33
+ ```markup
34
+ <AwGrid :col="{ default: 1, md: 2, lg: 3 }" :gap="4">
35
+ <div>Item 1</div>
36
+ <div>Item 2</div>
37
+ <div>Item 3</div>
38
+ </AwGrid>
39
+ ```
40
+
41
+ ### With Column Spanning
42
+
43
+ ```markup
44
+ <AwGrid :col="3" :gap="6">
45
+ <div span="2">Spans 2 columns</div>
46
+ <div>Normal</div>
47
+ <div>Normal</div>
48
+ </AwGrid>
49
+ ```
50
+
51
+ ### With Alignment
52
+
53
+ ```markup
54
+ <AwGrid :col="2" align="center" :gap="4">
55
+ <div>Centered Item 1</div>
56
+ <div>Centered Item 2</div>
57
+ </AwGrid>
58
+ ```
59
+
60
+ ## API
61
+
62
+ ### Props
63
+
64
+ | Name | Description | Type | Required | Default |
65
+ |------|-------------|------|----------|---------|
66
+ | col | Number of columns or responsive object | `Number` / `Object` | `false` | `1` |
67
+ | gap | Gap scale or responsive object | `Number` / `Object` | `false` | `6` |
68
+ | align | Vertical alignment (start, center, end) | `String` | `false` | `'start'` |
69
+
70
+ ### Slots
71
+
72
+ | Name | Description | Props | Default Slot Content |
73
+ |------|-------------|-------|---------------------|
74
+ | default | Grid children | - | - |
75
+
76
+ ### Events
77
+
78
+ No events are emitted by this component.
79
+
80
+ ## Related Components
81
+
82
+ - `AwFlow` - Flow layout component
83
+ - `AwCard` - Card component that may use grid layouts
84
+
85
+ ## Notes
86
+
87
+ - **Import Method:** Global - Available as atom component
88
+ - Gap is a scale multiplier, not pixels
89
+ - Empty nodes are automatically filtered out
90
+ - Children can use `span` attribute to span multiple columns
91
+ - Supports responsive column and gap configuration via objects (e.g., `{ default: 1, md: 2, lg: 3 }`)
@@ -0,0 +1,71 @@
1
+ ---
2
+ metaTitle: Headline component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The &lt;AwHeadline /&gt; component is used to render Headline - UI Vue component for AwesCode UI.
6
+ title: Headline
7
+ ---
8
+
9
+ # Headline
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwHeadline` component is a semantic heading wrapper with consistent styling.
14
+
15
+ ## Overview
16
+
17
+ `AwHeadline` provides a styled heading component that can render as different HTML heading tags (h1-h6). It applies consistent typography and spacing.
18
+
19
+ ## Usage
20
+
21
+ ### Basic Example
22
+
23
+ ```markup
24
+ <AwHeadline>Main Heading</AwHeadline>
25
+ ```
26
+
27
+ ### With Custom Tag
28
+
29
+ ```markup
30
+ <AwHeadline tag="h1">Page Title</AwHeadline>
31
+ ```
32
+
33
+ ### Different Heading Levels
34
+
35
+ ```markup
36
+ <AwHeadline tag="h1">Level 1</AwHeadline>
37
+ <AwHeadline tag="h2">Level 2</AwHeadline>
38
+ <AwHeadline tag="h3">Level 3</AwHeadline>
39
+ ```
40
+
41
+ ## API
42
+
43
+ ### Props
44
+
45
+ | Name | Description | Type | Required | Default |
46
+ |------|-------------|------|----------|---------|
47
+ | tag | HTML heading tag (h1-h6) | `String` | `false` | `'h3'` |
48
+
49
+ ### Slots
50
+
51
+ | Name | Description | Props | Default Slot Content |
52
+ |------|-------------|-------|---------------------|
53
+ | default | Heading text content | - | - |
54
+
55
+ ### Events
56
+
57
+ No events are emitted by this component.
58
+
59
+ ## Related Components
60
+
61
+ - `AwSubHeadline` - Sub-heading component
62
+ - `AwTitle` - Title component
63
+ - `AwPage` - Page component that uses headlines
64
+
65
+ ## Notes
66
+
67
+ - **Import Method:** Global - Available as atom component
68
+ - Default tag is `h3`
69
+ - Use appropriate heading levels for semantic HTML structure
70
+ - Commonly used for section headings and page titles
71
+
@@ -0,0 +1,121 @@
1
+ ---
2
+ metaTitle: IconSystemColor component | AwesCode UI
3
+ meta:
4
+ - name: description
5
+ content: The &lt;AwIconSystemColor /&gt; component renders multicolor system icons - UI Vue component for AwesCode UI.
6
+ title: IconSystemColor
7
+ ---
8
+
9
+ # AwIconSystemColor
10
+
11
+ **Category:** Atom | **Import:** Global
12
+
13
+ The `AwIconSystemColor` component renders multicolor system icons from the AwesCode UI icon library. These icons contain multiple colors and are typically used for illustrations and decorative purposes.
14
+
15
+ ## Overview
16
+
17
+ `AwIconSystemColor` provides multicolor icon rendering with:
18
+ - Predefined multicolor SVG icons
19
+ - Automatic sizing based on icon dimensions
20
+ - Custom width/height support
21
+ - Inline SVG rendering for styling control
22
+
23
+ ## Usage
24
+
25
+ ### Basic Example
26
+
27
+ ```markup
28
+ <AwIconSystemColor name="success" />
29
+ ```
30
+
31
+ ### With Custom Size
32
+
33
+ ```markup
34
+ <AwIconSystemColor
35
+ name="error"
36
+ width="48"
37
+ height="48"
38
+ />
39
+ ```
40
+
41
+ ### In Error States
42
+
43
+ ```markup
44
+ <div class="text-center">
45
+ <AwIconSystemColor name="404" width="200" height="200" />
46
+ <h2>Page Not Found</h2>
47
+ </div>
48
+ ```
49
+
50
+ ### In Success Messages
51
+
52
+ ```markup
53
+ <AwCard>
54
+ <AwIconSystemColor name="check-circle" width="64" height="64" />
55
+ <p>Operation completed successfully!</p>
56
+ </AwCard>
57
+ ```
58
+
59
+ ## API
60
+
61
+ ### Props
62
+
63
+ | Name | Description | Type | Required | Default |
64
+ |------|-------------|------|----------|---------|
65
+ | name | Icon name from multicolor icon set | `String` | `true` | - |
66
+ | width | Icon width (overrides default) | `String\|Number` | `false` | Icon's default width |
67
+ | height | Icon height (overrides default) | `String\|Number` | `false` | Icon's default height |
68
+
69
+ ### Slots
70
+
71
+ This component does not have slots.
72
+
73
+ ### Events
74
+
75
+ This component does not emit events.
76
+
77
+ ## Available Icons
78
+
79
+ The component uses icons from `@AwUtils/icons/multicolor`. Common icons include:
80
+ - Error/warning illustrations
81
+ - Success/completion graphics
82
+ - 404/403 error pages
83
+ - Feature illustrations
84
+ - Status indicators
85
+
86
+ ## Differences from AwIcon
87
+
88
+ | Feature | AwIconSystemColor | AwIcon |
89
+ |---------|-------------------|--------|
90
+ | Colors | Multicolor (preserved from design) | Monochrome (inherits text color) |
91
+ | Use Case | Illustrations, decorative | UI elements, buttons |
92
+ | Size Control | Width/height props | Size prop or CSS |
93
+ | Icon Set | Multicolor system icons | Font-based or mono icons |
94
+
95
+ ## Styling
96
+
97
+ The component renders inline SVG, allowing CSS styling:
98
+
99
+ ```markup
100
+ <AwIconSystemColor
101
+ name="success"
102
+ class="mx-auto"
103
+ style="filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1))"
104
+ />
105
+ ```
106
+
107
+ ## Related Components
108
+
109
+ - `AwIconSystemMono` - Monochrome system icons
110
+ - `AwIcon` - General-purpose icon component
111
+
112
+ ## Notes
113
+
114
+ - **Import Method:** Global - Available as atom component
115
+ - Icons maintain their original colors from design
116
+ - Inline SVG allows for advanced CSS styling
117
+ - Icon viewBox and content come from icon library
118
+ - If icon name doesn't exist, component renders empty
119
+ - Default size comes from icon definition
120
+ - Use for illustrations and large decorative graphics
121
+ - Not suitable for small UI icons (use AwIconSystemMono instead)