@agorapulse/ui-theme 0.0.1 → 1.0.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 (39) hide show
  1. package/agorapulse-ui-theme-1.0.0.tgz +0 -0
  2. package/assets/{lib-ui-theme/fonts → fonts}/averta/AvertaStd-Black.otf +0 -0
  3. package/assets/{lib-ui-theme/fonts → fonts}/averta/AvertaStd-Bold.otf +0 -0
  4. package/assets/{lib-ui-theme/fonts → fonts}/averta/AvertaStd-Extrabold.otf +0 -0
  5. package/assets/{lib-ui-theme/fonts → fonts}/averta/AvertaStd-Regular.otf +0 -0
  6. package/assets/{lib-ui-theme/fonts → fonts}/averta/AvertaStd-Semibold.otf +0 -0
  7. package/assets/{lib-ui-theme/style → style}/_colors.scss +1 -1
  8. package/assets/{lib-ui-theme/style → style}/_font-face.scss +0 -0
  9. package/assets/{lib-ui-theme/style → style}/_grid.scss +0 -0
  10. package/assets/{lib-ui-theme/style → style}/_helpers.scss +0 -0
  11. package/assets/{lib-ui-theme/style → style}/_mat-typography.scss +1 -2
  12. package/assets/{lib-ui-theme/style → style}/_variables.scss +0 -0
  13. package/assets/{lib-ui-theme/style → style}/components-custom-style/_alert.scss +1 -1
  14. package/assets/{lib-ui-theme/style → style}/components-custom-style/_clickable-text.scss +1 -1
  15. package/assets/{lib-ui-theme/style → style}/components-custom-style/_form.scss +1 -1
  16. package/assets/{lib-ui-theme/style → style}/components-custom-style/_input-error.scss +1 -1
  17. package/assets/{lib-ui-theme/style → style}/components-custom-style/_input.scss +2 -1
  18. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-button-toggle-group.scss +1 -1
  19. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-button.scss +1 -1
  20. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-checkbox.scss +1 -1
  21. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-dialog.scss +1 -1
  22. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-divider.scss +0 -0
  23. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-expansion-panel.scss +0 -0
  24. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-list.scss +1 -1
  25. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-menu.scss +1 -1
  26. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-radio-button.scss +1 -1
  27. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-slide-toggle.scss +1 -1
  28. package/assets/{lib-ui-theme/style → style}/components-custom-style/_mat-snack-bar.scss +1 -1
  29. package/assets/{lib-ui-theme/style → style}/components-custom-style/_ng-select.scss +2 -2
  30. package/assets/{lib-ui-theme/style → style}/components-custom-style/_notification.scss +1 -1
  31. package/assets/{lib-ui-theme/style → style}/components-custom-style/_reduction.scss +1 -1
  32. package/assets/{lib-ui-theme/style → style}/components-custom-style/_select.scss +1 -1
  33. package/assets/{lib-ui-theme/style → style}/components-custom-style/_sign.scss +1 -1
  34. package/assets/style/theme.scss +77 -0
  35. package/package.json +6 -2
  36. package/package.json.bak +19 -0
  37. package/agorapulse-ui-theme-0.0.1.tgz +0 -0
  38. package/assets/lib-ui-theme/style/theme.scss +0 -77
  39. package/ng-package.json +0 -4
Binary file
@@ -1,4 +1,4 @@
1
- @use '../../../../../node_modules/@angular/material/index' as mat;
1
+ @use '~@angular/material' as mat;
2
2
  // Color palettes from the Material Design spec.
3
3
  // See https://www.google.com/design/spec/style/color.html
4
4
  //
File without changes
@@ -1,5 +1,4 @@
1
- @use '../../../../../node_modules/@angular/material/index' as mat;
2
- @import 'colors';
1
+ @use '~@angular/material' as mat;
3
2
  @import 'variables';
4
3
 
5
4
  /*
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .alert {
4
4
  font-weight: bold;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  span, a {
4
4
  &.ap-clickable-text {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  %small-font {
4
4
  font-size: $font-size-s;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .ap-input-error {
4
4
  color: map-get($colors-red, 100);
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  textarea, select, input, button {
4
4
  outline: none;
@@ -67,6 +67,7 @@ input, textarea {
67
67
  flex-direction: row;
68
68
  width: 180px;
69
69
  color: map_get($colors-grey, 100);
70
+ border-radius: $border-radius;
70
71
 
71
72
  input {
72
73
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .mat-button-toggle-group {
4
4
  height: 36px;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  %ap-button {
4
4
  color: map_get($colors-grey, 80);
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  @mixin checkbox-state-style($color) {
4
4
  .mat-checkbox-frame {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .mat-dialog-actions {
4
4
  background-color: $color-grey-white;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .mat-list-option {
4
4
  .mat-pseudo-checkbox {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .mat-menu-panel:not(.pop-menu) {
4
4
  box-shadow: 0 7px 50px rgba(0, 0, 0, 0.08);
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  @mixin radio-button-state-style($color) {
4
4
  .mat-radio-button:not(.mat-radio-disabled) {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .mat-slide-toggle {
4
4
  .mat-slide-toggle-bar {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  snack-bar-container.mat-snack-bar-container {
4
4
  min-width: 300px;
@@ -1,5 +1,5 @@
1
- @import '../../../../../../node_modules/@ng-select/ng-select/themes/default.theme.css';
2
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '~@ng-select/ng-select/themes/default.theme.css';
2
+ @import '../variables';
3
3
 
4
4
  @mixin select-state-style($color) {
5
5
  .ng-select-container {
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .notification {
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  span.ap-reduction {
4
4
  color: map-get($colors-green, 100);
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  select {
4
4
  border: 1px solid $border-color;
@@ -1,4 +1,4 @@
1
- @import 'assets/lib-ui-theme/style/variables';
1
+ @import '../variables';
2
2
 
3
3
  .sign {
4
4
  padding: 0 2px;
@@ -0,0 +1,77 @@
1
+ /*
2
+ * THEMING
3
+ * See https://material.angular.io/guide/theming
4
+ */
5
+ @use '~@angular/material' as mat;
6
+ @include mat.core();
7
+
8
+
9
+ @import 'font-face';
10
+ @import 'colors';
11
+ @import 'variables';
12
+
13
+ // Custom palettes
14
+ @include mat.all-component-themes(mat.define-light-theme(
15
+ $primary: mat.define-palette($colors-primary),
16
+ $accent: mat.define-palette($colors-accent),
17
+ $warn: mat.define-palette($colors-warn)
18
+ ));
19
+
20
+ /*
21
+ * TYPOGRAPHY
22
+ */
23
+
24
+ @import 'mat-typography';
25
+
26
+ /*
27
+ * GRID
28
+ */
29
+ @import 'grid';
30
+
31
+ /*
32
+ * HELPERS
33
+ */
34
+ @import 'helpers';
35
+
36
+ /*
37
+ * COMPONENTS
38
+ */
39
+
40
+ @import 'components-custom-style/alert';
41
+ @import 'components-custom-style/form';
42
+ @import 'components-custom-style/input';
43
+ @import 'components-custom-style/notification';
44
+ @import 'components-custom-style/mat-button';
45
+ @import 'components-custom-style/mat-button-toggle-group';
46
+ @import 'components-custom-style/mat-checkbox';
47
+ @import 'components-custom-style/mat-dialog';
48
+ @import 'components-custom-style/mat-divider';
49
+ @import 'components-custom-style/mat-expansion-panel';
50
+ @import 'components-custom-style/mat-list';
51
+ @import 'components-custom-style/mat-menu';
52
+ @import 'components-custom-style/mat-radio-button';
53
+ @import 'components-custom-style/mat-slide-toggle';
54
+ @import 'components-custom-style/mat-snack-bar';
55
+ @import 'components-custom-style/ng-select';
56
+ @import 'components-custom-style/select';
57
+ @import 'components-custom-style/sign';
58
+ @import 'components-custom-style/reduction';
59
+ @import 'components-custom-style/clickable-text';
60
+ @import 'components-custom-style/input-error';
61
+
62
+ .mat-ripple { display: none; }
63
+
64
+ /*
65
+ * {
66
+ -webkit-font-smoothing: antialiased;
67
+ -moz-osx-font-smoothing: grayscale;
68
+ box-sizing: border-box;
69
+ }
70
+
71
+ a, button {
72
+ cursor: pointer;
73
+ }
74
+ */
75
+
76
+
77
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,5 +11,9 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/agorapulse/design/issues"
13
13
  },
14
- "homepage": "https://github.com/agorapulse/design#readme"
14
+ "homepage": "https://github.com/agorapulse/design#readme",
15
+ "peerDependencies": {
16
+ "@angular/material": "^12.2.3",
17
+ "@ng-select/ng-select": "^7.2.0"
18
+ }
15
19
  }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@agorapulse/ui-theme",
3
+ "version": "1.0.0-SNAPSHOT",
4
+ "description": "Agorapulse UI Theme Library",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/agorapulse/design.git"
8
+ },
9
+ "author": "Arnaud BUSO",
10
+ "license": "ISC",
11
+ "bugs": {
12
+ "url": "https://github.com/agorapulse/design/issues"
13
+ },
14
+ "homepage": "https://github.com/agorapulse/design#readme",
15
+ "peerDependencies": {
16
+ "@angular/material": "^12.2.3",
17
+ "@ng-select/ng-select": "^7.2.0"
18
+ }
19
+ }
Binary file
@@ -1,77 +0,0 @@
1
- /*
2
- * THEMING
3
- * See https://material.angular.io/guide/theming
4
- */
5
- @use '../../../../../node_modules/@angular/material/index' as mat;
6
- @include mat.core();
7
-
8
-
9
- @import 'font-face';
10
- @import 'colors';
11
- @import 'variables';
12
-
13
- // Custom palettes
14
- @include mat.all-component-themes(mat.define-light-theme(
15
- $primary: mat.define-palette($colors-primary),
16
- $accent: mat.define-palette($colors-accent),
17
- $warn: mat.define-palette($colors-warn)
18
- ));
19
-
20
- /*
21
- * TYPOGRAPHY
22
- */
23
-
24
- @import 'mat-typography';
25
-
26
- /*
27
- * GRID
28
- */
29
- @import 'grid';
30
-
31
- /*
32
- * HELPERS
33
- */
34
- @import 'helpers';
35
-
36
- /*
37
- * COMPONENTS
38
- */
39
-
40
- @import 'assets/lib-ui-theme/style/components-custom-style/alert';
41
- @import 'assets/lib-ui-theme/style/components-custom-style/form';
42
- @import 'assets/lib-ui-theme/style/components-custom-style/input';
43
- @import 'assets/lib-ui-theme/style/components-custom-style/notification';
44
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-button';
45
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-button-toggle-group';
46
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-checkbox';
47
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-dialog';
48
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-divider';
49
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-expansion-panel';
50
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-list';
51
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-menu';
52
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-radio-button';
53
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-slide-toggle';
54
- @import 'assets/lib-ui-theme/style/components-custom-style/mat-snack-bar';
55
- @import 'assets/lib-ui-theme/style/components-custom-style/ng-select';
56
- @import 'assets/lib-ui-theme/style/components-custom-style/select';
57
- @import 'assets/lib-ui-theme/style/components-custom-style/sign';
58
- @import 'assets/lib-ui-theme/style/components-custom-style/reduction';
59
- @import 'assets/lib-ui-theme/style/components-custom-style/clickable-text';
60
- @import 'assets/lib-ui-theme/style/components-custom-style/input-error';
61
-
62
- .mat-ripple { display: none; }
63
-
64
- /*
65
- * {
66
- -webkit-font-smoothing: antialiased;
67
- -moz-osx-font-smoothing: grayscale;
68
- box-sizing: border-box;
69
- }
70
-
71
- a, button {
72
- cursor: pointer;
73
- }
74
- */
75
-
76
-
77
-
package/ng-package.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/ui-theme"
4
- }