@micromag/core 0.4.33 → 0.4.37

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 (42) hide show
  1. package/package.json +2 -2
  2. package/styles/bootstrap-overrides.css +0 -111
  3. package/styles/bootstrap-patches.css +0 -486
  4. package/styles/breadcrumb.module.css +0 -5
  5. package/styles/button.module.css +0 -82
  6. package/styles/buttons.module.css +0 -3
  7. package/styles/clear.module.css +0 -23
  8. package/styles/collapsable-panel.module.css +0 -31
  9. package/styles/conversation.module.css +0 -37
  10. package/styles/dialog.module.css +0 -13
  11. package/styles/empty.module.css +0 -22
  12. package/styles/form-panel.module.css +0 -3
  13. package/styles/form.module.css +0 -22
  14. package/styles/link.module.css +0 -9
  15. package/styles/map.module.css +0 -43
  16. package/styles/media.module.css +0 -3
  17. package/styles/modal.module.css +0 -22
  18. package/styles/modals.module.css +0 -12
  19. package/styles/navbar.module.css +0 -9
  20. package/styles/pagination.module.css +0 -3
  21. package/styles/panel.module.css +0 -3
  22. package/styles/panels.module.css +0 -3
  23. package/styles/placeholder-block.module.css +0 -29
  24. package/styles/placeholder-text.module.css +0 -17
  25. package/styles/placeholders.module.css +0 -3
  26. package/styles/preview.module.css +0 -34
  27. package/styles/quiz-answer.module.css +0 -29
  28. package/styles/screen-placeholder.module.css +0 -5
  29. package/styles/screen-sizer.module.css +0 -14
  30. package/styles/screen.module.css +0 -52
  31. package/styles/screens.module.css +0 -16
  32. package/styles/share-options.module.css +0 -27
  33. package/styles/shared.module.css +0 -325
  34. package/styles/slideshow.module.css +0 -28
  35. package/styles/spinner.module.css +0 -43
  36. package/styles/styles.css +0 -1
  37. package/styles/survey-answer.module.css +0 -18
  38. package/styles/tabs.module.css +0 -4
  39. package/styles/theme.css +0 -84
  40. package/styles/transition.module.css +0 -9
  41. package/styles/vendor.css +0 -32
  42. package/styles/video-360.module.css +0 -15
@@ -1,325 +0,0 @@
1
- /* Utils */
2
- .hideScrollbars {
3
- scrollbar-width: none;
4
-
5
- &::-webkit-scrollbar {
6
- display: none;
7
- }
8
- }
9
-
10
- /* Reset */
11
- .resetViewerFonts {
12
- font-family: Helvetica, Arial, sans-serif;
13
- font-size: 16px;
14
- font-weight: normal;
15
- line-height: 1.1;
16
- }
17
-
18
- .resetViewerElements {
19
- padding: 0;
20
- margin: 0;
21
- }
22
-
23
- .resetViewer {
24
- composes: resetviewerfonts;
25
-
26
- & *,
27
- & *::before,
28
- & *::after {
29
- box-sizing: border-box;
30
- }
31
-
32
- & h1,
33
- & h2,
34
- & h3,
35
- & h4,
36
- & h5,
37
- & h6,
38
- & p,
39
- & ul,
40
- & ol,
41
- & dl,
42
- & li,
43
- & address,
44
- & blockquote,
45
- & pre,
46
- & figure,
47
- & caption,
48
- & label,
49
- & legend {
50
- padding: 0;
51
- margin: 0;
52
- }
53
-
54
- & h1,
55
- & h2,
56
- & h3,
57
- & h4,
58
- & h5,
59
- & h6,
60
- & p,
61
- & li {
62
- font-weight: inherit;
63
- }
64
-
65
- & mark,
66
- & .mark {
67
- color: inherit;
68
- }
69
- }
70
-
71
- .resetButton {
72
- position: relative;
73
- display: inline-block;
74
- padding: 0;
75
- border: 0;
76
- appearance: none;
77
- background: transparent;
78
- color: inherit;
79
- cursor: pointer;
80
- font-family: inherit;
81
- }
82
-
83
- .resetInput {
84
- padding: 0;
85
- border: 0;
86
- appearance: none;
87
- background: transparent;
88
- cursor: pointer;
89
- font-family: inherit;
90
- }
91
-
92
- /* Container */
93
- .fullscreen {
94
- position: absolute;
95
- top: 0;
96
- left: 0;
97
- width: 100%;
98
- height: 100%;
99
- }
100
-
101
- .screen {
102
- position: relative;
103
- overflow: hidden;
104
- width: 100%;
105
- height: 100%;
106
-
107
- &.disabled {
108
- overflow: hidden;
109
- pointer-events: none;
110
- }
111
-
112
- &.hidden {
113
- display: none;
114
- visibility: hidden;
115
- }
116
-
117
- &.placeholder {
118
- & .content {
119
- position: relative;
120
- padding: 6px;
121
- }
122
- }
123
- }
124
-
125
- .empty {
126
- border: dashed 2px var(--mm-gray-800);
127
- margin: 5px auto;
128
- color: var(--mm-gray-800);
129
- }
130
-
131
- .emptyText {
132
- width: 100%;
133
- height: 100px;
134
- }
135
-
136
- .emptyImage {
137
- width: 100%;
138
- height: 200px;
139
- }
140
-
141
- /* Text styles */
142
- .textInnerStyles {
143
- & em,
144
- & i {
145
- font-style: italic;
146
- }
147
-
148
- & strong,
149
- & b {
150
- font-weight: bold;
151
- }
152
-
153
- & p {
154
- margin-top: 0.5em;
155
- margin-bottom: 0.5em;
156
- }
157
-
158
- & mark {
159
- padding: 0;
160
- box-decoration-break: clone;
161
- }
162
- }
163
-
164
- .textStyles {
165
- composes: resetviewerfonts;
166
- composes: textinnerstyles;
167
- line-height: 1.3;
168
-
169
- & h2 {
170
- font-size: 2em;
171
- }
172
-
173
- & h3 {
174
- font-size: 1.75em;
175
- }
176
-
177
- & h4 {
178
- font-size: 1.5em;
179
- }
180
-
181
- & blockquote {
182
- padding: 0;
183
- padding-left: 1em;
184
- }
185
-
186
- & img {
187
- display: block;
188
- width: auto;
189
- max-width: 100%;
190
- height: auto;
191
- }
192
- }
193
-
194
- /* Layout */
195
- .flex {
196
- display: flex;
197
- flex-direction: row;
198
- align-items: center;
199
- justify-content: center;
200
- }
201
-
202
- .flexFull {
203
- display: flex;
204
- width: 100%;
205
- height: 100%;
206
- flex-direction: row;
207
- align-items: center;
208
- justify-content: center;
209
- }
210
-
211
- .placeholderFull {
212
- width: 100%;
213
- }
214
-
215
- .placeholderCenter {
216
- margin-right: auto;
217
- margin-left: auto;
218
- }
219
-
220
- .placeholderLeft {
221
- clear: both;
222
- float: left;
223
- }
224
-
225
- .placeholderRight {
226
- clear: both;
227
- float: right;
228
- }
229
-
230
- /* Form */
231
- .formDisabled {
232
- position: absolute;
233
- z-index: 0;
234
- top: 0;
235
- left: 0;
236
- width: 100%;
237
- }
238
-
239
- .formTransitions {
240
- position: relative;
241
-
242
- &.enterRight,
243
- &.enterLeft,
244
- &.enterTop,
245
- &.enterBottom {
246
- z-index: 1;
247
- opacity: 0.5;
248
- }
249
-
250
- &.enterRight {
251
- transform: translate(100%, 0);
252
- }
253
-
254
- &.enterLeft {
255
- transform: translate(-100%, 0);
256
- }
257
-
258
- &.enterTop {
259
- transform: translate(0, -100%);
260
- }
261
-
262
- &.enterBottom {
263
- transform: translate(0, 100%);
264
- }
265
-
266
- &.enterActiveHorizontal,
267
- &.enterActiveVertical {
268
- opacity: 1;
269
- transform: translate(0, 0);
270
- }
271
-
272
- &.enterActiveHorizontal {
273
- transition: transform 0.2s ease-out, opacity 0.2s ease-out;
274
- }
275
-
276
- &.enterActiveVertical {
277
- transition: transform 0.5s ease-out, opacity 0.5s ease-out;
278
- }
279
-
280
- &.leave {
281
- position: absolute;
282
- z-index: 0;
283
- top: 0;
284
- left: 0;
285
- width: 100%;
286
- opacity: 1;
287
- transform: translate(0, 0);
288
- }
289
-
290
- &.leaveActiveRight,
291
- &.leaveActiveLeft {
292
- opacity: 0.5;
293
- transition: transform 0.2s ease-out, opacity 0.2s ease-out;
294
- }
295
-
296
- &.leaveActiveTop,
297
- &.leaveActiveBottom {
298
- opacity: 0.5;
299
- transition: transform 0.5s ease-out, opacity 0.5s ease-out;
300
- }
301
-
302
- &.leaveActiveRight {
303
- transform: translate(-100%, 0);
304
- }
305
-
306
- &.leaveActiveLeft {
307
- transform: translate(100%, 0);
308
- }
309
-
310
- &.leaveActiveTop {
311
- transform: translate(0, 100%);
312
- }
313
-
314
- &.leaveActiveBottom {
315
- transform: translate(0, -100%);
316
- }
317
- }
318
-
319
- /* Focus */
320
- .focusOutline {
321
- &:focus-visible {
322
- outline: 3px solid var(--mm-purple);
323
- outline-offset: 4px;
324
- }
325
- }
@@ -1,28 +0,0 @@
1
- .container {
2
- position: relative;
3
- overflow: hidden;
4
-
5
- .items {
6
- width: 100%;
7
- height: 100%;
8
- }
9
-
10
- .item {
11
- position: absolute;
12
- width: 100%;
13
- height: 100%;
14
- transition: transform 0.3s ease-out;
15
-
16
- &.prev {
17
- transform: translateX(-100%);
18
- }
19
-
20
- &.current {
21
- transform: translateX(0);
22
- }
23
-
24
- &.next {
25
- transform: translateX(100%);
26
- }
27
- }
28
- }
@@ -1,43 +0,0 @@
1
- @keyframes rotate {
2
- 100% {
3
- transform: rotate(360deg);
4
- }
5
- }
6
-
7
- @keyframes dash {
8
- 0% {
9
- stroke-dasharray: 1, 150;
10
- stroke-dashoffset: 0;
11
- }
12
-
13
- 50% {
14
- stroke-dasharray: 90, 150;
15
- stroke-dashoffset: -35;
16
- }
17
-
18
- 100% {
19
- stroke-dasharray: 90, 150;
20
- stroke-dashoffset: -124;
21
- }
22
- }
23
-
24
- .container {
25
- display: block;
26
- width: 40px;
27
- height: 40px;
28
-
29
- .path {
30
- color: currentcolor;
31
- stroke-linecap: round;
32
- }
33
-
34
- &.animated {
35
- animation: rotate 2s linear infinite;
36
-
37
- .path {
38
- animation: dash 1.5s ease-in-out infinite;
39
- }
40
- }
41
-
42
- }
43
-
package/styles/styles.css DELETED
@@ -1 +0,0 @@
1
- @import '@micromag/core/assets/css/styles.css';
@@ -1,18 +0,0 @@
1
- .container {
2
- display: flex;
3
- align-items: center;
4
- mix-blend-mode: difference;
5
-
6
- .block {
7
- flex-grow: 1;
8
- }
9
-
10
- .percent {
11
- margin-left: 4px;
12
- }
13
-
14
- .percentIcon {
15
- padding: 1px;
16
- color: rgb(var(--mm-white), 0.6);
17
- }
18
- }
@@ -1,4 +0,0 @@
1
- .container {
2
- position: relative;
3
- display: inline-block;
4
- }
package/styles/theme.css DELETED
@@ -1,84 +0,0 @@
1
- :root {
2
- /* Colors */
3
- --mm-white: #fff;
4
- --mm-black: #1c1c1c;
5
- --mm-purple: #a13dff;
6
- --mm-red: #ff2945;
7
- --mm-green: #0ed88f;
8
- --mm-blue: #2151ff;
9
- --mm-yellow: #ffe535;
10
-
11
- /* Theme aliases */
12
- --mm-primary: var(--mm-purple);
13
- --mm-secondary: var(--mm-gray-200);
14
- --mm-info: var(--mm-blue);
15
- --mm-light: var(--mm-white);
16
- --mm-dark: #343434;
17
-
18
- /* Gray scale */
19
- --mm-gray-100: #f5f5f5;
20
- --mm-gray-200: #e9e9e9;
21
- --mm-gray-300: #dedede;
22
- --mm-gray-400: #b3b3b3;
23
- --mm-gray-500: #adadad;
24
- --mm-gray-600: #6c6c6c;
25
- --mm-gray-700: #494949;
26
- --mm-gray-800: #343434;
27
- --mm-gray-900: #2b2b2b;
28
-
29
- /* Typography */
30
- --mm-font-family-sans-serif: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI',
31
- Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
32
- 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
33
- --mm-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
34
- 'Courier New', monospace;
35
- --mm-font-weight-normal: 400;
36
- --mm-font-weight-bold: 600;
37
- --mm-font-size-sm: 0.875rem;
38
-
39
- /* Input/Form variables */
40
- --mm-input-bg: hsla(0, 0%, 100%, 0.07);
41
- --mm-input-color: var(--mm-white);
42
- --mm-input-border-width: 0;
43
- --mm-input-border-color: transparent;
44
- --mm-input-border-radius: 0.375rem;
45
- --mm-input-border-radius-sm: 0.25rem;
46
- --mm-input-border-radius-lg: 0.5rem;
47
- --mm-input-line-height: 1.4;
48
- --mm-input-font-size: 1rem;
49
- --mm-input-font-size-sm: 0.875rem;
50
- --mm-input-font-size-lg: 1.25rem;
51
- --mm-input-btn-padding-y: 0.5rem;
52
- --mm-input-btn-padding-y-sm: 0.25rem;
53
- --mm-input-btn-padding-y-lg: 0.5rem;
54
- --mm-input-btn-padding-x: 0.75rem;
55
- --mm-input-btn-padding-x-sm: 0.75rem;
56
- --mm-input-btn-padding-x-lg: 1.3rem;
57
- --mm-input-btn-focus-color: rgba(161, 61, 255, 0.4);
58
-
59
- /* Body */
60
- --mm-body-bg: var(--mm-black);
61
- --mm-body-color: var(--mm-gray-100);
62
-
63
- /* Spacing */
64
- --mm-spacer: 1rem;
65
-
66
- /* Border */
67
- --mm-border-color: #dee2e6;
68
-
69
- /* Easing functions */
70
- --mm-ease-in-bounce: cubic-bezier(0.075, 1.5, 0.35, 0.95);
71
- --mm-ease-in-out-bounce: cubic-bezier(0.9, -0.5, 0.1, 1.5);
72
- --mm-ease-in-out-soft-sine: cubic-bezier(0.4, 0, 0.6, 1);
73
- --mm-ease-in-out-sine: cubic-bezier(0.6, 0, 0.4, 1);
74
- --mm-ease-in-out-hard-sine: cubic-bezier(0.9, 0, 0.1, 1);
75
- --mm-ease-in-ramp: cubic-bezier(0.6, 0, 1, 0.5);
76
- --mm-ease-out-ramp: cubic-bezier(0, 0.6, 0.5, 1);
77
- --mm-ease-in-kickback: cubic-bezier(0.41, 1.69, 0.04, 0.67);
78
- --mm-ease-in-yo: cubic-bezier(0.21, 2.59, 0, 0.9);
79
- --mm-ease-in-bump: cubic-bezier(0.4, 1.69, 0, 1);
80
-
81
- /* Pre-computed rgba values used in component styles */
82
- --mm-white-60: rgba(255, 255, 255, 0.6);
83
- --mm-black-50: rgba(28, 28, 28, 0.5);
84
- }
@@ -1,9 +0,0 @@
1
- .container {
2
- &.fullscreen {
3
- position: absolute;
4
- top: 0;
5
- left: 0;
6
- width: 100%;
7
- height: 100%;
8
- }
9
- }
package/styles/vendor.css DELETED
@@ -1,32 +0,0 @@
1
- /* stylelint-disable selector-class-pattern */
2
-
3
- /* Google Fonts */
4
- @import 'https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap';
5
-
6
- /* Bootstrap (pre-compiled) */
7
- @import 'bootstrap/dist/css/bootstrap.css';
8
-
9
- /* Theme overrides */
10
- @import './bootstrap-overrides.css';
11
- @import './bootstrap-patches.css';
12
-
13
- /* Uppy */
14
- @import '@uppy/core/css/style.min.css';
15
- @import '@uppy/dashboard/css/style.min.css';
16
-
17
- /* Panneau packages */
18
- @import '@panneau/fields/assets/css/styles.css';
19
- @import '@panneau/displays/assets/css/styles.css';
20
- @import '@panneau/filters/assets/css/styles.css';
21
-
22
- /* Panneau elements */
23
- @import '@panneau/element-button/assets/css/styles.css';
24
- @import '@panneau/element-dropdown/assets/css/styles.css';
25
- @import '@panneau/element-form-group/assets/css/styles.css';
26
- @import '@panneau/element-icon/assets/css/styles.css';
27
- @import '@panneau/element-link/assets/css/styles.css';
28
- @import '@panneau/element-modal/assets/css/styles.css';
29
- @import '@panneau/element-grid/assets/css/styles.css';
30
- @import '@panneau/element-media-card/assets/css/styles.css';
31
- @import '@panneau/element-media-player/assets/css/styles.css';
32
- @import '@panneau/medias/assets/css/styles.css';
@@ -1,15 +0,0 @@
1
- .container {
2
- .box {
3
- flex-direction: column;
4
- }
5
-
6
- .icon {
7
- margin-bottom: 5px;
8
- color: var(--mm-black);
9
- }
10
-
11
- .label {
12
- color: var(--mm-black);
13
- font-size: 0.75em;
14
- }
15
- }