@likable-hair/svelte 3.1.38 → 3.1.39

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.
@@ -48,7 +48,6 @@ onMount(() => {
48
48
  function handleInputChange(event) {
49
49
  setTimeout(() => {
50
50
  const typedValue = mask.value;
51
- console.log(typedValue);
52
51
  if (typedValue !== void 0 && typedValue !== null) {
53
52
  const yearIndex = pattern.indexOf("yyyy");
54
53
  const year = typedValue.substring(yearIndex, yearIndex + 4);
@@ -165,6 +164,9 @@ $:
165
164
  bind:selectedYear={selectedYear}
166
165
  on:click={handleYearSelect}
167
166
  {disabled}
167
+ selectableYears={[...Array((maxYearInRange - minYearInRange) + 1).keys()].map((v) => {
168
+ return minYearInRange + v
169
+ })}
168
170
  ></YearSelector>
169
171
  </div>
170
172
  </Menu>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair and others",
4
- "version": "3.1.38",
4
+ "version": "3.1.39",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",