@x15ventures/x15-ui-library 3.13.3 → 3.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/autoGenerated/libraryThemes.js +12 -12
- package/dist/cjs/autoGenerated/libraryThemes.js.map +1 -1
- package/dist/cjs/autoGenerated/libraryThemes.json +12 -12
- package/dist/cjs/components/design/banners/pageBanner/PageBanner.js +4 -1
- package/dist/cjs/components/design/banners/pageBanner/PageBanner.js.map +1 -1
- package/dist/cjs/package.json +94 -92
- package/dist/components/design/banners/pageBanner/PageBanner.d.ts.map +1 -1
- package/dist/esm/autoGenerated/libraryThemes.js +12 -12
- package/dist/esm/autoGenerated/libraryThemes.js.map +1 -1
- package/dist/esm/autoGenerated/libraryThemes.json +12 -12
- package/dist/esm/components/design/banners/pageBanner/PageBanner.js +5 -2
- package/dist/esm/components/design/banners/pageBanner/PageBanner.js.map +1 -1
- package/dist/esm/package.json +94 -92
- package/dist/package.json +94 -92
- package/package.json +94 -92
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import React, { useState } from 'react';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { Icon } from '../../icons/basicIcon/Icon';
|
|
5
5
|
import { SimpleButton } from '../../../form/buttons/SimpleButton';
|
|
6
6
|
import './pageBanners.css';
|
|
@@ -20,7 +20,10 @@ export const PageBanner = ({
|
|
|
20
20
|
backgroundFill = 'primary'
|
|
21
21
|
}) => {
|
|
22
22
|
const StorageKey = `pageBanner_${id}`;
|
|
23
|
-
const StorageValue =
|
|
23
|
+
const [StorageValue, setStorageValue] = useState(null);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
setStorageValue(localStorage.getItem(StorageKey));
|
|
26
|
+
}, [StorageKey]);
|
|
24
27
|
const UserPreferences = StorageValue && JSON.parse(StorageValue);
|
|
25
28
|
const {
|
|
26
29
|
shouldDisplay
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageBanner.js","names":["React","useState","Icon","SimpleButton","PageBanner","animation","reDisplayOnClose","autoHide","autoHideDelay","children","displayMode","icon","id","position","type","disableClose","widthVariant","backgroundFill","StorageKey","StorageValue","localStorage","getItem","UserPreferences","JSON","parse","shouldDisplay","isVisible","setVisibility","autoHideCssClass","cssClass","handleBannerClose","setItem","stringify","createElement","className","label","onClickHandler","hideLabel","leftIcon","Banner","Alert"],"sources":["../../../../../../src/components/design/banners/pageBanner/PageBanner.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, ReactNode, ReactElement } from 'react';\nimport { Icon } from '../../icons/basicIcon/Icon';\nimport { SimpleButton } from '../../../form/buttons/SimpleButton';\n\nimport './pageBanners.scss';\n\nexport interface PageBannerProps {\n id: string;\n children: ReactNode | ReactElement;\n animation?: 'slideInLeft' | 'slideInRight' | 'growOnHover' | 'none';\n reDisplayOnClose?: boolean;\n autoHide?: boolean;\n autoHideDelay?: 1 | 3 | 5 | 10;\n displayMode?: 'fixed' | 'inline';\n icon?: string;\n position?: 'topRight' | 'topCentre' | 'bottomRight' | 'bottomLeft'; // Only applicable with fixed display\n type?: 'alert' | 'info' | 'warn' | 'error' | 'success';\n disableClose?: boolean;\n widthVariant?: 'sm' | 'md' | 'lg';\n backgroundFill?: 'primary' | 'secondary';\n}\n\nexport const PageBanner: React.FC<PageBannerProps> = ({\n animation = 'none',\n reDisplayOnClose = false,\n autoHide = false,\n autoHideDelay = 10,\n children,\n displayMode = 'fixed',\n icon = 'info',\n id = 'pageBanner',\n position = 'topCentre', \n type = 'info',\n disableClose = false,\n widthVariant = 'lg',\n backgroundFill = 'primary',\n}) => {\n const StorageKey = `pageBanner_${ id }`;\n const StorageValue = localStorage.getItem(StorageKey);\n const UserPreferences = StorageValue && JSON.parse(StorageValue);\n\n const { shouldDisplay } = UserPreferences || { shouldDisplay: true };\n\n const [isVisible, setVisibility] = useState<boolean>(shouldDisplay);\n\n const autoHideCssClass = autoHide ? `autoHide_${ autoHideDelay }` : 'noAutoHide';\n\n const cssClass = `\n pageBanner \n ${ type } \n ${ position } \n ${ displayMode } \n ${ autoHideCssClass }_${ animation }\n width_${ widthVariant }\n backgroundFill_${ backgroundFill }\n `;\n\n const handleBannerClose = () => {\n setVisibility(false);\n localStorage.setItem(StorageKey, JSON.stringify({ shouldDisplay: reDisplayOnClose }));\n };\n\n if (isVisible) {\n return (\n <aside className={ cssClass }>\n { !disableClose && (\n <SimpleButton\n cssClass=\"closeBannerButton\"\n label=\"Close page banner\"\n id={ `${ id }_CloseBannerButton` }\n onClickHandler={ handleBannerClose }\n hideLabel\n leftIcon={ { icon: 'close' } }\n />\n ) }\n\n <div className=\"pageBannerMainIcon\">\n <Icon icon={ icon } />\n </div>\n\n <div className=\"pageBannerContent\">\n { children }\n </div>\n </aside>\n );\n }\n\n return null;\n};\n\nexport default PageBanner;\n\nexport { PageBanner as Banner };\nexport { PageBanner as Alert };"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,IAAIC,QAAQ,
|
|
1
|
+
{"version":3,"file":"PageBanner.js","names":["React","useState","useEffect","Icon","SimpleButton","PageBanner","animation","reDisplayOnClose","autoHide","autoHideDelay","children","displayMode","icon","id","position","type","disableClose","widthVariant","backgroundFill","StorageKey","StorageValue","setStorageValue","localStorage","getItem","UserPreferences","JSON","parse","shouldDisplay","isVisible","setVisibility","autoHideCssClass","cssClass","handleBannerClose","setItem","stringify","createElement","className","label","onClickHandler","hideLabel","leftIcon","Banner","Alert"],"sources":["../../../../../../src/components/design/banners/pageBanner/PageBanner.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, ReactNode, ReactElement, useEffect } from 'react';\nimport { Icon } from '../../icons/basicIcon/Icon';\nimport { SimpleButton } from '../../../form/buttons/SimpleButton';\n\nimport './pageBanners.scss';\n\nexport interface PageBannerProps {\n id: string;\n children: ReactNode | ReactElement;\n animation?: 'slideInLeft' | 'slideInRight' | 'growOnHover' | 'none';\n reDisplayOnClose?: boolean;\n autoHide?: boolean;\n autoHideDelay?: 1 | 3 | 5 | 10;\n displayMode?: 'fixed' | 'inline';\n icon?: string;\n position?: 'topRight' | 'topCentre' | 'bottomRight' | 'bottomLeft'; // Only applicable with fixed display\n type?: 'alert' | 'info' | 'warn' | 'error' | 'success';\n disableClose?: boolean;\n widthVariant?: 'sm' | 'md' | 'lg';\n backgroundFill?: 'primary' | 'secondary';\n}\n\nexport const PageBanner: React.FC<PageBannerProps> = ({\n animation = 'none',\n reDisplayOnClose = false,\n autoHide = false,\n autoHideDelay = 10,\n children,\n displayMode = 'fixed',\n icon = 'info',\n id = 'pageBanner',\n position = 'topCentre', \n type = 'info',\n disableClose = false,\n widthVariant = 'lg',\n backgroundFill = 'primary',\n}) => {\n const StorageKey = `pageBanner_${ id }`;\n\n const [StorageValue, setStorageValue] = useState<string | null>(null);\n\n useEffect(() => {\n setStorageValue(localStorage.getItem(StorageKey));\n }, [StorageKey]);\n\n const UserPreferences = StorageValue && JSON.parse(StorageValue);\n\n const { shouldDisplay } = UserPreferences || { shouldDisplay: true };\n\n const [isVisible, setVisibility] = useState<boolean>(shouldDisplay);\n\n const autoHideCssClass = autoHide ? `autoHide_${ autoHideDelay }` : 'noAutoHide';\n\n const cssClass = `\n pageBanner \n ${ type } \n ${ position } \n ${ displayMode } \n ${ autoHideCssClass }_${ animation }\n width_${ widthVariant }\n backgroundFill_${ backgroundFill }\n `;\n\n const handleBannerClose = () => {\n setVisibility(false);\n localStorage.setItem(StorageKey, JSON.stringify({ shouldDisplay: reDisplayOnClose }));\n };\n\n if (isVisible) {\n return (\n <aside className={ cssClass }>\n { !disableClose && (\n <SimpleButton\n cssClass=\"closeBannerButton\"\n label=\"Close page banner\"\n id={ `${ id }_CloseBannerButton` }\n onClickHandler={ handleBannerClose }\n hideLabel\n leftIcon={ { icon: 'close' } }\n />\n ) }\n\n <div className=\"pageBannerMainIcon\">\n <Icon icon={ icon } />\n </div>\n\n <div className=\"pageBannerContent\">\n { children }\n </div>\n </aside>\n );\n }\n\n return null;\n};\n\nexport default PageBanner;\n\nexport { PageBanner as Banner };\nexport { PageBanner as Alert };"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,IAAIC,QAAQ,EAA2BC,SAAS,QAAQ,OAAO;AAC3E,SAASC,IAAI,QAAQ,4BAA4B;AACjD,SAASC,YAAY,QAAQ,oCAAoC;AAEjE,OAAO,oBAAoB;AAkB3B,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EACpDC,SAAS,GAAG,MAAM;EAClBC,gBAAgB,GAAG,KAAK;EACxBC,QAAQ,GAAG,KAAK;EAChBC,aAAa,GAAG,EAAE;EAClBC,QAAQ;EACRC,WAAW,GAAG,OAAO;EACrBC,IAAI,GAAG,MAAM;EACbC,EAAE,GAAG,YAAY;EACjBC,QAAQ,GAAG,WAAW;EACtBC,IAAI,GAAG,MAAM;EACbC,YAAY,GAAG,KAAK;EACpBC,YAAY,GAAG,IAAI;EACnBC,cAAc,GAAG;AACnB,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAG,cAAeN,EAAE,EAAG;EAEvC,MAAM,CAACO,YAAY,EAAEC,eAAe,CAAC,GAAGpB,QAAQ,CAAgB,IAAI,CAAC;EAErEC,SAAS,CAAC,MAAM;IACdmB,eAAe,CAACC,YAAY,CAACC,OAAO,CAACJ,UAAU,CAAC,CAAC;EACnD,CAAC,EAAE,CAACA,UAAU,CAAC,CAAC;EAEhB,MAAMK,eAAe,GAAGJ,YAAY,IAAIK,IAAI,CAACC,KAAK,CAACN,YAAY,CAAC;EAEhE,MAAM;IAAEO;EAAc,CAAC,GAAGH,eAAe,IAAI;IAAEG,aAAa,EAAE;EAAK,CAAC;EAEpE,MAAM,CAACC,SAAS,EAAEC,aAAa,CAAC,GAAG5B,QAAQ,CAAU0B,aAAa,CAAC;EAEnE,MAAMG,gBAAgB,GAAGtB,QAAQ,GAAG,YAAaC,aAAa,EAAG,GAAG,YAAY;EAEhF,MAAMsB,QAAQ,GAAG;AACnB;AACA,MAAOhB,IAAI;AACX,MAAOD,QAAQ;AACf,MAAOH,WAAW;AAClB,MAAOmB,gBAAgB,IAAMxB,SAAS;AACtC,YAAaW,YAAY;AACzB,qBAAsBC,cAAc;AACpC,GAAG;EAED,MAAMc,iBAAiB,GAAGA,CAAA,KAAM;IAC9BH,aAAa,CAAC,KAAK,CAAC;IACpBP,YAAY,CAACW,OAAO,CAACd,UAAU,EAAEM,IAAI,CAACS,SAAS,CAAC;MAAEP,aAAa,EAAEpB;IAAiB,CAAC,CAAC,CAAC;EACvF,CAAC;EAED,IAAIqB,SAAS,EAAE;IACb,oBACE5B,KAAA,CAAAmC,aAAA;MAAOC,SAAS,EAAGL;IAAU,GACzB,CAACf,YAAY,iBACbhB,KAAA,CAAAmC,aAAA,CAAC/B,YAAY;MACX2B,QAAQ,EAAC,mBAAmB;MAC5BM,KAAK,EAAC,mBAAmB;MACzBxB,EAAE,EAAG,GAAIA,EAAE,oBAAuB;MAClCyB,cAAc,EAAGN,iBAAmB;MACpCO,SAAS;MACTC,QAAQ,EAAG;QAAE5B,IAAI,EAAE;MAAQ;IAAG,CAC/B,CACF,eAEDZ,KAAA,CAAAmC,aAAA;MAAKC,SAAS,EAAC;IAAoB,gBACjCpC,KAAA,CAAAmC,aAAA,CAAChC,IAAI;MAACS,IAAI,EAAGA;IAAM,CAAE,CAClB,CAAC,eAENZ,KAAA,CAAAmC,aAAA;MAAKC,SAAS,EAAC;IAAmB,GAC9B1B,QACC,CACA,CAAC;EAEZ;EAEA,OAAO,IAAI;AACb,CAAC;AAED,eAAeL,UAAU;AAEzB,SAASA,UAAU,IAAIoC,MAAM;AAC7B,SAASpC,UAAU,IAAIqC,KAAK","ignoreList":[]}
|
package/dist/esm/package.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"files": [
|
|
138
138
|
"dist"
|
|
139
139
|
],
|
|
140
|
-
"version": "3.13.
|
|
140
|
+
"version": "3.13.4",
|
|
141
141
|
"packageManager": "pnpm@10.11.0",
|
|
142
142
|
"repository": {
|
|
143
143
|
"type": "git",
|
|
@@ -174,19 +174,18 @@
|
|
|
174
174
|
},
|
|
175
175
|
"dependencies": {
|
|
176
176
|
"@hookform/error-message": "^2.0.1",
|
|
177
|
-
"@
|
|
178
|
-
"@
|
|
179
|
-
"@x15ventures/x15-ui-library-icons": "^1.0.4",
|
|
177
|
+
"@x15stack/aws": "^1.7.2",
|
|
178
|
+
"@x15ventures/x15-ui-library-icons": "^1.1.3",
|
|
180
179
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
181
|
-
"html-react-parser": "^5.
|
|
180
|
+
"html-react-parser": "^5.2.17",
|
|
182
181
|
"jsdom": "^26.1.0",
|
|
183
|
-
"react": "^18",
|
|
184
|
-
"react-dom": "^18",
|
|
182
|
+
"react": "^18.3.1",
|
|
183
|
+
"react-dom": "^18.3.1",
|
|
185
184
|
"react-helmet": "^6.1.0",
|
|
186
|
-
"react-hook-form": "^7.
|
|
185
|
+
"react-hook-form": "^7.74.0",
|
|
187
186
|
"run-func": "^3.0.0",
|
|
188
|
-
"storybook": "^10.
|
|
189
|
-
"use-debounce": "^10.
|
|
187
|
+
"storybook": "^10.3.5",
|
|
188
|
+
"use-debounce": "^10.1.1"
|
|
190
189
|
},
|
|
191
190
|
"peerDependencies": {
|
|
192
191
|
"core-js": "^3.44.0",
|
|
@@ -195,138 +194,141 @@
|
|
|
195
194
|
"storybook": "^10.1.10"
|
|
196
195
|
},
|
|
197
196
|
"devDependencies": {
|
|
198
|
-
"@babel/cli": "^7.
|
|
199
|
-
"@babel/core": "
|
|
200
|
-
"@babel/eslint-parser": "^7.
|
|
201
|
-
"@babel/eslint-plugin": "^7.
|
|
202
|
-
"@babel/plugin-syntax-jsx": "^7.
|
|
203
|
-
"@babel/plugin-transform-class-properties": "^7.
|
|
204
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
205
|
-
"@babel/plugin-transform-runtime": "^7",
|
|
206
|
-
"@babel/preset-env": "^7",
|
|
207
|
-
"@babel/preset-react": "^7",
|
|
208
|
-
"@babel/preset-typescript": "^7",
|
|
209
|
-
"@babel/runtime": "^7.
|
|
210
|
-
"@commitlint/cli": "^20.5.
|
|
197
|
+
"@babel/cli": "^7.28.6",
|
|
198
|
+
"@babel/core": "7.29.6",
|
|
199
|
+
"@babel/eslint-parser": "^7.28.6",
|
|
200
|
+
"@babel/eslint-plugin": "^7.27.1",
|
|
201
|
+
"@babel/plugin-syntax-jsx": "^7.28.6",
|
|
202
|
+
"@babel/plugin-transform-class-properties": "^7.28.6",
|
|
203
|
+
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
|
|
204
|
+
"@babel/plugin-transform-runtime": "^7.29.0",
|
|
205
|
+
"@babel/preset-env": "^7.29.2",
|
|
206
|
+
"@babel/preset-react": "^7.28.5",
|
|
207
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
208
|
+
"@babel/runtime": "^7.29.2",
|
|
209
|
+
"@commitlint/cli": "^20.5.2",
|
|
211
210
|
"@commitlint/config-conventional": "^20.5.0",
|
|
212
|
-
"@eslint/js": "^9.
|
|
211
|
+
"@eslint/js": "^9.39.4",
|
|
213
212
|
"@jest/globals": "^29.7.0",
|
|
214
213
|
"@jest/types": "^29.6.3",
|
|
215
|
-
"@mdx-js/mdx": "^3.1.
|
|
216
|
-
"@mdx-js/react": "^3.1.
|
|
217
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
218
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
219
|
-
"@rollup/plugin-typescript": "^12.
|
|
214
|
+
"@mdx-js/mdx": "^3.1.1",
|
|
215
|
+
"@mdx-js/react": "^3.1.1",
|
|
216
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
217
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
218
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
220
219
|
"@semantic-release/changelog": "^6.0.3",
|
|
221
220
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
221
|
+
"@semantic-release/exec": "^7.1.0",
|
|
222
222
|
"@semantic-release/git": "^10.0.1",
|
|
223
|
-
"@semantic-release/npm": "^12.0.
|
|
224
|
-
"@semantic-release/release-notes-generator": "^14.0
|
|
225
|
-
"@storybook/addon-a11y": "^10.
|
|
226
|
-
"@storybook/addon-docs": "^10.
|
|
223
|
+
"@semantic-release/npm": "^12.0.2",
|
|
224
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
225
|
+
"@storybook/addon-a11y": "^10.3.5",
|
|
226
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
227
227
|
"@storybook/addon-knobs": "^8.0.1",
|
|
228
|
-
"@storybook/addon-links": "^10.
|
|
229
|
-
"@storybook/addon-styling-webpack": "^1.0.
|
|
230
|
-
"@storybook/cli": "^10.
|
|
231
|
-
"@storybook/core-events": "^8.
|
|
232
|
-
"@storybook/manager-api": "^8.
|
|
228
|
+
"@storybook/addon-links": "^10.3.5",
|
|
229
|
+
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
230
|
+
"@storybook/cli": "^10.3.5",
|
|
231
|
+
"@storybook/core-events": "^8.6.14",
|
|
232
|
+
"@storybook/manager-api": "^8.6.14",
|
|
233
233
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
234
234
|
"@storybook/preset-scss": "^1.0.3",
|
|
235
|
-
"@storybook/preview-api": "^8.6.
|
|
236
|
-
"@storybook/react": "^10.
|
|
237
|
-
"@storybook/react-webpack5": "^10.
|
|
235
|
+
"@storybook/preview-api": "^8.6.14",
|
|
236
|
+
"@storybook/react": "^10.3.5",
|
|
237
|
+
"@storybook/react-webpack5": "^10.3.5",
|
|
238
238
|
"@storybook/types": "^8.6.14",
|
|
239
|
-
"@testing-library/jest-dom": "^6.
|
|
240
|
-
"@testing-library/react": "^16.
|
|
239
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
240
|
+
"@testing-library/react": "^16.3.2",
|
|
241
241
|
"@testing-library/user-event": "^14.6.1",
|
|
242
|
-
"@types/enzyme": "^3.10.
|
|
242
|
+
"@types/enzyme": "^3.10.19",
|
|
243
243
|
"@types/enzyme-adapter-react-16": "^1.0.9",
|
|
244
|
-
"@types/jest": "^29.5.
|
|
245
|
-
"@types/node": "^20",
|
|
246
|
-
"@types/react": "^18",
|
|
247
|
-
"@types/react-dom": "^18",
|
|
244
|
+
"@types/jest": "^29.5.14",
|
|
245
|
+
"@types/node": "^20.19.39",
|
|
246
|
+
"@types/react": "^18.3.28",
|
|
247
|
+
"@types/react-dom": "^18.3.7",
|
|
248
248
|
"@types/react-helmet": "^6.1.11",
|
|
249
249
|
"@types/webpack": "^5.28.5",
|
|
250
|
-
"@types/webpack-env": "^1.18.
|
|
251
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
252
|
-
"@typescript-eslint/parser": "^8.
|
|
250
|
+
"@types/webpack-env": "^1.18.8",
|
|
251
|
+
"@typescript-eslint/eslint-plugin": "^8.59.1",
|
|
252
|
+
"@typescript-eslint/parser": "^8.59.1",
|
|
253
253
|
"@x15stack/aws": "^1.6.5",
|
|
254
|
-
"autoprefixer": "^10.
|
|
255
|
-
"babel-jest": "^30.
|
|
256
|
-
"babel-loader": "^9.1
|
|
254
|
+
"autoprefixer": "^10.5.0",
|
|
255
|
+
"babel-jest": "^30.3.0",
|
|
256
|
+
"babel-loader": "^9.2.1",
|
|
257
257
|
"babel-plugin-macros": "^3.1.0",
|
|
258
|
-
"chromatic": "^11.
|
|
259
|
-
"commitlint": "^20.5.
|
|
258
|
+
"chromatic": "^11.29.0",
|
|
259
|
+
"commitlint": "^20.5.3",
|
|
260
260
|
"copy-webpack-plugin": "^12.0.2",
|
|
261
|
-
"cors": "^2.8.
|
|
261
|
+
"cors": "^2.8.6",
|
|
262
262
|
"cross-env": "^7.0.3",
|
|
263
|
-
"css-loader": "^7.1.
|
|
263
|
+
"css-loader": "^7.1.4",
|
|
264
264
|
"enzyme": "^3.11.0",
|
|
265
265
|
"enzyme-adapter-react-16": "^1.15.8",
|
|
266
|
-
"esbuild": "^0.25.
|
|
267
|
-
"esbuild-sass-plugin": "^3.
|
|
268
|
-
"eslint": "^9.
|
|
269
|
-
"eslint-import-resolver-typescript": "^3.
|
|
270
|
-
"eslint-plugin-import": "^2.
|
|
271
|
-
"eslint-plugin-jest": "^28.
|
|
266
|
+
"esbuild": "^0.25.12",
|
|
267
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
268
|
+
"eslint": "^9.39.4",
|
|
269
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
270
|
+
"eslint-plugin-import": "^2.32.0",
|
|
271
|
+
"eslint-plugin-jest": "^28.14.0",
|
|
272
272
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
273
|
-
"eslint-plugin-react": "^7.37.
|
|
273
|
+
"eslint-plugin-react": "^7.37.5",
|
|
274
274
|
"eslint-plugin-storybook": "10.1.10",
|
|
275
275
|
"express": "^5.2.1",
|
|
276
276
|
"file-loader": "^6.2.0",
|
|
277
277
|
"fs": "0.0.1-security",
|
|
278
|
-
"fs-extra": "^11.3.
|
|
278
|
+
"fs-extra": "^11.3.4",
|
|
279
279
|
"glob": "^13.0.6",
|
|
280
|
-
"globals": "^15.
|
|
281
|
-
"jest": "^30.
|
|
280
|
+
"globals": "^15.15.0",
|
|
281
|
+
"jest": "^30.3.0",
|
|
282
282
|
"jest-environment-jsdom": "^29.7.0",
|
|
283
|
-
"lefthook": "^1.
|
|
284
|
-
"minimatch": "^10.2.
|
|
285
|
-
"nodemon": "^3.1.
|
|
283
|
+
"lefthook": "^1.13.6",
|
|
284
|
+
"minimatch": "^10.2.5",
|
|
285
|
+
"nodemon": "^3.1.14",
|
|
286
286
|
"npm-run-all": "^4.1.5",
|
|
287
287
|
"null-loader": "^4.0.1",
|
|
288
|
-
"postcss": "^8.5.
|
|
289
|
-
"postcss-loader": "^8.
|
|
288
|
+
"postcss": "^8.5.12",
|
|
289
|
+
"postcss-loader": "^8.2.1",
|
|
290
290
|
"raw-loader": "^4.0.2",
|
|
291
|
-
"react-docgen-typescript": "^2.
|
|
291
|
+
"react-docgen-typescript": "^2.4.0",
|
|
292
292
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
293
|
-
"react-dropzone": "^14.
|
|
294
|
-
"sass": "^1.
|
|
295
|
-
"sass-loader": "^16.0.
|
|
296
|
-
"semantic-release": "^24.2.
|
|
293
|
+
"react-dropzone": "^14.4.1",
|
|
294
|
+
"sass": "^1.99.0",
|
|
295
|
+
"sass-loader": "^16.0.7",
|
|
296
|
+
"semantic-release": "^24.2.9",
|
|
297
297
|
"style-loader": "^4.0.0",
|
|
298
|
-
"ts-jest": "^29.
|
|
299
|
-
"ts-morph": "^25.0.
|
|
300
|
-
"tsconfig-paths-webpack-plugin": "^4.
|
|
298
|
+
"ts-jest": "^29.4.9",
|
|
299
|
+
"ts-morph": "^25.0.1",
|
|
300
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
301
301
|
"ttab": "^0.9.0",
|
|
302
302
|
"typescript": "5.5.4",
|
|
303
303
|
"url-loader": "^4.1.1",
|
|
304
|
-
"vitest": "3.
|
|
304
|
+
"vitest": "3.2.6"
|
|
305
305
|
},
|
|
306
306
|
"pnpm": {
|
|
307
307
|
"overrides": {
|
|
308
|
+
"@babel/plugin-transform-modules-systemjs": "7.29.4",
|
|
308
309
|
"@tootallnate/once@<3.0.1": ">=3.0.1",
|
|
309
|
-
"brace-expansion": "
|
|
310
|
+
"brace-expansion": "5.0.6",
|
|
311
|
+
"fast-uri": "3.1.2",
|
|
312
|
+
"form-data": "4.0.6",
|
|
310
313
|
"flatted": ">=3.4.2",
|
|
311
314
|
"flatted@<3.4.0": ">=3.4.0",
|
|
312
315
|
"handlebars": ">=4.7.9",
|
|
313
316
|
"immutable@>=5.0.0 <5.1.5": ">=5.1.5",
|
|
314
|
-
"
|
|
317
|
+
"js-yaml": "4.2.0",
|
|
318
|
+
"minimatch": "9.0.7",
|
|
315
319
|
"path-to-regexp": ">=8.4.0",
|
|
316
320
|
"picomatch": ">=4.0.4",
|
|
317
|
-
"qs": "
|
|
321
|
+
"qs": "6.15.2",
|
|
318
322
|
"rollup": ">=4.59.0",
|
|
319
323
|
"serialize-javascript": ">=7.0.3",
|
|
324
|
+
"shell-quote": "1.8.4",
|
|
320
325
|
"storybook": ">=10.2.10",
|
|
321
|
-
"undici": "
|
|
326
|
+
"undici": "8.5.0",
|
|
327
|
+
"uuid": "11.1.1",
|
|
328
|
+
"vite": "6.4.3",
|
|
322
329
|
"webpack": ">=5.104.1",
|
|
330
|
+
"ws": "8.21.0",
|
|
323
331
|
"yaml": ">=1.10.3"
|
|
324
|
-
},
|
|
325
|
-
"auditConfig": {
|
|
326
|
-
"ignoreCves": [
|
|
327
|
-
"GHSA-rx8g-88g5-qh64",
|
|
328
|
-
"CVE-2025-57352"
|
|
329
|
-
]
|
|
330
332
|
}
|
|
331
333
|
}
|
|
332
334
|
}
|
package/dist/package.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"files": [
|
|
138
138
|
"dist"
|
|
139
139
|
],
|
|
140
|
-
"version": "3.13.
|
|
140
|
+
"version": "3.13.4",
|
|
141
141
|
"packageManager": "pnpm@10.11.0",
|
|
142
142
|
"repository": {
|
|
143
143
|
"type": "git",
|
|
@@ -174,19 +174,18 @@
|
|
|
174
174
|
},
|
|
175
175
|
"dependencies": {
|
|
176
176
|
"@hookform/error-message": "^2.0.1",
|
|
177
|
-
"@
|
|
178
|
-
"@
|
|
179
|
-
"@x15ventures/x15-ui-library-icons": "^1.0.4",
|
|
177
|
+
"@x15stack/aws": "^1.7.2",
|
|
178
|
+
"@x15ventures/x15-ui-library-icons": "^1.1.3",
|
|
180
179
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
181
|
-
"html-react-parser": "^5.
|
|
180
|
+
"html-react-parser": "^5.2.17",
|
|
182
181
|
"jsdom": "^26.1.0",
|
|
183
|
-
"react": "^18",
|
|
184
|
-
"react-dom": "^18",
|
|
182
|
+
"react": "^18.3.1",
|
|
183
|
+
"react-dom": "^18.3.1",
|
|
185
184
|
"react-helmet": "^6.1.0",
|
|
186
|
-
"react-hook-form": "^7.
|
|
185
|
+
"react-hook-form": "^7.74.0",
|
|
187
186
|
"run-func": "^3.0.0",
|
|
188
|
-
"storybook": "^10.
|
|
189
|
-
"use-debounce": "^10.
|
|
187
|
+
"storybook": "^10.3.5",
|
|
188
|
+
"use-debounce": "^10.1.1"
|
|
190
189
|
},
|
|
191
190
|
"peerDependencies": {
|
|
192
191
|
"core-js": "^3.44.0",
|
|
@@ -195,138 +194,141 @@
|
|
|
195
194
|
"storybook": "^10.1.10"
|
|
196
195
|
},
|
|
197
196
|
"devDependencies": {
|
|
198
|
-
"@babel/cli": "^7.
|
|
199
|
-
"@babel/core": "
|
|
200
|
-
"@babel/eslint-parser": "^7.
|
|
201
|
-
"@babel/eslint-plugin": "^7.
|
|
202
|
-
"@babel/plugin-syntax-jsx": "^7.
|
|
203
|
-
"@babel/plugin-transform-class-properties": "^7.
|
|
204
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
205
|
-
"@babel/plugin-transform-runtime": "^7",
|
|
206
|
-
"@babel/preset-env": "^7",
|
|
207
|
-
"@babel/preset-react": "^7",
|
|
208
|
-
"@babel/preset-typescript": "^7",
|
|
209
|
-
"@babel/runtime": "^7.
|
|
210
|
-
"@commitlint/cli": "^20.5.
|
|
197
|
+
"@babel/cli": "^7.28.6",
|
|
198
|
+
"@babel/core": "7.29.6",
|
|
199
|
+
"@babel/eslint-parser": "^7.28.6",
|
|
200
|
+
"@babel/eslint-plugin": "^7.27.1",
|
|
201
|
+
"@babel/plugin-syntax-jsx": "^7.28.6",
|
|
202
|
+
"@babel/plugin-transform-class-properties": "^7.28.6",
|
|
203
|
+
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
|
|
204
|
+
"@babel/plugin-transform-runtime": "^7.29.0",
|
|
205
|
+
"@babel/preset-env": "^7.29.2",
|
|
206
|
+
"@babel/preset-react": "^7.28.5",
|
|
207
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
208
|
+
"@babel/runtime": "^7.29.2",
|
|
209
|
+
"@commitlint/cli": "^20.5.2",
|
|
211
210
|
"@commitlint/config-conventional": "^20.5.0",
|
|
212
|
-
"@eslint/js": "^9.
|
|
211
|
+
"@eslint/js": "^9.39.4",
|
|
213
212
|
"@jest/globals": "^29.7.0",
|
|
214
213
|
"@jest/types": "^29.6.3",
|
|
215
|
-
"@mdx-js/mdx": "^3.1.
|
|
216
|
-
"@mdx-js/react": "^3.1.
|
|
217
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
218
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
219
|
-
"@rollup/plugin-typescript": "^12.
|
|
214
|
+
"@mdx-js/mdx": "^3.1.1",
|
|
215
|
+
"@mdx-js/react": "^3.1.1",
|
|
216
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
217
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
218
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
220
219
|
"@semantic-release/changelog": "^6.0.3",
|
|
221
220
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
221
|
+
"@semantic-release/exec": "^7.1.0",
|
|
222
222
|
"@semantic-release/git": "^10.0.1",
|
|
223
|
-
"@semantic-release/npm": "^12.0.
|
|
224
|
-
"@semantic-release/release-notes-generator": "^14.0
|
|
225
|
-
"@storybook/addon-a11y": "^10.
|
|
226
|
-
"@storybook/addon-docs": "^10.
|
|
223
|
+
"@semantic-release/npm": "^12.0.2",
|
|
224
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
225
|
+
"@storybook/addon-a11y": "^10.3.5",
|
|
226
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
227
227
|
"@storybook/addon-knobs": "^8.0.1",
|
|
228
|
-
"@storybook/addon-links": "^10.
|
|
229
|
-
"@storybook/addon-styling-webpack": "^1.0.
|
|
230
|
-
"@storybook/cli": "^10.
|
|
231
|
-
"@storybook/core-events": "^8.
|
|
232
|
-
"@storybook/manager-api": "^8.
|
|
228
|
+
"@storybook/addon-links": "^10.3.5",
|
|
229
|
+
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
230
|
+
"@storybook/cli": "^10.3.5",
|
|
231
|
+
"@storybook/core-events": "^8.6.14",
|
|
232
|
+
"@storybook/manager-api": "^8.6.14",
|
|
233
233
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
234
234
|
"@storybook/preset-scss": "^1.0.3",
|
|
235
|
-
"@storybook/preview-api": "^8.6.
|
|
236
|
-
"@storybook/react": "^10.
|
|
237
|
-
"@storybook/react-webpack5": "^10.
|
|
235
|
+
"@storybook/preview-api": "^8.6.14",
|
|
236
|
+
"@storybook/react": "^10.3.5",
|
|
237
|
+
"@storybook/react-webpack5": "^10.3.5",
|
|
238
238
|
"@storybook/types": "^8.6.14",
|
|
239
|
-
"@testing-library/jest-dom": "^6.
|
|
240
|
-
"@testing-library/react": "^16.
|
|
239
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
240
|
+
"@testing-library/react": "^16.3.2",
|
|
241
241
|
"@testing-library/user-event": "^14.6.1",
|
|
242
|
-
"@types/enzyme": "^3.10.
|
|
242
|
+
"@types/enzyme": "^3.10.19",
|
|
243
243
|
"@types/enzyme-adapter-react-16": "^1.0.9",
|
|
244
|
-
"@types/jest": "^29.5.
|
|
245
|
-
"@types/node": "^20",
|
|
246
|
-
"@types/react": "^18",
|
|
247
|
-
"@types/react-dom": "^18",
|
|
244
|
+
"@types/jest": "^29.5.14",
|
|
245
|
+
"@types/node": "^20.19.39",
|
|
246
|
+
"@types/react": "^18.3.28",
|
|
247
|
+
"@types/react-dom": "^18.3.7",
|
|
248
248
|
"@types/react-helmet": "^6.1.11",
|
|
249
249
|
"@types/webpack": "^5.28.5",
|
|
250
|
-
"@types/webpack-env": "^1.18.
|
|
251
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
252
|
-
"@typescript-eslint/parser": "^8.
|
|
250
|
+
"@types/webpack-env": "^1.18.8",
|
|
251
|
+
"@typescript-eslint/eslint-plugin": "^8.59.1",
|
|
252
|
+
"@typescript-eslint/parser": "^8.59.1",
|
|
253
253
|
"@x15stack/aws": "^1.6.5",
|
|
254
|
-
"autoprefixer": "^10.
|
|
255
|
-
"babel-jest": "^30.
|
|
256
|
-
"babel-loader": "^9.1
|
|
254
|
+
"autoprefixer": "^10.5.0",
|
|
255
|
+
"babel-jest": "^30.3.0",
|
|
256
|
+
"babel-loader": "^9.2.1",
|
|
257
257
|
"babel-plugin-macros": "^3.1.0",
|
|
258
|
-
"chromatic": "^11.
|
|
259
|
-
"commitlint": "^20.5.
|
|
258
|
+
"chromatic": "^11.29.0",
|
|
259
|
+
"commitlint": "^20.5.3",
|
|
260
260
|
"copy-webpack-plugin": "^12.0.2",
|
|
261
|
-
"cors": "^2.8.
|
|
261
|
+
"cors": "^2.8.6",
|
|
262
262
|
"cross-env": "^7.0.3",
|
|
263
|
-
"css-loader": "^7.1.
|
|
263
|
+
"css-loader": "^7.1.4",
|
|
264
264
|
"enzyme": "^3.11.0",
|
|
265
265
|
"enzyme-adapter-react-16": "^1.15.8",
|
|
266
|
-
"esbuild": "^0.25.
|
|
267
|
-
"esbuild-sass-plugin": "^3.
|
|
268
|
-
"eslint": "^9.
|
|
269
|
-
"eslint-import-resolver-typescript": "^3.
|
|
270
|
-
"eslint-plugin-import": "^2.
|
|
271
|
-
"eslint-plugin-jest": "^28.
|
|
266
|
+
"esbuild": "^0.25.12",
|
|
267
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
268
|
+
"eslint": "^9.39.4",
|
|
269
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
270
|
+
"eslint-plugin-import": "^2.32.0",
|
|
271
|
+
"eslint-plugin-jest": "^28.14.0",
|
|
272
272
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
273
|
-
"eslint-plugin-react": "^7.37.
|
|
273
|
+
"eslint-plugin-react": "^7.37.5",
|
|
274
274
|
"eslint-plugin-storybook": "10.1.10",
|
|
275
275
|
"express": "^5.2.1",
|
|
276
276
|
"file-loader": "^6.2.0",
|
|
277
277
|
"fs": "0.0.1-security",
|
|
278
|
-
"fs-extra": "^11.3.
|
|
278
|
+
"fs-extra": "^11.3.4",
|
|
279
279
|
"glob": "^13.0.6",
|
|
280
|
-
"globals": "^15.
|
|
281
|
-
"jest": "^30.
|
|
280
|
+
"globals": "^15.15.0",
|
|
281
|
+
"jest": "^30.3.0",
|
|
282
282
|
"jest-environment-jsdom": "^29.7.0",
|
|
283
|
-
"lefthook": "^1.
|
|
284
|
-
"minimatch": "^10.2.
|
|
285
|
-
"nodemon": "^3.1.
|
|
283
|
+
"lefthook": "^1.13.6",
|
|
284
|
+
"minimatch": "^10.2.5",
|
|
285
|
+
"nodemon": "^3.1.14",
|
|
286
286
|
"npm-run-all": "^4.1.5",
|
|
287
287
|
"null-loader": "^4.0.1",
|
|
288
|
-
"postcss": "^8.5.
|
|
289
|
-
"postcss-loader": "^8.
|
|
288
|
+
"postcss": "^8.5.12",
|
|
289
|
+
"postcss-loader": "^8.2.1",
|
|
290
290
|
"raw-loader": "^4.0.2",
|
|
291
|
-
"react-docgen-typescript": "^2.
|
|
291
|
+
"react-docgen-typescript": "^2.4.0",
|
|
292
292
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
293
|
-
"react-dropzone": "^14.
|
|
294
|
-
"sass": "^1.
|
|
295
|
-
"sass-loader": "^16.0.
|
|
296
|
-
"semantic-release": "^24.2.
|
|
293
|
+
"react-dropzone": "^14.4.1",
|
|
294
|
+
"sass": "^1.99.0",
|
|
295
|
+
"sass-loader": "^16.0.7",
|
|
296
|
+
"semantic-release": "^24.2.9",
|
|
297
297
|
"style-loader": "^4.0.0",
|
|
298
|
-
"ts-jest": "^29.
|
|
299
|
-
"ts-morph": "^25.0.
|
|
300
|
-
"tsconfig-paths-webpack-plugin": "^4.
|
|
298
|
+
"ts-jest": "^29.4.9",
|
|
299
|
+
"ts-morph": "^25.0.1",
|
|
300
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
301
301
|
"ttab": "^0.9.0",
|
|
302
302
|
"typescript": "5.5.4",
|
|
303
303
|
"url-loader": "^4.1.1",
|
|
304
|
-
"vitest": "3.
|
|
304
|
+
"vitest": "3.2.6"
|
|
305
305
|
},
|
|
306
306
|
"pnpm": {
|
|
307
307
|
"overrides": {
|
|
308
|
+
"@babel/plugin-transform-modules-systemjs": "7.29.4",
|
|
308
309
|
"@tootallnate/once@<3.0.1": ">=3.0.1",
|
|
309
|
-
"brace-expansion": "
|
|
310
|
+
"brace-expansion": "5.0.6",
|
|
311
|
+
"fast-uri": "3.1.2",
|
|
312
|
+
"form-data": "4.0.6",
|
|
310
313
|
"flatted": ">=3.4.2",
|
|
311
314
|
"flatted@<3.4.0": ">=3.4.0",
|
|
312
315
|
"handlebars": ">=4.7.9",
|
|
313
316
|
"immutable@>=5.0.0 <5.1.5": ">=5.1.5",
|
|
314
|
-
"
|
|
317
|
+
"js-yaml": "4.2.0",
|
|
318
|
+
"minimatch": "9.0.7",
|
|
315
319
|
"path-to-regexp": ">=8.4.0",
|
|
316
320
|
"picomatch": ">=4.0.4",
|
|
317
|
-
"qs": "
|
|
321
|
+
"qs": "6.15.2",
|
|
318
322
|
"rollup": ">=4.59.0",
|
|
319
323
|
"serialize-javascript": ">=7.0.3",
|
|
324
|
+
"shell-quote": "1.8.4",
|
|
320
325
|
"storybook": ">=10.2.10",
|
|
321
|
-
"undici": "
|
|
326
|
+
"undici": "8.5.0",
|
|
327
|
+
"uuid": "11.1.1",
|
|
328
|
+
"vite": "6.4.3",
|
|
322
329
|
"webpack": ">=5.104.1",
|
|
330
|
+
"ws": "8.21.0",
|
|
323
331
|
"yaml": ">=1.10.3"
|
|
324
|
-
},
|
|
325
|
-
"auditConfig": {
|
|
326
|
-
"ignoreCves": [
|
|
327
|
-
"GHSA-rx8g-88g5-qh64",
|
|
328
|
-
"CVE-2025-57352"
|
|
329
|
-
]
|
|
330
332
|
}
|
|
331
333
|
}
|
|
332
334
|
}
|