@m3e/slider 1.0.0-rc.3 → 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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ Alternately, you can explicitly reference the `html-custom-data.json` and `css-c
27
27
  }
28
28
  ```
29
29
 
30
- ## 🚀 Browser Usage
30
+ ## 🚀 Native Module Support
31
31
 
32
32
  This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
33
33
 
@@ -2887,6 +2887,11 @@
2887
2887
  "kind": "javascript-module",
2888
2888
  "path": "../core/src/shared/mixins/Labelled.ts",
2889
2889
  "declarations": [
2890
+ {
2891
+ "kind": "variable",
2892
+ "name": "updateLabels",
2893
+ "description": "A symbol through which to update labels to reflect a control's current state."
2894
+ },
2890
2895
  {
2891
2896
  "kind": "function",
2892
2897
  "name": "isLabelledMixin",
@@ -2936,16 +2941,6 @@
2936
2941
  },
2937
2942
  "description": "The label elements that the element is associated with.",
2938
2943
  "readonly": true
2939
- },
2940
- {
2941
- "kind": "method",
2942
- "name": "[_updateLabels]",
2943
- "privacy": "private",
2944
- "return": {
2945
- "type": {
2946
- "text": "void"
2947
- }
2948
- }
2949
2944
  }
2950
2945
  ],
2951
2946
  "parameters": [
@@ -2960,6 +2955,14 @@
2960
2955
  }
2961
2956
  ],
2962
2957
  "exports": [
2958
+ {
2959
+ "kind": "js",
2960
+ "name": "updateLabels",
2961
+ "declaration": {
2962
+ "name": "updateLabels",
2963
+ "module": "../core/src/shared/mixins/Labelled.ts"
2964
+ }
2965
+ },
2963
2966
  {
2964
2967
  "kind": "js",
2965
2968
  "name": "isLabelledMixin",
package/dist/index.js CHANGED
@@ -224,6 +224,7 @@ M3eSliderThumbElement.styles = css `
224
224
  height: 3rem;
225
225
  left: 0;
226
226
  right: 0;
227
+ touch-action: none;
227
228
  }
228
229
  .wrapper {
229
230
  display: inline-flex;
@@ -840,15 +841,18 @@ M3eSliderElement.styles = css `
840
841
  height: 100%;
841
842
  border-radius: inherit;
842
843
  outline: none;
844
+ touch-action: none;
843
845
  }
844
846
  .track {
845
847
  position: relative;
846
848
  flex: 1 1 auto;
849
+ touch-action: none;
847
850
  }
848
851
  .track-inactive,
849
852
  .track-active {
850
853
  position: absolute;
851
854
  height: 100%;
855
+ touch-action: none;
852
856
  }
853
857
  .track-active {
854
858
  margin-left: var(--_slider-active-track-offset, 0px);
@@ -869,10 +873,12 @@ M3eSliderElement.styles = css `
869
873
  width: 100%;
870
874
  height: var(--m3e-slider-tick-size, 0.25rem);
871
875
  overflow: visible;
876
+ touch-action: none;
872
877
  }
873
878
  .tick {
874
879
  position: absolute;
875
880
  top: 0;
881
+ touch-action: none;
876
882
  left: calc(var(--m3e-slider-tick-size, 0.25rem) + calc(var(--m3e-slider-tick-size, 0.25rem) / 2));
877
883
  width: var(--m3e-slider-tick-size, 0.25rem);
878
884
  height: var(--m3e-slider-tick-size, 0.25rem);