@awes-io/ui 2.142.0 → 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 (239) hide show
  1. package/CHANGELOG.md +58 -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/AwImageUpload.vue +1 -1
  29. package/components/3_organisms/AwMarkdownEditor.vue +0 -0
  30. package/components/3_organisms/AwMultiBlockBuilder.vue +1 -1
  31. package/components/3_organisms/AwTable/AwTableBuilder.vue +12 -60
  32. package/components/4_pages/AwPageAside.vue +108 -0
  33. package/components/5_layouts/AwLayoutCenter.vue +3 -8
  34. package/components/5_layouts/_AwUserMenu.vue +1 -1
  35. package/dist/css/aw-icons.css +26 -0
  36. package/dist/fonts/aw-icons.svg +18 -0
  37. package/dist/fonts/aw-icons.ttf +0 -0
  38. package/dist/fonts/aw-icons.woff +0 -0
  39. package/dist/fonts/aw-icons.woff2 +0 -0
  40. package/docs/_template.md +80 -0
  41. package/docs/components/atoms/aw-accordion-fold.md +91 -0
  42. package/docs/components/atoms/aw-action-card-body.md +67 -0
  43. package/docs/components/atoms/aw-action-card.md +94 -0
  44. package/docs/components/atoms/aw-action-icon.md +88 -0
  45. package/docs/components/atoms/aw-avatar.md +106 -0
  46. package/docs/components/atoms/aw-card.md +112 -0
  47. package/docs/components/atoms/aw-checkbox.md +112 -0
  48. package/docs/components/atoms/aw-content-placeholder.md +116 -0
  49. package/docs/components/atoms/aw-description.md +83 -0
  50. package/docs/components/atoms/aw-dock.md +84 -0
  51. package/docs/components/atoms/aw-dropdown-button.md +94 -0
  52. package/docs/components/atoms/aw-dropdown.md +128 -0
  53. package/docs/components/atoms/aw-file.md +73 -0
  54. package/docs/components/atoms/aw-flow.md +92 -0
  55. package/docs/components/atoms/aw-grid.md +91 -0
  56. package/docs/components/atoms/aw-headline.md +71 -0
  57. package/docs/components/atoms/aw-icon-system-color.md +121 -0
  58. package/docs/components/atoms/aw-icon-system-mono.md +205 -0
  59. package/docs/components/atoms/aw-icon.md +235 -0
  60. package/docs/components/atoms/aw-info.md +85 -0
  61. package/docs/components/atoms/aw-input.md +120 -0
  62. package/docs/components/atoms/aw-label.md +83 -0
  63. package/docs/components/atoms/aw-link.md +99 -0
  64. package/docs/components/atoms/aw-list.md +88 -0
  65. package/docs/components/atoms/aw-progress.md +70 -0
  66. package/docs/components/atoms/aw-radio.md +109 -0
  67. package/docs/components/atoms/aw-refresh-wrapper.md +81 -0
  68. package/docs/components/atoms/aw-select-native.md +106 -0
  69. package/docs/components/atoms/aw-slider.md +82 -0
  70. package/docs/components/atoms/aw-sub-headline.md +73 -0
  71. package/docs/components/atoms/aw-switcher.md +115 -0
  72. package/docs/components/atoms/aw-tag.md +80 -0
  73. package/docs/components/atoms/aw-title.md +70 -0
  74. package/docs/components/atoms/aw-toggler.md +69 -0
  75. package/docs/components/layouts/aw-layout-center.md +168 -0
  76. package/docs/components/layouts/aw-layout-error.md +153 -0
  77. package/docs/components/layouts/aw-layout-provider.md +238 -0
  78. package/docs/components/layouts/aw-layout.md +88 -0
  79. package/docs/components/molecules/aw-action-button.md +91 -0
  80. package/docs/components/molecules/aw-alert.md +96 -0
  81. package/docs/components/molecules/aw-badge.md +108 -0
  82. package/docs/components/molecules/aw-banner-text.md +90 -0
  83. package/docs/components/molecules/aw-button-nav.md +46 -0
  84. package/docs/components/molecules/aw-button.md +123 -0
  85. package/docs/components/molecules/aw-description-input.md +67 -0
  86. package/docs/components/molecules/aw-empty-container.md +86 -0
  87. package/docs/components/molecules/aw-island.md +234 -0
  88. package/docs/components/molecules/aw-number.md +138 -0
  89. package/docs/components/molecules/aw-select-object.md +401 -0
  90. package/docs/components/molecules/aw-select.md +215 -0
  91. package/docs/components/molecules/aw-tab-nav.md +108 -0
  92. package/docs/components/molecules/aw-tel.md +129 -0
  93. package/docs/components/molecules/aw-textarea.md +83 -0
  94. package/docs/components/molecules/aw-userpic.md +115 -0
  95. package/docs/components/organisms/aw-address-block.md +64 -0
  96. package/docs/components/organisms/aw-address.md +132 -0
  97. package/docs/components/organisms/aw-birthday-picker.md +73 -0
  98. package/docs/components/organisms/aw-bottom-bar.md +66 -0
  99. package/docs/components/organisms/aw-calendar-days.md +115 -0
  100. package/docs/components/organisms/aw-calendar-nav.md +98 -0
  101. package/docs/components/organisms/aw-calendar-view.md +98 -0
  102. package/docs/components/organisms/aw-calendar.md +166 -0
  103. package/docs/components/organisms/aw-chart.md +154 -0
  104. package/docs/components/organisms/aw-chip-select.md +164 -0
  105. package/docs/components/organisms/aw-chip.md +126 -0
  106. package/docs/components/organisms/aw-code-snippet.md +94 -0
  107. package/docs/components/organisms/aw-code.md +132 -0
  108. package/docs/components/organisms/aw-context-menu.md +117 -0
  109. package/docs/components/organisms/aw-cropper.md +151 -0
  110. package/docs/components/organisms/aw-date.md +161 -0
  111. package/docs/components/organisms/aw-display-date.md +33 -0
  112. package/docs/components/organisms/aw-download-link.md +46 -0
  113. package/docs/components/organisms/aw-fetch-data.md +161 -0
  114. package/docs/components/organisms/aw-filter-chosen.md +226 -0
  115. package/docs/components/organisms/aw-filter-date-range.md +205 -0
  116. package/docs/components/organisms/aw-filter-month.md +43 -0
  117. package/docs/components/organisms/aw-filter-select.md +225 -0
  118. package/docs/components/organisms/aw-form.md +174 -0
  119. package/docs/components/organisms/aw-gmap-marker.md +86 -0
  120. package/docs/components/organisms/aw-gmap.md +90 -0
  121. package/docs/components/organisms/aw-image-upload.md +56 -0
  122. package/docs/components/organisms/aw-island-avatar.md +87 -0
  123. package/docs/components/organisms/aw-markdown-editor.md +104 -0
  124. package/docs/components/organisms/aw-modal-buttons.md +57 -0
  125. package/docs/components/organisms/aw-modal.md +246 -0
  126. package/docs/components/organisms/aw-model-edit.md +74 -0
  127. package/docs/components/organisms/aw-money.md +53 -0
  128. package/docs/components/organisms/aw-multi-block-builder.md +165 -0
  129. package/docs/components/organisms/aw-pagination.md +121 -0
  130. package/docs/components/organisms/aw-password.md +103 -0
  131. package/docs/components/organisms/aw-preview-card.md +45 -0
  132. package/docs/components/organisms/aw-search.md +116 -0
  133. package/docs/components/organisms/aw-subnav.md +122 -0
  134. package/docs/components/organisms/aw-table-builder.md +165 -0
  135. package/docs/components/organisms/aw-table-col.md +123 -0
  136. package/docs/components/organisms/aw-table-head.md +92 -0
  137. package/docs/components/organisms/aw-table-row.md +91 -0
  138. package/docs/components/organisms/aw-table.md +172 -0
  139. package/docs/components/organisms/aw-tags.md +54 -0
  140. package/docs/components/organisms/aw-toggle-show-aside.md +43 -0
  141. package/docs/components/organisms/aw-uploader-files.md +125 -0
  142. package/docs/components/organisms/aw-uploader.md +163 -0
  143. package/docs/components/organisms/aw-user-menu.md +87 -0
  144. package/docs/components/pages/aw-page-aside.md +296 -0
  145. package/docs/components/pages/aw-page-menu-buttons.md +172 -0
  146. package/docs/components/pages/aw-page-modal.md +198 -0
  147. package/docs/components/pages/aw-page-single.md +253 -0
  148. package/docs/components/pages/aw-page.md +194 -0
  149. package/docs/configuration.md +493 -0
  150. package/docs/cookbook/advanced-patterns.md +1388 -0
  151. package/docs/cookbook/common-patterns.md +965 -0
  152. package/docs/cookbook/index.md +786 -0
  153. package/docs/getting-started.md +596 -0
  154. package/docs/guides/best-practices.md +1106 -0
  155. package/docs/guides/data-fetching.md +852 -0
  156. package/docs/guides/error-handling.md +1172 -0
  157. package/docs/guides/forms-guide.md +1329 -0
  158. package/docs/guides/mobile-subnavigation.md +359 -0
  159. package/docs/guides/page-patterns/aside-pages.md +1418 -0
  160. package/docs/guides/page-patterns/dashboard-pages.md +990 -0
  161. package/docs/guides/page-patterns/detail-pages.md +1493 -0
  162. package/docs/guides/page-patterns/list-pages.md +1094 -0
  163. package/docs/index.md +263 -1
  164. package/docs/integrations.md +870 -0
  165. package/docs/reference/menu.md +462 -0
  166. package/docs/reference/plugins.md +970 -0
  167. package/docs/reference/troubleshooting.md +945 -0
  168. package/nuxt/awes.config.js +9 -8
  169. package/nuxt/icons.css +26 -0
  170. package/nuxt/index.js +2 -2
  171. package/nuxt/pages/more.vue +1 -1
  172. package/package.json +5 -3
  173. package/readme.md +171 -1
  174. package/docs/aw-accordion-fold.md +0 -46
  175. package/docs/aw-address.md +0 -44
  176. package/docs/aw-avatar.md +0 -51
  177. package/docs/aw-badge.md +0 -32
  178. package/docs/aw-button-nav.md +0 -44
  179. package/docs/aw-button.md +0 -50
  180. package/docs/aw-calendar-days.md +0 -46
  181. package/docs/aw-calendar-nav.md +0 -25
  182. package/docs/aw-calendar-view.md +0 -12
  183. package/docs/aw-calendar.md +0 -59
  184. package/docs/aw-card.md +0 -48
  185. package/docs/aw-chart.md +0 -51
  186. package/docs/aw-checkbox.md +0 -56
  187. package/docs/aw-chip-select.md +0 -46
  188. package/docs/aw-chip.md +0 -53
  189. package/docs/aw-code-snippet.md +0 -18
  190. package/docs/aw-code.md +0 -56
  191. package/docs/aw-content-wrapper.md +0 -40
  192. package/docs/aw-context-menu.md +0 -31
  193. package/docs/aw-cropper.md +0 -60
  194. package/docs/aw-dashboard-card.md +0 -37
  195. package/docs/aw-dashboard-donut.md +0 -30
  196. package/docs/aw-dashboard-line.md +0 -20
  197. package/docs/aw-dashboard-progress.md +0 -33
  198. package/docs/aw-dashboard-section.md +0 -32
  199. package/docs/aw-dashboard-speed.md +0 -30
  200. package/docs/aw-date.md +0 -52
  201. package/docs/aw-dropdown-button.md +0 -31
  202. package/docs/aw-dropdown.md +0 -69
  203. package/docs/aw-fetch-data.md +0 -45
  204. package/docs/aw-form.md +0 -52
  205. package/docs/aw-grid.md +0 -48
  206. package/docs/aw-icon.md +0 -50
  207. package/docs/aw-info.md +0 -53
  208. package/docs/aw-input.md +0 -55
  209. package/docs/aw-layout-default.md +0 -30
  210. package/docs/aw-layout-frame-center.md +0 -29
  211. package/docs/aw-layout-simple.md +0 -49
  212. package/docs/aw-link.md +0 -54
  213. package/docs/aw-markdown-editor.md +0 -51
  214. package/docs/aw-modal.md +0 -63
  215. package/docs/aw-multi-block-builder.md +0 -66
  216. package/docs/aw-page.md +0 -36
  217. package/docs/aw-pagination.md +0 -54
  218. package/docs/aw-password.md +0 -48
  219. package/docs/aw-radio.md +0 -54
  220. package/docs/aw-search.md +0 -49
  221. package/docs/aw-select.md +0 -93
  222. package/docs/aw-slider.md +0 -40
  223. package/docs/aw-svg-image.md +0 -19
  224. package/docs/aw-switcher.md +0 -51
  225. package/docs/aw-tab-nav.md +0 -55
  226. package/docs/aw-table-builder.md +0 -58
  227. package/docs/aw-table-col.md +0 -33
  228. package/docs/aw-table-head.md +0 -28
  229. package/docs/aw-table-row.md +0 -33
  230. package/docs/aw-table.md +0 -59
  231. package/docs/aw-tel.md +0 -47
  232. package/docs/aw-textarea.md +0 -47
  233. package/docs/aw-timeline-builder.md +0 -50
  234. package/docs/aw-toggler.md +0 -41
  235. package/docs/aw-uploader-files.md +0 -20
  236. package/docs/aw-uploader.md +0 -60
  237. package/docs/aw-user-menu.md +0 -34
  238. package/docs/aw-userpic.md +0 -34
  239. /package/components/{3_organisms → 2_molecules}/AwTel.vue +0 -0
@@ -2,13 +2,13 @@ import styles from '../assets/js/styles'
2
2
 
3
3
  export default {
4
4
  logo: {
5
- src: 'https://static.awes.io/logo-blue.svg',
6
- alt: 'Awes.io'
5
+ src: 'https://storage2.easyweek.io/awescode_ui/awescode_logo.svg',
6
+ alt: 'AwesCode UI'
7
7
  },
8
8
 
9
9
  fullLogo: {
10
- src: 'https://static.awes.io/logo-blue_white.svg',
11
- alt: 'Awes.io'
10
+ src: 'https://storage2.easyweek.io/awescode_ui/awescode_logo_full.svg',
11
+ alt: 'AwesCode UI'
12
12
  },
13
13
 
14
14
  background: {
@@ -23,13 +23,14 @@ export default {
23
23
 
24
24
  export const dark = {
25
25
  logo: {
26
- src: 'https://static.awes.io/logo-blue_white.svg',
27
- alt: 'Awes.io'
26
+ src: 'https://storage2.easyweek.io/awescode_ui/awescode_logo.svg',
27
+ alt: 'AwesCode UI'
28
28
  },
29
29
 
30
30
  fullLogo: {
31
- src: 'https://static.awes.io/logo-blue.svg',
32
- alt: 'Awes.io'
31
+ src:
32
+ 'https://storage2.easyweek.io/awescode_ui/awescode_logo_full_white.svg',
33
+ alt: 'AwesCode UI'
33
34
  },
34
35
 
35
36
  background: {
package/nuxt/icons.css ADDED
@@ -0,0 +1,26 @@
1
+ @font-face {
2
+ font-family: "aw-icons";
3
+ src: url("../dist/fonts/aw-icons.woff2?c043a54b44365b2dd8b253e7b50afecf") format("woff2"),
4
+ url("../dist/fonts/aw-icons.woff?c043a54b44365b2dd8b253e7b50afecf") format("woff");
5
+ }
6
+
7
+ .aw-icon {
8
+ display: inline-block;
9
+ line-height: 1;
10
+ vertical-align: middle;
11
+ text-align: center;
12
+ }
13
+
14
+ .aw-icon:before {
15
+ font-family: aw-icons !important;
16
+ font-style: normal;
17
+ font-weight: normal !important;
18
+ vertical-align: top;
19
+ }
20
+
21
+ .aw-icon-check:before {
22
+ content: "\f101";
23
+ }
24
+ .aw-icon-times:before {
25
+ content: "\f102";
26
+ }
package/nuxt/index.js CHANGED
@@ -52,14 +52,14 @@ async function AwesIoUi() {
52
52
  * Check store existance
53
53
  */
54
54
  if (!this.options.store) {
55
- throw new Error('Awes.io/UI: Vuex store is required')
55
+ throw new Error('AwesCode UI: Vuex store is required')
56
56
  }
57
57
 
58
58
  /**
59
59
  * Check components enabled
60
60
  */
61
61
  if (!this.options.components) {
62
- throw new Error('Awes.io/UI: Components should be enabled')
62
+ throw new Error('AwesCode UI: Components should be enabled')
63
63
  }
64
64
 
65
65
  /**
@@ -85,7 +85,7 @@
85
85
  <AwMobileMenuItem
86
86
  :href="profileUrl"
87
87
  arrow
88
- icon="awesio/profile"
88
+ icon="awesio/user"
89
89
  :text="$t('My profile')"
90
90
  class="aw-more__user-profile"
91
91
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.142.0",
3
+ "version": "2.143.0",
4
4
  "description": "User Interface (UI) components",
5
5
  "keywords": [
6
6
  "ui",
@@ -92,7 +92,6 @@
92
92
  "eslint-config-prettier": "^6.9.0",
93
93
  "eslint-plugin-nuxt": "^0.5.0",
94
94
  "eslint-plugin-prettier": "^3.1.2",
95
- "nuxt": "^2.17.1",
96
95
  "nuxt-i18n": "^6.4.1",
97
96
  "postcss-calc": "^7.0.1",
98
97
  "postcss-custom-properties": "^9.0.2",
@@ -114,5 +113,8 @@
114
113
  "rollup-plugin-visualizer": "^2.6.0",
115
114
  "rollup-plugin-vue": "^5.0.1"
116
115
  },
117
- "gitHead": "fee25aeae1180c058df03115e135732f9bd2dd09"
116
+ "peerDependencies": {
117
+ "nuxt": "^2.18.1"
118
+ },
119
+ "gitHead": "873b089186b8a4dc32b262df8ea1dfcea7b81790"
118
120
  }
package/readme.md CHANGED
@@ -1 +1,171 @@
1
- Awes.io/Ui 321
1
+ # @awes-io/ui
2
+
3
+ UI component library for AwesCode UI applications built with Vue.js and Nuxt.js.
4
+
5
+ ## Overview
6
+
7
+ This package provides a comprehensive set of reusable UI components organized using atomic design principles. Components are categorized into atoms, molecules, organisms, pages, and layouts, each serving a specific purpose in building user interfaces.
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ npm install @awes-io/ui
13
+ # or
14
+ yarn add @awes-io/ui
15
+ ```
16
+
17
+ ## Setup
18
+
19
+ ### Nuxt.js
20
+
21
+ Add the module to your `nuxt.config.js`:
22
+
23
+ ```javascript
24
+ export default {
25
+ modules: [
26
+ '@awes-io/ui'
27
+ ],
28
+
29
+ // Required: Enable components
30
+ components: true,
31
+
32
+ // Required: Enable Vuex store
33
+ store: true
34
+ }
35
+ ```
36
+
37
+ ### Configuration
38
+
39
+ Create an `awes.config.js` file in your project root to customize component defaults:
40
+
41
+ ```javascript
42
+ export default {
43
+ // Default theme configuration
44
+ logo: {
45
+ src: '/logo.svg',
46
+ alt: 'My App'
47
+ },
48
+
49
+ // Component-specific configuration
50
+ AwButton: {
51
+ size: 'md',
52
+ color: 'accent',
53
+ theme: 'solid'
54
+ },
55
+
56
+ // Dark theme overrides
57
+ dark: {
58
+ logo: {
59
+ src: '/logo-dark.svg'
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ ## Component System
66
+
67
+ ### Architecture
68
+
69
+ Components are organized into 5 categories:
70
+
71
+ 1. **Atoms** - Basic building blocks (inputs, buttons, icons)
72
+ 2. **Molecules** - Simple combinations of atoms
73
+ 3. **Organisms** - Complex, feature-specific components
74
+ 4. **Pages** - Complete page layouts
75
+ 5. **Layouts** - Root-level layout components
76
+
77
+ ### Import Methods
78
+
79
+ - **Global**: Atoms and most molecules are automatically registered and available everywhere
80
+ - **Dynamic**: Organisms, pages, and layouts are dynamically imported for better performance
81
+
82
+ See [docs/index.md](docs/index.md) for complete component listing.
83
+
84
+ ## Quick Start
85
+
86
+ ### Basic Usage
87
+
88
+ ```markup
89
+ <template>
90
+ <AwPage title="My Page">
91
+ <AwCard title="Card Title">
92
+ <AwInput v-model="name" label="Name" />
93
+ <AwButton @click="submit">Submit</AwButton>
94
+ </AwCard>
95
+ </AwPage>
96
+ </template>
97
+ ```
98
+
99
+ ### With Layout
100
+
101
+ ```markup
102
+ <template>
103
+ <AwLayout>
104
+ <AwPage title="Dashboard">
105
+ <!-- page content -->
106
+ </AwPage>
107
+ </AwLayout>
108
+ </template>
109
+ ```
110
+
111
+ ## Features
112
+
113
+ - **Atomic Design** - Organized component hierarchy
114
+ - **Global & Dynamic Imports** - Optimized loading strategy
115
+ - **Vuex Integration** - Built-in store module for navigation and state
116
+ - **Dark Theme Support** - Automatic theme switching
117
+ - **Responsive Design** - Mobile-first with breakpoint utilities
118
+ - **TypeScript Ready** - Full TypeScript support
119
+ - **Accessible** - ARIA attributes and keyboard navigation
120
+ - **Customizable** - Extensive configuration options
121
+
122
+ ## Documentation
123
+
124
+ - **[Component Documentation](docs/index.md)** - Complete component reference
125
+ - **[Examples](../examples)** - Live usage examples
126
+ - **[Configuration Guide](components/_config.js)** - Default configurations
127
+
128
+ ## Store Module
129
+
130
+ The library includes a Vuex store module (`awesIo`) that manages:
131
+
132
+ - Navigation menus
133
+ - Route tracking
134
+ - Dark theme state
135
+ - Screen breakpoints
136
+ - User profile data
137
+
138
+ Access via `$store.getters['awesIo/mainMenu']` or use the provided getters.
139
+
140
+ ## Plugins
141
+
142
+ The module automatically registers several Nuxt plugins:
143
+
144
+ - **Core** - `$awes` config and `$notify` notifications
145
+ - **Screen** - `$screen` responsive breakpoints
146
+ - **Router** - Extended router methods
147
+ - **Dark Theme** - Theme management
148
+ - **Permissions** - CASL integration
149
+ - **Day.js** - Date handling
150
+
151
+ ## Browser Support
152
+
153
+ - Chrome (latest)
154
+ - Firefox (latest)
155
+ - Safari (latest)
156
+ - Edge (latest)
157
+
158
+ ## Development
159
+
160
+ ```bash
161
+ # Install dependencies
162
+ yarn install
163
+
164
+ # Run examples
165
+ cd examples
166
+ yarn dev
167
+ ```
168
+
169
+ ## License
170
+
171
+ See LICENSE file for details.
@@ -1,46 +0,0 @@
1
- ---
2
- metaTitle: Accordion fold сomponent | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwAccordionFold /&gt; component is used to render Accordion fold - UI Vue component for Awes.io.
6
- title: Accordion fold
7
- ---
8
- # Accordion fold
9
-
10
- The `AwAccordionFold` component is used to render Accordion fold.
11
-
12
-
13
- ## Usage
14
- Several examples how you can use `AwAccordionFold`.
15
-
16
- ### Live Example
17
- <iframe
18
- src='https://codesandbox.io/embed/github/awes-io/client/tree/master/examples/basic-ui?autoresize=1&fontsize=14&hidenavigation=1&initialpath=%2Faw-accordion-fold&module=%2Fpages%2Faw-accordion-fold.vue&theme=dark&view=editor'
19
- style='width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;'
20
- title='basic-ui'
21
- allow='geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb'
22
- sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin'
23
- ></iframe>
24
-
25
- ## API
26
- Select your desired component from below and see the available props, slots, events and functions.
27
-
28
- ### Props
29
- Below is a collection of Vue **props** for the `AwAccordionFold` component.
30
- <!-- @vuese:AwAccordionFold:props:start -->
31
- |Name|Description|Type|Required|Default|
32
- |---|---|---|---|---|
33
- |show|-|`Boolean`|`false`|-|
34
- |tag|-|`String`|`false`|div|
35
-
36
- <!-- @vuese:AwAccordionFold:props:end -->
37
-
38
- ### Slots
39
- Below is a collection of Vue **slots** for the `AwAccordionFold` component.
40
- <!-- @vuese:AwAccordionFold:slots:start -->
41
- |Name|Description|Default Slot Content|
42
- |---|---|---|
43
- |default|-|-|
44
-
45
- <!-- @vuese:AwAccordionFold:slots:end -->
46
-
@@ -1,44 +0,0 @@
1
- ---
2
- metaTitle: Address сomponent | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwAddress /&gt; component is used to render Address - UI Vue component for Awes.io.
6
- title: Address
7
- ---
8
- # Address
9
-
10
- The `AwAddress` component is used to render Address.
11
-
12
-
13
- ## Usage
14
- Several examples how you can use `AwAddress`.
15
-
16
- ### Live Example
17
- <iframe
18
- src='https://codesandbox.io/embed/github/awes-io/client/tree/master/examples/basic-ui?autoresize=1&fontsize=14&hidenavigation=1&initialpath=%2Faw-address&module=%2Fpages%2Faw-address.vue&theme=dark&view=editor'
19
- style='width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;'
20
- title='basic-ui'
21
- allow='geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb'
22
- sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin'
23
- ></iframe>
24
-
25
- ## API
26
- Select your desired component from below and see the available props, slots, events and functions.
27
-
28
- ### Props
29
- Below is a collection of Vue **props** for the `AwAddress` component.
30
- <!-- @vuese:AwAddress:props:start -->
31
- |Name|Description|Type|Required|Default|
32
- |---|---|---|---|---|
33
- |queryOptions|-|`Object`|`false`|-|
34
-
35
- <!-- @vuese:AwAddress:props:end -->
36
-
37
- ### Events
38
- Below is a collection of Vue **events** for the `AwAddress` component.
39
- <!-- @vuese:AwAddress:events:start -->
40
- |Event Name|Description|Parameters|
41
- |---|---|---|
42
- |input|-|-|
43
-
44
- <!-- @vuese:AwAddress:events:end -->
package/docs/aw-avatar.md DELETED
@@ -1,51 +0,0 @@
1
- ---
2
- metaTitle: Avatar сomponent | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwAvatar /&gt; component is used to render Avatar - UI Vue component for Awes.io.
6
- title: Avatar
7
- ---
8
- # Avatar
9
-
10
- The `AwAvatar` component is used to render Avatar.
11
-
12
-
13
- ## Usage
14
- Several examples how you can use `AwAvatar`.
15
-
16
-
17
- ### Live Example
18
- <iframe
19
- src='https://codesandbox.io/embed/github/awes-io/client/tree/master/examples/basic-ui?autoresize=1&fontsize=14&hidenavigation=1&initialpath=%2Faw-avatar&module=%2Fpages%2Faw-avatar.vue&theme=dark&view=editor'
20
- style='width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;'
21
- title='basic-ui'
22
- allow='geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb'
23
- sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin'
24
- ></iframe>
25
-
26
- ## API
27
- Select your desired component from below and see the available props, slots, events and functions.
28
-
29
- ### Props
30
- Below is a collection of Vue **props** for the `AwAvatar` component.
31
- <!-- @vuese:AwAvatar:props:start -->
32
- |Name|Description|Type|Required|Default|
33
- |---|---|---|---|---|
34
- |src|Full URL to the picture|`String`|`false`|-|
35
- |name|User name|`String`|`false`|-|
36
- |size|Size of the image|`Number` / `String`|`false`|36|
37
- |type|Type of the rendered image.|`String`|`false`|initials , empty, no-img|
38
- |isColored|To bring the color to the rounded background.|`Boolean`|`false`|-|
39
-
40
- <!-- @vuese:AwAvatar:props:end -->
41
-
42
-
43
- ## Slots
44
- <!-- @vuese:AwAvatar:slots:start -->
45
- |Name|Description|Default Slot Content|
46
- |---|---|---|
47
- |default|-|-|
48
- |no-img|-|-|
49
-
50
- <!-- @vuese:AwAvatar:slots:end -->
51
-
package/docs/aw-badge.md DELETED
@@ -1,32 +0,0 @@
1
- ---
2
- metaTitle: AwBadge | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwBadge /&gt; component is used to render badges - UI Vue component for Awes.io.
6
- title: Badge
7
- ---
8
- # AwBadge
9
-
10
- ## Props
11
-
12
- <!-- @vuese:AwBadge:props:start -->
13
- |Name|Description|Type|Required|Default|
14
- |---|---|---|---|---|
15
- |text|Text inside badge|`String` / `Number`|`false`|-|
16
- |icon|Icon name inside badge. See AwIcon component for available names|`String`|`false`|-|
17
- |color|Badge background color|`String`|`false`|page-bg|
18
- |hideIfEmpty|When set to `true`, badge will hide if text is empty or 0|`Boolean`|`false`|-|
19
-
20
- <!-- @vuese:AwBadge:props:end -->
21
-
22
-
23
- ## Slots
24
-
25
- <!-- @vuese:AwBadge:slots:start -->
26
- |Name|Description|Default Slot Content|
27
- |---|---|---|
28
- |default|Content passed to component|-|
29
-
30
- <!-- @vuese:AwBadge:slots:end -->
31
-
32
-
@@ -1,44 +0,0 @@
1
- ---
2
- metaTitle: Button nav сomponent | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwButtonNav /&gt; component is used to render Button nav - UI Vue component for Awes.io.
6
- title: Button nav
7
- ---
8
- # Button nav
9
-
10
- The `AwButtonNav` component is used to render Button nav.
11
-
12
-
13
- ## Usage
14
- Several examples how you can use `AwButtonNav`.
15
-
16
- ### Live Example
17
- <iframe
18
- src='https://codesandbox.io/embed/github/awes-io/client/tree/master/examples/basic-ui?autoresize=1&fontsize=14&hidenavigation=1&initialpath=%2Faw-button-nav&module=%2Fpages%2Faw-button-nav.vue&theme=dark&view=editor'
19
- style='width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;'
20
- title='basic-ui'
21
- allow='geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb'
22
- sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin'
23
- ></iframe>
24
-
25
- ## API
26
- Select your desired component from below and see the available props, slots, events and functions.
27
-
28
- ### Props
29
- Below is a collection of Vue **props** for the `AwButtonNav` component.
30
- <!-- @vuese:AwButtonNav:props:start -->
31
-
32
- <!-- @vuese:AwButtonNav:props:end -->
33
-
34
- ### Slots
35
- Below is a collection of Vue **slots** for the `AwButtonNav` component.
36
- <!-- @vuese:AwButtonNav:slots:start -->
37
-
38
- <!-- @vuese:AwButtonNav:slots:end -->
39
-
40
- ### Events
41
- Below is a collection of Vue **events** for the `AwButtonNav` component.
42
- <!-- @vuese:AwButtonNav:events:start -->
43
-
44
- <!-- @vuese:AwButtonNav:events:end -->
package/docs/aw-button.md DELETED
@@ -1,50 +0,0 @@
1
- ---
2
- metaTitle: Button сomponent | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwButton /&gt; component is used to render Button - UI Vue component for Awes.io.
6
- title: Button
7
- ---
8
- # Button
9
-
10
- The `AwButton` component is used to render Button.
11
-
12
-
13
- ## Usage
14
- Several examples how you can use `AwButton`.
15
-
16
- ### Live Example
17
- <iframe
18
- src='https://codesandbox.io/embed/github/awes-io/client/tree/master/examples/basic-ui?autoresize=1&fontsize=14&hidenavigation=1&initialpath=%2Faw-button&module=%2Fpages%2Faw-button.vue&theme=dark&view=editor'
19
- style='width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;'
20
- title='basic-ui'
21
- allow='geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb'
22
- sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin'
23
- ></iframe>
24
-
25
- ## API
26
- Select your desired component from below and see the available props, slots, events and functions.
27
-
28
- ### Props
29
- Below is a collection of Vue **props** for the `AwButton` component.
30
- <!-- @vuese:AwButton:props:start -->
31
- |Name|Description|Type|Required|Default|
32
- |---|---|---|---|---|
33
- |size|Possible values: 'sm', 'md', 'lg'|`String`|`false`|-|
34
- |color|Background color of button. Possible values: 'info', 'success', 'warning', 'error'|`String`|`false`|-|
35
- |theme|Possible values: outline, ghost|`String`|`false`|-|
36
- |icon|Name of icon in button. Icon placed before text|`String`|`false`|-|
37
- |loading|Indicates if loader spinner is shown|`Boolean` / `String`|`false`|-|
38
- |contentClass|CSS class for content wrapper|`String`|`false`|-|
39
- |active|Active state|`Boolean`|`false`|-|
40
-
41
- <!-- @vuese:AwButton:props:end -->
42
-
43
- ### Slots
44
- Below is a collection of Vue **slots** for the `AwButton` component.
45
- <!-- @vuese:AwButton:slots:start -->
46
- |Name|Description|Default Slot Content|
47
- |---|---|---|
48
- |default|-|-|
49
-
50
- <!-- @vuese:AwButton:slots:end -->
@@ -1,46 +0,0 @@
1
- ---
2
- metaTitle: Calendar Days | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwCalendarDays /&gt; component is used to render Button - UI Vue component for Awes.io.
6
- title: Calendar Days
7
- ---
8
- # Calendar Days
9
-
10
- The `AwCalendarDays` component is used to render days for calendar.
11
-
12
-
13
- ## Props
14
-
15
- <!-- @vuese:AwCalendarDays:props:start -->
16
- |Name|Description|Type|Required|Default|
17
- |---|---|---|---|---|
18
- |year|-|`Number`|`false`|2020|
19
- |month|-|`Number`|`false`|2|
20
- |firstDay|-|`Number`|`false`|1|
21
- |weekdays|-|`Array`|`false`|-|
22
- |disabledDays|-|`Function`|`false`|-|
23
- |selected|-|`Object` / `Date` / `Array`|`false`|-|
24
-
25
- <!-- @vuese:AwCalendarDays:props:end -->
26
-
27
- ## Events
28
-
29
- <!-- @vuese:AwCalendarDays:events:start -->
30
- |Event Name|Description|Parameters|
31
- |---|---|---|
32
- |click:date|-|-|
33
-
34
- <!-- @vuese:AwCalendarDays:events:end -->
35
-
36
- ## Slots
37
-
38
- <!-- @vuese:AwCalendarDays:slots:start -->
39
- |Name|Description|Default Slot Content|
40
- |---|---|---|
41
- |before|-|-|
42
- |default|-|-|
43
- |after|-|-|
44
-
45
- <!-- @vuese:AwCalendarDays:slots:end -->
46
-
@@ -1,25 +0,0 @@
1
- ---
2
- metaTitle: Calendar Nav | Awes.io
3
- meta:
4
- - name: description
5
- content: The &lt;AwCalendarDays /&gt; component is used to render Button - UI Vue component for Awes.io.
6
- title: Calendar Nav
7
- ---
8
- # Calendar Nav
9
-
10
- The `AwCalendarNav` component is used to render navigation for calendar.
11
-
12
-
13
- ## Props
14
-
15
- <!-- @vuese:AwCalendarNav:props:start -->
16
- |Name|Description|Type|Required|Default|
17
- |---|---|---|---|---|
18
- |year|-|`Number`|`false`|-|
19
- |month|-|`Number`|`false`|-|
20
- |months|-|`Array`|`false`|-|
21
- |disabledPrev|-|`Boolean`|`false`|-|
22
- |disabledNext|-|`Boolean`|`false`|-|
23
-
24
- <!-- @vuese:AwCalendarNav:props:end -->
25
-
@@ -1,12 +0,0 @@
1
- # [name]
2
-
3
- ## Events
4
-
5
- <!-- @vuese:[name]:events:start -->
6
- |Event Name|Description|Parameters|
7
- |---|---|---|
8
- |click:date|-|-|
9
-
10
- <!-- @vuese:[name]:events:end -->
11
-
12
-