From 3735f57b913de5baa458a32b1d8d9b94463d1d2b Mon Sep 17 00:00:00 2001 From: "Nichols, Kieran" Date: Tue, 2 Apr 2024 18:53:28 -0400 Subject: [PATCH] feat: add `` wrapper --- package-lock.json | 30 +++++++++---------- package.json | 2 +- src/projects/forge-react/package.json | 2 +- .../src/components/component-wrappers.tsx | 1 + src/projects/forge-react/src/index.ts | 4 +++ 5 files changed, 22 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 81a36ce..79233dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "@testing-library/react": "^11.2.7", "@testing-library/user-event": "^12.8.3", "@tylertech-eslint/eslint-plugin": "^1.0.9", - "@tylertech/forge": "^2.14.0", + "@tylertech/forge": "^2.22.1", "@tylertech/forge-build-tools": "^2.0.0", "@types/gulp": "^4.0.9", "@types/jest": "^26.0.24", @@ -5257,9 +5257,9 @@ } }, "node_modules/@tylertech/forge": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@tylertech/forge/-/forge-2.14.0.tgz", - "integrity": "sha512-xCa1hpK5rWWwSXGtzayruBxyB+w2mOhH8GFylExR36EcpDcyRf6SgayDtOxEHmu7/BkLLmCvBBVBnblGnVvwSw==", + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/@tylertech/forge/-/forge-2.22.1.tgz", + "integrity": "sha512-pLzBV/BVDJEpGUoiPVtFnxo5ierYx5sWAcl+eTs+jIOIhq4PVCk+8AoEHCl7z1l9d7tTzbFzdeTz2ZWY73oBgQ==", "dev": true, "dependencies": { "@material/animation": "^14.0.0", @@ -5290,7 +5290,7 @@ "@material/top-app-bar": "^14.0.0", "@material/touch-target": "^14.0.0", "@material/typography": "^14.0.0", - "@tylertech/forge-core": "^2.1.0", + "@tylertech/forge-core": "^2.3.1", "@tylertech/tyler-icons": "^1.12.0", "imask": "^6.6.1", "tslib": "^2.3.1" @@ -5514,9 +5514,9 @@ } }, "node_modules/@tylertech/forge-core": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@tylertech/forge-core/-/forge-core-2.1.0.tgz", - "integrity": "sha512-1elKUu//RhpXrKL44Tz4KiVhuGSPijpYYr2fEdxNr8efEYnAiLOMdpWvDAzWAIelsKNBHqh1pMHM94hVJXFEug==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@tylertech/forge-core/-/forge-core-2.3.1.tgz", + "integrity": "sha512-PlGfCUVhRui5GcwRDU4RMGVlA8l1sOe5ogxolBpf5dkVhd/A0WDHTVhj41DCgnfC9Bg104j8Mg1y+CwRfr+1Ag==", "dev": true, "dependencies": { "@floating-ui/dom": "^0.5.0", @@ -39125,9 +39125,9 @@ } }, "@tylertech/forge": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@tylertech/forge/-/forge-2.14.0.tgz", - "integrity": "sha512-xCa1hpK5rWWwSXGtzayruBxyB+w2mOhH8GFylExR36EcpDcyRf6SgayDtOxEHmu7/BkLLmCvBBVBnblGnVvwSw==", + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/@tylertech/forge/-/forge-2.22.1.tgz", + "integrity": "sha512-pLzBV/BVDJEpGUoiPVtFnxo5ierYx5sWAcl+eTs+jIOIhq4PVCk+8AoEHCl7z1l9d7tTzbFzdeTz2ZWY73oBgQ==", "dev": true, "requires": { "@material/animation": "^14.0.0", @@ -39158,7 +39158,7 @@ "@material/top-app-bar": "^14.0.0", "@material/touch-target": "^14.0.0", "@material/typography": "^14.0.0", - "@tylertech/forge-core": "^2.1.0", + "@tylertech/forge-core": "^2.3.1", "@tylertech/tyler-icons": "^1.12.0", "imask": "^6.6.1", "tslib": "^2.3.1" @@ -39332,9 +39332,9 @@ } }, "@tylertech/forge-core": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@tylertech/forge-core/-/forge-core-2.1.0.tgz", - "integrity": "sha512-1elKUu//RhpXrKL44Tz4KiVhuGSPijpYYr2fEdxNr8efEYnAiLOMdpWvDAzWAIelsKNBHqh1pMHM94hVJXFEug==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@tylertech/forge-core/-/forge-core-2.3.1.tgz", + "integrity": "sha512-PlGfCUVhRui5GcwRDU4RMGVlA8l1sOe5ogxolBpf5dkVhd/A0WDHTVhj41DCgnfC9Bg104j8Mg1y+CwRfr+1Ag==", "dev": true, "requires": { "@floating-ui/dom": "^0.5.0", diff --git a/package.json b/package.json index 57283fa..f98b9f3 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@testing-library/react": "^11.2.7", "@testing-library/user-event": "^12.8.3", "@tylertech-eslint/eslint-plugin": "^1.0.9", - "@tylertech/forge": "^2.14.0", + "@tylertech/forge": "^2.22.1", "@tylertech/forge-build-tools": "^2.0.0", "@types/gulp": "^4.0.9", "@types/jest": "^26.0.24", diff --git a/src/projects/forge-react/package.json b/src/projects/forge-react/package.json index 41428f4..ff78822 100644 --- a/src/projects/forge-react/package.json +++ b/src/projects/forge-react/package.json @@ -13,7 +13,7 @@ "tslib": "^2.2.0" }, "peerDependencies": { - "@tylertech/forge": "^2.9.0", + "@tylertech/forge": "^2.22.1", "react": "^17.0.2" } } \ No newline at end of file diff --git a/src/projects/forge-react/src/components/component-wrappers.tsx b/src/projects/forge-react/src/components/component-wrappers.tsx index 46d5f7f..87cf37e 100644 --- a/src/projects/forge-react/src/components/component-wrappers.tsx +++ b/src/projects/forge-react/src/components/component-wrappers.tsx @@ -12,6 +12,7 @@ export const ForgeAvatar = createElementProxy('forge-avatar'); export const ForgeBackdrop = createElementProxy('forge-backdrop'); export const ForgeBadge = createElementProxy('forge-badge'); export const ForgeBanner = createElementProxy('forge-banner'); +export const ForgeButtonArea = createElementProxy('forge-button-area'); export const ForgeButton = createElementProxy('forge-button'); export const ForgeButtonToggleGroup = createElementProxy('forge-button-toggle-group'); export const ForgeButtonToggle = createElementProxy('forge-button-toggle'); diff --git a/src/projects/forge-react/src/index.ts b/src/projects/forge-react/src/index.ts index 4d5bf60..5128de7 100644 --- a/src/projects/forge-react/src/index.ts +++ b/src/projects/forge-react/src/index.ts @@ -13,6 +13,7 @@ import { IBannerComponent, IBottomSheetComponent, IBusyIndicatorComponent, + IButtonAreaComponent, IButtonComponent, IButtonToggleComponent, IButtonToggleGroupComponent, @@ -61,6 +62,7 @@ import { ISliderComponent, ISplitViewComponent, ISplitViewPanelComponent, + IStackComponent, IStepComponent, IStepperComponent, ISwitchComponent, @@ -102,6 +104,7 @@ declare global { 'forge-bottom-sheet': CustomElementProps; 'forge-busy-indicator': CustomElementProps; 'forge-button': CustomElementProps; + 'forge-button-area': CustomElementProps; 'forge-button-toggle': CustomElementProps; 'forge-button-toggle-group': CustomElementProps; 'forge-calendar': CustomElementProps; @@ -149,6 +152,7 @@ declare global { 'forge-slider': CustomElementProps; 'forge-split-view': CustomElementProps; 'forge-split-view-panel': CustomElementProps; + 'forge-stack': CustomElementProps; 'forge-stepper': CustomElementProps; 'forge-step': CustomElementProps; 'forge-switch': CustomElementProps;