@agorapulse/ui-theme 0.0.1 → 0.0.2

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 (26) hide show
  1. package/agorapulse-ui-theme-0.0.2.tgz +0 -0
  2. package/assets/lib-ui-theme/style/_colors.scss +1 -1
  3. package/assets/lib-ui-theme/style/_mat-typography.scss +1 -2
  4. package/assets/lib-ui-theme/style/components-custom-style/_alert.scss +1 -1
  5. package/assets/lib-ui-theme/style/components-custom-style/_clickable-text.scss +1 -1
  6. package/assets/lib-ui-theme/style/components-custom-style/_form.scss +1 -1
  7. package/assets/lib-ui-theme/style/components-custom-style/_input-error.scss +1 -1
  8. package/assets/lib-ui-theme/style/components-custom-style/_input.scss +3 -2
  9. package/assets/lib-ui-theme/style/components-custom-style/_mat-button-toggle-group.scss +1 -1
  10. package/assets/lib-ui-theme/style/components-custom-style/_mat-button.scss +1 -1
  11. package/assets/lib-ui-theme/style/components-custom-style/_mat-checkbox.scss +1 -1
  12. package/assets/lib-ui-theme/style/components-custom-style/_mat-dialog.scss +1 -1
  13. package/assets/lib-ui-theme/style/components-custom-style/_mat-list.scss +1 -1
  14. package/assets/lib-ui-theme/style/components-custom-style/_mat-menu.scss +1 -1
  15. package/assets/lib-ui-theme/style/components-custom-style/_mat-radio-button.scss +1 -1
  16. package/assets/lib-ui-theme/style/components-custom-style/_mat-slide-toggle.scss +1 -1
  17. package/assets/lib-ui-theme/style/components-custom-style/_mat-snack-bar.scss +1 -1
  18. package/assets/lib-ui-theme/style/components-custom-style/_ng-select.scss +2 -2
  19. package/assets/lib-ui-theme/style/components-custom-style/_notification.scss +1 -1
  20. package/assets/lib-ui-theme/style/components-custom-style/_reduction.scss +1 -1
  21. package/assets/lib-ui-theme/style/components-custom-style/_select.scss +1 -1
  22. package/assets/lib-ui-theme/style/components-custom-style/_sign.scss +1 -1
  23. package/assets/lib-ui-theme/style/theme.scss +22 -22
  24. package/package.json +6 -2
  25. package/agorapulse-ui-theme-0.0.1.tgz +0 -0
  26. 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
  //
@@ -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;
@@ -45,7 +45,7 @@ input, textarea {
45
45
  &.valid:not([disabled]):not(.transparent) {
46
46
  border: 1px solid $color-success;
47
47
  }
48
-
48
+
49
49
  // Transparent
50
50
  &.transparent {
51
51
  border: 0;
@@ -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;
@@ -2,7 +2,7 @@
2
2
  * THEMING
3
3
  * See https://material.angular.io/guide/theming
4
4
  */
5
- @use '../../../../../node_modules/@angular/material/index' as mat;
5
+ @use '@angular/material' as mat;
6
6
  @include mat.core();
7
7
 
8
8
 
@@ -37,27 +37,27 @@
37
37
  * COMPONENTS
38
38
  */
39
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';
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
61
 
62
62
  .mat-ripple { display: none; }
63
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
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
  }
Binary file
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
- }