@rxap/components 13.0.0 → 14.0.1

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 (33) hide show
  1. package/esm2020/lib/button/button.component.mjs +9 -9
  2. package/esm2020/lib/button/button.component.module.mjs +12 -14
  3. package/esm2020/lib/confirm/confirm.component.mjs +6 -6
  4. package/esm2020/lib/confirm/confirm.component.module.mjs +8 -10
  5. package/esm2020/lib/confirm/confirm.directive.mjs +3 -3
  6. package/esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.mjs +8 -8
  7. package/esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.module.mjs +11 -13
  8. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.mjs +6 -6
  9. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.mjs +8 -10
  10. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +6 -6
  11. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.mjs +8 -10
  12. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.mjs +3 -3
  13. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.module.mjs +5 -7
  14. package/esm2020/lib/json-viewer/json-viewer.component.mjs +4 -4
  15. package/esm2020/lib/json-viewer/json-viewer.component.module.mjs +5 -7
  16. package/esm2020/lib/navigate-back-button/navigate-back-button.component.mjs +7 -7
  17. package/esm2020/lib/navigate-back-button/navigate-back-button.component.module.mjs +7 -9
  18. package/fesm2015/rxap-components.mjs +103 -119
  19. package/fesm2015/rxap-components.mjs.map +1 -1
  20. package/fesm2020/rxap-components.mjs +103 -119
  21. package/fesm2020/rxap-components.mjs.map +1 -1
  22. package/lib/button/button.component.d.ts +1 -1
  23. package/lib/confirm/confirm.component.d.ts +1 -1
  24. package/lib/confirm/confirm.directive.d.ts +1 -1
  25. package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +1 -1
  26. package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +1 -1
  27. package/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.d.ts +1 -1
  28. package/lib/empty-router-outlet/empty-router-outlet.component.d.ts +1 -1
  29. package/lib/json-viewer/json-viewer.component.d.ts +1 -1
  30. package/lib/navigate-back-button/navigate-back-button.component.d.ts +1 -1
  31. package/package.json +18 -18
  32. package/_theming.scss +0 -188
  33. package/rxap-components.d.ts +0 -5
package/_theming.scss DELETED
@@ -1,188 +0,0 @@
1
- @use '@angular/material' as mat;
2
-
3
-
4
- @mixin rxap-json-viewer-theme($theme) {
5
- $foreground: map-get($theme, foreground);
6
- $background: map-get($theme, background);
7
- $accent: map-get($theme, accent);
8
- $primary: map-get($theme, primary);
9
- $warn: map-get($theme, warn);
10
- $isDark: map-get($theme, is-dark);
11
-
12
- .rxap-json-viewer {
13
-
14
- $type-colors: (
15
- string: #FF6B6B,
16
- number: #009688,
17
- boolean: #b938a4,
18
- date: #05668D,
19
- array: #999,
20
- object: #999,
21
- function: #999,
22
- 'null': #fff,
23
- undefined: #fff
24
- );
25
-
26
- .container {
27
-
28
- .segment {
29
-
30
- .segment-main {
31
-
32
- .toggler {
33
- color: #787878;
34
-
35
- }
36
-
37
- .segment-key {
38
- color: mat.get-color-from-palette($primary);
39
- }
40
-
41
- .segment-separator {
42
- color: #999;
43
- }
44
-
45
- .segment-value {
46
- color: map-get($foreground, text);
47
- }
48
- }
49
-
50
- }
51
-
52
- @each $type, $color in $type-colors {
53
- .segment-type-#{$type} > .segment-main > .segment-value {
54
- color: $color;
55
- }
56
- }
57
-
58
- // special cases need highlightted
59
- .segment-type-null > .segment-main > .segment-value {
60
- background-color: mat.get-color-from-palette($warn);
61
- }
62
-
63
- .segment-type-undefined > .segment-main {
64
- & > .segment-key {
65
- color: #999;
66
- }
67
-
68
- & > .segment-value {
69
- background-color: #999;
70
- }
71
- }
72
-
73
- }
74
-
75
- }
76
-
77
- }
78
-
79
- @mixin rxap-json-viewer-typography($config) {
80
- .rxap-json-viewer {
81
-
82
- .container {
83
-
84
- font-family: monospace;
85
- font-size: 1.6rem;
86
-
87
- .segment {
88
-
89
- .segment-main {
90
-
91
- .toggler {
92
- font-size: .8em;
93
- line-height: 1.2em;
94
- }
95
-
96
- }
97
-
98
- }
99
- }
100
-
101
- }
102
- }
103
-
104
- @mixin rxap-confirm-theme($theme) {
105
- $foreground: map-get($theme, foreground);
106
- $background: map-get($theme, background);
107
- $accent: map-get($theme, accent);
108
- $warn: map-get($theme, warn);
109
- $isDark: map-get($theme, is-dark);
110
-
111
- .rxap-confirm {
112
-
113
- .container {
114
- background-color: map-get($background, background);
115
- }
116
-
117
- }
118
-
119
- }
120
-
121
- @mixin rxap-confirm-typography($config) {
122
- .rxap-confirm {
123
-
124
- .container {
125
-
126
- }
127
-
128
- }
129
- }
130
-
131
- @mixin rxap-dark-mode-toggle-button-theme($theme) {
132
- $foreground: map-get($theme, foreground);
133
- $background: map-get($theme, background);
134
- $accent: map-get($theme, accent);
135
- $primary: map-get($theme, primary);
136
- $warn: map-get($theme, warn);
137
- $isDark: map-get($theme, is-dark);
138
-
139
- .rxap-dark-mode-toggle-button { }
140
-
141
- }
142
-
143
- @mixin rxap-dark-mode-toggle-button-typography($config) {
144
- .rxap-dark-mode-toggle-button { }
145
- }
146
-
147
- @mixin rxap-navigate-back-button-theme($theme) {
148
- $foreground: map-get($theme, foreground);
149
- $background: map-get($theme, background);
150
- $accent: map-get($theme, accent);
151
- $primary: map-get($theme, primary);
152
- $warn: map-get($theme, warn);
153
- $isDark: map-get($theme, is-dark);
154
-
155
- .rxap-navigate-back-button {
156
- h1, h2, h3, h4, h5, h6 {
157
- margin: 0;
158
- }
159
- }
160
-
161
- }
162
-
163
- @mixin rxap-navigate-back-button-typography($config) {
164
- .rxap-navigate-back-button {
165
- }
166
- }
167
-
168
- /* IMPORT */
169
-
170
- @mixin rxap-components-theme($theme) {
171
-
172
- @include rxap-json-viewer-theme($theme);
173
- @include rxap-confirm-theme($theme);
174
- @include rxap-dark-mode-toggle-button-theme($theme);
175
- @include rxap-navigate-back-button-theme($theme);
176
- /* THEME_INCLUDE */
177
-
178
- }
179
-
180
- @mixin rxap-components-typography($config) {
181
-
182
- @include rxap-json-viewer-typography($config);
183
- @include rxap-confirm-typography($config);
184
- @include rxap-dark-mode-toggle-button-typography($config);
185
- @include rxap-navigate-back-button-typography($config);
186
- /* TYPOGRAPHY_INCLUDE */
187
-
188
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@rxap/components" />
5
- export * from './index';