azion-theme 1.4.2 → 1.5.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 (52) hide show
  1. package/.github/workflows/release.yml +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/CODEOWNERS +1 -1
  4. package/README.md +29 -33
  5. package/default.js +1 -0
  6. package/package.json +3 -2
  7. package/src/azion/_custom.scss +1 -0
  8. package/src/azion/_extensions.scss +30 -0
  9. package/src/azion/_fonts.scss +156 -0
  10. package/src/azion/_variables.scss +369 -0
  11. package/src/azion/custom/_focus.scss +5 -0
  12. package/src/azion/custom/_scrollbehavior.scss +6 -0
  13. package/src/azion/custom/_selection.scss +4 -0
  14. package/src/azion/extended-components/_badge.scss +53 -0
  15. package/src/azion/extended-components/_breadcumb.scss +18 -0
  16. package/src/azion/extended-components/_button.scss +131 -0
  17. package/src/azion/extended-components/_calendar.scss +42 -0
  18. package/src/azion/extended-components/_checkbox.scss +67 -0
  19. package/src/azion/extended-components/_datatable.scss +92 -0
  20. package/src/azion/extended-components/_dialog.scss +45 -0
  21. package/src/azion/extended-components/_divider.scss +31 -0
  22. package/src/azion/extended-components/_dropdownitem.scss +12 -0
  23. package/src/azion/extended-components/_inlinemessage.scss +10 -0
  24. package/src/azion/extended-components/_inputnumber.scss +40 -0
  25. package/src/azion/extended-components/_inputpassword.scss +4 -0
  26. package/src/azion/extended-components/_inputswitch.scss +53 -0
  27. package/src/azion/extended-components/_listbox.scss +25 -0
  28. package/src/azion/extended-components/_markdown.scss +123 -0
  29. package/src/azion/extended-components/_menuitem.scss +22 -0
  30. package/src/azion/extended-components/_multiselect.scss +170 -0
  31. package/src/azion/extended-components/_overlaypanel.scss +18 -0
  32. package/src/azion/extended-components/_picklist.scss +25 -0
  33. package/src/azion/extended-components/_progressbar.scss +6 -0
  34. package/src/azion/extended-components/_radiobutton.scss +63 -0
  35. package/src/azion/extended-components/_selectbutton.scss +36 -0
  36. package/src/azion/extended-components/_sidebar.scss +27 -0
  37. package/src/azion/extended-components/_tabmenu.scss +21 -0
  38. package/src/azion/extended-components/_tabview.scss +41 -0
  39. package/src/azion/extended-components/_tag.scss +42 -0
  40. package/src/azion/extended-components/_toast.scss +67 -0
  41. package/src/azion/extended-components/_tooltip.scss +7 -0
  42. package/src/azion/theme.scss +9 -0
  43. package/src/azion/variables/_button.scss +438 -0
  44. package/src/azion/variables/_data.scss +346 -0
  45. package/src/azion/variables/_form.scss +570 -0
  46. package/src/azion/variables/_general.scss +149 -0
  47. package/src/azion/variables/_media.scss +231 -0
  48. package/src/azion/variables/_menu.scss +287 -0
  49. package/src/azion/variables/_message.scss +145 -0
  50. package/src/azion/variables/_misc.scss +143 -0
  51. package/src/azion/variables/_overlay.scss +67 -0
  52. package/src/azion/variables/_panel.scss +327 -0
@@ -1,4 +1,4 @@
1
- name: Publish Package to npm.pkg.github
1
+ name: Publish Package
2
2
 
3
3
  on:
4
4
  repository_dispatch:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [1.5.0](https://github.com/aziontech/azion-theme/compare/v1.4.3...v1.5.0) (2024-08-05)
2
+
3
+ ### Features
4
+
5
+ * default theme supporting dark/light mode ([14433c6](https://github.com/aziontech/azion-theme/commit/14433c6814c8ef6601a73106043a4e83b47fc36b))
6
+
7
+ ## [1.4.3](https://github.com/aziontech/azion-theme/compare/v1.4.2...v1.4.3) (2024-08-01)
8
+
9
+ ### Bug Fixes
10
+
11
+ * relaunch docs ([3011ee2](https://github.com/aziontech/azion-theme/commit/3011ee228d273f71f505afb0d1af39aadffd84be))
12
+
1
13
  ## [1.4.2](https://github.com/aziontech/azion-theme/compare/v1.4.1...v1.4.2) (2024-08-01)
2
14
 
3
15
  ### Bug Fixes
package/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @cesaroeduardo @gablisb0a
1
+ * @cesaroeduardo @robsongajunior
package/README.md CHANGED
@@ -1,77 +1,73 @@
1
- # azion-theme
2
1
 
3
- ![Sass Cover Azion Theme](./doc/cover-image.png)
2
+ # Azion Theme
4
3
 
5
- The Azion Theme repository is focused on sharing our style kit across interfaces and should be used in all company projects,
6
- including Azion Console Kit, Azion Site, Landing Pages, and all user interactions with Azion.
4
+ ![Sass Cover Azion Theme](./doc/cover-image.png)
7
5
 
6
+ The Azion Theme repository is focused on sharing our style kit across interfaces and should be used in all company projects, including Azion Console Kit, Azion Site, Landing Pages, and all user interactions with Azion.
8
7
 
9
- ## Easy to install
8
+ ## Easy to Install
10
9
 
11
- To install the azion-theme project, you need to follow the command.
12
- Choice one of your preference: npm or yarn;
10
+ To install the `azion-theme` project, you need to follow the command. Choose one of your preferences: npm or yarn:
13
11
 
14
- ``` bash
12
+ ```bash
15
13
  npm install azion-theme --save
16
14
  # or
17
15
  yarn add azion-theme
18
16
  ```
19
17
 
20
- Alternatively, you can configure the package.json file by adding the dependency:
18
+ Alternatively, you can configure the `package.json` file by adding the dependency:
21
19
 
22
- ``` json
20
+ ```json
23
21
  {
24
22
  "dependencies": {
25
- "azion-theme": "ˆ1.4.0"
23
+ "azion-theme": "^1.4.0"
26
24
  }
27
25
  }
28
26
  ```
29
27
 
30
- After updating the package.json file, run npm install in the root of your project to install the Azion Theme.
31
-
28
+ After updating the `package.json` file, run `npm install` in the root of your project to install the Azion Theme.
32
29
 
33
- ### Easy to connect with Front-End Project
30
+ ### Easy to Connect with Front-End Project
34
31
 
35
- To integrate the Azion Theme into your front-end project,
36
- you need to import the theme files in your project's entry point file (App.vue, main.js, index.js, etc.):
32
+ To integrate the Azion Theme into your front-end project, you need to import the theme files in your project's entry point file (App.vue, main.js, index.js, etc.):
37
33
 
38
- ``` javascript
34
+ ```javascript
39
35
  import 'azion-theme/dark';
40
36
  import 'azion-theme/light';
41
37
  ```
42
38
 
43
- Make sure to include these imports at the top of your entry point file
44
- to ensure the styles are applied correctly throughout your application.
39
+ Make sure to include these imports at the top of your entry point file to ensure the styles are applied correctly throughout your application.
45
40
 
41
+ ## How to Develop Locally
46
42
 
47
- ## How to locally development
48
-
49
- To work locally, you should clone both the `azion-theme`
50
- repository and the another repository where theme will be used.
43
+ To work locally, you should clone both the `azion-theme` repository and the other repository where the theme will be used.
51
44
 
52
45
  ### Example:
46
+
53
47
  In this example, we will use the [azion-webkit](https://github.com/aziontech/azion-webkit) repository:
54
48
 
55
- 1. Clone the `azion-webkit` and `azion-theme` repositories;
49
+ 1. Clone the `azion-webkit` and `azion-theme` repositories:
50
+
56
51
  ```bash
57
- git clone https://github.com/aziontech/azion-webkit.git
58
- git clone https://github.com/aziontech/azion-theme.git
52
+ git clone https://github.com/aziontech/azion-webkit.git
53
+ git clone https://github.com/aziontech/azion-theme.git
59
54
  ```
60
55
 
61
- 2. Installing dependecies and create the link point;
56
+ 2. Install dependencies and create the link point:
57
+
62
58
  ```bash
63
- cd ./azion-theme && npm i && npm link
59
+ cd ./azion-theme && npm i && npm link
64
60
  ```
65
61
 
66
- 3. Linking the `azion-theme` to the `azion-webkit` project;
62
+ 3. Link the `azion-theme` to the `azion-webkit` project:
63
+
67
64
  ```bash
68
- cd ../azion-webkit && npm i && npm link azion-theme
65
+ cd ../azion-webkit && npm i && npm link azion-theme
69
66
  ```
70
67
 
71
68
  Any modifications made to `azion-theme` will be reflected on this development server with hot reload.
72
69
 
73
-
74
70
  ## Links
75
71
 
76
- - https://v3.primevue.org/
77
- - https://github.com/primefaces/primevue-sass-theme
72
+ - [PrimeVue](https://v3.primevue.org/)
73
+ - [PrimeVue Sass Theme](https://github.com/primefaces/primevue-sass-theme)
package/default.js ADDED
@@ -0,0 +1 @@
1
+ import './src/azion/theme.scss';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azion-theme",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.5.0",
5
5
  "author": "aziontech",
6
6
  "contributors": [
7
7
  {
@@ -18,7 +18,8 @@
18
18
  ],
19
19
  "exports": {
20
20
  "./dark": "./dark.js",
21
- "./light": "./light.js"
21
+ "./light": "./light.js",
22
+ ".": "./default.js"
22
23
  },
23
24
  "scripts": {
24
25
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1 @@
1
+ @import './custom/selection'
@@ -0,0 +1,30 @@
1
+ /* Customizations to the designer theme should be defined here */
2
+ @layer primevue {
3
+ @import './extended-components/button';
4
+ @import './extended-components/selectbutton';
5
+ @import './extended-components/tabview';
6
+ @import './extended-components/tabmenu';
7
+ @import './extended-components/divider';
8
+ @import './extended-components/dropdownitem';
9
+ @import './extended-components/inlinemessage';
10
+ @import './extended-components/breadcumb';
11
+ @import './extended-components/sidebar';
12
+ @import './extended-components/tooltip';
13
+ @import './extended-components/datatable';
14
+ @import './extended-components/inputpassword';
15
+ @import './extended-components/toast';
16
+ @import './extended-components/inputswitch';
17
+ @import './extended-components/radiobutton';
18
+ @import './extended-components/checkbox';
19
+ @import './extended-components/tag';
20
+ @import './extended-components/markdown';
21
+ @import './extended-components/listbox';
22
+ @import './extended-components/inputnumber';
23
+ @import './extended-components/calendar';
24
+ @import './extended-components/badge';
25
+ @import './extended-components/menuitem';
26
+ @import './extended-components/progressbar';
27
+ @import './extended-components/dialog';
28
+ @import './extended-components/multiselect';
29
+
30
+ }
@@ -0,0 +1,156 @@
1
+ // Configuration for the font-face of the theme, defaults to the system font so left as blank
2
+ @font-face {
3
+ font-family: 'Roboto';
4
+ src: url('https://fonts.azion.com/roboto/roboto-light.eot');
5
+ src:
6
+ url('https://fonts.azion.com/roboto/roboto-light.eot?#iefix') format('embedded-opentype'),
7
+ url('https://fonts.azion.com/roboto/roboto-light.woff2') format('woff2'),
8
+ url('https://fonts.azion.com/roboto/roboto-light.woff') format('woff'),
9
+ url('https://fonts.azion.com/roboto/roboto-light.ttf') format('truetype'),
10
+ url('https://fonts.azion.com/roboto/roboto-light.svg#roboto-light') format('svg');
11
+ font-weight: 300;
12
+ font-style: normal;
13
+ font-display: swap;
14
+ }
15
+
16
+ @font-face {
17
+ font-family: 'Roboto Mono';
18
+ src: url('https://fonts.azion.com/roboto-mono/roboto-mono-regular.ttf') format('truetype');
19
+ font-weight: 400;
20
+ font-style: normal;
21
+ font-display: swap;
22
+ }
23
+
24
+ @font-face {
25
+ font-family: 'Roboto Mono';
26
+ src: url('https://fonts.azion.com/roboto-mono/roboto-mono-light.ttf') format('truetype');
27
+ font-weight: 300;
28
+ font-style: normal;
29
+ font-display: swap;
30
+ }
31
+
32
+ @font-face {
33
+ font-family: 'Roboto';
34
+ src: url('https://fonts.azion.com/roboto/roboto-regular.eot');
35
+ src:
36
+ url('https://fonts.azion.com/roboto/roboto-regular.eot?#iefix') format('embedded-opentype'),
37
+ url('https://fonts.azion.com/roboto/roboto-regular.woff2') format('woff2'),
38
+ url('https://fonts.azion.com/roboto/roboto-regular.woff') format('woff'),
39
+ url('https://fonts.azion.com/roboto/roboto-regular.ttf') format('truetype'),
40
+ url('https://fonts.azion.com/roboto/roboto-regular.svg#Roboto-Regular') format('svg');
41
+ font-weight: 400;
42
+ font-style: normal;
43
+ font-display: swap;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: 'Roboto';
48
+ src: url('https://fonts.azion.com/roboto/roboto-italic.eot');
49
+ src:
50
+ url('https://fonts.azion.com/roboto/roboto-italic.eot?#iefix') format('embedded-opentype'),
51
+ url('https://fonts.azion.com/roboto/roboto-italic.woff2') format('woff2'),
52
+ url('https://fonts.azion.com/roboto/roboto-italic.woff') format('woff'),
53
+ url('https://fonts.azion.com/roboto/roboto-italic.ttf') format('truetype'),
54
+ url('https://fonts.azion.com/roboto/roboto-italic.svg#roboto-italic') format('svg');
55
+ font-weight: 400;
56
+ font-style: italic;
57
+ font-display: swap;
58
+ }
59
+
60
+ @font-face {
61
+ font-family: 'Roboto';
62
+ src: url('https://fonts.azion.com/roboto/roboto-medium.eot');
63
+ src:
64
+ url('https://fonts.azion.com/roboto/roboto-medium.eot?#iefix') format('embedded-opentype'),
65
+ url('https://fonts.azion.com/roboto/roboto-medium.woff2') format('woff2'),
66
+ url('https://fonts.azion.com/roboto/roboto-medium.woff') format('woff'),
67
+ url('https://fonts.azion.com/roboto/roboto-medium.ttf') format('truetype'),
68
+ url('https://fonts.azion.com/roboto/roboto-medium.svg#roboto-medium') format('svg');
69
+ font-weight: 500;
70
+ font-style: normal;
71
+ font-display: swap;
72
+ }
73
+
74
+ @font-face {
75
+ font-family: 'Roboto';
76
+ src: url('https://fonts.azion.com/roboto/roboto-mediumitalic.eot');
77
+ src:
78
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.eot?#iefix') format('embedded-opentype'),
79
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.woff2') format('woff2'),
80
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.woff') format('woff'),
81
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.ttf') format('truetype'),
82
+ url('https://fonts.azion.com/roboto/roboto-mediumitalic.svg#roboto-mediumitalic') format('svg');
83
+ font-weight: 500;
84
+ font-style: italic;
85
+ font-display: swap;
86
+ }
87
+
88
+ @font-face {
89
+ font-family: 'Roboto';
90
+ src: url('https://fonts.azion.com/roboto/roboto-bold.eot');
91
+ src:
92
+ url('https://fonts.azion.com/roboto/roboto-bold.eot?#iefix') format('embedded-opentype'),
93
+ url('https://fonts.azion.com/roboto/roboto-bold.woff2') format('woff2'),
94
+ url('https://fonts.azion.com/roboto/roboto-bold.woff') format('woff'),
95
+ url('https://fonts.azion.com/roboto/roboto-bold.ttf') format('truetype'),
96
+ url('https://fonts.azion.com/roboto/roboto-bold.svg#roboto-bold') format('svg');
97
+ font-weight: 600;
98
+ font-style: normal;
99
+ font-display: swap;
100
+ }
101
+
102
+ @font-face {
103
+ font-family: 'Roboto';
104
+ src: url('https://fonts.azion.com/roboto/roboto-bold.eot');
105
+ src:
106
+ url('https://fonts.azion.com/roboto/roboto-bold.eot?#iefix') format('embedded-opentype'),
107
+ url('https://fonts.azion.com/roboto/roboto-bold.woff2') format('woff2'),
108
+ url('https://fonts.azion.com/roboto/roboto-bold.woff') format('woff'),
109
+ url('https://fonts.azion.com/roboto/roboto-bold.ttf') format('truetype'),
110
+ url('https://fonts.azion.com/roboto/roboto-bold.svg#roboto-bold') format('svg');
111
+ font-weight: bold;
112
+ font-style: normal;
113
+ font-display: swap;
114
+ }
115
+
116
+ @font-face {
117
+ font-family: 'Roboto';
118
+ src: url('https://fonts.azion.com/roboto/roboto-bolditalic.eot');
119
+ src:
120
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.eot?#iefix') format('embedded-opentype'),
121
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff2') format('woff2'),
122
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff') format('woff'),
123
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.ttf') format('truetype'),
124
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.svg#roboto-bolditalic') format('svg');
125
+ font-weight: bold;
126
+ font-style: italic;
127
+ font-display: swap;
128
+ }
129
+
130
+ @font-face {
131
+ font-family: 'Roboto';
132
+ src: url('https://fonts.azion.com/roboto/roboto-bolditalic.eot');
133
+ src:
134
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.eot?#iefix') format('embedded-opentype'),
135
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff2') format('woff2'),
136
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.woff') format('woff'),
137
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.ttf') format('truetype'),
138
+ url('https://fonts.azion.com/roboto/roboto-bolditalic.svg#roboto-bold') format('svg');
139
+ font-weight: 600;
140
+ font-style: italic;
141
+ font-display: swap;
142
+ }
143
+
144
+ @font-face {
145
+ font-family: 'Roboto';
146
+ src: url('https://fonts.azion.com/roboto/roboto-black.eot');
147
+ src:
148
+ url('https://fonts.azion.com/roboto/roboto-black.eot?#iefix') format('embedded-opentype'),
149
+ url('https://fonts.azion.com/roboto/roboto-black.woff2') format('woff2'),
150
+ url('https://fonts.azion.com/roboto/roboto-black.woff') format('woff'),
151
+ url('https://fonts.azion.com/roboto/roboto-black.ttf') format('truetype'),
152
+ url('https://fonts.azion.com/roboto/roboto-black.svg#roboto-black') format('svg');
153
+ font-weight: 700;
154
+ font-style: normal;
155
+ font-display: swap;
156
+ }