@c2n/color-slider 0.0.12 → 0.0.13
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/custom-elements.json +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"src/color-slider.ts","declarations":[{"kind":"class","description":"Horizontal numeric slider rendered as a colour-gradient track, typically used for hue.","name":"ColorSlider","cssProperties":[{"type":{"text":"border-radius"},"name":"--c2-color-slider--border-radius","default":"8px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider--border-top-left-radius","default":"8px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider--border-top-right-radius","default":"8px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider--border-bottom-left-radius","default":"8px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider--border-bottom-right-radius","default":"8px"},{"type":{"text":"border"},"name":"--c2-color-slider--border-top","default":"1px solid rgb(177, 177, 177)"},{"type":{"text":"border"},"name":"--c2-color-slider--border-right","default":"1px solid rgb(177, 177, 177)"},{"type":{"text":"border"},"name":"--c2-color-slider--border-bottom","default":"1px solid rgb(177, 177, 177)"},{"type":{"text":"border"},"name":"--c2-color-slider--borde-leftr","default":"1px solid rgb(177, 177, 177)"},{"type":{"text":"pixel"},"name":"--c2-color-slider--width","default":"160px"},{"type":{"text":"pixel"},"name":"--c2-color-slider--height","default":"12px"},{"type":{"text":"pixel"},"name":"--c2-color-slider__color-handle--width","default":"12px"},{"type":{"text":"pixel"},"name":"--c2-color-slider__color-handle--height","default":"12px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider__color-handle--border-top-left-radius","default":"6px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider__color-handle--border-top-right-radius","default":"6px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider__color-handle--border-bottom-left-radius","default":"6px"},{"type":{"text":"border-radius"},"name":"--c2-color-slider__color-handle--border-bottom-right-radius","default":"6px"},{"type":{"text":"color"},"name":"--c2-color-slider__color-handle--background-color"}],"members":[{"kind":"field","name":"value","type":{"text":"number"},"default":"0","description":"Current numeric value.","attribute":"value","reflects":true},{"kind":"field","name":"min","type":{"text":"number"},"default":"0","description":"Minimum selectable value.","attribute":"min","reflects":true},{"kind":"field","name":"max","type":{"text":"number"},"default":"360","description":"Maximum selectable value.","attribute":"max","reflects":true},{"kind":"field","name":"ariaLabel","type":{"text":"string | null"},"default":"null","description":"Accessible name forwarded to the inner range input.","attribute":"aria-label"},{"kind":"field","name":"colorHandle","type":{"text":"HTMLElement"}},{"kind":"field","name":"inputSlider","type":{"text":"HTMLElement"}},{"kind":"field","name":"colorHandleRect","type":{"text":"DOMRect | undefined"},"privacy":"private"},{"kind":"field","name":"inputSliderRect","type":{"text":"DOMRect | undefined"},"privacy":"private"},{"kind":"field","name":"resizeObserver","type":{"text":"ResizeObserver | undefined"},"privacy":"private"},{"kind":"method","name":"handleInput","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"event","type":{"text":"Event & { target: HTMLInputElement }"}}]},{"kind":"method","name":"updateColorHandlePosition","privacy":"private"}],"events":[{"type":{"text":"Event"},"description":"Re-dispatched from the inner range input while its value changes.","name":"input"}],"attributes":[{"name":"value","type":{"text":"number"},"default":"0","description":"Current numeric value.","fieldName":"value"},{"name":"min","type":{"text":"number"},"default":"0","description":"Minimum selectable value.","fieldName":"min"},{"name":"max","type":{"text":"number"},"default":"360","description":"Maximum selectable value.","fieldName":"max"},{"name":"aria-label","type":{"text":"string | null"},"default":"null","description":"Accessible name forwarded to the inner range input.","fieldName":"ariaLabel"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"c2-color-slider","customElement":true}],"exports":[{"kind":"js","name":"ColorSlider","declaration":{"name":"ColorSlider","module":"src/color-slider.ts"}},{"kind":"custom-element-definition","name":"c2-color-slider","declaration":{"name":"ColorSlider","module":"src/color-slider.ts"}}]}]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/color-slider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/color-slider.js",
|
|
6
6
|
"exports": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"dist",
|
|
23
23
|
"types",
|
|
24
|
+
"custom-elements.json",
|
|
24
25
|
"react.d.ts",
|
|
25
26
|
"react.js",
|
|
26
27
|
"vue.d.ts",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
}
|
|
61
62
|
},
|
|
62
63
|
"dependencies": {
|
|
63
|
-
"@c2n/core": "0.0.
|
|
64
|
+
"@c2n/core": "0.0.13",
|
|
64
65
|
"@ctrl/tinycolor": "4.2.0",
|
|
65
66
|
"lit": "3.3.3"
|
|
66
67
|
},
|
|
@@ -68,5 +69,5 @@
|
|
|
68
69
|
"@c2n/config": "*"
|
|
69
70
|
},
|
|
70
71
|
"customElements": "custom-elements.json",
|
|
71
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "aa19b641f64fbc54c36b7649a8171d7a686abbdd"
|
|
72
73
|
}
|