From 4e602e822f33adce42901da872f390a3d6f27080 Mon Sep 17 00:00:00 2001 From: JC Franco Date: Fri, 7 Jul 2023 13:31:07 -0700 Subject: [PATCH 01/20] test: stabilize tests using setFocus (#7295) **Related Issue:** N/A ## Summary Adds more `page.waitForChanges()` after `setFocus` calls. This is needed after https://github.com/Esri/calcite-design-system/pull/7277. --- .../color-picker-hex-input.e2e.ts | 2 + .../color-picker/color-picker.e2e.ts | 5 ++- .../src/components/combobox/combobox.e2e.ts | 1 + .../dropdown-item/dropdown-item.e2e.ts | 2 + .../src/components/dropdown/dropdown.e2e.ts | 2 + .../src/components/filter/filter.e2e.ts | 5 +++ .../input-number/input-number.e2e.ts | 36 +++++++++++++++ .../components/input-text/input-text.e2e.ts | 18 ++++++++ .../input-time-picker.e2e.ts | 10 +++++ .../src/components/input/input.e2e.ts | 44 +++++++++++++++++++ .../src/components/link/link.e2e.ts | 1 + .../src/components/list/list.e2e.ts | 1 + 12 files changed, 126 insertions(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.e2e.ts b/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.e2e.ts index 9b03939b2bf..e7bb6c46de1 100644 --- a/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.e2e.ts +++ b/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.e2e.ts @@ -407,6 +407,7 @@ describe("calcite-color-picker-hex-input", () => { await input.setProperty("value", noColorValue); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -525,6 +526,7 @@ describe("calcite-color-picker-hex-input", () => { await input.setProperty("value", noColorValue); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); diff --git a/packages/calcite-components/src/components/color-picker/color-picker.e2e.ts b/packages/calcite-components/src/components/color-picker/color-picker.e2e.ts index cf722467fd7..3b74c5c825e 100644 --- a/packages/calcite-components/src/components/color-picker/color-picker.e2e.ts +++ b/packages/calcite-components/src/components/color-picker/color-picker.e2e.ts @@ -281,6 +281,7 @@ describe("calcite-color-picker", () => { value: string ): Promise => { await channelInputOrHexInput.callMethod("setFocus"); + await page.waitForChanges(); await selectText(channelInputOrHexInput); await channelInputOrHexInput.press("Backspace"); await channelInputOrHexInput.type(value); @@ -1051,6 +1052,7 @@ describe("calcite-color-picker", () => { const assertChannelValueNudge = async (page: E2EPage, calciteInput: E2EElement): Promise => { await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); const currentValue = await calciteInput.getProperty("value"); await page.keyboard.press("ArrowUp"); @@ -1140,7 +1142,6 @@ describe("calcite-color-picker", () => { }); const assertChannelValueNudge = async (page: E2EPage, calciteInput: E2EElement): Promise => { - await calciteInput.callMethod("setFocus"); await clearAndEnterHexOrChannelValue(page, calciteInput, ""); // using page.waitForChanges as keyboard nudges occur in the next frame @@ -1598,6 +1599,7 @@ describe("calcite-color-picker", () => { const assertChannelValueNudge = async (page: E2EPage, calciteInputOrSlider: E2EElement): Promise => { await calciteInputOrSlider.callMethod("setFocus"); + await page.waitForChanges(); const currentValue = await calciteInputOrSlider.getProperty("value"); function ensureValueType(value: string | number): number | string { @@ -1717,6 +1719,7 @@ describe("calcite-color-picker", () => { } await calciteInputOrSlider.callMethod("setFocus"); + await page.waitForChanges(); await clearValue(); // using page.waitForChanges as keyboard nudges occur in the next frame diff --git a/packages/calcite-components/src/components/combobox/combobox.e2e.ts b/packages/calcite-components/src/components/combobox/combobox.e2e.ts index 60471a02faa..072db3a3b27 100644 --- a/packages/calcite-components/src/components/combobox/combobox.e2e.ts +++ b/packages/calcite-components/src/components/combobox/combobox.e2e.ts @@ -783,6 +783,7 @@ describe("calcite-combobox", () => { } } else { await combobox.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Escape"); } diff --git a/packages/calcite-components/src/components/dropdown-item/dropdown-item.e2e.ts b/packages/calcite-components/src/components/dropdown-item/dropdown-item.e2e.ts index c2a8e429233..3de2902a761 100644 --- a/packages/calcite-components/src/components/dropdown-item/dropdown-item.e2e.ts +++ b/packages/calcite-components/src/components/dropdown-item/dropdown-item.e2e.ts @@ -31,6 +31,7 @@ describe("calcite-dropdown-item", () => { calciteDropdownItemSelectEvent = page.waitForEvent("calciteDropdownItemSelect"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); await calciteDropdownItemSelectEvent; @@ -38,6 +39,7 @@ describe("calcite-dropdown-item", () => { calciteDropdownItemSelectEvent = page.waitForEvent("calciteDropdownItemSelect"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Space"); await calciteDropdownItemSelectEvent; diff --git a/packages/calcite-components/src/components/dropdown/dropdown.e2e.ts b/packages/calcite-components/src/components/dropdown/dropdown.e2e.ts index 7c03710702a..b941e59b113 100644 --- a/packages/calcite-components/src/components/dropdown/dropdown.e2e.ts +++ b/packages/calcite-components/src/components/dropdown/dropdown.e2e.ts @@ -754,6 +754,7 @@ describe("calcite-dropdown", () => { expect(calciteDropdownClose).toHaveReceivedEventTimes(0); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Space"); await page.waitForChanges(); expect(await dropdownWrapper.isVisible()).toBe(false); @@ -799,6 +800,7 @@ describe("calcite-dropdown", () => { expect(calciteDropdownClose).toHaveReceivedEventTimes(0); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Space"); await page.waitForChanges(); expect(await dropdownWrapper.isVisible()).toBe(false); diff --git a/packages/calcite-components/src/components/filter/filter.e2e.ts b/packages/calcite-components/src/components/filter/filter.e2e.ts index c5dd6d0ad86..ec3dd9b492b 100644 --- a/packages/calcite-components/src/components/filter/filter.e2e.ts +++ b/packages/calcite-components/src/components/filter/filter.e2e.ts @@ -93,6 +93,7 @@ describe("calcite-filter", () => { it("should clear the value in the input when pressed", async () => { const filter = await page.find("calcite-filter"); await filter.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("developer"); await page.waitForChanges(); @@ -118,6 +119,7 @@ describe("calcite-filter", () => { it("should clear the value in the input when the Escape key is pressed", async () => { const filter = await page.find("calcite-filter"); await filter.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("developer"); await page.waitForChanges(); @@ -203,6 +205,7 @@ describe("calcite-filter", () => { const filterChangeEvent = page.waitForEvent("calciteFilterChange"); await filter.callMethod("setFocus"); + await page.waitForChanges(); await filter.type("developer"); await filterChangeEvent; @@ -224,6 +227,7 @@ describe("calcite-filter", () => { const filter = await page.find("calcite-filter"); await filter.callMethod("setFocus"); + await page.waitForChanges(); await filter.type("volt"); await waitForEvent; @@ -235,6 +239,7 @@ describe("calcite-filter", () => { const filter = await page.find("calcite-filter"); await filter.callMethod("setFocus"); + await page.waitForChanges(); await filter.type("regex()"); await waitForEvent; diff --git a/packages/calcite-components/src/components/input-number/input-number.e2e.ts b/packages/calcite-components/src/components/input-number/input-number.e2e.ts index 4b9b52fe1e0..f2a1c75aba3 100644 --- a/packages/calcite-components/src/components/input-number/input-number.e2e.ts +++ b/packages/calcite-components/src/components/input-number/input-number.e2e.ts @@ -522,6 +522,7 @@ describe("calcite-input-number", () => { const input = await page.find("calcite-input-number"); expect(calciteInputNumberInput).toHaveReceivedEventTimes(0); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("ArrowUp"); await page.waitForTimeout(delayFor2UpdatesInMs); @@ -629,6 +630,7 @@ describe("calcite-input-number", () => { await page.setContent(html``); const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); await Promise.all((["ArrowUp", "ArrowDown"] as const).map((key) => page.keyboard.press(key))); await page.waitForTimeout(delayFor2UpdatesInMs); @@ -640,6 +642,7 @@ describe("calcite-input-number", () => { const calciteInputNumberInput = await page.spyOnEvent("calciteInputNumberInput"); const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); const arrowUpDown = page.keyboard.down("ArrowUp"); const arrowUpUp = page.keyboard.up("ArrowUp"); @@ -654,6 +657,7 @@ describe("calcite-input-number", () => { await page.setContent(html` `); const input = await page.find("calcite-input-number"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -679,6 +683,7 @@ describe("calcite-input-number", () => { await page.setContent(html``); const input = await page.find("calcite-input-number"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -730,34 +735,40 @@ describe("calcite-input-number", () => { const inputFirstPart = "12345"; await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, inputFirstPart); expect(await element.getProperty("value")).toBe(inputFirstPart); expect(calciteInputNumberInput).toHaveReceivedEventTimes(5); expect(calciteInputNumberChange).toHaveReceivedEventTimes(0); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputNumberInput).toHaveReceivedEventTimes(5); expect(calciteInputNumberChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputNumberInput).toHaveReceivedEventTimes(5); expect(calciteInputNumberChange).toHaveReceivedEventTimes(1); const textSecondPart = "67890"; await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, textSecondPart); expect(calciteInputNumberInput).toHaveReceivedEventTimes(10); expect(calciteInputNumberChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputNumberInput).toHaveReceivedEventTimes(10); expect(calciteInputNumberChange).toHaveReceivedEventTimes(2); expect(await element.getProperty("value")).toBe(`${inputFirstPart}${textSecondPart}`); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputNumberInput).toHaveReceivedEventTimes(10); expect(calciteInputNumberChange).toHaveReceivedEventTimes(2); @@ -772,6 +783,7 @@ describe("calcite-input-number", () => { expect(calciteInputNumberChange).toHaveReceivedEventTimes(2); await element.callMethod("setFocus"); + await page.waitForChanges(); await selectText(element); await page.keyboard.press("Backspace"); await page.keyboard.press("Tab"); @@ -934,6 +946,7 @@ describe("calcite-input-number", () => { const calciteInput = await page.find("calcite-input-number"); const input = await page.find("calcite-input-number >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); const nonELetterKeys = letterKeys.filter((key) => key !== "e"); for (let i = 0; i < nonELetterKeys.length; i++) { await page.keyboard.down("Shift"); @@ -950,6 +963,7 @@ describe("calcite-input-number", () => { const calciteInput = await page.find("calcite-input"); const input = await page.find("calcite-input >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); const numberKeysExcludingZero = numberKeys.slice(1); let result = ""; @@ -971,6 +985,7 @@ describe("calcite-input-number", () => { `); const calciteInput2 = await page.find("#input2"); await calciteInput2.callMethod("setFocus"); + await page.waitForChanges(); expect(await page.evaluate(() => document.activeElement.getAttribute("label"))).toEqual("two"); await page.keyboard.down("Shift"); await page.keyboard.press("Tab"); @@ -984,6 +999,7 @@ describe("calcite-input-number", () => { const calciteInput = await page.find("calcite-input-number"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("0"); await page.waitForChanges(); @@ -1003,6 +1019,7 @@ describe("calcite-input-number", () => { await page.setContent(html``); const input = await page.find("calcite-input-number"); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1.005"); await page.waitForChanges(); @@ -1019,6 +1036,7 @@ describe("calcite-input-number", () => { expect(await input.getProperty("value")).toBe(""); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "-123"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("-123"); @@ -1159,6 +1177,7 @@ describe("calcite-input-number", () => { const calciteInput = await page.find("calcite-input-number"); const input = await page.find("calcite-input-number >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, `0${decimalSeparator}0000`); await page.waitForChanges(); expect(await input.getProperty("value")).toBe(`0${decimalSeparator}0000`); @@ -1188,6 +1207,7 @@ describe("calcite-input-number", () => { const calciteInput = await page.find("calcite-input-number"); const input = await page.find("calcite-input-number >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, `0${decimalSeparator}01`); await page.waitForChanges(); expect(await input.getProperty("value")).toBe(`0${decimalSeparator}01`); @@ -1226,6 +1246,7 @@ describe("calcite-input-number", () => { await page.setContent(html``); const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, value); await page.waitForChanges(); await page.keyboard.press("Tab"); @@ -1240,6 +1261,7 @@ describe("calcite-input-number", () => { // overwrite initial value by selecting and typing await element.callMethod("selectText"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, value); await page.waitForChanges(); expect(await element.getProperty("value")).toBe(value); @@ -1304,6 +1326,7 @@ describe("calcite-input-number", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1332,6 +1355,7 @@ describe("calcite-input-number", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1359,6 +1383,7 @@ describe("calcite-input-number", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1393,6 +1418,7 @@ describe("calcite-input-number", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1409,6 +1435,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); expect(await element.getProperty("value")).toBe("123"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("4"); await page.waitForChanges(); @@ -1428,6 +1455,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); expect(await element.getProperty("value")).toBe("5"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -1473,6 +1501,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); expect(await element.getProperty("value")).toBe("1.2"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Backspace"); await page.waitForChanges(); @@ -1488,6 +1517,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "0000000"); await page.waitForChanges(); expect(await element.getProperty("value")).toBe("0"); @@ -1507,6 +1537,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1--2---3"); await page.waitForChanges(); @@ -1540,6 +1571,7 @@ describe("calcite-input-number", () => { const element = await page.find("calcite-input-number"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("12345"); await page.waitForChanges(); @@ -1592,6 +1624,7 @@ describe("calcite-input-number", () => { const button = await page.find("calcite-button"); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("1"); @@ -1610,6 +1643,7 @@ describe("calcite-input-number", () => { await input.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "3"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("13"); @@ -1619,6 +1653,7 @@ describe("calcite-input-number", () => { await button.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "4"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); @@ -1628,6 +1663,7 @@ describe("calcite-input-number", () => { await input.setProperty("disabled", true); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); diff --git a/packages/calcite-components/src/components/input-text/input-text.e2e.ts b/packages/calcite-components/src/components/input-text/input-text.e2e.ts index 7bd52a2b49e..62cd1abfa20 100644 --- a/packages/calcite-components/src/components/input-text/input-text.e2e.ts +++ b/packages/calcite-components/src/components/input-text/input-text.e2e.ts @@ -100,6 +100,7 @@ describe("calcite-input-text", () => { expect(changeEventSpy).not.toHaveReceivedEvent(); await input.callMethod("setFocus"); + await page.waitForChanges(); await input.setProperty("value", "not a random value"); await page.keyboard.press("Tab"); await page.waitForChanges(); @@ -118,34 +119,40 @@ describe("calcite-input-text", () => { const inputFirstPart = "12345"; await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type(inputFirstPart); expect(await element.getProperty("value")).toBe(inputFirstPart); expect(calciteInputTextInput).toHaveReceivedEventTimes(5); expect(calciteInputTextChange).toHaveReceivedEventTimes(0); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputTextInput).toHaveReceivedEventTimes(5); expect(calciteInputTextChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputTextInput).toHaveReceivedEventTimes(5); expect(calciteInputTextChange).toHaveReceivedEventTimes(1); const textSecondPart = "67890"; await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type(textSecondPart); expect(calciteInputTextInput).toHaveReceivedEventTimes(10); expect(calciteInputTextChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputTextInput).toHaveReceivedEventTimes(10); expect(calciteInputTextChange).toHaveReceivedEventTimes(2); expect(await element.getProperty("value")).toBe(`${inputFirstPart}${textSecondPart}`); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputTextInput).toHaveReceivedEventTimes(10); expect(calciteInputTextChange).toHaveReceivedEventTimes(2); @@ -160,6 +167,7 @@ describe("calcite-input-text", () => { expect(calciteInputTextChange).toHaveReceivedEventTimes(2); await element.callMethod("setFocus"); + await page.waitForChanges(); await selectText(element); await page.keyboard.press("Backspace"); await page.keyboard.press("Tab"); @@ -199,6 +207,7 @@ describe("calcite-input-text", () => { const element = await page.find("calcite-input-text"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Escape"); await page.waitForChanges(); expect(await element.getProperty("value")).toBe(""); @@ -237,6 +246,7 @@ describe("calcite-input-text", () => { const element = await page.find("calcite-input-text"); await element.callMethod("setFocus"); + await page.waitForChanges(); expect(calciteInputTextInput).toHaveReceivedEventTimes(0); await page.keyboard.press("Escape"); await page.waitForChanges(); @@ -252,6 +262,7 @@ describe("calcite-input-text", () => { const element = await page.find("calcite-input-text"); await element.callMethod("setFocus"); + await page.waitForChanges(); expect(calciteInputTextInput).not.toHaveReceivedEvent(); await page.keyboard.press("Escape"); await page.waitForChanges(); @@ -271,6 +282,7 @@ describe("calcite-input-text", () => { const input = await page.find("calcite-input-text"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("1"); @@ -314,6 +326,7 @@ describe("calcite-input-text", () => { const element = await page.find("calcite-input-text"); expect(await element.getProperty("value")).toBe("John Doe"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("a"); await page.waitForChanges(); @@ -363,6 +376,7 @@ describe("calcite-input-text", () => { const element = await page.find("calcite-input-text"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("test"); await page.waitForChanges(); @@ -387,6 +401,7 @@ describe("calcite-input-text", () => { const button = await page.find("calcite-button"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("1"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("1"); @@ -405,6 +420,7 @@ describe("calcite-input-text", () => { await input.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("3"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("13"); @@ -414,6 +430,7 @@ describe("calcite-input-text", () => { await button.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("4"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); @@ -423,6 +440,7 @@ describe("calcite-input-text", () => { await input.setProperty("disabled", true); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); diff --git a/packages/calcite-components/src/components/input-time-picker/input-time-picker.e2e.ts b/packages/calcite-components/src/components/input-time-picker/input-time-picker.e2e.ts index 53edad15229..3070839de94 100644 --- a/packages/calcite-components/src/components/input-time-picker/input-time-picker.e2e.ts +++ b/packages/calcite-components/src/components/input-time-picker/input-time-picker.e2e.ts @@ -265,6 +265,7 @@ describe("calcite-input-time-picker", () => { expect(changeEvent).toHaveReceivedEventTimes(0); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5:4 PM"); await page.waitForChanges(); @@ -293,6 +294,7 @@ describe("calcite-input-time-picker", () => { expect(changeEvent).toHaveReceivedEventTimes(0); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5:4"); await page.waitForChanges(); @@ -321,6 +323,7 @@ describe("calcite-input-time-picker", () => { expect(changeEvent).toHaveReceivedEventTimes(0); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5:4:3 PM"); await page.waitForChanges(); @@ -349,6 +352,7 @@ describe("calcite-input-time-picker", () => { expect(changeEvent).toHaveReceivedEventTimes(0); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5:4:3"); await page.waitForChanges(); @@ -559,6 +563,7 @@ describe("calcite-input-time-picker", () => { expect(await inputTimePicker.getProperty("value")).toBe("14:59"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Backspace"); await page.keyboard.press("5"); await page.keyboard.press("Enter"); @@ -609,6 +614,7 @@ describe("calcite-input-time-picker", () => { const inputTimePicker = await page.find("calcite-input-time-picker"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowLeft"); await page.keyboard.press("ArrowRight"); await page.keyboard.press("ArrowRight"); @@ -679,6 +685,7 @@ describe("calcite-input-time-picker", () => { const inputTimePicker = await page.find("calcite-input-time-picker"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("0123456789"); expect(await getInputValue(page)).toBe("٠١٢٣٤٥٦٧٨٩"); @@ -694,6 +701,7 @@ describe("calcite-input-time-picker", () => { const changeEvent = await inputTimePicker.spyOnEvent("calciteInputTimePickerChange"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("2:45:30 م"); await page.keyboard.press("Enter"); @@ -757,6 +765,7 @@ describe("calcite-input-time-picker", () => { const changeEvent = await inputTimePicker.spyOnEvent("calciteInputTimePickerChange"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("1.2.3"); await page.keyboard.press("Enter"); @@ -791,6 +800,7 @@ describe("calcite-input-time-picker", () => { const changeEvent = await inputTimePicker.spyOnEvent("calciteInputTimePickerChange"); await inputTimePicker.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("2:3:5 am"); await page.keyboard.press("Enter"); diff --git a/packages/calcite-components/src/components/input/input.e2e.ts b/packages/calcite-components/src/components/input/input.e2e.ts index 45a2b8e8886..4b026a4529c 100644 --- a/packages/calcite-components/src/components/input/input.e2e.ts +++ b/packages/calcite-components/src/components/input/input.e2e.ts @@ -511,6 +511,7 @@ describe("calcite-input", () => { const input = await page.find("calcite-input"); expect(calciteInputInput).toHaveReceivedEventTimes(0); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("ArrowUp"); await page.waitForTimeout(delayFor2UpdatesInMs); @@ -594,6 +595,7 @@ describe("calcite-input", () => { await page.setContent(html``); const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await Promise.all((["ArrowUp", "ArrowDown"] as const).map((key) => page.keyboard.press(key))); await page.waitForTimeout(delayFor2UpdatesInMs); @@ -605,6 +607,7 @@ describe("calcite-input", () => { const calciteInputInput = await page.spyOnEvent("calciteInputInput"); const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); const arrowUpDown = page.keyboard.down("ArrowUp"); const arrowUpUp = page.keyboard.up("ArrowUp"); @@ -619,6 +622,7 @@ describe("calcite-input", () => { await page.setContent(html` `); const input = await page.find("calcite-input"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -644,6 +648,7 @@ describe("calcite-input", () => { await page.setContent(html``); const input = await page.find("calcite-input"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -693,6 +698,7 @@ describe("calcite-input", () => { expect(changeEventSpy).not.toHaveReceivedEvent(); await input.callMethod("setFocus"); + await page.waitForChanges(); await input.setProperty("value", "not a random value"); await page.keyboard.press("Tab"); await page.waitForChanges(); @@ -715,34 +721,40 @@ describe("calcite-input", () => { const inputFirstPart = "12345"; await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, inputFirstPart); expect(await element.getProperty("value")).toBe(inputFirstPart); expect(calciteInputInput).toHaveReceivedEventTimes(5); expect(calciteInputChange).toHaveReceivedEventTimes(0); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputInput).toHaveReceivedEventTimes(5); expect(calciteInputChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); expect(calciteInputInput).toHaveReceivedEventTimes(5); expect(calciteInputChange).toHaveReceivedEventTimes(1); const textSecondPart = "67890"; await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, textSecondPart); expect(calciteInputInput).toHaveReceivedEventTimes(10); expect(calciteInputChange).toHaveReceivedEventTimes(1); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputInput).toHaveReceivedEventTimes(10); expect(calciteInputChange).toHaveReceivedEventTimes(2); expect(await element.getProperty("value")).toBe(`${inputFirstPart}${textSecondPart}`); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Tab"); expect(calciteInputInput).toHaveReceivedEventTimes(10); expect(calciteInputChange).toHaveReceivedEventTimes(2); @@ -757,6 +769,7 @@ describe("calcite-input", () => { expect(calciteInputChange).toHaveReceivedEventTimes(2); await element.callMethod("setFocus"); + await page.waitForChanges(); await selectText(element); await page.keyboard.press("Backspace"); await page.keyboard.press("Tab"); @@ -801,6 +814,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Escape"); await page.waitForChanges(); expect(await element.getProperty("value")).toBe(""); @@ -839,6 +853,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); expect(calciteInputInput).toHaveReceivedEventTimes(0); await page.keyboard.press("Escape"); await page.waitForChanges(); @@ -869,6 +884,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); expect(calciteInputInput).toHaveReceivedEventTimes(0); await page.keyboard.press("Escape"); await page.waitForChanges(); @@ -884,6 +900,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); expect(calciteInputInput).not.toHaveReceivedEvent(); await page.keyboard.press("Escape"); await page.waitForChanges(); @@ -903,6 +920,7 @@ describe("calcite-input", () => { const input = await page.find("calcite-input"); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1"); @@ -1087,6 +1105,7 @@ describe("calcite-input", () => { const calciteInput = await page.find("calcite-input"); const input = await page.find("calcite-input >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); const nonELetterKeys = letterKeys.filter((key) => key !== "e"); for (let i = 0; i < nonELetterKeys.length; i++) { await page.keyboard.down("Shift"); @@ -1103,6 +1122,7 @@ describe("calcite-input", () => { const calciteInput = await page.find("calcite-input"); const input = await page.find("calcite-input >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); const numberKeysExcludingZero = numberKeys.slice(1); let result = ""; @@ -1124,6 +1144,7 @@ describe("calcite-input", () => { `); const calciteInput2 = await page.find("#input2"); await calciteInput2.callMethod("setFocus"); + await page.waitForChanges(); expect(await page.evaluate(() => document.activeElement.getAttribute("label"))).toEqual("two"); await page.keyboard.down("Shift"); await page.keyboard.press("Tab"); @@ -1137,6 +1158,7 @@ describe("calcite-input", () => { const calciteInput = await page.find("calcite-input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("0"); await page.waitForChanges(); @@ -1156,6 +1178,7 @@ describe("calcite-input", () => { await page.setContent(html``); const input = await page.find("calcite-input"); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1.005"); await page.waitForChanges(); @@ -1172,6 +1195,7 @@ describe("calcite-input", () => { expect(await input.getProperty("value")).toBe(""); await input.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "-123"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("-123"); @@ -1333,6 +1357,7 @@ describe("calcite-input", () => { const calciteInput = await page.find("calcite-input"); const input = await page.find("calcite-input >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, `0${decimalSeparator}0000`); await page.waitForChanges(); expect(await input.getProperty("value")).toBe(`0${decimalSeparator}0000`); @@ -1362,6 +1387,7 @@ describe("calcite-input", () => { const calciteInput = await page.find("calcite-input"); const input = await page.find("calcite-input >>> input"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, `0${decimalSeparator}01`); await page.waitForChanges(); expect(await input.getProperty("value")).toBe(`0${decimalSeparator}01`); @@ -1400,6 +1426,7 @@ describe("calcite-input", () => { await page.setContent(html``); const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, value); await page.waitForChanges(); await page.keyboard.press("Tab"); @@ -1414,6 +1441,7 @@ describe("calcite-input", () => { // overwrite initial value by selecting and typing await element.callMethod("selectText"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, value); await page.waitForChanges(); expect(await element.getProperty("value")).toBe(value); @@ -1478,6 +1506,7 @@ describe("calcite-input", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1506,6 +1535,7 @@ describe("calcite-input", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1533,6 +1563,7 @@ describe("calcite-input", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1568,6 +1599,7 @@ describe("calcite-input", () => { await page.keyboard.up("Meta"); await calciteInput.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.down("Meta"); await page.keyboard.press("v"); await page.keyboard.up("Meta"); @@ -1584,6 +1616,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); expect(await element.getProperty("value")).toBe("John Doe"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("a"); await page.waitForChanges(); @@ -1603,6 +1636,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); expect(await element.getProperty("value")).toBe("5"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("ArrowUp"); await page.waitForChanges(); @@ -1648,6 +1682,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); expect(await element.getProperty("value")).toBe("1.2"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Backspace"); await page.waitForChanges(); @@ -1663,6 +1698,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "0000000"); await page.waitForChanges(); expect(await element.getProperty("value")).toBe("0"); @@ -1682,6 +1718,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await typeNumberValue(page, "1--2---3"); await page.waitForChanges(); @@ -1722,6 +1759,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("test"); await page.waitForChanges(); @@ -1741,6 +1779,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("test"); await page.waitForChanges(); @@ -1760,6 +1799,7 @@ describe("calcite-input", () => { const element = await page.find("calcite-input"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("12345"); await page.waitForChanges(); @@ -1812,6 +1852,7 @@ describe("calcite-input", () => { const button = await page.find("calcite-button"); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("1"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("1"); @@ -1830,6 +1871,7 @@ describe("calcite-input", () => { await input.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("3"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("13"); @@ -1839,6 +1881,7 @@ describe("calcite-input", () => { await button.setProperty("disabled", false); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("4"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); @@ -1848,6 +1891,7 @@ describe("calcite-input", () => { await input.setProperty("disabled", true); await page.waitForChanges(); await input.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.type("5"); await page.waitForChanges(); expect(await input.getProperty("value")).toBe("134"); diff --git a/packages/calcite-components/src/components/link/link.e2e.ts b/packages/calcite-components/src/components/link/link.e2e.ts index 1a5577f70d3..cc4e787cfaa 100644 --- a/packages/calcite-components/src/components/link/link.e2e.ts +++ b/packages/calcite-components/src/components/link/link.e2e.ts @@ -221,6 +221,7 @@ describe("calcite-link", () => { it("keyboard", async () => { const element = await page.find("calcite-link"); await element.callMethod("setFocus"); + await page.waitForChanges(); await page.keyboard.press("Enter"); await page.waitForChanges(); diff --git a/packages/calcite-components/src/components/list/list.e2e.ts b/packages/calcite-components/src/components/list/list.e2e.ts index 72b562be576..30a67dee1e0 100755 --- a/packages/calcite-components/src/components/list/list.e2e.ts +++ b/packages/calcite-components/src/components/list/list.e2e.ts @@ -123,6 +123,7 @@ describe("calcite-list", () => { expect(await list.getProperty("filterText")).toBeUndefined(); await filter.callMethod("setFocus"); + await page.waitForChanges(); const calciteListFilterEvent = list.waitForEvent("calciteListFilter"); await page.keyboard.type("one"); From d07e3223bd32de7afe41fc25d5f317c3382b7a77 Mon Sep 17 00:00:00 2001 From: JC Franco Date: Fri, 7 Jul 2023 13:32:21 -0700 Subject: [PATCH 02/20] fix(card): ensure teardown logic is called when disconnected (#7289) **Related Issue:** N/A ## Summary This fixes a lifecycle hook typo that prevented teardown logic from running. --- packages/calcite-components/src/components/card/card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/card/card.tsx b/packages/calcite-components/src/components/card/card.tsx index e3360f25bef..6c3e42d9776 100644 --- a/packages/calcite-components/src/components/card/card.tsx +++ b/packages/calcite-components/src/components/card/card.tsx @@ -114,7 +114,7 @@ export class Card implements ConditionalSlotComponent, LocalizedComponent, T9nCo connectMessages(this); } - disonnectedCallback(): void { + disconnectedCallback(): void { disconnectConditionalSlotComponent(this); disconnectLocalized(this); disconnectMessages(this); From bbe92010a8e399e1b061ed20048cf141f46054f7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Jul 2023 20:54:10 +0000 Subject: [PATCH 03/20] chore: release next --- package-lock.json | 8 ++++---- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 10 ++++++++++ packages/calcite-components/package.json | 2 +- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 75947c7da84..599f6201416 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40970,7 +40970,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "1.5.0-next.15", + "version": "1.5.0-next.16", "license": "SEE LICENSE.md", "dependencies": { "@floating-ui/dom": "1.4.3", @@ -40997,10 +40997,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "1.5.0-next.15", + "version": "1.5.0-next.16", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "^1.5.0-next.15" + "@esri/calcite-components": "^1.5.0-next.16" }, "peerDependencies": { "react": ">=16.7", @@ -42847,7 +42847,7 @@ "@esri/calcite-components-react": { "version": "file:packages/calcite-components-react", "requires": { - "@esri/calcite-components": "^1.5.0-next.15" + "@esri/calcite-components": "^1.5.0-next.16" } }, "@esri/calcite-design-tokens": { diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index 3faf7f19fa8..ced573cb06f 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.16](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.15...@esri/calcite-components-react@1.5.0-next.16) (2023-07-07) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [1.5.0-next.15](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.14...@esri/calcite-components-react@1.5.0-next.15) (2023-07-06) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index ae6771d47fa..ecc1f691da7 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,7 +1,7 @@ { "name": "@esri/calcite-components-react", "sideEffects": false, - "version": "1.5.0-next.15", + "version": "1.5.0-next.16", "description": "A set of React components that wrap calcite components", "license": "SEE LICENSE.md", "scripts": { @@ -18,7 +18,7 @@ "dist/" ], "dependencies": { - "@esri/calcite-components": "^1.5.0-next.15" + "@esri/calcite-components": "^1.5.0-next.16" }, "peerDependencies": { "react": ">=16.7", diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index 90d8f276cec..f9b41b71541 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.16](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.15...@esri/calcite-components@1.5.0-next.16) (2023-07-07) + +### Features + +- improve focus behavior in components ([#7277](https://github.com/Esri/calcite-design-system/issues/7277)) ([ad9fbca](https://github.com/Esri/calcite-design-system/commit/ad9fbca41848bde1d7e6b1089fee7390cb249441)) + +### Bug Fixes + +- **card:** ensure teardown logic is called when disconnected ([#7289](https://github.com/Esri/calcite-design-system/issues/7289)) ([d07e322](https://github.com/Esri/calcite-design-system/commit/d07e3223bd32de7afe41fc25d5f317c3382b7a77)) + ## [1.5.0-next.15](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.14...@esri/calcite-components@1.5.0-next.15) (2023-07-06) ### Bug Fixes diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 77f153bee31..1670d871d04 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "1.5.0-next.15", + "version": "1.5.0-next.16", "description": "Web Components for Esri's Calcite Design System.", "main": "dist/index.cjs.js", "module": "dist/index.js", From 4d60f54cf2a3cb7c2367b65cbe64fee33a05b600 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Fri, 7 Jul 2023 14:55:12 -0700 Subject: [PATCH 04/20] refactor: Ensure all setFocus methods return calls to setFocus (#7287) **Related Issue:** #7270 ## Summary For consistency, components implementing `setFocus` that end up calling `setFocus` on internal, supporting components should return the promise from this method call. - Any component implementing `setFocus` whose method calls `setFocus` or the `focusElement` helper. - depends on #7277 --- .../src/components/action-menu/action-menu.tsx | 2 +- packages/calcite-components/src/components/alert/alert.tsx | 2 +- .../src/components/chip-group/chip-group.tsx | 2 +- .../color-picker-hex-input/color-picker-hex-input.tsx | 2 +- packages/calcite-components/src/components/list/list.tsx | 2 +- .../src/components/navigation/navigation.tsx | 2 +- packages/calcite-components/src/components/notice/notice.tsx | 2 +- .../src/components/radio-button-group/radio-button-group.tsx | 5 ++--- .../src/components/tile-select/tile-select.tsx | 2 +- .../src/components/value-list-item/value-list-item.tsx | 2 +- 10 files changed, 11 insertions(+), 12 deletions(-) diff --git a/packages/calcite-components/src/components/action-menu/action-menu.tsx b/packages/calcite-components/src/components/action-menu/action-menu.tsx index 9715daa79d0..4c5d92cc49f 100755 --- a/packages/calcite-components/src/components/action-menu/action-menu.tsx +++ b/packages/calcite-components/src/components/action-menu/action-menu.tsx @@ -187,7 +187,7 @@ export class ActionMenu implements LoadableComponent { async setFocus(): Promise { await componentFocusable(this); - focusElement(this.menuButtonEl); + return focusElement(this.menuButtonEl); } // -------------------------------------------------------------------------- diff --git a/packages/calcite-components/src/components/alert/alert.tsx b/packages/calcite-components/src/components/alert/alert.tsx index a59e3bc473f..eabfa9b30a8 100644 --- a/packages/calcite-components/src/components/alert/alert.tsx +++ b/packages/calcite-components/src/components/alert/alert.tsx @@ -387,7 +387,7 @@ export class Alert implements OpenCloseComponent, LoadableComponent, T9nComponen if (!this.closeButton && !alertLinkEl) { return; } else if (alertLinkEl) { - alertLinkEl.setFocus(); + return alertLinkEl.setFocus(); } else if (this.closeButton) { this.closeButton.focus(); } diff --git a/packages/calcite-components/src/components/chip-group/chip-group.tsx b/packages/calcite-components/src/components/chip-group/chip-group.tsx index 39ca1fc0f33..4384741b774 100644 --- a/packages/calcite-components/src/components/chip-group/chip-group.tsx +++ b/packages/calcite-components/src/components/chip-group/chip-group.tsx @@ -184,7 +184,7 @@ export class ChipGroup implements InteractiveComponent { async setFocus(): Promise { await componentFocusable(this); if (!this.disabled) { - (this.selectedItems[0] || this.items[0])?.setFocus(); + return (this.selectedItems[0] || this.items[0])?.setFocus(); } } diff --git a/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.tsx b/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.tsx index 53975af63d7..38ac015b64d 100644 --- a/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.tsx +++ b/packages/calcite-components/src/components/color-picker-hex-input/color-picker-hex-input.tsx @@ -367,7 +367,7 @@ export class ColorPickerHexInput implements LoadableComponent { async setFocus(): Promise { await componentFocusable(this); - focusElement(this.hexInputNode); + return focusElement(this.hexInputNode); } //-------------------------------------------------------------------------- diff --git a/packages/calcite-components/src/components/list/list.tsx b/packages/calcite-components/src/components/list/list.tsx index f092264758f..6ecd00cb8a6 100755 --- a/packages/calcite-components/src/components/list/list.tsx +++ b/packages/calcite-components/src/components/list/list.tsx @@ -269,7 +269,7 @@ export class List implements InteractiveComponent, LoadableComponent { @Method() async setFocus(): Promise { await componentFocusable(this); - this.enabledListItems.find((listItem) => listItem.active)?.setFocus(); + return this.enabledListItems.find((listItem) => listItem.active)?.setFocus(); } // -------------------------------------------------------------------------- diff --git a/packages/calcite-components/src/components/navigation/navigation.tsx b/packages/calcite-components/src/components/navigation/navigation.tsx index f15cb670847..eab2423b3af 100644 --- a/packages/calcite-components/src/components/navigation/navigation.tsx +++ b/packages/calcite-components/src/components/navigation/navigation.tsx @@ -105,7 +105,7 @@ export class CalciteNavigation implements LoadableComponent { @Method() async setFocus(): Promise { await componentFocusable(this); - await this.navigationActionEl?.setFocus(); + return this.navigationActionEl?.setFocus(); } //-------------------------------------------------------------------------- diff --git a/packages/calcite-components/src/components/notice/notice.tsx b/packages/calcite-components/src/components/notice/notice.tsx index c6646de863a..a62c8f7a564 100644 --- a/packages/calcite-components/src/components/notice/notice.tsx +++ b/packages/calcite-components/src/components/notice/notice.tsx @@ -222,7 +222,7 @@ export class Notice return; } if (noticeLinkEl) { - noticeLinkEl.setFocus(); + return noticeLinkEl.setFocus(); } else if (this.closeButton) { this.closeButton.focus(); } diff --git a/packages/calcite-components/src/components/radio-button-group/radio-button-group.tsx b/packages/calcite-components/src/components/radio-button-group/radio-button-group.tsx index 4b301ff37ae..7dc0b078811 100644 --- a/packages/calcite-components/src/components/radio-button-group/radio-button-group.tsx +++ b/packages/calcite-components/src/components/radio-button-group/radio-button-group.tsx @@ -169,11 +169,10 @@ export class RadioButtonGroup implements LoadableComponent { async setFocus(): Promise { await componentFocusable(this); if (this.selectedItem && !this.selectedItem.disabled) { - this.selectedItem.setFocus(); - return; + return this.selectedItem.setFocus(); } if (this.radioButtons.length > 0) { - this.getFocusableRadioButton()?.setFocus(); + return this.getFocusableRadioButton()?.setFocus(); } } diff --git a/packages/calcite-components/src/components/tile-select/tile-select.tsx b/packages/calcite-components/src/components/tile-select/tile-select.tsx index 5674296d6f7..e6aed69b6ad 100644 --- a/packages/calcite-components/src/components/tile-select/tile-select.tsx +++ b/packages/calcite-components/src/components/tile-select/tile-select.tsx @@ -149,7 +149,7 @@ export class TileSelect implements InteractiveComponent, LoadableComponent { async setFocus(): Promise { await componentFocusable(this); - this.input?.setFocus(); + return this.input?.setFocus(); } //-------------------------------------------------------------------------- diff --git a/packages/calcite-components/src/components/value-list-item/value-list-item.tsx b/packages/calcite-components/src/components/value-list-item/value-list-item.tsx index 95b30cc1d46..0a71fc66c34 100644 --- a/packages/calcite-components/src/components/value-list-item/value-list-item.tsx +++ b/packages/calcite-components/src/components/value-list-item/value-list-item.tsx @@ -177,7 +177,7 @@ export class ValueListItem async setFocus(): Promise { await componentFocusable(this); - this.pickListItem?.setFocus(); + return this.pickListItem?.setFocus(); } // -------------------------------------------------------------------------- From 28814dcfc7fa154cb8a29ba8a2597db28a4c6ce9 Mon Sep 17 00:00:00 2001 From: Anveshreddy mekala Date: Fri, 7 Jul 2023 16:59:22 -0500 Subject: [PATCH 05/20] chore: add translations (#7290) **Related Issue:** # ## Summary Adds Translations. --------- Co-authored-by: jona7150 --- .../components/combobox/assets/combobox/t9n/messages_ar.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_bg.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_bs.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_ca.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_cs.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_da.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_de.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_el.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_es.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_et.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_fi.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_fr.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_he.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_hr.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_hu.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_id.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_it.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_ja.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_ko.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_lt.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_lv.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_nl.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_no.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_pl.json | 2 +- .../combobox/assets/combobox/t9n/messages_pt-BR.json | 2 +- .../combobox/assets/combobox/t9n/messages_pt-PT.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_ro.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_ru.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_sk.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_sl.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_sr.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_sv.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_th.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_tr.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_uk.json | 2 +- .../components/combobox/assets/combobox/t9n/messages_vi.json | 2 +- .../combobox/assets/combobox/t9n/messages_zh-CN.json | 2 +- .../combobox/assets/combobox/t9n/messages_zh-HK.json | 2 +- .../combobox/assets/combobox/t9n/messages_zh-TW.json | 2 +- .../src/components/handle/assets/handle/t9n/messages_cs.json | 2 +- .../src/components/handle/assets/handle/t9n/messages_ja.json | 2 +- .../src/components/handle/assets/handle/t9n/messages_ru.json | 2 +- .../src/components/handle/assets/handle/t9n/messages_sk.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ar.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_bg.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_bs.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ca.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_cs.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_da.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_de.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_el.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_es.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_et.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_fi.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_fr.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_he.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_hr.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_hu.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_id.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_it.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ja.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ko.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_lt.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_lv.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_nl.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_no.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_pl.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_pt-BR.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_pt-PT.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ro.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_ru.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_sk.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_sl.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_sr.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_sv.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_th.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_tr.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_uk.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_vi.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_zh-CN.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_zh-HK.json | 2 +- .../src/components/menu/assets/menu/t9n/messages_zh-TW.json | 2 +- .../components/text-area/assets/text-area/t9n/messages_ar.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_bg.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_bs.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_ca.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_cs.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_da.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_de.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_el.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_es.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_et.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_fi.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_fr.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_he.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_hr.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_hu.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_id.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_it.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_ja.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_ko.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_lt.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_lv.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_nl.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_no.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_pl.json | 3 ++- .../text-area/assets/text-area/t9n/messages_pt-BR.json | 3 ++- .../text-area/assets/text-area/t9n/messages_pt-PT.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_ro.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_ru.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_sk.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_sl.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_sr.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_sv.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_th.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_tr.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_uk.json | 3 ++- .../components/text-area/assets/text-area/t9n/messages_vi.json | 3 ++- .../text-area/assets/text-area/t9n/messages_zh-CN.json | 3 ++- .../text-area/assets/text-area/t9n/messages_zh-HK.json | 3 ++- .../text-area/assets/text-area/t9n/messages_zh-TW.json | 3 ++- 121 files changed, 160 insertions(+), 121 deletions(-) diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ar.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ar.json index 49c4f797348..ebc210b52cb 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ar.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "مسح القيمة", "removeTag": "إزالة علامة" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bg.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bg.json index efb7c91195e..82e365993ed 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bg.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Изчистване на стойност", "removeTag": "Премахване на таг" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bs.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bs.json index 2ad27cce5ea..48c55151347 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_bs.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Očisti vrijednost", "removeTag": "Ukloni oznaku" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ca.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ca.json index b74b822f6df..a8562fd3e61 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ca.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Esborra el valor", "removeTag": "Elimina l'etiqueta" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_cs.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_cs.json index a84dd5070b4..0be0b46f087 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_cs.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Vymazat hodnotu", "removeTag": "Odebrat klíčové slovo" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_da.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_da.json index e09e50364fa..4c51fb35ac8 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_da.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_da.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Ryd værdi", "removeTag": "Fjern nøgleord" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_de.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_de.json index 09118184bc0..9358e476c58 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_de.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_de.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Wert löschen", "removeTag": "Tag entfernen" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_el.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_el.json index 2aeda7c11d0..34b6d61829e 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_el.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_el.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Απαλοιφή τιμής", "removeTag": "Κατάργηση ετικέτας" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_es.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_es.json index 6992602d638..133de1c56ef 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_es.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_es.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Borrar valor", "removeTag": "Eliminar etiqueta" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_et.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_et.json index ec4dcdc4cfe..53498132519 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_et.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_et.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Eemalda väärtus", "removeTag": "Eemaldage märksõna" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fi.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fi.json index 48f666bcf2e..3f7fbef6715 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fi.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Tyhjennä arvo", "removeTag": "Poista tunniste" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fr.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fr.json index adecc0af088..b035ff4d0eb 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_fr.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Effacer la valeur", "removeTag": "Supprimer la balise" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_he.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_he.json index a2379fc974a..3ad091e0de8 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_he.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_he.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "נקה ערך", "removeTag": "הסר תג" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hr.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hr.json index 2ad27cce5ea..48c55151347 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hr.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Očisti vrijednost", "removeTag": "Ukloni oznaku" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hu.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hu.json index 39ea9661e60..47a7826375d 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_hu.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Érték törlése", "removeTag": "Címke eltávolítása" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_id.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_id.json index cc3038ea187..aca2e36e04b 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_id.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_id.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Hapus nilai", "removeTag": "Hapus tag" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_it.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_it.json index e0780dd4b52..b50a72cc958 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_it.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_it.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Cancella valore", "removeTag": "Rimuovere tag" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ja.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ja.json index c642c32d76e..63eaebcd345 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ja.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "値の削除", "removeTag": "タグの削除" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ko.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ko.json index d618b40c80f..b43575f7771 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ko.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "값 지우기", "removeTag": "태그 제거" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lt.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lt.json index 9972cff6b58..2e74f16699f 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lt.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Išvalyti reikšmę", "removeTag": "Pašalinti raktažodį" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lv.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lv.json index 8a00eef3860..eca4de813ad 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_lv.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Notīrīt vērtību", "removeTag": "Noņemt atslēgvārdu" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_nl.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_nl.json index fbc070fa380..5600d18e1ae 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_nl.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Waarde wissen", "removeTag": "Tag verwijderen" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_no.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_no.json index 8418a9de488..53369922814 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_no.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_no.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Fjern verdi", "removeTag": "Fjern tagg" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pl.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pl.json index 8ba6cb6e036..c1f00050dae 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pl.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Wyczyść wartość", "removeTag": "Usuń znacznik" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-BR.json index ca3acf65d71..a1df196c954 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-BR.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Apagar valor", "removeTag": "Remover tag" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-PT.json index 8c2f9df8793..047e36e735a 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_pt-PT.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Limpar valor", "removeTag": "Remover etiqueta" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ro.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ro.json index 7dc3deed099..70d9b740a27 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ro.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Golire valoare", "removeTag": "Eliminare etichetă" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ru.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ru.json index c2511728440..b49e8e59bdd 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_ru.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Очистить значение", "removeTag": "Удалить тег" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sk.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sk.json index b3add2f071b..1b20c408270 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sk.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Vymazať hodnotu", "removeTag": "Odstrániť štítok" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sl.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sl.json index 8b9a8fe655d..d61eed6ca54 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sl.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Počisti vrednost", "removeTag": "Odstrani oznako" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sr.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sr.json index 2ad27cce5ea..fd5497f4d8b 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sr.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Izbriši vrednosti", "removeTag": "Ukloni oznaku" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sv.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sv.json index 874e0af0803..93125f9483c 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_sv.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Rensa värde", "removeTag": "Ta bort tagg" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_th.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_th.json index 56da59581e8..5b04a0c35aa 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_th.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_th.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "ล้างค่า", "removeTag": "ลบแท็ก" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_tr.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_tr.json index e743011fbc4..48d93d47964 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_tr.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Değeri temizle", "removeTag": "Etiketi kaldır" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_uk.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_uk.json index e4ba9bcb684..628dde7e659 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_uk.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Очистити значення", "removeTag": "Вилучити тег" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_vi.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_vi.json index 8ab0841597b..41dcf5624b7 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_vi.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "Xóa giá trị", "removeTag": "Xóa thẻ" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-CN.json index f0c8e64dc04..8b8a43ad7dc 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-CN.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "清除值", "removeTag": "移除标签" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-HK.json index 524f9691bb7..c9485a637c2 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-HK.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "清除值", "removeTag": "移除標記" } diff --git a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-TW.json index 524f9691bb7..c9485a637c2 100644 --- a/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_zh-TW.json @@ -1,4 +1,4 @@ { - "clear": "Clear value", + "clear": "清除值", "removeTag": "移除標記" } diff --git a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_cs.json b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_cs.json index 97e13fe19da..3e247fe1aab 100644 --- a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_cs.json @@ -1,3 +1,3 @@ { - "dragHandle": "Úchyt přetažení" + "dragHandle": "Přetáhnout úchyt" } diff --git a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ja.json b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ja.json index e95d5a2f709..56a52301ecd 100644 --- a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ja.json @@ -1,3 +1,3 @@ { - "dragHandle": "ドラッグ ハンドル" + "dragHandle": "ハンドルのドラッグ" } diff --git a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ru.json b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ru.json index ab881551ca7..70267afc2e0 100644 --- a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_ru.json @@ -1,3 +1,3 @@ { - "dragHandle": "Перетащить элемент управления" + "dragHandle": "Перетащить маркер" } diff --git a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_sk.json b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_sk.json index 681f19810b1..63fba9e6dd6 100644 --- a/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/handle/assets/handle/t9n/messages_sk.json @@ -1,3 +1,3 @@ { - "dragHandle": "Ťahací prvok" + "dragHandle": "Rukoväť na ťahanie" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ar.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ar.json index 5955d021a95..31ea21d4a86 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ar.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "المزيد" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bg.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bg.json index 5955d021a95..e4fb1cf8e6a 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bg.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Още" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bs.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bs.json index 5955d021a95..e9d9db5f675 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_bs.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Više" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ca.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ca.json index 5955d021a95..616b61c4e7c 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ca.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Més" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_cs.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_cs.json index 5955d021a95..87f83a0aa85 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_cs.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Více" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_da.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_da.json index 5955d021a95..ab4604e3b65 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_da.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_da.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mere" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_de.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_de.json index 5955d021a95..71feb90b033 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_de.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_de.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mehr" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_el.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_el.json index 5955d021a95..7d8d03c1817 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_el.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_el.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Περισσότερα" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_es.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_es.json index 5955d021a95..5042074d77f 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_es.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_es.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Más" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_et.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_et.json index 5955d021a95..da50ba134d3 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_et.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_et.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Rohkem" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fi.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fi.json index 5955d021a95..6207f397ef7 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fi.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Enemmän" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fr.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fr.json index 5955d021a95..2e96a896de1 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_fr.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Plus" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_he.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_he.json index 5955d021a95..9b195ebe69d 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_he.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_he.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "עוד" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hr.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hr.json index 5955d021a95..e9d9db5f675 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hr.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Više" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hu.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hu.json index 5955d021a95..dd421c9b970 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_hu.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Továbbiak" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_id.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_id.json index 5955d021a95..bf0e5ff8497 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_id.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_id.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Lainnya" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_it.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_it.json index 5955d021a95..1dff9b5b8a2 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_it.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_it.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Maggiori informazioni" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ja.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ja.json index 5955d021a95..97602a29973 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ja.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "その他" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ko.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ko.json index 5955d021a95..20840b2392a 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ko.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "더 보기" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lt.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lt.json index 5955d021a95..e4a1d9604bc 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lt.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Daugiau" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lv.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lv.json index 5955d021a95..519bea1f468 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_lv.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Vairāk" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_nl.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_nl.json index 5955d021a95..313a6682021 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_nl.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Meer" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_no.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_no.json index 5955d021a95..521b3c3fa27 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_no.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_no.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mer" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pl.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pl.json index 5955d021a95..a66cf9b01e2 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pl.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Więcej" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-BR.json index 5955d021a95..c15c8175144 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-BR.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mais" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-PT.json index 5955d021a95..c15c8175144 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_pt-PT.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mais" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ro.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ro.json index 5955d021a95..8e84681247e 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ro.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mai mult" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ru.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ru.json index 5955d021a95..a00355fc53d 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_ru.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Больше" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sk.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sk.json index 5955d021a95..d77d8599061 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sk.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Viac" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sl.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sl.json index 5955d021a95..0f18adaa1da 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sl.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Več" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sr.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sr.json index 5955d021a95..e9d9db5f675 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sr.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Više" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sv.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sv.json index 5955d021a95..521b3c3fa27 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_sv.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Mer" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_th.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_th.json index 5955d021a95..9d62181cfab 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_th.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_th.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "กว่า" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_tr.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_tr.json index 5955d021a95..0b1572bc3d2 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_tr.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Daha fazla" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_uk.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_uk.json index 5955d021a95..a3fcdb14839 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_uk.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Більше" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_vi.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_vi.json index 5955d021a95..371ef34493d 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_vi.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "Thêm" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-CN.json index 5955d021a95..99991ba40fe 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-CN.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "更多" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-HK.json index 5955d021a95..8474b4f0360 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-HK.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "較多" } diff --git a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-TW.json index 5955d021a95..8474b4f0360 100644 --- a/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/menu/assets/menu/t9n/messages_zh-TW.json @@ -1,3 +1,3 @@ { - "more": "More" + "more": "較多" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json index 6d21bcac9ab..3e093ace7ca 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json @@ -1,4 +1,5 @@ { "invalid": "غير صالح", - "tooLong": "تم تجاوز حد الأحرف" + "tooLong": "تم تجاوز حد الأحرف", + "longText": "طول الأحرف الحالي هو {currentLength}، والذي يتجاوز الحد الأقصى لطول أحرف {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json index 1cb5aee5a39..a09e1f4123c 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json @@ -1,4 +1,5 @@ { "invalid": "Невалидно", - "tooLong": "Превишен лимит за символи" + "tooLong": "Превишен лимит за символи", + "longText": "Текущата дължина на знака е{currentLength}, която надвишава максималната дължина на знака от{maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json index 929f66d9659..7f33f70421d 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json @@ -1,4 +1,5 @@ { "invalid": "Nevažeće", - "tooLong": "Premašeno je ograničenje znakova" + "tooLong": "Premašeno je ograničenje znakova", + "longText": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json index 659090e8561..a0b2ea66214 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json @@ -1,4 +1,5 @@ { "invalid": "No vàlid", - "tooLong": "S'ha excedit el límit de caràcters" + "tooLong": "S'ha excedit el límit de caràcters", + "longText": "La longitud de caràcters actual és de {currentLength}, que supera la longitud de caràcters màxima de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json index 1c03a30a8cd..3579dbe45e1 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json @@ -1,4 +1,5 @@ { "invalid": "Neplatný", - "tooLong": "Překročen limit počtu znaků" + "tooLong": "Překročen limit počtu znaků", + "longText": "Aktuální počet znaků je {currentLength}, což překračuje maximální počet znaků {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json index 89d9e980381..1c7fa5968cf 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json @@ -1,4 +1,5 @@ { "invalid": "Ugyldig", - "tooLong": "Grænsen for antallet af tegn er overskredet" + "tooLong": "Grænsen for antallet af tegn er overskredet", + "longText": "Den aktuelle tegnlængde er {currentLength}, hvilket overskrider den maksimale tegnlængde på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json index 094431c3314..9bc6fcbdce0 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json @@ -1,4 +1,5 @@ { "invalid": "Ungültig", - "tooLong": "Zeichenlimit wurde überschritten" + "tooLong": "Zeichenlimit wurde überschritten", + "longText": "Die aktuelle Zeichenanzahl beträgt {currentLength} und überschreitet damit die maximal zulässige Anzahl von {maxLength} Zeichen." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json index 535921e0689..dfb62e95008 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json @@ -1,4 +1,5 @@ { "invalid": "Μη έγκυρο", - "tooLong": "Υπέρβαση ορίου χαρακτήρων" + "tooLong": "Υπέρβαση ορίου χαρακτήρων", + "longText": "Το τρέχον μήκος χαρακτήρων είναι {currentLength}, το οποίο υπερβαίνει το μέγιστο μήκος χαρακτήρων του {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json index aa39a952998..da4d7a00131 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json @@ -1,4 +1,5 @@ { "invalid": "No válido", - "tooLong": "Se superó el límite de caracteres" + "tooLong": "Se superó el límite de caracteres", + "longText": "La longitud de caracteres actual es de {currentLength}, lo cual supera la longitud de caracteres máxima de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json index 257960150b9..1444d5efc53 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json @@ -1,4 +1,5 @@ { "invalid": "Sobimatu", - "tooLong": "Tähemärkide piirang on ületatud" + "tooLong": "Tähemärkide piirang on ületatud", + "longText": "Praegune tähemärkide arv on {currentLength}, mis ületab tähemärkide maksimaalse arvu{maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json index f254a7adaa9..c3d9ba5ebd1 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json @@ -1,4 +1,5 @@ { "invalid": "Virheellinen", - "tooLong": "Merkkien määrä ylitetty" + "tooLong": "Merkkien määrä ylitetty", + "longText": "Nykyinen merkkipituus on {currentLength}, joka ylittää {maxLength} merkkien enimmäispituuden." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json index 4b0aacc1c20..035502c840a 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json @@ -1,4 +1,5 @@ { "invalid": "Non valide", - "tooLong": "Limite de caractères dépassée" + "tooLong": "Limite de caractères dépassée", + "longText": "La longueur actuelle de caractères est de {currentLength}, ce qui dépasse la longueur maximale de {maxLength} caractères." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json index b25098cc66b..ceb475ddcde 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json @@ -1,4 +1,5 @@ { "invalid": "לא תקין", - "tooLong": "חריגה ממגבלת מספר התווים" + "tooLong": "חריגה ממגבלת מספר התווים", + "longText": "אורך התו הנוכחי הוא {currentLength}, אשר חורג מאורך התו המרבי של {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json index 929f66d9659..7f33f70421d 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json @@ -1,4 +1,5 @@ { "invalid": "Nevažeće", - "tooLong": "Premašeno je ograničenje znakova" + "tooLong": "Premašeno je ograničenje znakova", + "longText": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json index d3ea547dcf3..555ce4e1f22 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json @@ -1,4 +1,5 @@ { "invalid": "Érvénytelen", - "tooLong": "Karakterkorlát túllépve" + "tooLong": "Karakterkorlát túllépve", + "longText": "Az aktuális karakterhossz {currentLength}, ami meghaladja a maximális {maxLength} karakterhosszúságot." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json index 5b609855027..2a103e995d9 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json @@ -1,4 +1,5 @@ { "invalid": "Tidak valid", - "tooLong": "Batas karakter terlampaui" + "tooLong": "Batas karakter terlampaui", + "longText": "Panjang karakter saat ini adalah {currentLength}, yang mana melebihi panjang karakter maksimum {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json index e4a8febdeb8..2e81a4d2174 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json @@ -1,4 +1,5 @@ { "invalid": "Non valido", - "tooLong": "Limite di caratteri superato" + "tooLong": "Limite di caratteri superato", + "longText": "La lunghezza in caratteri corrente è {currentLength}, superiore al limite massimo di {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json index 1ea176059c0..024994408f8 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json @@ -1,4 +1,5 @@ { "invalid": "無効", - "tooLong": "文字制限を超えています" + "tooLong": "文字制限を超えています", + "longText": "現在の文字数は {currentLength} です。これは、文字数の最大値である {maxLength} 文字を超過しています。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json index fbc7d5c51b0..70de6a5b5f1 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json @@ -1,4 +1,5 @@ { "invalid": "잘못됨", - "tooLong": "문자 제한을 초과함" + "tooLong": "문자 제한을 초과함", + "longText": "현재 문자 길이({currentLength})가 최대 문자 길이({maxLength})를 초과합니다." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json index fec39443240..7285396766c 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json @@ -1,4 +1,5 @@ { "invalid": "Neteisingas", - "tooLong": "Viršytas simbolių limitas" + "tooLong": "Viršytas simbolių limitas", + "longText": "Dabartinis simbolių skaičius yra {currentLength}, o tai viršija maksimalų {maxLength} simbolių ilgį." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json index eaf0e62811a..f064dacebe8 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json @@ -1,4 +1,5 @@ { "invalid": "Nederīgs", - "tooLong": "Pārsniegts rakstzīmju skaita ierobežojums" + "tooLong": "Pārsniegts rakstzīmju skaita ierobežojums", + "longText": "Pašreizējais rakstzīmju garums ir {currentLength}, kas pārsniedz maksimālo rakstzīmju garumu {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json index b11271d1903..be295565898 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json @@ -1,4 +1,5 @@ { "invalid": "Ongeldig", - "tooLong": "Tekenlimiet overschreden" + "tooLong": "Tekenlimiet overschreden", + "longText": "Het huidige aantal tekens is {currentLength}, wat meer is dan het maximumaantal van {maxLength} tekens." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json index d5b92fcc46e..b6f834c8672 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json @@ -1,4 +1,5 @@ { "invalid": "Ugyldig", - "tooLong": "Maksimumsgrensen for antall tegn er overskredet" + "tooLong": "Maksimumsgrensen for antall tegn er overskredet", + "longText": "Den nåværende tegnlengden er {currentLength}, som overskrider den maksimalt tillatte tegnlengden på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json index 99a6b724409..8429fec6251 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json @@ -1,4 +1,5 @@ { "invalid": "Niepoprawny", - "tooLong": "Przekroczono limit liczby znaków" + "tooLong": "Przekroczono limit liczby znaków", + "longText": "Bieżąca liczba znaków wynosi {currentLength}, co przekracza maksymalną liczbę znaków {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json index 49f4c224f49..6367dc9d796 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json @@ -1,4 +1,5 @@ { "invalid": "Inválido", - "tooLong": "Limite de caracteres excedido" + "tooLong": "Limite de caracteres excedido", + "longText": "O comprimento atual do caractere é {currentLength}, que exceda o comprimento máximo de caracteres de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json index 4363b3e3e09..c9f65b8b5a0 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json @@ -1,4 +1,5 @@ { "invalid": "Inválido", - "tooLong": "Limite de carateres ultrapassado" + "tooLong": "Limite de carateres ultrapassado", + "longText": "O comprimento atual dos caracteres é {currentLength}, o que excede o comprimento máximo de caracteres de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json index 36ae6cb4c26..38febaacb46 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json @@ -1,4 +1,5 @@ { "invalid": "Nevalid", - "tooLong": "Limită de caractere depășită" + "tooLong": "Limită de caractere depășită", + "longText": "Lungimea maximă a caracterelor curentă este {currentLength}, ceea ce depășește lungimea maximă a caracterelor de maximum {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json index f6bc9290de7..d48f7741a21 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json @@ -1,4 +1,5 @@ { "invalid": "Недопустимый", - "tooLong": "Превышен лимит символов" + "tooLong": "Превышен лимит символов", + "longText": "Текущая длина символов - {currentLength}, что превышает максимальную длину символов {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json index 1514c32066d..c8cbfa3f7c0 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json @@ -1,4 +1,5 @@ { "invalid": "Neplatné", - "tooLong": "Bol prekročený limit počtu znakov" + "tooLong": "Bol prekročený limit počtu znakov", + "longText": "Aktuálna dĺžka znaku je {currentLength}, čo presahuje maximálnu dĺžku {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json index e65d5146160..38fb8d91833 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json @@ -1,4 +1,5 @@ { "invalid": "Neveljavno", - "tooLong": "Presežena je omejitev znakov" + "tooLong": "Presežena je omejitev znakov", + "longText": "Trenutna dolžina znakov znaša {currentLength}, kar presega maksimalno dolžino znakov {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json index fa6e4f9b0be..126a97af158 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json @@ -1,4 +1,5 @@ { "invalid": "Nevažeće", - "tooLong": "Prekoračeno ograničenje znakova" + "tooLong": "Prekoračeno ograničenje znakova", + "longText": "Trenutno ograničenje za broj karaktera je {currentLength}, što prekoračuje maksimalni broj dužine karaktera od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json index b295d6a8fa0..8932365c75c 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json @@ -1,4 +1,5 @@ { "invalid": "Ogiltig", - "tooLong": "Teckengränsen överskriden" + "tooLong": "Teckengränsen överskriden", + "longText": "Den aktuella teckenlängden är {currentLength}, vilket överskrider den maximala teckenlängden på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json index 0162af0468b..e51f4887ee0 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json @@ -1,4 +1,5 @@ { "invalid": "ไม่ถูกต้อง", - "tooLong": "เกินขีดจำกัดอักขระ" + "tooLong": "เกินขีดจำกัดอักขระ", + "longText": "ความยาวจำนวนอักขระในปัจจุบันคือ {currentLength} ซึ่งเกินความยาวจำนวนอักขระสูงสุดที่ {maxLength}" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json index 1f26fbbec85..8fc2e2c1f43 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json @@ -1,4 +1,5 @@ { "invalid": "Geçersiz", - "tooLong": "Karakter sınırı aşıldı" + "tooLong": "Karakter sınırı aşıldı", + "longText": "Mevcut karakter uzunluğu {currentLength} ve maksimum karakter uzunluğu {maxLength}'i aşıyor." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json index 6a5714a4ab4..7709c5cd642 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json @@ -1,4 +1,5 @@ { "invalid": "Неприпустимий", - "tooLong": "Перевищено обмеження кількості символів" + "tooLong": "Перевищено обмеження кількості символів", + "longText": "Поточна довжина символу становить {currentLength}, що перевищує максимальну довжину символів {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json index 44732fb229b..b49b2ba9aa7 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json @@ -1,4 +1,5 @@ { "invalid": "Không hợp lệ", - "tooLong": "Đã vượt quá giới hạn ký tự" + "tooLong": "Đã vượt quá giới hạn ký tự", + "longText": "Độ dài ký tự hiện tại là {currentLength}, vượt quá độ dài ký tự tối đa {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json index a11c7254c98..4881d2eedf2 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json @@ -1,4 +1,5 @@ { "invalid": "无效", - "tooLong": "超出字符限制" + "tooLong": "超出字符限制", + "longText": "当前字符长度为 {currentLength},超过了最大字符长度 {maxLength}。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json index a81929c4eba..f3abcaeafe6 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json @@ -1,4 +1,5 @@ { "invalid": "無效", - "tooLong": "已超過字元限制" + "tooLong": "已超過字元限制", + "longText": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json index a81929c4eba..f3abcaeafe6 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json @@ -1,4 +1,5 @@ { "invalid": "無效", - "tooLong": "已超過字元限制" + "tooLong": "已超過字元限制", + "longText": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" } From 89349d64eb4e00d418a5bfed51ee6932cae728ef Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Fri, 7 Jul 2023 15:30:24 -0700 Subject: [PATCH 06/20] build: make sure eslint-plugin-calcite-components is set up correctly (#7294) **Related Issue:** # ## Summary I forgot to mention that the packages within the monorepo are "local dependencies", which means `npm install` won't install them, they have to be built locally. A common workflow is `cd`ing directly into calcite-components to do work. This caused issues with `eslint-plugin-calcite-components` because it wasn't being built so it wasn't working during development in CC. I added a `start` turbo pipeline which will ensure all dependencies are built first. So running `npm start` from the root directory will no longer cause this issue. I also cleaned up the Contributing doc and tweaked some eslint settings that were causing issues in VSCode. --- .vscode/settings.json | 1 + CONTRIBUTING.md | 35 ++++-- package-lock.json | 105 ++++++++++++++++-- package.json | 6 +- packages/calcite-components/.gitignore | 2 +- packages/calcite-components/package.json | 4 +- .../support/cleanOnProcessExit.ts | 48 -------- .../.eslintrc.json | 3 + turbo.json | 5 + 9 files changed, 134 insertions(+), 75 deletions(-) delete mode 100644 packages/calcite-components/support/cleanOnProcessExit.ts create mode 100644 packages/eslint-plugin-calcite-components/.eslintrc.json diff --git a/.vscode/settings.json b/.vscode/settings.json index a8537dabb25..969aef97ab3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,7 @@ "scss.validate": false, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, + "eslint.workingDirectories": [{ "mode": "auto" }], "editor.quickSuggestions": { "strings": true }, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b616773cb50..56202dcb6a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,11 +2,11 @@ Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing). -Note: New contributors should first contact [Ben Elan](mailto:belan@esri.com) or [Juan Carlos Franco](mailto:JFranco@esri.com) to join the [Calcite Components GitHub team](https://github.com/orgs/Esri/teams/calcite-components/members). Then, clone the repo via SSH key on your machine (this Git workflow is required in order to work with our Chromatic test integration). +Note: New contributors should first contact [Ben Elan](mailto:belan@esri.com) or [Juan Carlos Franco](mailto:JFranco@esri.com) to join the [Calcite Contributors GitHub team](https://github.com/orgs/Esri/teams/calcite-contributors/members). Then, clone the repo via SSH key on your machine (this Git workflow is required in order to work with our Chromatic test integration). ## I want to contribute, what should I work on? -Calcite Components is still in its early stages. You can help most by: +You can help most by: - Adding ideas for components by [creating a New Component issue](https://github.com/Esri/calcite-design-system/issues/new?assignees=&labels=new+component%2C0+-+new%2Cneeds+triage&template=new-component.yml). - Requesting features for existing components by [creating a Enhancement issue](https://github.com/Esri/calcite-design-system/issues/new?assignees=&labels=enhancement%2C0+-+new%2Cneeds+triage&template=enhancement.yml). @@ -112,11 +112,11 @@ If your IDE supports the [Language Server Protocol (LSP) specification](https:// ## Starting the demos -First, clone the repo and install the NPM dependencies from within the `calcite-components` directory: +First, clone the repo and then install the NPM dependencies: ```sh git clone git@github.com:Esri/calcite-design-system.git -cd calcite-components +cd calcite-design-system npm install ``` @@ -126,23 +126,38 @@ Next, start the local Stencil development server on localhost: npm start ``` -The demos will open in the browser after building. Edit the pages in [`src/demos`](./src/demos) to modify the component demos, such as changing attributes or adding content to slots. When adding a new demo page, make sure to add a link in [`index.html`](./src/index.html) so others can find it. You can also edit the component code in [`src/components`](./src/components), and the changes will be reflected in the demos. +The demos will open in the browser after building. Edit the pages in [`packages/calcite-components/src/demos`](.packages/calcite-components/src/demos) to modify the component demos, such as changing attributes or adding content to slots. When adding a new demo page, make sure to add a link in [`packages/calcite-components/src/index.html`](./packages/calcite-components/src/index.html) so others can find it. You can also edit the component code in [`packages/calcite-components/src/components`](packages/calcite-components/src/components`./src/components), and the changes will be reflected in the demos. ## Linting -This project uses [lint-staged](https://www.npmjs.com/package/lint-staged) to automatically format code on commit, making it easier to contribute. There are also NPM scripts in [`package.json`](./package.json) to lint a variety of filetypes. To run them all: +This project uses [lint-staged](https://www.npmjs.com/package/lint-staged) to automatically format code on commit, making it easier to contribute. Each package has it's own linting NPM scripts, so check there for more options. For example, calcite-components has NPM scripts that lint by different filetypes. To run the `lint` NPM script for all packages that have one, do: ```sh npm run lint ``` +Or use the `--workspace` flag to lint a single package. + +```sh +npm --workspace=packages/calcite-components run lint +``` + +You can avoid using the `--workspace` flag in every command by `cd`ing into the package you're working on: + +```sh +cd packages/calcite-components +# the following will only lint and test calcite-components +npm run lint +npm test +``` + ## Running the tests -`npm test` will run the current test suite. +`npm test` will run the test suites. Calcite Components include Stencil's default testing tools which are built on [Jest](https://jestjs.io/) and [Puppeteer](https://github.com/GoogleChrome/puppeteer). -If you're working on writing tests for a particular component, it can be helpful to use `npm run test:watch` to retest on file changes. Once the initial tests run, typing `o` at the prompt will run tests only on changed files, allowing you to quickly iterate on tests for a specific component. +If you're working on writing tests for a particular component, it can be helpful to use `npm --workspace=packages/calcite-components run test:watch` to retest on file changes. Once the initial tests run, typing `o` at the prompt will run tests only on changed files, allowing you to quickly iterate on tests for a specific component. You can also add a pattern to the end of the command to match for a test's file path. Please refer to the [Stencil testing documentation](https://stenciljs.com/docs/testing-overview) and Calcite's [testing conventions](./conventions/Testing.md) for more information. @@ -156,9 +171,9 @@ Stencil creates API reference documentation using JSDoc, here is their [document 1. Create a new file inside your component directory like `X.stories.js` 2. Write stories -3. Run the documentation locally with `npm run docs:preview` +3. Run the documentation locally with `npm --workspace=packages/calcite-components run docs:preview` -The `docs:preview` command will build Calcite Components and open your browser to view the storybook docs locally. +Calcite Component's `docs:preview` command will build and open your browser to view the storybook docs locally. Please refer to the [Documentation Conventions](./conventions/Documentation.md) for more information. diff --git a/package-lock.json b/package-lock.json index 599f6201416..7db186eb15f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,7 +71,7 @@ "quicktype-core": "23.0.48", "react": "^16.13.1", "react-dom": "^16.13.1", - "rimraf": "4.1.2", + "rimraf": "5.0.1", "rollup": "2.77.1", "rollup-plugin-node-resolve": "5.2.0", "semver": "7.3.8", @@ -90,8 +90,7 @@ "type-fest": "3.11.1", "typescript": "4.9.5", "updtr": "4.0.0", - "workbox-build": "7.0.0", - "yargs": "17.7.2" + "workbox-build": "7.0.0" }, "engines": { "node": ">=14.0.0" @@ -33952,11 +33951,13 @@ "dev": true }, "node_modules/rimraf": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.1.2.tgz", - "integrity": "sha512-BlIbgFryTbw3Dz6hyoWFhKk+unCcHMSkZGrTFVAx2WmttdBSonsdtRlwiuTbDqTKr+UlXIUqJVS4QT5tUzGENQ==", - "deprecated": "Please upgrade to 4.3.1 or higher to fix a potentially damaging issue regarding symbolic link following. See https://github.com/isaacs/rimraf/issues/259 for details.", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", + "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", "dev": true, + "dependencies": { + "glob": "^10.2.5" + }, "bin": { "rimraf": "dist/cjs/src/bin.js" }, @@ -33967,6 +33968,52 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", + "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", + "path-scurry": "^1.10.0" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/ripemd160": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", @@ -66641,10 +66688,46 @@ "dev": true }, "rimraf": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.1.2.tgz", - "integrity": "sha512-BlIbgFryTbw3Dz6hyoWFhKk+unCcHMSkZGrTFVAx2WmttdBSonsdtRlwiuTbDqTKr+UlXIUqJVS4QT5tUzGENQ==", - "dev": true + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", + "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", + "dev": true, + "requires": { + "glob": "^10.2.5" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "glob": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", + "integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2", + "path-scurry": "^1.10.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } }, "ripemd160": { "version": "2.0.2", diff --git a/package.json b/package.json index 08552e1b235..2bdc354132f 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "version:latest": "lerna version --conventional-commits --create-release github --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions", "prepare": "husky install", "preversion": "npm run util:is-in-sync-with-origin && npm run util:is-working-tree-clean", + "start": "turbo run start", "test": "turbo run test", "util:is-in-sync-with-origin": "[ \"$(git rev-parse --abbrev-ref HEAD)\" = \"main\" ] && [ \"$(git rev-parse main)\" = \"$(git rev-parse origin/main)\" ]", "util:is-next-deployable": "ts-node --esm support/isNextDeployable.ts", @@ -83,7 +84,7 @@ "quicktype-core": "23.0.48", "react": "^16.13.1", "react-dom": "^16.13.1", - "rimraf": "4.1.2", + "rimraf": "5.0.1", "rollup": "2.77.1", "rollup-plugin-node-resolve": "5.2.0", "semver": "7.3.8", @@ -102,8 +103,7 @@ "type-fest": "3.11.1", "typescript": "4.9.5", "updtr": "4.0.0", - "workbox-build": "7.0.0", - "yargs": "17.7.2" + "workbox-build": "7.0.0" }, "license": "SEE LICENSE.md", "engines": { diff --git a/packages/calcite-components/.gitignore b/packages/calcite-components/.gitignore index bee540240a7..21d2801f286 100644 --- a/packages/calcite-components/.gitignore +++ b/packages/calcite-components/.gitignore @@ -1,6 +1,6 @@ __docs-temp__/* docs/ hydrate/ -src/**/*.js +*.js src/components/icon/assets www/ diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 1670d871d04..a28134dbe62 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -36,7 +36,7 @@ "posttest": "npm run test:prerender", "prepublishOnly": "./support/stencilDoubleBuildTypesWorkaround.sh", "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs", - "start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"", + "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"", "test": "stencil test --no-docs --no-build --spec --e2e", "test:prerender": "stencil build --no-docs --prerender", "test:watch": "npm run build && npm run test -- -- --watchAll", @@ -53,7 +53,7 @@ "util:prep-build-reqs": "npm run util:copy-assets && npm run util:generate-t9n-types", "util:sync-t9n-en-bundles": "ts-node --esm support/syncEnT9nBundles.ts", "util:test-types": "tsc --esModuleInterop dist/types/**/*.d.ts dist/components/*.d.ts && ! grep -rnw 'dist/types' -e ' { - if ("cleanup" in options) { - rimraf.sync(resolve(`${process.cwd()}/${path}`)); - } - if ("exit" in options) { - process.exit(); - } - }; - - // do something when app is closing - process.on("exit", exitHandler.bind(null, { cleanup: true })); - - // catches ctrl+c event - process.on("SIGINT", exitHandler.bind(null, { exit: true })); - - // catches other kill process signals (e.g., concurrently --kill-others ...) - process.on("SIGHUP", exitHandler.bind(null, { exit: true })); - process.on("SIGTERM", exitHandler.bind(null, { exit: true })); - - // catches "kill pid" (for example: nodemon restart) - process.on("SIGUSR1", exitHandler.bind(null, { exit: true })); - process.on("SIGUSR2", exitHandler.bind(null, { exit: true })); - - // catches uncaught exceptions - process.on("uncaughtException", exitHandler.bind(null, { exit: true })); -})(); diff --git a/packages/eslint-plugin-calcite-components/.eslintrc.json b/packages/eslint-plugin-calcite-components/.eslintrc.json new file mode 100644 index 00000000000..f66885a6a9e --- /dev/null +++ b/packages/eslint-plugin-calcite-components/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "ignorePatterns": ["*"] +} diff --git a/turbo.json b/turbo.json index 6e905f00c2d..56515177f97 100644 --- a/turbo.json +++ b/turbo.json @@ -5,6 +5,11 @@ "dependsOn": ["^build"], "outputs": ["**/dist/**", "www/**", "hydrate/**", "docs/**", "src/components.d.ts"] }, + "start": { + "dependsOn": ["^build"], + "cache": false, + "persistent": true + }, "test": { "dependsOn": ["build"] }, From 743ed34eb1bfc7a0f71cc9a1eff1ecab9ed4fdc7 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Fri, 7 Jul 2023 17:42:25 -0700 Subject: [PATCH 07/20] test(stack): stabilize screenshot tests (#7298) Set thumbnail image locally for consistency --- .../src/components/stack/stack.stories.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/calcite-components/src/components/stack/stack.stories.ts b/packages/calcite-components/src/components/stack/stack.stories.ts index 8494bda2c23..56e155ff568 100644 --- a/packages/calcite-components/src/components/stack/stack.stories.ts +++ b/packages/calcite-components/src/components/stack/stack.stories.ts @@ -1,4 +1,5 @@ import { modesDarkDefault } from "../../../.storybook/utils"; +import { placeholderImage } from "../../../.storybook/placeholderImage"; import readme from "./readme.md"; import { html } from "../../../support/formatting"; import { storyFilters } from "../../../.storybook/helpers"; @@ -11,10 +12,12 @@ export default { ...storyFilters() }; +const thumbnailImage = placeholderImage({ width: 44, height: 44 }); + const simpleHTML = html` Hello World - + My great chip `; @@ -27,7 +30,7 @@ simpleDarkMode_TestOnly.parameters = { modes: modesDarkDefault }; export const disabled_TestOnly = (): string => html` Hello World - + My great chip `; @@ -38,7 +41,7 @@ export const panelFooter_TestOnly = (): string => html` - + My great chip From 2b09abacf4f265866f44f210a8c83b580e865fdf Mon Sep 17 00:00:00 2001 From: Eliza Khachatryan Date: Fri, 7 Jul 2023 19:08:01 -0700 Subject: [PATCH 08/20] fix(accordion, accordion-item): `icon-position`, `icon-type`, `selection-mode` and `scale` can now be set as props or attributes (#7191) **Related Issue:** #6199, #6038, #6200 ## Summary This should resolve #6199, where you're able to set `accordionEl.setAttribute("icon-position", "start")`, but not `accordionEl.iconPosition = "start"`, happening because of a logical issue within `getElementProp` function. `getElementProp` is being refactored across child components as an outdated pattern in #6038, so this will also kick off that issue as well. Instead of the `accordion-item` looking up the parent for `iconPosition, iconType, selectionMode, or scale`, these get set by the `accordion` parent. The logic for setting these props thus moves to the parent, getting rid of the `getElementProp` altogether. The parent component gets a `mutation observer` to do this as well as `watchers` for when it needs to modify the children. With the `mutationObserver` added, there is no longer a need for the `calciteInternalAccordionItemRegister` event logic. --- .../accordion-item/accordion-item.tsx | 93 ++++++++----------- .../src/components/accordion/accordion.e2e.ts | 80 ++++++++++++++-- .../src/components/accordion/accordion.tsx | 66 +++++++------ 3 files changed, 147 insertions(+), 92 deletions(-) diff --git a/packages/calcite-components/src/components/accordion-item/accordion-item.tsx b/packages/calcite-components/src/components/accordion-item/accordion-item.tsx index 0cc20cc8516..1ae66013198 100644 --- a/packages/calcite-components/src/components/accordion-item/accordion-item.tsx +++ b/packages/calcite-components/src/components/accordion-item/accordion-item.tsx @@ -14,17 +14,11 @@ import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot"; -import { - closestElementCrossShadowBoundary, - getElementDir, - getElementProp, - getSlotted, - toAriaBoolean -} from "../../utils/dom"; +import { getElementDir, getSlotted, toAriaBoolean } from "../../utils/dom"; import { CSS_UTILITY } from "../../utils/resources"; import { SLOTS, CSS } from "./resources"; -import { FlipContext, Position, Scale } from "../interfaces"; -import { RegistryEntry, RequestedItem } from "./interfaces"; +import { FlipContext, Position, Scale, SelectionMode } from "../interfaces"; +import { RequestedItem } from "./interfaces"; /** * @slot - A slot for adding custom content, including nested `calcite-accordion-item`s. @@ -69,6 +63,40 @@ export class AccordionItem implements ConditionalSlotComponent { /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */ @Prop({ reflect: true }) iconFlipRtl: FlipContext; + /** + * Specifies the placement of the icon in the header inherited from the `calcite-accordion`. + * + * @internal + */ + @Prop() iconPosition: Position; + + /** Specifies the type of the icon in the header inherited from the `calcite-accordion`. + * + * @internal + */ + @Prop() iconType: "chevron" | "caret" | "plus-minus"; + + /** + * The containing `accordion` element. + * + * @internal + */ + @Prop() accordionParent: HTMLCalciteAccordionElement; + + /** + * Specifies the `selectionMode` of the component inherited from the `calcite-accordion`. + * + * @internal + */ + @Prop() selectionMode: Extract<"single" | "single-persist" | "multiple", SelectionMode>; + + /** + * Specifies the size of the component inherited from the `calcite-accordion`. + * + * @internal + */ + @Prop() scale: Scale; + //-------------------------------------------------------------------------- // // Events @@ -85,11 +113,6 @@ export class AccordionItem implements ConditionalSlotComponent { */ @Event({ cancelable: false }) calciteInternalAccordionItemClose: EventEmitter; - /** - * @internal - */ - @Event({ cancelable: false }) calciteInternalAccordionItemRegister: EventEmitter; - //-------------------------------------------------------------------------- // // Lifecycle @@ -97,22 +120,9 @@ export class AccordionItem implements ConditionalSlotComponent { //-------------------------------------------------------------------------- connectedCallback(): void { - this.parent = this.el.parentElement as HTMLCalciteAccordionElement; - this.iconType = getElementProp(this.el, "icon-type", "chevron"); - this.iconPosition = getElementProp(this.el, "icon-position", this.iconPosition); - this.scale = getElementProp(this.el, "scale", this.scale); - connectConditionalSlotComponent(this); } - componentDidLoad(): void { - this.itemPosition = this.getItemPosition(); - this.calciteInternalAccordionItemRegister.emit({ - parent: this.parent, - position: this.itemPosition - }); - } - disconnectedCallback(): void { disconnectConditionalSlotComponent(this); } @@ -248,30 +258,12 @@ export class AccordionItem implements ConditionalSlotComponent { // //-------------------------------------------------------------------------- - /** the containing accordion element */ - private parent: HTMLCalciteAccordionElement; - - /** position within parent */ - private itemPosition: number; - /** the latest requested item */ private requestedAccordionItem: HTMLCalciteAccordionItemElement; - /** what selection mode is the parent accordion in */ - private selectionMode: string; - - /** what icon position does the parent accordion specify */ - private iconPosition: Position = "end"; - - /** what icon type does the parent accordion specify */ - private iconType: string; - /** handle clicks on item header */ private itemHeaderClickHandler = (): void => this.emitRequestedItem(); - /** Specifies the scale of the `accordion-item` controlled by the parent, defaults to m */ - scale: Scale = "m"; - //-------------------------------------------------------------------------- // // Private Methods @@ -279,7 +271,6 @@ export class AccordionItem implements ConditionalSlotComponent { //-------------------------------------------------------------------------- private determineActiveItem(): void { - this.selectionMode = getElementProp(this.el, "selection-mode", "multiple"); switch (this.selectionMode) { case "multiple": if (this.el === this.requestedAccordionItem) { @@ -302,14 +293,4 @@ export class AccordionItem implements ConditionalSlotComponent { requestedAccordionItem: this.el as HTMLCalciteAccordionItemElement }); } - - private getItemPosition(): number { - const { el } = this; - - const items = closestElementCrossShadowBoundary(el, "calcite-accordion")?.querySelectorAll( - "calcite-accordion-item" - ); - - return items ? Array.from(items).indexOf(el) : -1; - } } diff --git a/packages/calcite-components/src/components/accordion/accordion.e2e.ts b/packages/calcite-components/src/components/accordion/accordion.e2e.ts index a1c8b43c55a..8066c71b847 100644 --- a/packages/calcite-components/src/components/accordion/accordion.e2e.ts +++ b/packages/calcite-components/src/components/accordion/accordion.e2e.ts @@ -1,5 +1,5 @@ import { newE2EPage } from "@stencil/core/testing"; -import { accessible, renders, hidden } from "../../tests/commonTests"; +import { accessible, defaults, hidden, reflects, renders } from "../../tests/commonTests"; import { html } from "../../../support/formatting"; import { CSS } from "../accordion-item/resources"; @@ -14,6 +14,14 @@ describe("calcite-accordion", () => { Accordion Item Content `; + const accordionContentInheritablePropsNonDefault = html` + + Accordion Item Content + + Accordion Item Content + Accordion Item Content + `; + describe("renders", () => { renders("calcite-accordion", { display: "block" }); }); @@ -26,18 +34,70 @@ describe("calcite-accordion", () => { accessible(`${accordionContent}`); }); - it("renders default props when none are provided", async () => { + describe("defaults", () => { + defaults("calcite-accordion", [ + { + propertyName: "appearance", + defaultValue: "solid" + }, + { + propertyName: "iconPosition", + defaultValue: "end" + }, + { + propertyName: "scale", + defaultValue: "m" + }, + { + propertyName: "selectionMode", + defaultValue: "multiple" + }, + { + propertyName: "iconType", + defaultValue: "chevron" + } + ]); + }); + + describe("reflects", () => { + reflects("calcite-accordion", [ + { + propertyName: "iconPosition", + value: "start" + }, + { + propertyName: "iconPosition", + value: "end" + }, + { + propertyName: "selectionMode", + value: "single-persist" + }, + { + propertyName: "selectionMode", + value: "single" + }, + { + propertyName: "selectionMode", + value: "multiple" + } + ]); + }); + + it("inheritable props: `iconPosition`, `iconType`, `selectionMode`, and `scale` modified on the parent get passed into items", async () => { const page = await newE2EPage(); await page.setContent(` - - ${accordionContent} + + ${accordionContentInheritablePropsNonDefault} `); - const element = await page.find("calcite-accordion"); - expect(element).toEqualAttribute("appearance", "solid"); - expect(element).toEqualAttribute("icon-position", "end"); - expect(element).toEqualAttribute("scale", "m"); - expect(element).toEqualAttribute("selection-mode", "multiple"); - expect(element).toEqualAttribute("icon-type", "chevron"); + const accordionItems = await page.findAll("calcite-accordion-items"); + + accordionItems.forEach(async (item) => { + expect(await item.getProperty("iconPosition")).toBe("start"); + expect(await item.getProperty("iconType")).toBe("plus-minus"); + expect(await item.getProperty("selectionMode")).toBe("single-persist"); + expect(await item.getProperty("scale")).toBe("l"); + }); }); it("renders requested props when valid props are provided", async () => { diff --git a/packages/calcite-components/src/components/accordion/accordion.tsx b/packages/calcite-components/src/components/accordion/accordion.tsx index a5ab1caf5b9..6eb9b62336c 100644 --- a/packages/calcite-components/src/components/accordion/accordion.tsx +++ b/packages/calcite-components/src/components/accordion/accordion.tsx @@ -1,5 +1,16 @@ -import { Component, Element, Event, EventEmitter, h, Listen, Prop, VNode } from "@stencil/core"; +import { + Component, + Element, + Event, + EventEmitter, + h, + Listen, + Prop, + VNode, + Watch +} from "@stencil/core"; import { Appearance, Position, Scale, SelectionMode } from "../interfaces"; +import { createObserver } from "../../utils/observers"; import { RequestedItem } from "./interfaces"; /** * @slot - A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however `calcite-accordion-item`s can. @@ -24,6 +35,9 @@ export class Accordion { // //-------------------------------------------------------------------------- + /** Specifies the parent of the component. */ + @Prop({ reflect: true }) accordionParent: HTMLCalciteAccordionElement; + /** Specifies the appearance of the component. */ @Prop({ reflect: true }) appearance: Extract<"solid" | "transparent", Appearance> = "solid"; @@ -45,6 +59,14 @@ export class Accordion { SelectionMode > = "multiple"; + @Watch("iconPosition") + @Watch("iconType") + @Watch("scale") + @Watch("selectionMode") + handlePropsChange(): void { + this.updateAccordionItems(); + } + //-------------------------------------------------------------------------- // // Events @@ -62,11 +84,13 @@ export class Accordion { // //-------------------------------------------------------------------------- - componentDidLoad(): void { - if (!this.sorted) { - this.items = this.sortItems(this.items); - this.sorted = true; - } + connectedCallback(): void { + this.mutationObserver?.observe(this.el, { childList: true }); + this.updateAccordionItems(); + } + + disconnectedCallback(): void { + this.mutationObserver?.disconnect(); } render(): VNode { @@ -89,19 +113,6 @@ export class Accordion { // //-------------------------------------------------------------------------- - @Listen("calciteInternalAccordionItemRegister") - registerCalciteAccordionItem(event: CustomEvent): void { - const item = { - item: event.target as HTMLCalciteAccordionItemElement, - parent: event.detail.parent as HTMLCalciteAccordionElement, - position: event.detail.position as number - }; - if (this.el === item.parent) { - this.items.push(item); - } - event.stopPropagation(); - } - @Listen("calciteInternalAccordionItemSelect") updateActiveItemOnChange(event: CustomEvent): void { this.requestedAccordionItem = event.detail.requestedAccordionItem; @@ -117,11 +128,7 @@ export class Accordion { // //-------------------------------------------------------------------------- - /** created list of Accordion items */ - private items = []; - - /** keep track of whether the items have been sorted so we don't re-sort */ - private sorted = false; + mutationObserver = createObserver("mutation", () => this.updateAccordionItems()); /** keep track of the requested item for multi mode */ private requestedAccordionItem: HTMLCalciteAccordionItemElement; @@ -132,6 +139,13 @@ export class Accordion { // //-------------------------------------------------------------------------- - private sortItems = (items: any[]): any[] => - items.sort((a, b) => a.position - b.position).map((a) => a.item); + private updateAccordionItems(): void { + this.el.querySelectorAll("calcite-accordion-item").forEach((item) => { + item.iconPosition = this.iconPosition; + item.iconType = this.iconType; + item.selectionMode = this.selectionMode; + item.scale = this.scale; + item.accordionParent = this.el; + }); + } } From ef6e90d0c88df8305f9076906c74fb089fea02f1 Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Fri, 7 Jul 2023 19:11:22 -0700 Subject: [PATCH 09/20] ci: allow lint-staged to find typescript parser config file (#7297) **Related Issue:** N/A ## Summary `lint-staged` correctly fails now when there are eslint errors in `packages/calcite-components`. --- .lintstagedrc.cjs | 19 ---- .lintstagedrc.json | 6 ++ .../{.eslintrc.json => .eslintrc.cjs} | 96 ++++++++++--------- 3 files changed, 55 insertions(+), 66 deletions(-) delete mode 100644 .lintstagedrc.cjs create mode 100644 .lintstagedrc.json rename packages/calcite-components/{.eslintrc.json => .eslintrc.cjs} (56%) diff --git a/.lintstagedrc.cjs b/.lintstagedrc.cjs deleted file mode 100644 index 7e653c251e1..00000000000 --- a/.lintstagedrc.cjs +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - "*.{json,html,yml}": [ - "prettier --write" - ], - "*.scss": [ - "stylelint --fix", - "prettier --write" - ], - "packages/**/*.{ts,tsx}": [ - // prevents an error due to tsconfig.json not being in the root directory - // https://github.com/okonet/lint-staged/issues/825#issuecomment-620018284 - () => "eslint --ext .ts,.tsx --fix", - "prettier --write" - ], - "*.md": [ - "markdownlint --fix --disable MD024 MD013 MD041 MD033", - "prettier --write" - ] -}; diff --git a/.lintstagedrc.json b/.lintstagedrc.json new file mode 100644 index 00000000000..2ce27aebc5b --- /dev/null +++ b/.lintstagedrc.json @@ -0,0 +1,6 @@ +{ + "*.{json,html,yml}": ["prettier --write"], + "*.scss": ["stylelint --fix", "prettier --write"], + "packages/**/*.{ts,tsx}": ["eslint --ext .ts,.tsx --fix", "prettier --write"], + "*.md": ["markdownlint --fix --disable MD024 MD013 MD041 MD033", "prettier --write"] +} diff --git a/packages/calcite-components/.eslintrc.json b/packages/calcite-components/.eslintrc.cjs similarity index 56% rename from packages/calcite-components/.eslintrc.json rename to packages/calcite-components/.eslintrc.cjs index 65056ad0151..2a3b318f24f 100644 --- a/packages/calcite-components/.eslintrc.json +++ b/packages/calcite-components/.eslintrc.cjs @@ -1,8 +1,9 @@ -{ - "env": { +module.exports = { + root: true, + env: { "jest/globals": true }, - "extends": [ + extends: [ "plugin:@esri/calcite-components/recommended", "plugin:@stencil-community/recommended", "plugin:@typescript-eslint/recommended", @@ -10,14 +11,15 @@ "plugin:jsdoc/recommended", "prettier" ], - "ignorePatterns": ["dist", "docs", "hydrate", "www"], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "./tsconfig-eslint.json", - "ecmaVersion": 2018, - "sourceType": "module" + ignorePatterns: ["dist", "docs", "hydrate", "www"], + parser: "@typescript-eslint/parser", + parserOptions: { + tsconfigRootDir: __dirname, + project: ["tsconfig-eslint.json"], + ecmaVersion: 2021, + sourceType: "module" }, - "plugins": [ + plugins: [ "@esri/calcite-components", "@typescript-eslint", "eslint-plugin-react", @@ -27,16 +29,16 @@ "prettier", "unicorn" ], - "rules": { + rules: { "@esri/calcite-components/ban-events": [ "warn", { - "event": "keyup", - "message": "Use keydown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." + event: "keyup", + message: "Use keydown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." }, { - "event": "keypress", - "message": "Use keydown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." + event: "keypress", + message: "Use keydown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." } ], "@stencil-community/decorators-context": "off", @@ -51,8 +53,8 @@ "@typescript-eslint/explicit-module-boundary-types": [ "error", { - "allowArgumentsExplicitlyTypedAsAny": true, - "allowedNames": [ + allowArgumentsExplicitlyTypedAsAny: true, + allowedNames: [ "connectedCallback", "disconnectedCallback", "componentWillRender", @@ -67,20 +69,20 @@ ], "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-unused-vars": "error", - "curly": "error", - "import/no-dynamic-require": ["error", { "esmodule": true }], + curly: "error", + "import/no-dynamic-require": ["error", { esmodule: true }], "jest/expect-expect": "off", "jest/no-export": "warn", "jsdoc/check-tag-names": "off", "jsdoc/require-jsdoc": "off", - "jsdoc/tag-lines": ["error", "any", { "startLines": 1 }], + "jsdoc/tag-lines": ["error", "any", { startLines: 1 }], "lines-between-class-members": ["error", "always"], "no-eval": "error", "no-implied-eval": "error", "no-multiple-empty-lines": [ "error", { - "max": 1 + max: 1 } ], "no-new-func": "error", @@ -88,14 +90,14 @@ "react/forbid-component-props": [ "warn", { - "forbid": [ + forbid: [ { - "propName": "onKeyPress", - "message": "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." + propName: "onKeyPress", + message: "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." }, { - "propName": "onKeyUp", - "message": "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." + propName: "onKeyUp", + message: "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." } ] } @@ -103,14 +105,14 @@ "react/forbid-dom-props": [ "warn", { - "forbid": [ + forbid: [ { - "propName": "onKeyPress", - "message": "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." + propName: "onKeyPress", + message: "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc.)." }, { - "propName": "onKeyUp", - "message": "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc)." + propName: "onKeyUp", + message: "Use onKeyDown instead for consistent interaction behavior (e.g., closing, moving focus, etc)." } ] } @@ -123,28 +125,28 @@ "unicorn/prevent-abbreviations": [ "error", { - "allowList": { - "e2ePage": true + allowList: { + e2ePage: true }, - "extendDefaultReplacements": false, - "replacements": { - "e": { - "error": true, - "event": true + extendDefaultReplacements: false, + replacements: { + e: { + error: true, + event: true } }, - "checkProperties": false, - "checkFilenames": false + checkProperties: false, + checkFilenames: false } ] }, - "settings": { - "react": { - "pragma": "h" + settings: { + react: { + pragma: "h" }, - "jsdoc": { - "ignoreInternal": true, - "ignorePrivate": true + jsdoc: { + ignoreInternal: true, + ignorePrivate: true } } -} +}; From 162362a6033172530a8e221fb274599d1f6bb6c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 8 Jul 2023 02:32:15 +0000 Subject: [PATCH 10/20] chore: release next --- package-lock.json | 14 +++++++------- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 6 ++++++ packages/calcite-components/package.json | 4 ++-- .../eslint-plugin-calcite-components/package.json | 2 +- 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7db186eb15f..6a6b6bedc81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41017,7 +41017,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "1.5.0-next.16", + "version": "1.5.0-next.17", "license": "SEE LICENSE.md", "dependencies": { "@floating-ui/dom": "1.4.3", @@ -41034,7 +41034,7 @@ "devDependencies": { "@esri/calcite-design-tokens": "1.0.0", "@esri/calcite-ui-icons": "3.23.1", - "@esri/eslint-plugin-calcite-components": "0.2.2", + "@esri/eslint-plugin-calcite-components": "^0.2.3-next.0", "@stencil-community/eslint-plugin": "0.5.0", "@stencil/postcss": "2.1.0", "@stencil/react-output-target": "0.5.3", @@ -41044,10 +41044,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "1.5.0-next.16", + "version": "1.5.0-next.17", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "^1.5.0-next.16" + "@esri/calcite-components": "^1.5.0-next.17" }, "peerDependencies": { "react": ">=16.7", @@ -41056,7 +41056,7 @@ }, "packages/eslint-plugin-calcite-components": { "name": "@esri/eslint-plugin-calcite-components", - "version": "0.2.2", + "version": "0.2.3-next.0", "license": "SEE LICENSE.md", "dependencies": { "stencil-eslint-core": "0.3.1" @@ -42873,7 +42873,7 @@ "requires": { "@esri/calcite-design-tokens": "1.0.0", "@esri/calcite-ui-icons": "3.23.1", - "@esri/eslint-plugin-calcite-components": "0.2.2", + "@esri/eslint-plugin-calcite-components": "^0.2.3-next.0", "@floating-ui/dom": "1.4.3", "@stencil-community/eslint-plugin": "0.5.0", "@stencil/core": "2.22.3", @@ -42894,7 +42894,7 @@ "@esri/calcite-components-react": { "version": "file:packages/calcite-components-react", "requires": { - "@esri/calcite-components": "^1.5.0-next.16" + "@esri/calcite-components": "^1.5.0-next.17" } }, "@esri/calcite-design-tokens": { diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index ced573cb06f..4cd10a84bd2 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.17](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.16...@esri/calcite-components-react@1.5.0-next.17) (2023-07-08) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [1.5.0-next.16](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.15...@esri/calcite-components-react@1.5.0-next.16) (2023-07-07) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index ecc1f691da7..8850ff07dd5 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,7 +1,7 @@ { "name": "@esri/calcite-components-react", "sideEffects": false, - "version": "1.5.0-next.16", + "version": "1.5.0-next.17", "description": "A set of React components that wrap calcite components", "license": "SEE LICENSE.md", "scripts": { @@ -18,7 +18,7 @@ "dist/" ], "dependencies": { - "@esri/calcite-components": "^1.5.0-next.16" + "@esri/calcite-components": "^1.5.0-next.17" }, "peerDependencies": { "react": ">=16.7", diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index f9b41b71541..f956c8eaff1 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.17](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.16...@esri/calcite-components@1.5.0-next.17) (2023-07-08) + +### Bug Fixes + +- **accordion, accordion-item:** `icon-position`, `icon-type`, `selection-mode` and `scale` can now be set as props or attributes ([#7191](https://github.com/Esri/calcite-design-system/issues/7191)) ([2b09aba](https://github.com/Esri/calcite-design-system/commit/2b09abacf4f265866f44f210a8c83b580e865fdf)), closes [#6199](https://github.com/Esri/calcite-design-system/issues/6199) [#6038](https://github.com/Esri/calcite-design-system/issues/6038) [#6200](https://github.com/Esri/calcite-design-system/issues/6200) [#6199](https://github.com/Esri/calcite-design-system/issues/6199) [#6038](https://github.com/Esri/calcite-design-system/issues/6038) + ## [1.5.0-next.16](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.15...@esri/calcite-components@1.5.0-next.16) (2023-07-07) ### Features diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index a28134dbe62..12637290f6f 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "1.5.0-next.16", + "version": "1.5.0-next.17", "description": "Web Components for Esri's Calcite Design System.", "main": "dist/index.cjs.js", "module": "dist/index.js", @@ -75,7 +75,7 @@ "devDependencies": { "@esri/calcite-design-tokens": "1.0.0", "@esri/calcite-ui-icons": "3.23.1", - "@esri/eslint-plugin-calcite-components": "0.2.2", + "@esri/eslint-plugin-calcite-components": "^0.2.3-next.0", "@stencil-community/eslint-plugin": "0.5.0", "@stencil/postcss": "2.1.0", "@stencil/react-output-target": "0.5.3", diff --git a/packages/eslint-plugin-calcite-components/package.json b/packages/eslint-plugin-calcite-components/package.json index 791da6d7028..564c319d1ea 100644 --- a/packages/eslint-plugin-calcite-components/package.json +++ b/packages/eslint-plugin-calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/eslint-plugin-calcite-components", - "version": "0.2.2", + "version": "0.2.3-next.0", "description": "ESLint rules for @esri/calcite-components", "main": "dist/index.js", "files": [ From 569f387e478e1f1f65983b851b936623d06ca93b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:59:40 -0700 Subject: [PATCH 11/20] build(deps): Bump stylelint from 14.16.1 to 15.10.1 (#7296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.1 to 15.10.1.
Release notes

Sourced from stylelint's releases.

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

15.7.0

  • Added: splitList: boolean to selector-nested-pattern (#6896) (@​is2ei).
  • Fixed: unit-no-unknown false positives for unicode-range descriptors (#6892) (@​romainmenke).

... (truncated)

Changelog

Sourced from stylelint's changelog.

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by mattxwang, a new releaser for stylelint since your current version.


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint&package-manager=npm_and_yarn&previous-version=14.16.1&new-version=15.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Esri/calcite-design-system/network/alerts).
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Driscoll Co-authored-by: JC Franco --- package-lock.json | 546 +++++++++++------- package.json | 4 +- packages/calcite-components/.stylelintrc.json | 6 +- 3 files changed, 347 insertions(+), 209 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6a6b6bedc81..89342c33bbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -80,8 +80,8 @@ "storybook": "6.5.16", "storybook-addon-themes": "6.1.0", "storybook-rtl-addon": "0.3.3", - "stylelint": "14.16.1", - "stylelint-config-recommended-scss": "8.0.0", + "stylelint": "15.10.1", + "stylelint-config-recommended-scss": "12.0.0", "stylelint-use-logical-spec": "5.0.0", "tailwindcss": "3.3.2", "ts-jest": "27.1.5", @@ -2281,10 +2281,32 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@csstools/selector-specificity": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz", - "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==", + "node_modules/@csstools/css-parser-algorithms": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.0.tgz", + "integrity": "sha512-dTKSIHHWc0zPvcS5cqGP+/TPFUJB0ekJ9dGKvMAFoNuBFhDPBt9OMGNZiIA5vTiNdGHHBeScYPXIGBMnVOahsA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "@csstools/css-tokenizer": "^2.1.1" + } + }, + "node_modules/@csstools/css-tokenizer": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.1.tgz", + "integrity": "sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==", "dev": true, "engines": { "node": "^14 || ^16 || >=18" @@ -2292,9 +2314,51 @@ "funding": { "type": "opencollective", "url": "https://opencollective.com/csstools" + } + }, + "node_modules/@csstools/media-query-list-parser": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.2.tgz", + "integrity": "sha512-M8cFGGwl866o6++vIY7j1AKuq9v57cf+dGepScwCcbut9ypJNr4Cj+LLTWligYUZ0uyhEoJDKt5lvyBfh2L3ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "postcss-selector-parser": "^6.0.10" + "@csstools/css-parser-algorithms": "^2.3.0", + "@csstools/css-tokenizer": "^2.1.1" + } + }, + "node_modules/@csstools/selector-specificity": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", + "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.13" } }, "node_modules/@devtools-ds/object-inspector": { @@ -15919,6 +15983,19 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/css-tree": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.30", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, "node_modules/css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -18714,9 +18791,9 @@ "dev": true }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -26243,9 +26320,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.26.0.tgz", - "integrity": "sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.27.0.tgz", + "integrity": "sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==", "dev": true }, "node_modules/latest-version": { @@ -28127,6 +28204,12 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/mdn-data": { + "version": "2.0.30", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", + "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", + "dev": true + }, "node_modules/mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -36159,55 +36242,57 @@ } }, "node_modules/stylelint": { - "version": "14.16.1", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.16.1.tgz", - "integrity": "sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A==", + "version": "15.10.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.10.1.tgz", + "integrity": "sha512-CYkzYrCFfA/gnOR+u9kJ1PpzwG10WLVnoxHDuBA/JiwGqdM9+yx9+ou6SE/y9YHtfv1mcLo06fdadHTOx4gBZQ==", "dev": true, "dependencies": { - "@csstools/selector-specificity": "^2.0.2", + "@csstools/css-parser-algorithms": "^2.3.0", + "@csstools/css-tokenizer": "^2.1.1", + "@csstools/media-query-list-parser": "^2.1.2", + "@csstools/selector-specificity": "^3.0.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^7.1.0", + "cosmiconfig": "^8.2.0", "css-functions-list": "^3.1.0", + "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.2.12", + "fast-glob": "^3.3.0", "fastest-levenshtein": "^1.0.16", "file-entry-cache": "^6.0.1", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", - "html-tags": "^3.2.0", - "ignore": "^5.2.1", + "html-tags": "^3.3.1", + "ignore": "^5.2.4", "import-lazy": "^4.0.0", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.26.0", + "known-css-properties": "^0.27.0", "mathml-tag-names": "^2.1.3", - "meow": "^9.0.0", + "meow": "^10.1.5", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.19", - "postcss-media-query-parser": "^0.2.3", + "postcss": "^8.4.24", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.11", + "postcss-selector-parser": "^6.0.13", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1", "style-search": "^0.1.0", - "supports-hyperlinks": "^2.3.0", + "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", "table": "^6.8.1", - "v8-compile-cache": "^2.3.0", - "write-file-atomic": "^4.0.2" + "write-file-atomic": "^5.0.1" }, "bin": { - "stylelint": "bin/stylelint.js" + "stylelint": "bin/stylelint.mjs" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" }, "funding": { "type": "opencollective", @@ -36215,27 +36300,27 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz", - "integrity": "sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", + "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", "dev": true, "peerDependencies": { - "stylelint": "^14.10.0" + "stylelint": "^15.5.0" } }, "node_modules/stylelint-config-recommended-scss": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-8.0.0.tgz", - "integrity": "sha512-BxjxEzRaZoQb7Iinc3p92GS6zRdRAkIuEu2ZFLTxJK2e1AIcCb5B5MXY9KOXdGTnYFZ+KKx6R4Fv9zU6CtMYPQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-12.0.0.tgz", + "integrity": "sha512-5Bb2mlGy6WLa30oNeKpZvavv2lowJUsUJO25+OA68GFTemlwd1zbFsL7q0bReKipOSU3sG47hKneZ6Nd+ctrFA==", "dev": true, "dependencies": { - "postcss-scss": "^4.0.2", - "stylelint-config-recommended": "^9.0.0", - "stylelint-scss": "^4.0.0" + "postcss-scss": "^4.0.6", + "stylelint-config-recommended": "^12.0.0", + "stylelint-scss": "^5.0.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^14.10.0" + "stylelint": "^15.5.0" }, "peerDependenciesMeta": { "postcss": { @@ -36244,14 +36329,14 @@ } }, "node_modules/stylelint-scss": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz", - "integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.0.1.tgz", + "integrity": "sha512-n87iCRZrr2J7//I/QFsDXxFLnHKw633U4qvWZ+mOW6KDAp/HLj06H+6+f9zOuTYy+MdGdTuCSDROCpQIhw5fvQ==", "dev": true, "dependencies": { "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.11", + "postcss-selector-parser": "^6.0.13", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { @@ -36270,36 +36355,43 @@ "stylelint": ">=13" } }, + "node_modules/stylelint/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/stylelint/node_modules/balanced-match": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", "dev": true }, - "node_modules/stylelint/node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "node_modules/stylelint/node_modules/cosmiconfig": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", + "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", "dev": true, "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=14" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/d-fischer" } }, - "node_modules/stylelint/node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "node_modules/stylelint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/stylelint/node_modules/is-plain-object": { @@ -36311,86 +36403,94 @@ "node": ">=0.10.0" } }, - "node_modules/stylelint/node_modules/meow": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", + "node_modules/stylelint/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize": "^1.2.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "engines": { - "node": ">=10" + "argparse": "^2.0.1" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/stylelint/node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "node_modules/stylelint/node_modules/postcss": { + "version": "8.4.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", + "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, "engines": { - "node": ">=8" + "node": "^10 || ^12 || >=14" } }, - "node_modules/stylelint/node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "node_modules/stylelint/node_modules/signal-exit": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", "dev": true, - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, "engines": { - "node": ">=8" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/stylelint/node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "node_modules/stylelint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, "engines": { "node": ">=8" } }, - "node_modules/stylelint/node_modules/type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "node_modules/stylelint/node_modules/supports-hyperlinks": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", + "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", "dev": true, - "engines": { - "node": ">=10" + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=14.18" } }, "node_modules/stylelint/node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, "dependencies": { "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "signal-exit": "^4.0.1" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/sucrase": { @@ -42581,10 +42681,30 @@ } } }, + "@csstools/css-parser-algorithms": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.0.tgz", + "integrity": "sha512-dTKSIHHWc0zPvcS5cqGP+/TPFUJB0ekJ9dGKvMAFoNuBFhDPBt9OMGNZiIA5vTiNdGHHBeScYPXIGBMnVOahsA==", + "dev": true, + "requires": {} + }, + "@csstools/css-tokenizer": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.1.1.tgz", + "integrity": "sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==", + "dev": true + }, + "@csstools/media-query-list-parser": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.2.tgz", + "integrity": "sha512-M8cFGGwl866o6++vIY7j1AKuq9v57cf+dGepScwCcbut9ypJNr4Cj+LLTWligYUZ0uyhEoJDKt5lvyBfh2L3ZQ==", + "dev": true, + "requires": {} + }, "@csstools/selector-specificity": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz", - "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", + "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", "dev": true, "requires": {} }, @@ -52898,6 +53018,16 @@ "nth-check": "^2.0.1" } }, + "css-tree": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", + "dev": true, + "requires": { + "mdn-data": "2.0.30", + "source-map-js": "^1.0.1" + } + }, "css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -55070,9 +55200,9 @@ "dev": true }, "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -60772,9 +60902,9 @@ "dev": true }, "known-css-properties": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.26.0.tgz", - "integrity": "sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.27.0.tgz", + "integrity": "sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==", "dev": true }, "latest-version": { @@ -62195,6 +62325,12 @@ "integrity": "sha512-jVU0Nr2B9X3MU4tSK7JP1CMkSvOj7X5l/GboG1tKRw52lLF1x2Ju92Ms9tNetCcbfX3hzlM73zYo2NKkWSfF/A==", "dev": true }, + "mdn-data": { + "version": "2.0.30", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", + "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", + "dev": true + }, "mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -68454,72 +68590,81 @@ } }, "stylelint": { - "version": "14.16.1", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.16.1.tgz", - "integrity": "sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A==", + "version": "15.10.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.10.1.tgz", + "integrity": "sha512-CYkzYrCFfA/gnOR+u9kJ1PpzwG10WLVnoxHDuBA/JiwGqdM9+yx9+ou6SE/y9YHtfv1mcLo06fdadHTOx4gBZQ==", "dev": true, "requires": { - "@csstools/selector-specificity": "^2.0.2", + "@csstools/css-parser-algorithms": "^2.3.0", + "@csstools/css-tokenizer": "^2.1.1", + "@csstools/media-query-list-parser": "^2.1.2", + "@csstools/selector-specificity": "^3.0.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^7.1.0", + "cosmiconfig": "^8.2.0", "css-functions-list": "^3.1.0", + "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.2.12", + "fast-glob": "^3.3.0", "fastest-levenshtein": "^1.0.16", "file-entry-cache": "^6.0.1", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", - "html-tags": "^3.2.0", - "ignore": "^5.2.1", + "html-tags": "^3.3.1", + "ignore": "^5.2.4", "import-lazy": "^4.0.0", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.26.0", + "known-css-properties": "^0.27.0", "mathml-tag-names": "^2.1.3", - "meow": "^9.0.0", + "meow": "^10.1.5", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.19", - "postcss-media-query-parser": "^0.2.3", + "postcss": "^8.4.24", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.11", + "postcss-selector-parser": "^6.0.13", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1", "style-search": "^0.1.0", - "supports-hyperlinks": "^2.3.0", + "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", "table": "^6.8.1", - "v8-compile-cache": "^2.3.0", - "write-file-atomic": "^4.0.2" + "write-file-atomic": "^5.0.1" }, "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "balanced-match": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", "dev": true }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "cosmiconfig": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", + "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", "dev": true, "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0" } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "is-plain-object": { @@ -68528,93 +68673,90 @@ "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "dev": true }, - "meow": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize": "^1.2.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" + "argparse": "^2.0.1" } }, - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true - }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "postcss": { + "version": "8.4.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", + "integrity": "sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw==", "dev": true, "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" } }, - "trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "signal-exit": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", + "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", "dev": true }, - "type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "dev": true + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-hyperlinks": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", + "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", + "dev": true, + "requires": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + } }, "write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, "requires": { "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "signal-exit": "^4.0.1" } } } }, "stylelint-config-recommended": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz", - "integrity": "sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", + "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", "dev": true, "requires": {} }, "stylelint-config-recommended-scss": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-8.0.0.tgz", - "integrity": "sha512-BxjxEzRaZoQb7Iinc3p92GS6zRdRAkIuEu2ZFLTxJK2e1AIcCb5B5MXY9KOXdGTnYFZ+KKx6R4Fv9zU6CtMYPQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-12.0.0.tgz", + "integrity": "sha512-5Bb2mlGy6WLa30oNeKpZvavv2lowJUsUJO25+OA68GFTemlwd1zbFsL7q0bReKipOSU3sG47hKneZ6Nd+ctrFA==", "dev": true, "requires": { - "postcss-scss": "^4.0.2", - "stylelint-config-recommended": "^9.0.0", - "stylelint-scss": "^4.0.0" + "postcss-scss": "^4.0.6", + "stylelint-config-recommended": "^12.0.0", + "stylelint-scss": "^5.0.0" } }, "stylelint-scss": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz", - "integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.0.1.tgz", + "integrity": "sha512-n87iCRZrr2J7//I/QFsDXxFLnHKw633U4qvWZ+mOW6KDAp/HLj06H+6+f9zOuTYy+MdGdTuCSDROCpQIhw5fvQ==", "dev": true, "requires": { "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.11", + "postcss-selector-parser": "^6.0.13", "postcss-value-parser": "^4.2.0" } }, diff --git a/package.json b/package.json index 2bdc354132f..49f2a5a5d1c 100644 --- a/package.json +++ b/package.json @@ -93,8 +93,8 @@ "storybook": "6.5.16", "storybook-addon-themes": "6.1.0", "storybook-rtl-addon": "0.3.3", - "stylelint": "14.16.1", - "stylelint-config-recommended-scss": "8.0.0", + "stylelint": "15.10.1", + "stylelint-config-recommended-scss": "12.0.0", "stylelint-use-logical-spec": "5.0.0", "tailwindcss": "3.3.2", "ts-jest": "27.1.5", diff --git a/packages/calcite-components/.stylelintrc.json b/packages/calcite-components/.stylelintrc.json index 2a24556d6f6..140b51fcf3b 100644 --- a/packages/calcite-components/.stylelintrc.json +++ b/packages/calcite-components/.stylelintrc.json @@ -3,8 +3,6 @@ "extends": "stylelint-config-recommended-scss", "plugins": ["stylelint-use-logical-spec"], "rules": { - "declaration-block-semicolon-newline-after": "always-multi-line", - "declaration-colon-space-after": "always", "liberty/use-logical-spec": "always", "no-descending-specificity": [ true, @@ -12,7 +10,6 @@ "ignore": ["selectors-within-list"] } ], - "property-case": "lower", "selector-disallowed-list": [ ["/:host-context/"], { @@ -31,7 +28,6 @@ { "ignoreTypes": ["/^calcite-/"] } - ], - "unit-case": "lower" + ] } } From c5678eb09e8d0e26b2956f52401d77305a6bee34 Mon Sep 17 00:00:00 2001 From: Anveshreddy mekala Date: Mon, 10 Jul 2023 18:04:30 -0500 Subject: [PATCH 12/20] feat(text-area): provide additional context for AT users when character limit exceeds (#7299) **Related Issue:** #6630 ## Summary This PR will provide additional context for Assistive Technology users when character limit exceeds. After this change, an example error message looks like below: `The current character length is 14, which exceeds the maximum character length of 10.` --- .../assets/text-area/t9n/messages.json | 3 +- .../assets/text-area/t9n/messages_ar.json | 3 +- .../assets/text-area/t9n/messages_bg.json | 3 +- .../assets/text-area/t9n/messages_bs.json | 3 +- .../assets/text-area/t9n/messages_ca.json | 3 +- .../assets/text-area/t9n/messages_cs.json | 3 +- .../assets/text-area/t9n/messages_da.json | 3 +- .../assets/text-area/t9n/messages_de.json | 3 +- .../assets/text-area/t9n/messages_el.json | 3 +- .../assets/text-area/t9n/messages_en.json | 3 +- .../assets/text-area/t9n/messages_es.json | 3 +- .../assets/text-area/t9n/messages_et.json | 3 +- .../assets/text-area/t9n/messages_fi.json | 3 +- .../assets/text-area/t9n/messages_fr.json | 3 +- .../assets/text-area/t9n/messages_he.json | 3 +- .../assets/text-area/t9n/messages_hr.json | 3 +- .../assets/text-area/t9n/messages_hu.json | 3 +- .../assets/text-area/t9n/messages_id.json | 3 +- .../assets/text-area/t9n/messages_it.json | 3 +- .../assets/text-area/t9n/messages_ja.json | 3 +- .../assets/text-area/t9n/messages_ko.json | 3 +- .../assets/text-area/t9n/messages_lt.json | 3 +- .../assets/text-area/t9n/messages_lv.json | 3 +- .../assets/text-area/t9n/messages_nl.json | 3 +- .../assets/text-area/t9n/messages_no.json | 3 +- .../assets/text-area/t9n/messages_pl.json | 3 +- .../assets/text-area/t9n/messages_pt-BR.json | 3 +- .../assets/text-area/t9n/messages_pt-PT.json | 3 +- .../assets/text-area/t9n/messages_ro.json | 3 +- .../assets/text-area/t9n/messages_ru.json | 3 +- .../assets/text-area/t9n/messages_sk.json | 3 +- .../assets/text-area/t9n/messages_sl.json | 3 +- .../assets/text-area/t9n/messages_sr.json | 3 +- .../assets/text-area/t9n/messages_sv.json | 3 +- .../assets/text-area/t9n/messages_th.json | 3 +- .../assets/text-area/t9n/messages_tr.json | 3 +- .../assets/text-area/t9n/messages_uk.json | 3 +- .../assets/text-area/t9n/messages_vi.json | 3 +- .../assets/text-area/t9n/messages_zh-CN.json | 3 +- .../assets/text-area/t9n/messages_zh-HK.json | 3 +- .../assets/text-area/t9n/messages_zh-TW.json | 3 +- .../src/components/text-area/interfaces.ts | 4 ++ .../src/components/text-area/text-area.tsx | 46 ++++++++++++++----- 43 files changed, 79 insertions(+), 94 deletions(-) create mode 100644 packages/calcite-components/src/components/text-area/interfaces.ts diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json index ddaeea07d73..3afe8861bb3 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages.json @@ -1,5 +1,4 @@ { "invalid": "Invalid", - "tooLong": "Character limit exceeded", - "longText": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." + "tooLong": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json index 3e093ace7ca..5ee7c521bbe 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ar.json @@ -1,5 +1,4 @@ { "invalid": "غير صالح", - "tooLong": "تم تجاوز حد الأحرف", - "longText": "طول الأحرف الحالي هو {currentLength}، والذي يتجاوز الحد الأقصى لطول أحرف {maxLength}." + "tooLong": "طول الأحرف الحالي هو {currentLength}، والذي يتجاوز الحد الأقصى لطول أحرف {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json index a09e1f4123c..c7107e7dad3 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bg.json @@ -1,5 +1,4 @@ { "invalid": "Невалидно", - "tooLong": "Превишен лимит за символи", - "longText": "Текущата дължина на знака е{currentLength}, която надвишава максималната дължина на знака от{maxLength}." + "tooLong": "Текущата дължина на знака е{currentLength}, която надвишава максималната дължина на знака от{maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json index 7f33f70421d..c8e894f2034 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_bs.json @@ -1,5 +1,4 @@ { "invalid": "Nevažeće", - "tooLong": "Premašeno je ograničenje znakova", - "longText": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." + "tooLong": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json index a0b2ea66214..3863bff01f6 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ca.json @@ -1,5 +1,4 @@ { "invalid": "No vàlid", - "tooLong": "S'ha excedit el límit de caràcters", - "longText": "La longitud de caràcters actual és de {currentLength}, que supera la longitud de caràcters màxima de {maxLength}." + "tooLong": "La longitud de caràcters actual és de {currentLength}, que supera la longitud de caràcters màxima de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json index 3579dbe45e1..0dfc7ac8c1e 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_cs.json @@ -1,5 +1,4 @@ { "invalid": "Neplatný", - "tooLong": "Překročen limit počtu znaků", - "longText": "Aktuální počet znaků je {currentLength}, což překračuje maximální počet znaků {maxLength}." + "tooLong": "Aktuální počet znaků je {currentLength}, což překračuje maximální počet znaků {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json index 1c7fa5968cf..4c330cbdbcf 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_da.json @@ -1,5 +1,4 @@ { "invalid": "Ugyldig", - "tooLong": "Grænsen for antallet af tegn er overskredet", - "longText": "Den aktuelle tegnlængde er {currentLength}, hvilket overskrider den maksimale tegnlængde på {maxLength}." + "tooLong": "Den aktuelle tegnlængde er {currentLength}, hvilket overskrider den maksimale tegnlængde på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json index 9bc6fcbdce0..1dab159ca77 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_de.json @@ -1,5 +1,4 @@ { "invalid": "Ungültig", - "tooLong": "Zeichenlimit wurde überschritten", - "longText": "Die aktuelle Zeichenanzahl beträgt {currentLength} und überschreitet damit die maximal zulässige Anzahl von {maxLength} Zeichen." + "tooLong": "Die aktuelle Zeichenanzahl beträgt {currentLength} und überschreitet damit die maximal zulässige Anzahl von {maxLength} Zeichen." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json index dfb62e95008..20e1ff3221f 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_el.json @@ -1,5 +1,4 @@ { "invalid": "Μη έγκυρο", - "tooLong": "Υπέρβαση ορίου χαρακτήρων", - "longText": "Το τρέχον μήκος χαρακτήρων είναι {currentLength}, το οποίο υπερβαίνει το μέγιστο μήκος χαρακτήρων του {maxLength}." + "tooLong": "Το τρέχον μήκος χαρακτήρων είναι {currentLength}, το οποίο υπερβαίνει το μέγιστο μήκος χαρακτήρων του {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json index ddaeea07d73..3afe8861bb3 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_en.json @@ -1,5 +1,4 @@ { "invalid": "Invalid", - "tooLong": "Character limit exceeded", - "longText": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." + "tooLong": "The current character length is {currentLength}, which exceeds the maximum character length of {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json index da4d7a00131..ff9c468354a 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_es.json @@ -1,5 +1,4 @@ { "invalid": "No válido", - "tooLong": "Se superó el límite de caracteres", - "longText": "La longitud de caracteres actual es de {currentLength}, lo cual supera la longitud de caracteres máxima de {maxLength}." + "tooLong": "La longitud de caracteres actual es de {currentLength}, lo cual supera la longitud de caracteres máxima de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json index 1444d5efc53..10c76ffa3e9 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_et.json @@ -1,5 +1,4 @@ { "invalid": "Sobimatu", - "tooLong": "Tähemärkide piirang on ületatud", - "longText": "Praegune tähemärkide arv on {currentLength}, mis ületab tähemärkide maksimaalse arvu{maxLength}." + "tooLong": "Praegune tähemärkide arv on {currentLength}, mis ületab tähemärkide maksimaalse arvu{maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json index c3d9ba5ebd1..bb306e72ccd 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fi.json @@ -1,5 +1,4 @@ { "invalid": "Virheellinen", - "tooLong": "Merkkien määrä ylitetty", - "longText": "Nykyinen merkkipituus on {currentLength}, joka ylittää {maxLength} merkkien enimmäispituuden." + "tooLong": "Nykyinen merkkipituus on {currentLength}, joka ylittää {maxLength} merkkien enimmäispituuden." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json index 035502c840a..a3d11109bcd 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_fr.json @@ -1,5 +1,4 @@ { "invalid": "Non valide", - "tooLong": "Limite de caractères dépassée", - "longText": "La longueur actuelle de caractères est de {currentLength}, ce qui dépasse la longueur maximale de {maxLength} caractères." + "tooLong": "La longueur actuelle de caractères est de {currentLength}, ce qui dépasse la longueur maximale de {maxLength} caractères." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json index ceb475ddcde..dbdf8490afb 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_he.json @@ -1,5 +1,4 @@ { "invalid": "לא תקין", - "tooLong": "חריגה ממגבלת מספר התווים", - "longText": "אורך התו הנוכחי הוא {currentLength}, אשר חורג מאורך התו המרבי של {maxLength}." + "tooLong": "אורך התו הנוכחי הוא {currentLength}, אשר חורג מאורך התו המרבי של {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json index 7f33f70421d..c8e894f2034 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hr.json @@ -1,5 +1,4 @@ { "invalid": "Nevažeće", - "tooLong": "Premašeno je ograničenje znakova", - "longText": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." + "tooLong": "Trenutni broj znakova je {currentLength}, što premašuje maksimalni broj znakova od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json index 555ce4e1f22..cf49563268f 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_hu.json @@ -1,5 +1,4 @@ { "invalid": "Érvénytelen", - "tooLong": "Karakterkorlát túllépve", - "longText": "Az aktuális karakterhossz {currentLength}, ami meghaladja a maximális {maxLength} karakterhosszúságot." + "tooLong": "Az aktuális karakterhossz {currentLength}, ami meghaladja a maximális {maxLength} karakterhosszúságot." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json index 2a103e995d9..a74cc4021b5 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_id.json @@ -1,5 +1,4 @@ { "invalid": "Tidak valid", - "tooLong": "Batas karakter terlampaui", - "longText": "Panjang karakter saat ini adalah {currentLength}, yang mana melebihi panjang karakter maksimum {maxLength}." + "tooLong": "Panjang karakter saat ini adalah {currentLength}, yang mana melebihi panjang karakter maksimum {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json index 2e81a4d2174..7b3e4201e1c 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_it.json @@ -1,5 +1,4 @@ { "invalid": "Non valido", - "tooLong": "Limite di caratteri superato", - "longText": "La lunghezza in caratteri corrente è {currentLength}, superiore al limite massimo di {maxLength}." + "tooLong": "La lunghezza in caratteri corrente è {currentLength}, superiore al limite massimo di {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json index 024994408f8..30be9895a3e 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ja.json @@ -1,5 +1,4 @@ { "invalid": "無効", - "tooLong": "文字制限を超えています", - "longText": "現在の文字数は {currentLength} です。これは、文字数の最大値である {maxLength} 文字を超過しています。" + "tooLong": "現在の文字数は {currentLength} です。これは、文字数の最大値である {maxLength} 文字を超過しています。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json index 70de6a5b5f1..ea29c834aab 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ko.json @@ -1,5 +1,4 @@ { "invalid": "잘못됨", - "tooLong": "문자 제한을 초과함", - "longText": "현재 문자 길이({currentLength})가 최대 문자 길이({maxLength})를 초과합니다." + "tooLong": "현재 문자 길이({currentLength})가 최대 문자 길이({maxLength})를 초과합니다." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json index 7285396766c..d9c4f25fa48 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lt.json @@ -1,5 +1,4 @@ { "invalid": "Neteisingas", - "tooLong": "Viršytas simbolių limitas", - "longText": "Dabartinis simbolių skaičius yra {currentLength}, o tai viršija maksimalų {maxLength} simbolių ilgį." + "tooLong": "Dabartinis simbolių skaičius yra {currentLength}, o tai viršija maksimalų {maxLength} simbolių ilgį." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json index f064dacebe8..b7229820b7d 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_lv.json @@ -1,5 +1,4 @@ { "invalid": "Nederīgs", - "tooLong": "Pārsniegts rakstzīmju skaita ierobežojums", - "longText": "Pašreizējais rakstzīmju garums ir {currentLength}, kas pārsniedz maksimālo rakstzīmju garumu {maxLength}." + "tooLong": "Pašreizējais rakstzīmju garums ir {currentLength}, kas pārsniedz maksimālo rakstzīmju garumu {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json index be295565898..5d4644fbba1 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_nl.json @@ -1,5 +1,4 @@ { "invalid": "Ongeldig", - "tooLong": "Tekenlimiet overschreden", - "longText": "Het huidige aantal tekens is {currentLength}, wat meer is dan het maximumaantal van {maxLength} tekens." + "tooLong": "Het huidige aantal tekens is {currentLength}, wat meer is dan het maximumaantal van {maxLength} tekens." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json index b6f834c8672..a7cd4909ab1 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_no.json @@ -1,5 +1,4 @@ { "invalid": "Ugyldig", - "tooLong": "Maksimumsgrensen for antall tegn er overskredet", - "longText": "Den nåværende tegnlengden er {currentLength}, som overskrider den maksimalt tillatte tegnlengden på {maxLength}." + "tooLong": "Den nåværende tegnlengden er {currentLength}, som overskrider den maksimalt tillatte tegnlengden på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json index 8429fec6251..a755fc86fe4 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pl.json @@ -1,5 +1,4 @@ { "invalid": "Niepoprawny", - "tooLong": "Przekroczono limit liczby znaków", - "longText": "Bieżąca liczba znaków wynosi {currentLength}, co przekracza maksymalną liczbę znaków {maxLength}." + "tooLong": "Bieżąca liczba znaków wynosi {currentLength}, co przekracza maksymalną liczbę znaków {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json index 6367dc9d796..12797139f48 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-BR.json @@ -1,5 +1,4 @@ { "invalid": "Inválido", - "tooLong": "Limite de caracteres excedido", - "longText": "O comprimento atual do caractere é {currentLength}, que exceda o comprimento máximo de caracteres de {maxLength}." + "tooLong": "O comprimento atual do caractere é {currentLength}, que exceda o comprimento máximo de caracteres de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json index c9f65b8b5a0..79a3f5fb21c 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_pt-PT.json @@ -1,5 +1,4 @@ { "invalid": "Inválido", - "tooLong": "Limite de carateres ultrapassado", - "longText": "O comprimento atual dos caracteres é {currentLength}, o que excede o comprimento máximo de caracteres de {maxLength}." + "tooLong": "O comprimento atual dos caracteres é {currentLength}, o que excede o comprimento máximo de caracteres de {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json index 38febaacb46..25478e8e032 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ro.json @@ -1,5 +1,4 @@ { "invalid": "Nevalid", - "tooLong": "Limită de caractere depășită", - "longText": "Lungimea maximă a caracterelor curentă este {currentLength}, ceea ce depășește lungimea maximă a caracterelor de maximum {maxLength}." + "tooLong": "Lungimea maximă a caracterelor curentă este {currentLength}, ceea ce depășește lungimea maximă a caracterelor de maximum {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json index d48f7741a21..232dec227de 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_ru.json @@ -1,5 +1,4 @@ { "invalid": "Недопустимый", - "tooLong": "Превышен лимит символов", - "longText": "Текущая длина символов - {currentLength}, что превышает максимальную длину символов {maxLength}." + "tooLong": "Текущая длина символов - {currentLength}, что превышает максимальную длину символов {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json index c8cbfa3f7c0..b6ed643949f 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sk.json @@ -1,5 +1,4 @@ { "invalid": "Neplatné", - "tooLong": "Bol prekročený limit počtu znakov", - "longText": "Aktuálna dĺžka znaku je {currentLength}, čo presahuje maximálnu dĺžku {maxLength}." + "tooLong": "Aktuálna dĺžka znaku je {currentLength}, čo presahuje maximálnu dĺžku {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json index 38fb8d91833..59017bf8349 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sl.json @@ -1,5 +1,4 @@ { "invalid": "Neveljavno", - "tooLong": "Presežena je omejitev znakov", - "longText": "Trenutna dolžina znakov znaša {currentLength}, kar presega maksimalno dolžino znakov {maxLength}." + "tooLong": "Trenutna dolžina znakov znaša {currentLength}, kar presega maksimalno dolžino znakov {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json index 126a97af158..97a162b6d7f 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sr.json @@ -1,5 +1,4 @@ { "invalid": "Nevažeće", - "tooLong": "Prekoračeno ograničenje znakova", - "longText": "Trenutno ograničenje za broj karaktera je {currentLength}, što prekoračuje maksimalni broj dužine karaktera od {maxLength}." + "tooLong": "Trenutno ograničenje za broj karaktera je {currentLength}, što prekoračuje maksimalni broj dužine karaktera od {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json index 8932365c75c..2a786903bc2 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_sv.json @@ -1,5 +1,4 @@ { "invalid": "Ogiltig", - "tooLong": "Teckengränsen överskriden", - "longText": "Den aktuella teckenlängden är {currentLength}, vilket överskrider den maximala teckenlängden på {maxLength}." + "tooLong": "Den aktuella teckenlängden är {currentLength}, vilket överskrider den maximala teckenlängden på {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json index e51f4887ee0..208567e0084 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_th.json @@ -1,5 +1,4 @@ { "invalid": "ไม่ถูกต้อง", - "tooLong": "เกินขีดจำกัดอักขระ", - "longText": "ความยาวจำนวนอักขระในปัจจุบันคือ {currentLength} ซึ่งเกินความยาวจำนวนอักขระสูงสุดที่ {maxLength}" + "tooLong": "ความยาวจำนวนอักขระในปัจจุบันคือ {currentLength} ซึ่งเกินความยาวจำนวนอักขระสูงสุดที่ {maxLength}" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json index 8fc2e2c1f43..0a384d62d60 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_tr.json @@ -1,5 +1,4 @@ { "invalid": "Geçersiz", - "tooLong": "Karakter sınırı aşıldı", - "longText": "Mevcut karakter uzunluğu {currentLength} ve maksimum karakter uzunluğu {maxLength}'i aşıyor." + "tooLong": "Mevcut karakter uzunluğu {currentLength} ve maksimum karakter uzunluğu {maxLength}'i aşıyor." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json index 7709c5cd642..d47daf43794 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_uk.json @@ -1,5 +1,4 @@ { "invalid": "Неприпустимий", - "tooLong": "Перевищено обмеження кількості символів", - "longText": "Поточна довжина символу становить {currentLength}, що перевищує максимальну довжину символів {maxLength}." + "tooLong": "Поточна довжина символу становить {currentLength}, що перевищує максимальну довжину символів {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json index b49b2ba9aa7..5f066eef766 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_vi.json @@ -1,5 +1,4 @@ { "invalid": "Không hợp lệ", - "tooLong": "Đã vượt quá giới hạn ký tự", - "longText": "Độ dài ký tự hiện tại là {currentLength}, vượt quá độ dài ký tự tối đa {maxLength}." + "tooLong": "Độ dài ký tự hiện tại là {currentLength}, vượt quá độ dài ký tự tối đa {maxLength}." } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json index 4881d2eedf2..c4e34b544dd 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-CN.json @@ -1,5 +1,4 @@ { "invalid": "无效", - "tooLong": "超出字符限制", - "longText": "当前字符长度为 {currentLength},超过了最大字符长度 {maxLength}。" + "tooLong": "当前字符长度为 {currentLength},超过了最大字符长度 {maxLength}。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json index f3abcaeafe6..c1a339e64f9 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-HK.json @@ -1,5 +1,4 @@ { "invalid": "無效", - "tooLong": "已超過字元限制", - "longText": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" + "tooLong": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" } diff --git a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json index f3abcaeafe6..c1a339e64f9 100644 --- a/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json +++ b/packages/calcite-components/src/components/text-area/assets/text-area/t9n/messages_zh-TW.json @@ -1,5 +1,4 @@ { "invalid": "無效", - "tooLong": "已超過字元限制", - "longText": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" + "tooLong": "目前字元長度為 {currentLength},超過了最大字元長度 {maxLength}。" } diff --git a/packages/calcite-components/src/components/text-area/interfaces.ts b/packages/calcite-components/src/components/text-area/interfaces.ts new file mode 100644 index 00000000000..0f4c56a232a --- /dev/null +++ b/packages/calcite-components/src/components/text-area/interfaces.ts @@ -0,0 +1,4 @@ +export interface CharacterLengthObj { + currentLength: string; + maxLength: string; +} diff --git a/packages/calcite-components/src/components/text-area/text-area.tsx b/packages/calcite-components/src/components/text-area/text-area.tsx index 59059753603..87592e98345 100644 --- a/packages/calcite-components/src/components/text-area/text-area.tsx +++ b/packages/calcite-components/src/components/text-area/text-area.tsx @@ -45,6 +45,7 @@ import { InteractiveComponent, updateHostInteraction } from "../../utils/interactive"; +import { CharacterLengthObj } from "./interfaces"; /** * @slot - A slot for adding text. @@ -363,6 +364,8 @@ export class TextArea @State() effectiveLocale = ""; + @State() localizedCharacterLengthObj: CharacterLengthObj; + @Watch("effectiveLocale") effectiveLocaleChange(): void { updateMessages(this, this.effectiveLocale); @@ -402,26 +405,39 @@ export class TextArea } }; - renderCharacterLimit = (): VNode => { - return this.maxLength ? ( - - this.maxLength }}> - {this.getLocalizedCharacterLength()} + renderCharacterLimit = (): VNode | null => { + if (this.maxLength) { + this.localizedCharacterLengthObj = this.getLocalizedCharacterLength(); + return ( + + this.maxLength }}> + {this.localizedCharacterLengthObj.currentLength} + + {"/"} + {this.localizedCharacterLengthObj.maxLength} - {"/"} - {numberStringFormatter.localize(this.maxLength.toString())} - - ) : null; + ); + } + return null; }; - getLocalizedCharacterLength(): string { + getLocalizedCharacterLength(): CharacterLengthObj { + const currentLength = this.value ? this.value.length.toString() : "0"; + const maxLength = this.maxLength.toString(); + if (this.numberingSystem === "latn") { + return { currentLength, maxLength }; + } + numberStringFormatter.numberFormatOptions = { locale: this.effectiveLocale, numberingSystem: this.numberingSystem, signDisplay: "never", useGrouping: this.groupSeparator }; - return numberStringFormatter.localize(this.value ? this.value.length.toString() : "0"); + return { + currentLength: numberStringFormatter.localize(currentLength), + maxLength: numberStringFormatter.localize(maxLength) + }; } resizeObserver = createObserver("resize", async () => { @@ -439,10 +455,16 @@ export class TextArea syncHiddenFormInput(input: HTMLInputElement): void { input.setCustomValidity(""); if (this.value?.length > this.maxLength) { - input.setCustomValidity(this.messages.tooLong); + input.setCustomValidity(this.replacePlaceHoldersInMessages()); } } + private replacePlaceHoldersInMessages(): string { + return this.messages.tooLong + .replace("{maxLength}", this.localizedCharacterLengthObj.maxLength) + .replace("{currentLength}", this.localizedCharacterLengthObj.currentLength); + } + // height and width are set to auto here to avoid overlapping on to neighboring elements in the layout when user starts resizing. // throttle is used to avoid flashing of textarea when user resizes. private setHeightAndWidthToAuto = throttle( From 528f27ed9d13dff474e7b7fd13e62d4338efdb7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 10 Jul 2023 23:26:33 +0000 Subject: [PATCH 13/20] chore: release next --- package-lock.json | 8 ++++---- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 6 ++++++ packages/calcite-components/package.json | 2 +- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 89342c33bbb..c177ed01433 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41117,7 +41117,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "1.5.0-next.17", + "version": "1.5.0-next.18", "license": "SEE LICENSE.md", "dependencies": { "@floating-ui/dom": "1.4.3", @@ -41144,10 +41144,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "1.5.0-next.17", + "version": "1.5.0-next.18", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "^1.5.0-next.17" + "@esri/calcite-components": "^1.5.0-next.18" }, "peerDependencies": { "react": ">=16.7", @@ -43014,7 +43014,7 @@ "@esri/calcite-components-react": { "version": "file:packages/calcite-components-react", "requires": { - "@esri/calcite-components": "^1.5.0-next.17" + "@esri/calcite-components": "^1.5.0-next.18" } }, "@esri/calcite-design-tokens": { diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index 4cd10a84bd2..57578188b68 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.18](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.17...@esri/calcite-components-react@1.5.0-next.18) (2023-07-10) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [1.5.0-next.17](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.16...@esri/calcite-components-react@1.5.0-next.17) (2023-07-08) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 8850ff07dd5..4eef43e94b4 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,7 +1,7 @@ { "name": "@esri/calcite-components-react", "sideEffects": false, - "version": "1.5.0-next.17", + "version": "1.5.0-next.18", "description": "A set of React components that wrap calcite components", "license": "SEE LICENSE.md", "scripts": { @@ -18,7 +18,7 @@ "dist/" ], "dependencies": { - "@esri/calcite-components": "^1.5.0-next.17" + "@esri/calcite-components": "^1.5.0-next.18" }, "peerDependencies": { "react": ">=16.7", diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index f956c8eaff1..94400662517 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.18](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.17...@esri/calcite-components@1.5.0-next.18) (2023-07-10) + +### Features + +- **text-area:** provide additional context for AT users when character limit exceeds ([#7299](https://github.com/Esri/calcite-design-system/issues/7299)) ([c5678eb](https://github.com/Esri/calcite-design-system/commit/c5678eb09e8d0e26b2956f52401d77305a6bee34)), closes [#6630](https://github.com/Esri/calcite-design-system/issues/6630) + ## [1.5.0-next.17](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.16...@esri/calcite-components@1.5.0-next.17) (2023-07-08) ### Bug Fixes diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 12637290f6f..33f27c4891c 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "1.5.0-next.17", + "version": "1.5.0-next.18", "description": "Web Components for Esri's Calcite Design System.", "main": "dist/index.cjs.js", "module": "dist/index.js", From 2497f496323a4e99f2e473363f5c18a9dcc0c5e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:46:39 -0700 Subject: [PATCH 14/20] build(deps): Bump cpy-cli from 4.2.0 to 5.0.0 (#7281) Bumps [cpy-cli](https://github.com/sindresorhus/cpy-cli) from 4.2.0 to 5.0.0.
Release notes

Sourced from cpy-cli's releases.

v5.0.0

Breaking

  • Require Node.js 16 9dcd134

Improvements

  • Update dependencies 9dcd134

https://github.com/sindresorhus/cpy-cli/compare/v4.2.0...v5.0.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cpy-cli&package-manager=npm_and_yarn&previous-version=4.2.0&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ben Elan --- package-lock.json | 847 ++++++++++++++++++++++++++-------------------- package.json | 2 +- 2 files changed, 476 insertions(+), 373 deletions(-) diff --git a/package-lock.json b/package-lock.json index c177ed01433..0c2da1bb177 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "concurrently": "7.6.0", "conventional-changelog-conventionalcommits": "5.0.0", "cpy": "10.0.0", - "cpy-cli": "4.2.0", + "cpy-cli": "5.0.0", "dedent": "0.7.0", "eslint": "8.44.0", "eslint-config-prettier": "8.8.0", @@ -13798,42 +13798,42 @@ } }, "node_modules/camelcase-keys": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", - "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-8.0.2.tgz", + "integrity": "sha512-qMKdlOfsjlezMqxkUGGMaWWs17i2HoL15tM+wtx8ld4nLrUwU58TFdvyGOz/piNP842KeO8yXvggVQSdQ828NA==", "dev": true, "dependencies": { - "camelcase": "^6.3.0", - "map-obj": "^4.1.0", - "quick-lru": "^5.1.1", - "type-fest": "^1.2.1" + "camelcase": "^7.0.0", + "map-obj": "^4.3.0", + "quick-lru": "^6.1.1", + "type-fest": "^2.13.0" }, "engines": { - "node": ">=12" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/camelcase-keys/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", + "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/camelcase-keys/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12.20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -15526,111 +15526,50 @@ } }, "node_modules/cpy-cli": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/cpy-cli/-/cpy-cli-4.2.0.tgz", - "integrity": "sha512-b04b+cbdr29CdpREPKw/itrfjO43Ty0Aj7wRM6M6LoE4GJxZJCk9Xp+Eu1IqztkKh3LxIBt1tDplENsa6KYprg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cpy-cli/-/cpy-cli-5.0.0.tgz", + "integrity": "sha512-fb+DZYbL9KHc0BC4NYqGRrDIJZPXUmjjtqdw4XRRg8iV8dIfghUX/WiL+q4/B/KFTy3sK6jsbUhBaz0/Hxg7IQ==", "dev": true, "dependencies": { - "cpy": "^9.0.0", - "meow": "^10.1.2" + "cpy": "^10.1.0", + "meow": "^12.0.1" }, "bin": { "cpy": "cli.js" }, "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "dependencies": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/cp-file": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-9.1.0.tgz", - "integrity": "sha512-3scnzFj/94eb7y4wyXRWwvzLFaQp87yyfTnChIjlfYrVqp5lVO3E2hIJMeQIltUT0K2ZAB3An1qXcBmwGyvuwA==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "nested-error-stacks": "^2.0.0", - "p-event": "^4.1.0" - }, - "engines": { - "node": ">=10" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cpy-cli/node_modules/cpy": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cpy/-/cpy-9.0.1.tgz", - "integrity": "sha512-D9U0DR5FjTCN3oMTcFGktanHnAG5l020yvOCR1zKILmAyPP7I/9pl6NFgRbDcmSENtbK1sQLBz1p9HIOlroiNg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/cpy/-/cpy-10.1.0.tgz", + "integrity": "sha512-VC2Gs20JcTyeQob6UViBLnyP0bYHkBh6EiKzot9vi2DmeGlFT9Wd7VG3NBrkNx/jYvFBeyDOMMHdHQhbtKLgHQ==", "dev": true, "dependencies": { "arrify": "^3.0.0", - "cp-file": "^9.1.0", - "globby": "^13.1.1", - "junk": "^4.0.0", - "micromatch": "^4.0.4", - "nested-error-stacks": "^2.1.0", + "cp-file": "^10.0.0", + "globby": "^13.1.4", + "junk": "^4.0.1", + "micromatch": "^4.0.5", + "nested-error-stacks": "^2.1.1", "p-filter": "^3.0.0", - "p-map": "^5.3.0" - }, - "engines": { - "node": "^12.20.0 || ^14.17.0 || >=16.0.0" + "p-map": "^6.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, "engines": { - "node": ">=12" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cpy-cli/node_modules/globby": { - "version": "13.1.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.4.tgz", - "integrity": "sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==", + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.1.tgz", + "integrity": "sha512-DPCBxctI7dN4EeIqjW2KGqgdcUMbrhJ9AzON+PlxCtvppWhubTLD4+a0GFxiym14ZvacUydTPjLPc2DlKz7EIg==", "dev": true, "dependencies": { "dir-glob": "^3.0.1", @@ -15646,84 +15585,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cpy-cli/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/p-event": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", - "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", - "dev": true, - "dependencies": { - "p-timeout": "^3.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/p-map": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", - "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", - "dev": true, - "dependencies": { - "aggregate-error": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy-cli/node_modules/p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dev": true, - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cpy-cli/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/cpy-cli/node_modules/slash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", @@ -16151,12 +16012,12 @@ } }, "node_modules/decamelize": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", - "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-6.0.0.tgz", + "integrity": "sha512-Fv96DCsdOgB6mdGl67MT5JaTNKRzrzill5OH5s8bjYJXVlcXyPYGyPsUkWyGV5p1TXI5esYIYMMeDJL0hEIwaA==", "dev": true, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -28293,23 +28154,57 @@ } }, "node_modules/meow": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", - "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.0.1.tgz", + "integrity": "sha512-/QOqMALNoKQcJAOOdIXjNLtfcCdLXbMFyB1fOOPdm6RzfBTlsuodOCTBDjVbeUSmgDQb8UI2oONqYGtq1PKKKA==", "dev": true, "dependencies": { "@types/minimist": "^1.2.2", - "camelcase-keys": "^7.0.0", - "decamelize": "^5.0.0", - "decamelize-keys": "^1.1.0", + "camelcase-keys": "^8.0.2", + "decamelize": "^6.0.0", + "decamelize-keys": "^2.0.1", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.2", - "read-pkg-up": "^8.0.0", + "normalize-package-data": "^5.0.0", + "read-pkg-up": "^9.1.0", "redent": "^4.0.0", - "trim-newlines": "^4.0.2", - "type-fest": "^1.2.2", - "yargs-parser": "^20.2.9" + "trim-newlines": "^5.0.0", + "type-fest": "^3.9.0", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/decamelize-keys": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-2.0.1.tgz", + "integrity": "sha512-nrNeSCtU2gV3Apcmn/EZ+aR20zKDuNDStV67jPiupokD3sOAFeMzslLMCFdKv1sPqzwoe5ZUhsSW9IAVgKSL/Q==", + "dev": true, + "dependencies": { + "decamelize": "^6.0.0", + "map-obj": "^4.3.0", + "quick-lru": "^6.1.1", + "type-fest": "^3.1.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/find-up": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" }, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -28318,60 +28213,219 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/meow/node_modules/read-pkg": { + "node_modules/meow/node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/meow/node_modules/locate-path": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", + "dev": true, + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/meow/node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/meow/node_modules/p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/p-locate": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", - "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", "dev": true, "dependencies": { - "@types/normalize-package-data": "^2.4.0", + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/meow/node_modules/read-pkg": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-7.1.0.tgz", + "integrity": "sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.1", "normalize-package-data": "^3.0.2", "parse-json": "^5.2.0", - "type-fest": "^1.0.1" + "type-fest": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=12.20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/meow/node_modules/read-pkg-up": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", - "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-9.1.0.tgz", + "integrity": "sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg==", "dev": true, "dependencies": { - "find-up": "^5.0.0", - "read-pkg": "^6.0.0", - "type-fest": "^1.0.1" + "find-up": "^6.3.0", + "read-pkg": "^7.1.0", + "type-fest": "^2.5.0" }, "engines": { - "node": ">=12" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/meow/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, "engines": { "node": ">=10" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true, + "engines": { + "node": ">=12.20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/meow/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/meow/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12" + } + }, + "node_modules/meow/node_modules/yocto-queue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", + "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", + "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/merge-descriptors": { @@ -32619,12 +32673,12 @@ ] }, "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.1.tgz", + "integrity": "sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -37714,12 +37768,12 @@ "dev": true }, "node_modules/trim-newlines": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", - "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-5.0.0.tgz", + "integrity": "sha512-kstfs+hgwmdsOadN3KgA+C68wPJwnZq4DN6WMDCvZapDWEF34W2TyPKN2v2+BJnZgIz5QOfxFeldLyYvdgRAwg==", "dev": true, "engines": { - "node": ">=12" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -51413,27 +51467,27 @@ "dev": true }, "camelcase-keys": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", - "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-8.0.2.tgz", + "integrity": "sha512-qMKdlOfsjlezMqxkUGGMaWWs17i2HoL15tM+wtx8ld4nLrUwU58TFdvyGOz/piNP842KeO8yXvggVQSdQ828NA==", "dev": true, "requires": { - "camelcase": "^6.3.0", - "map-obj": "^4.1.0", - "quick-lru": "^5.1.1", - "type-fest": "^1.2.1" + "camelcase": "^7.0.0", + "map-obj": "^4.3.0", + "quick-lru": "^6.1.1", + "type-fest": "^2.13.0" }, "dependencies": { "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", + "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==", "dev": true }, "type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true } } @@ -52708,72 +52762,35 @@ } }, "cpy-cli": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/cpy-cli/-/cpy-cli-4.2.0.tgz", - "integrity": "sha512-b04b+cbdr29CdpREPKw/itrfjO43Ty0Aj7wRM6M6LoE4GJxZJCk9Xp+Eu1IqztkKh3LxIBt1tDplENsa6KYprg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cpy-cli/-/cpy-cli-5.0.0.tgz", + "integrity": "sha512-fb+DZYbL9KHc0BC4NYqGRrDIJZPXUmjjtqdw4XRRg8iV8dIfghUX/WiL+q4/B/KFTy3sK6jsbUhBaz0/Hxg7IQ==", "dev": true, "requires": { - "cpy": "^9.0.0", - "meow": "^10.1.2" + "cpy": "^10.1.0", + "meow": "^12.0.1" }, "dependencies": { - "aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "requires": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - } - }, - "clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "requires": { - "escape-string-regexp": "5.0.0" - } - }, - "cp-file": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-9.1.0.tgz", - "integrity": "sha512-3scnzFj/94eb7y4wyXRWwvzLFaQp87yyfTnChIjlfYrVqp5lVO3E2hIJMeQIltUT0K2ZAB3An1qXcBmwGyvuwA==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "nested-error-stacks": "^2.0.0", - "p-event": "^4.1.0" - } - }, "cpy": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cpy/-/cpy-9.0.1.tgz", - "integrity": "sha512-D9U0DR5FjTCN3oMTcFGktanHnAG5l020yvOCR1zKILmAyPP7I/9pl6NFgRbDcmSENtbK1sQLBz1p9HIOlroiNg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/cpy/-/cpy-10.1.0.tgz", + "integrity": "sha512-VC2Gs20JcTyeQob6UViBLnyP0bYHkBh6EiKzot9vi2DmeGlFT9Wd7VG3NBrkNx/jYvFBeyDOMMHdHQhbtKLgHQ==", "dev": true, "requires": { "arrify": "^3.0.0", - "cp-file": "^9.1.0", - "globby": "^13.1.1", - "junk": "^4.0.0", - "micromatch": "^4.0.4", - "nested-error-stacks": "^2.1.0", + "cp-file": "^10.0.0", + "globby": "^13.1.4", + "junk": "^4.0.1", + "micromatch": "^4.0.5", + "nested-error-stacks": "^2.1.1", "p-filter": "^3.0.0", - "p-map": "^5.3.0" + "p-map": "^6.0.0" } }, - "escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true - }, "globby": { - "version": "13.1.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.4.tgz", - "integrity": "sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==", + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.1.tgz", + "integrity": "sha512-DPCBxctI7dN4EeIqjW2KGqgdcUMbrhJ9AzON+PlxCtvppWhubTLD4+a0GFxiym14ZvacUydTPjLPc2DlKz7EIg==", "dev": true, "requires": { "dir-glob": "^3.0.1", @@ -52783,54 +52800,6 @@ "slash": "^4.0.0" } }, - "indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "p-event": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", - "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", - "dev": true, - "requires": { - "p-timeout": "^3.1.0" - } - }, - "p-map": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", - "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", - "dev": true, - "requires": { - "aggregate-error": "^4.0.0" - } - }, - "p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dev": true, - "requires": { - "p-finally": "^1.0.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, "slash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", @@ -53142,9 +53111,9 @@ } }, "decamelize": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", - "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-6.0.0.tgz", + "integrity": "sha512-Fv96DCsdOgB6mdGl67MT5JaTNKRzrzill5OH5s8bjYJXVlcXyPYGyPsUkWyGV5p1TXI5esYIYMMeDJL0hEIwaA==", "dev": true }, "decamelize-keys": { @@ -62410,58 +62379,192 @@ } }, "meow": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", - "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.0.1.tgz", + "integrity": "sha512-/QOqMALNoKQcJAOOdIXjNLtfcCdLXbMFyB1fOOPdm6RzfBTlsuodOCTBDjVbeUSmgDQb8UI2oONqYGtq1PKKKA==", "dev": true, "requires": { "@types/minimist": "^1.2.2", - "camelcase-keys": "^7.0.0", - "decamelize": "^5.0.0", - "decamelize-keys": "^1.1.0", + "camelcase-keys": "^8.0.2", + "decamelize": "^6.0.0", + "decamelize-keys": "^2.0.1", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.2", - "read-pkg-up": "^8.0.0", + "normalize-package-data": "^5.0.0", + "read-pkg-up": "^9.1.0", "redent": "^4.0.0", - "trim-newlines": "^4.0.2", - "type-fest": "^1.2.2", - "yargs-parser": "^20.2.9" + "trim-newlines": "^5.0.0", + "type-fest": "^3.9.0", + "yargs-parser": "^21.1.1" }, "dependencies": { - "read-pkg": { + "decamelize-keys": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-2.0.1.tgz", + "integrity": "sha512-nrNeSCtU2gV3Apcmn/EZ+aR20zKDuNDStV67jPiupokD3sOAFeMzslLMCFdKv1sPqzwoe5ZUhsSW9IAVgKSL/Q==", + "dev": true, + "requires": { + "decamelize": "^6.0.0", + "map-obj": "^4.3.0", + "quick-lru": "^6.1.1", + "type-fest": "^3.1.0" + } + }, + "find-up": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "requires": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + } + }, + "hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "requires": { + "lru-cache": "^7.5.1" + } + }, + "locate-path": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", + "dev": true, + "requires": { + "p-locate": "^6.0.0" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "requires": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + } + }, + "p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "requires": { + "yocto-queue": "^1.0.0" + } + }, + "p-locate": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", - "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", "dev": true, "requires": { - "@types/normalize-package-data": "^2.4.0", + "p-limit": "^4.0.0" + } + }, + "path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true + }, + "read-pkg": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-7.1.0.tgz", + "integrity": "sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.1", "normalize-package-data": "^3.0.2", "parse-json": "^5.2.0", - "type-fest": "^1.0.1" + "type-fest": "^2.0.0" + }, + "dependencies": { + "hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "requires": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + } + }, + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true + } } }, "read-pkg-up": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", - "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-9.1.0.tgz", + "integrity": "sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg==", "dev": true, "requires": { - "find-up": "^5.0.0", - "read-pkg": "^6.0.0", - "type-fest": "^1.0.1" + "find-up": "^6.3.0", + "read-pkg": "^7.1.0", + "type-fest": "^2.5.0" + }, + "dependencies": { + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true + } } }, - "type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true + }, + "yocto-queue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", + "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", "dev": true } } @@ -65730,9 +65833,9 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" }, "quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.1.tgz", + "integrity": "sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q==", "dev": true }, "quicktype-core": { @@ -69736,9 +69839,9 @@ "dev": true }, "trim-newlines": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", - "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-5.0.0.tgz", + "integrity": "sha512-kstfs+hgwmdsOadN3KgA+C68wPJwnZq4DN6WMDCvZapDWEF34W2TyPKN2v2+BJnZgIz5QOfxFeldLyYvdgRAwg==", "dev": true }, "trim-trailing-lines": { diff --git a/package.json b/package.json index 49f2a5a5d1c..9914f82bd23 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "concurrently": "7.6.0", "conventional-changelog-conventionalcommits": "5.0.0", "cpy": "10.0.0", - "cpy-cli": "4.2.0", + "cpy-cli": "5.0.0", "dedent": "0.7.0", "eslint": "8.44.0", "eslint-config-prettier": "8.8.0", From cf548ebd7e12d8688dec869d3c74ec3ec6512728 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:24:57 -0700 Subject: [PATCH 15/20] build(deps): Bump chromatic from 6.19.5 to 6.19.9 (#7308) Bumps [chromatic](https://github.com/chromaui/chromatic-cli) from 6.19.5 to 6.19.9.
Changelog

Sourced from chromatic's changelog.

6.19.9 - 2023-06-22

  • 734 Add support for release event to Github action.
  • 750 Update CI to store tokens in environment variables
  • 775 Increase timeout for Git command(s) execution

6.19.8 - 2023-06-16

  • 765 Add some fields to package.json to help resolve types in entrypoints
  • 773 Bump the Loggly Dependency

6.19.7 - 2023-06-14

  • 770 Ensure we exit with a code at the end

6.19.6 - 2023-06-14

  • 768 Add isChromatic exports
Commits
  • b620574 6.19.9
  • 161346e Merge pull request #734 from 0x2b3bfa0/patch-1
  • 1ba47c5 Update action-src/main.ts
  • 89a63bd Merge pull request #775 from chromaui/increase-git-timeouts
  • 320924d Increase the timeout for executing Git commands
  • 2b0ee97 Merge pull request #750 from chromaui/use-project-token-env-var
  • a3151dd 6.19.8
  • d5cf9c3 Update CHANGELOG.md
  • 7ecc167 Tweaked actions to use secrets
  • 162551e Use CHROMATIC_PROJECT_TOKEN environment variable rather than hardcoding proje...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chromatic&package-manager=npm_and_yarn&previous-version=6.19.5&new-version=6.19.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 253 ++++++++++++++++++++++++++++++++++++++++++++-- package.json | 2 +- 2 files changed, 247 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c2da1bb177..0a1b1293fa4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "babel-loader": "8.3.0", "cheerio": "1.0.0-rc.10", "chokidar": "3.5.3", - "chromatic": "6.19.5", + "chromatic": "6.19.9", "concurrently": "7.6.0", "conventional-changelog-conventionalcommits": "5.0.0", "cpy": "10.0.0", @@ -14023,9 +14023,9 @@ } }, "node_modules/chromatic": { - "version": "6.19.5", - "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-6.19.5.tgz", - "integrity": "sha512-IjBWI7PYQpDWoAs5hjVR/af1sgl+sH+zMV1u9wyiO6MORUhehoibS15J1Amh3Rg6nCOc0VA0DnWPn/lEeiOeTw==", + "version": "6.19.9", + "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-6.19.9.tgz", + "integrity": "sha512-UHrPbPoLnJwd063cRSO0U865VhcATykpMiHsAnNFz5EFRsBvM9wefqyS2Z6W8Ti9J7Fjrf4MV4PA+Q5k2lhFfQ==", "dev": true, "bin": { "chroma": "dist/bin.js", @@ -36421,6 +36421,36 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", "dev": true }, + "node_modules/stylelint/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/camelcase-keys": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", + "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "dev": true, + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/cosmiconfig": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", @@ -36439,6 +36469,18 @@ "url": "https://github.com/sponsors/d-fischer" } }, + "node_modules/stylelint/node_modules/decamelize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", + "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -36469,6 +36511,32 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/stylelint/node_modules/meow": { + "version": "10.1.5", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", + "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/postcss": { "version": "8.4.25", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", @@ -36497,6 +36565,53 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/stylelint/node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/signal-exit": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", @@ -36534,6 +36649,30 @@ "node": ">=14.18" } }, + "node_modules/stylelint/node_modules/trim-newlines": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", + "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/write-file-atomic": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", @@ -36547,6 +36686,15 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/stylelint/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/sucrase": { "version": "3.32.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", @@ -51611,9 +51759,9 @@ "dev": true }, "chromatic": { - "version": "6.19.5", - "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-6.19.5.tgz", - "integrity": "sha512-IjBWI7PYQpDWoAs5hjVR/af1sgl+sH+zMV1u9wyiO6MORUhehoibS15J1Amh3Rg6nCOc0VA0DnWPn/lEeiOeTw==", + "version": "6.19.9", + "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-6.19.9.tgz", + "integrity": "sha512-UHrPbPoLnJwd063cRSO0U865VhcATykpMiHsAnNFz5EFRsBvM9wefqyS2Z6W8Ti9J7Fjrf4MV4PA+Q5k2lhFfQ==", "dev": true }, "chrome-trace-event": { @@ -68752,6 +68900,24 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", "dev": true }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "camelcase-keys": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", + "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "dev": true, + "requires": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + } + }, "cosmiconfig": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", @@ -68764,6 +68930,12 @@ "path-type": "^4.0.0" } }, + "decamelize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", + "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "dev": true + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -68785,6 +68957,26 @@ "argparse": "^2.0.1" } }, + "meow": { + "version": "10.1.5", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", + "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + } + }, "postcss": { "version": "8.4.25", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.25.tgz", @@ -68796,6 +68988,35 @@ "source-map-js": "^1.0.2" } }, + "quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true + }, + "read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + } + }, + "read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "requires": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + } + }, "signal-exit": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", @@ -68821,6 +69042,18 @@ "supports-color": "^7.0.0" } }, + "trim-newlines": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", + "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "dev": true + }, + "type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true + }, "write-file-atomic": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", @@ -68830,6 +69063,12 @@ "imurmurhash": "^0.1.4", "signal-exit": "^4.0.1" } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true } } }, diff --git a/package.json b/package.json index 9914f82bd23..deb2ae18df9 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "babel-loader": "8.3.0", "cheerio": "1.0.0-rc.10", "chokidar": "3.5.3", - "chromatic": "6.19.5", + "chromatic": "6.19.9", "concurrently": "7.6.0", "conventional-changelog-conventionalcommits": "5.0.0", "cpy": "10.0.0", From 8b043a2c339bce70ea8e363fa25856b74e26e75b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:25:39 -0700 Subject: [PATCH 16/20] build(deps): Bump @floating-ui/dom from 1.4.3 to 1.4.4 in /packages/calcite-components (#7305) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom) from 1.4.3 to 1.4.4.
Release notes

Sourced from @​floating-ui/dom's releases.

@​floating-ui/dom@​1.4.4

Bug Fixes

  • fix: positioning when pinch-zooming in Safari (#2422)
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@floating-ui/dom&package-manager=npm_and_yarn&previous-version=1.4.3&new-version=1.4.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- packages/calcite-components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 33f27c4891c..794445af38c 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -61,7 +61,7 @@ "url": "git+https://github.com/Esri/calcite-design-system.git" }, "dependencies": { - "@floating-ui/dom": "1.4.3", + "@floating-ui/dom": "1.4.4", "@stencil/core": "2.22.3", "@types/color": "3.0.3", "color": "4.2.3", From 33f86a0aea351a0a4f9c52dab9abdb0560327a77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:31:52 -0700 Subject: [PATCH 17/20] build(deps): Bump eslint-plugin-jsdoc from 46.2.6 to 46.4.3 (#7306) Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 46.2.6 to 46.4.3.
Release notes

Sourced from eslint-plugin-jsdoc's releases.

v46.4.3

46.4.3 (2023-06-30)

Bug Fixes

  • match-description: drop throws and yields from being reported for non-empty descriptions by nonemptyTags default; #1126 (03578ca)

v46.4.2

46.4.2 (2023-06-28)

Bug Fixes

  • require-jsdoc: do not report MethodDefinition with non-public accessibility; fixes #1124 (00922c3)

v46.4.1

46.4.1 (2023-06-28)

Bug Fixes

  • require-jsdoc: do not report PropertyDefinition's with non-public accessibility; fixes #1122 (1e45ae4)

v46.4.0

46.4.0 (2023-06-28)

Features

  • valid-types: check link and tutorial for content; #233 (42c713e)

v46.3.0

46.3.0 (2023-06-25)

Bug Fixes

  • make name required on [@template](https://github.com/template) for non-JSDoc modes (467441b)

Features

  • match-description: ensure [@desc](https://github.com/desc) checked by default; check more desc-like tags by default; check non-empty tags; #233 (1b9d9e4)
Commits
  • 03578ca fix(match-description): drop throws and yields from being reported for ...
  • 00922c3 fix(require-jsdoc): do not report MethodDefinition with non-public `acces...
  • 1e45ae4 fix(require-jsdoc): do not report PropertyDefinition's with non-public `a...
  • 1886b36 refactor: use NodeNext
  • 42c713e feat(valid-types): check link and tutorial for content; #233
  • 4afc8e6 test: demo checking for empty name
  • 467441b fix: make name required on @template for non-JSDoc modes
  • 1008047 docs(no-restricted-syntax): require access modifiers example
  • 42a97c8 docs(require-description): clarify
  • 1b9d9e4 feat(match-description): ensure @desc checked by default; check more desc...
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-jsdoc&package-manager=npm_and_yarn&previous-version=46.2.6&new-version=46.4.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0a1b1293fa4..6e7bc3f21a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jest": "27.2.2", - "eslint-plugin-jsdoc": "46.2.6", + "eslint-plugin-jsdoc": "46.4.3", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.32.2", "eslint-plugin-unicorn": "46.0.0", @@ -17588,9 +17588,9 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "46.2.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.2.6.tgz", - "integrity": "sha512-zIaK3zbSrKuH12bP+SPybPgcHSM6MFzh3HFeaODzmsF1N8C1l8dzJ22cW1aq4g0+nayU1VMjmNf7hg0dpShLrA==", + "version": "46.4.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.4.3.tgz", + "integrity": "sha512-Prc7ol+vCIghPeECpwZq5+P+VZfoi87suywvbYCiCnkI1kTmVSdcOC2M8mioglWxBbd28wbb1OVjg/8OzGzatA==", "dev": true, "dependencies": { "@es-joy/jsdoccomment": "~0.39.4", @@ -54620,9 +54620,9 @@ } }, "eslint-plugin-jsdoc": { - "version": "46.2.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.2.6.tgz", - "integrity": "sha512-zIaK3zbSrKuH12bP+SPybPgcHSM6MFzh3HFeaODzmsF1N8C1l8dzJ22cW1aq4g0+nayU1VMjmNf7hg0dpShLrA==", + "version": "46.4.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.4.3.tgz", + "integrity": "sha512-Prc7ol+vCIghPeECpwZq5+P+VZfoi87suywvbYCiCnkI1kTmVSdcOC2M8mioglWxBbd28wbb1OVjg/8OzGzatA==", "dev": true, "requires": { "@es-joy/jsdoccomment": "~0.39.4", diff --git a/package.json b/package.json index deb2ae18df9..8f2d0f75c35 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jest": "27.2.2", - "eslint-plugin-jsdoc": "46.2.6", + "eslint-plugin-jsdoc": "46.4.3", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.32.2", "eslint-plugin-unicorn": "46.0.0", From c3cde44904ccbf176d8afb78226a2179c26e6ec9 Mon Sep 17 00:00:00 2001 From: Calcite Admin Date: Tue, 11 Jul 2023 12:05:18 -0700 Subject: [PATCH 18/20] build: update browserslist db (#7301) This PR was automatically generated by the update-browserslist-db GitHub action Co-authored-by: jcfranco --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e7bc3f21a9..ebb37aa6583 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13840,9 +13840,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001509", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz", - "integrity": "sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA==", + "version": "1.0.30001513", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001513.tgz", + "integrity": "sha512-pnjGJo7SOOjAGytZZ203Em95MRM8Cr6jhCXNF/FAXTpCTRTECnqQWLpiTRqrFtdYcth8hf4WECUpkezuYsMVww==", "dev": true, "funding": [ { @@ -51641,9 +51641,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001509", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz", - "integrity": "sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA==", + "version": "1.0.30001513", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001513.tgz", + "integrity": "sha512-pnjGJo7SOOjAGytZZ203Em95MRM8Cr6jhCXNF/FAXTpCTRTECnqQWLpiTRqrFtdYcth8hf4WECUpkezuYsMVww==", "dev": true }, "capture-exit": { From 5af36005483f633955bafba40705490e675c5564 Mon Sep 17 00:00:00 2001 From: Eliza Khachatryan Date: Tue, 11 Jul 2023 19:28:34 -0700 Subject: [PATCH 19/20] fix(block): loader now appears for all loading cases (#7303) **Related Issue:** #6485 ## Summary Continues on #7239 to cover additional cases where loader needs to appear when there is no `status icon` or if there is a `slottedIcon` so that the loading icon shows both when a collapsible block is `open` and `closed`. Any slotted icons get overridden when loading. --- .../src/components/block/block.stories.ts | 28 +++++++++++ .../src/components/block/block.tsx | 46 ++++++++++--------- 2 files changed, 52 insertions(+), 22 deletions(-) diff --git a/packages/calcite-components/src/components/block/block.stories.ts b/packages/calcite-components/src/components/block/block.stories.ts index b5664b844dd..7d797261de4 100644 --- a/packages/calcite-components/src/components/block/block.stories.ts +++ b/packages/calcite-components/src/components/block/block.stories.ts @@ -215,3 +215,31 @@ export const contentSpacing_TestOnly = (): string =>
Some text that has padding built in
`; + +export const loadingWithSlottedIcon_TestOnly = (): string => + html` + + + +
Use layer effects sparingly
+
+
+ `; + +export const loadingWithNoStatusNorSlottedIcon_TestOnly = (): string => + html` + + +
Use layer effects sparingly
+
+
+ `; + +export const loadingWithStatusIcon_TestOnly = (): string => + html` + + + + + + `; diff --git a/packages/calcite-components/src/components/block/block.tsx b/packages/calcite-components/src/components/block/block.tsx index bc1f5e359e2..de256a0ecc9 100644 --- a/packages/calcite-components/src/components/block/block.tsx +++ b/packages/calcite-components/src/components/block/block.tsx @@ -237,29 +237,31 @@ export class Block } renderIcon(): VNode[] { - const { el, loading, messages, status } = this; - - const statusIcon = ICONS[status]; - - const hasIcon = getSlotted(el, SLOTS.icon) || statusIcon; - - const iconEl = !statusIcon ? ( - - ) : loading ? ( - - ) : ( - - ); + const { loading, messages, status } = this; + + const hasSlottedIcon = !!getSlotted(this.el, SLOTS.icon); - return hasIcon ?
{iconEl}
: null; + return loading ? ( +
+ +
+ ) : !!status ? ( +
+ +
+ ) : hasSlottedIcon ? ( +
+ +
+ ) : null; } renderTitle(): VNode { From 7f486eb734a6609ac022299d4cfd08da426ca5b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 12 Jul 2023 02:48:06 +0000 Subject: [PATCH 20/20] chore: release next --- package-lock.json | 24 +++++++++---------- .../calcite-components-react/CHANGELOG.md | 4 ++++ .../calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 6 +++++ packages/calcite-components/package.json | 2 +- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index ebb37aa6583..38fc826c477 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2723,9 +2723,9 @@ "integrity": "sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g==" }, "node_modules/@floating-ui/dom": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.4.3.tgz", - "integrity": "sha512-nB/68NyaQlcdY22L+Fgd1HERQ7UGv7XFN+tPxwrEfQL4nKtAP/jIZnZtpUlXbtV+VEGHh6W/63Gy2C5biWI3sA==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.4.4.tgz", + "integrity": "sha512-21hhDEPOiWkGp0Ys4Wi6Neriah7HweToKra626CIK712B5m9qkdz54OP9gVldUg+URnBTpv/j/bi/skmGdstXQ==", "dependencies": { "@floating-ui/core": "^1.3.1" } @@ -41319,10 +41319,10 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "1.5.0-next.18", + "version": "1.5.0-next.19", "license": "SEE LICENSE.md", "dependencies": { - "@floating-ui/dom": "1.4.3", + "@floating-ui/dom": "1.4.4", "@stencil/core": "2.22.3", "@types/color": "3.0.3", "color": "4.2.3", @@ -41346,10 +41346,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "1.5.0-next.18", + "version": "1.5.0-next.19", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "^1.5.0-next.18" + "@esri/calcite-components": "^1.5.0-next.19" }, "peerDependencies": { "react": ">=16.7", @@ -43196,7 +43196,7 @@ "@esri/calcite-design-tokens": "1.0.0", "@esri/calcite-ui-icons": "3.23.1", "@esri/eslint-plugin-calcite-components": "^0.2.3-next.0", - "@floating-ui/dom": "1.4.3", + "@floating-ui/dom": "1.4.4", "@stencil-community/eslint-plugin": "0.5.0", "@stencil/core": "2.22.3", "@stencil/postcss": "2.1.0", @@ -43216,7 +43216,7 @@ "@esri/calcite-components-react": { "version": "file:packages/calcite-components-react", "requires": { - "@esri/calcite-components": "^1.5.0-next.18" + "@esri/calcite-components": "^1.5.0-next.19" } }, "@esri/calcite-design-tokens": { @@ -43243,9 +43243,9 @@ "integrity": "sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g==" }, "@floating-ui/dom": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.4.3.tgz", - "integrity": "sha512-nB/68NyaQlcdY22L+Fgd1HERQ7UGv7XFN+tPxwrEfQL4nKtAP/jIZnZtpUlXbtV+VEGHh6W/63Gy2C5biWI3sA==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.4.4.tgz", + "integrity": "sha512-21hhDEPOiWkGp0Ys4Wi6Neriah7HweToKra626CIK712B5m9qkdz54OP9gVldUg+URnBTpv/j/bi/skmGdstXQ==", "requires": { "@floating-ui/core": "^1.3.1" } diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index 57578188b68..853fdbc7b80 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.19](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.18...@esri/calcite-components-react@1.5.0-next.19) (2023-07-12) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [1.5.0-next.18](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.5.0-next.17...@esri/calcite-components-react@1.5.0-next.18) (2023-07-10) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 4eef43e94b4..3707eaf0356 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,7 +1,7 @@ { "name": "@esri/calcite-components-react", "sideEffects": false, - "version": "1.5.0-next.18", + "version": "1.5.0-next.19", "description": "A set of React components that wrap calcite components", "license": "SEE LICENSE.md", "scripts": { @@ -18,7 +18,7 @@ "dist/" ], "dependencies": { - "@esri/calcite-components": "^1.5.0-next.18" + "@esri/calcite-components": "^1.5.0-next.19" }, "peerDependencies": { "react": ">=16.7", diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index 94400662517..54329d80769 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.0-next.19](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.18...@esri/calcite-components@1.5.0-next.19) (2023-07-12) + +### Bug Fixes + +- **block:** loader now appears for all loading cases ([#7303](https://github.com/Esri/calcite-design-system/issues/7303)) ([5af3600](https://github.com/Esri/calcite-design-system/commit/5af36005483f633955bafba40705490e675c5564)), closes [#6485](https://github.com/Esri/calcite-design-system/issues/6485) [#7239](https://github.com/Esri/calcite-design-system/issues/7239) + ## [1.5.0-next.18](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.5.0-next.17...@esri/calcite-components@1.5.0-next.18) (2023-07-10) ### Features diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 794445af38c..162018686c5 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "1.5.0-next.18", + "version": "1.5.0-next.19", "description": "Web Components for Esri's Calcite Design System.", "main": "dist/index.cjs.js", "module": "dist/index.js",