@lumx/core 4.0.1-alpha.1 → 4.0.1-alpha.3

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.
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@lumx/core/js/constants';
2
+ /** Invert the color of the given theme. */
3
+ export declare const invertTheme: (theme: Theme) => Theme;
package/lumx.css CHANGED
@@ -10883,19 +10883,6 @@ table {
10883
10883
  flex: 1 1 auto;
10884
10884
  min-height: 0;
10885
10885
  }
10886
- .lumx-slideshow__wrapper--mode-scroll-snap {
10887
- overflow-x: auto;
10888
- scroll-snap-type: x mandatory;
10889
- scrollbar-width: none;
10890
- }
10891
- @media (prefers-reduced-motion: no-preference) {
10892
- .lumx-slideshow__wrapper--mode-scroll-snap {
10893
- scroll-behavior: smooth;
10894
- }
10895
- }
10896
- .lumx-slideshow__wrapper--mode-scroll-snap::-webkit-scrollbar {
10897
- display: none;
10898
- }
10899
10886
  .lumx-slideshow__controls {
10900
10887
  margin-top: 16px;
10901
10888
  }
@@ -10910,7 +10897,6 @@ table {
10910
10897
  overflow: hidden;
10911
10898
  max-width: 100%;
10912
10899
  flex: 0 0 100%;
10913
- scroll-snap-align: start;
10914
10900
  }
10915
10901
 
10916
10902
  /* Slideshow item
package/package.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "url": "https://github.com/lumapps/design-system/issues"
7
7
  },
8
8
  "dependencies": {
9
+ "@lumx/icons": "^4.0.1-alpha.3",
9
10
  "classnames": "^2.3.2",
10
11
  "focus-visible": "^5.0.2",
11
12
  "lodash": "4.17.21",
@@ -35,9 +36,10 @@
35
36
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
36
37
  },
37
38
  "sideEffects": false,
38
- "version": "4.0.1-alpha.1",
39
+ "version": "4.0.1-alpha.3",
39
40
  "devDependencies": {
40
41
  "@rollup/plugin-typescript": "^12.3.0",
42
+ "@testing-library/dom": "^10.4.1",
41
43
  "@types/react": "^17.0.2",
42
44
  "autoprefixer": "^9.7.4",
43
45
  "glob": "^7.1.6",
@@ -38,20 +38,6 @@
38
38
  flex: 1 1 auto;
39
39
  min-height: 0;
40
40
  }
41
-
42
- &--mode-scroll-snap {
43
- overflow-x: auto;
44
- scroll-snap-type: x mandatory;
45
- scrollbar-width: none;
46
-
47
- @media (prefers-reduced-motion: no-preference) {
48
- scroll-behavior: smooth;
49
- }
50
-
51
- &::-webkit-scrollbar {
52
- display: none;
53
- }
54
- }
55
41
  }
56
42
 
57
43
  &__controls {
@@ -71,7 +57,6 @@
71
57
  overflow: hidden;
72
58
  max-width: 100%;
73
59
  flex: 0 0 100%;
74
- scroll-snap-align: start;
75
60
  }
76
61
 
77
62
  /* Slideshow item
@@ -162,7 +147,7 @@
162
147
  width: $item-size*2;
163
148
  border-radius: $lumx-border-radius;
164
149
  border-width: 0;
165
-
150
+
166
151
  &[data-focus-visible-added] {
167
152
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "primary");
168
153
  }