@moduk/frontend 2.0.22 → 2.0.24
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/client/moduk-frontend.umd.js +1 -1
- package/client/moduk-frontend.umd.js.LICENSE.txt +21 -0
- package/client/moduk-frontend.umd.js.map +1 -1
- package/css/index.css +1 -1
- package/dist/client/moduk-frontend.umd.js +1 -1
- package/dist/client/moduk-frontend.umd.js.LICENSE.txt +21 -0
- package/dist/client/moduk-frontend.umd.js.map +1 -1
- package/dist/css/index.css +1 -1
- package/dist/lib/utils.js +4 -5
- package/dist/lib/utils.js.map +1 -1
- package/lib/utils.js +4 -5
- package/lib/utils.js.map +1 -1
- package/package.json +14 -14
- package/react/MODUKBody/MODUKBody.d.ts +1 -1
- package/react/MODUKBody/MODUKBody.d.ts.map +1 -1
- package/react/VisuallyHiddenText/VisuallyHiddenText.d.ts.map +1 -1
- package/react/esm/MODUKBody/MODUKBody.js +2 -2
- package/react/esm/accordion/Accordion.js +2 -2
- package/react/esm/back-link/BackLink.js +2 -2
- package/react/esm/character-count/CharacterCount.js +2 -2
- package/react/esm/details/Details.js +2 -2
- package/react/esm/error-message/ErrorMessage.js +2 -2
- package/react/esm/fieldset/Fieldset.js +2 -2
- package/react/esm/fieldset/FieldsetLegend.js +2 -2
- package/react/esm/footer/Footer.js +2 -2
- package/react/esm/footer/FooterMetaLink.js +2 -2
- package/react/esm/footer/FooterNavigationLink.js +2 -2
- package/react/esm/header/Header.js +2 -2
- package/react/esm/header/HeaderNavigationItem.js +2 -2
- package/react/esm/header/HeaderNavigationLink.js +2 -2
- package/react/esm/hint/Hint.js +2 -2
- package/react/esm/input/Input.js +2 -2
- package/react/esm/inset-text/InsetText.js +2 -2
- package/react/esm/internal/Link/Link.js +2 -2
- package/react/esm/internal/hooks/useMODUKComponent/useMODUKComponent.js +10 -11
- package/react/esm/internal/hooks/usePrevious/usePrevious.js +1 -1
- package/react/esm/label/Label.js +2 -2
- package/react/esm/notification-banner/NotificationBanner.js +2 -2
- package/react/esm/phase-banner/PhaseBanner.js +2 -2
- package/react/esm/phase-banner/PhaseTag.js +2 -2
- package/react/esm/skip-link/SkipLink.js +2 -2
- package/react/esm/summary-list/SummaryList.js +2 -2
- package/react/esm/summary-list/SummaryListActionLink.js +2 -2
- package/react/esm/table/TableBody.js +2 -2
- package/react/esm/table/TableCaption.js +2 -2
- package/react/esm/table/TableCell.js +2 -2
- package/react/esm/table/TableColumnHeader.js +2 -2
- package/react/esm/table/TableHead.js +2 -2
- package/react/esm/table/TableRow.js +2 -2
- package/react/esm/table/TableRowHeader.js +2 -2
- package/react/esm/tag/Tag.js +2 -2
- package/react/esm/textarea/Textarea.js +2 -2
- package/react/esm/warning-text/WarningText.js +2 -2
- package/react/index.js +1 -1
- package/react/index.js.map +1 -1
- package/react/internal/hooks/useMODUKComponent/useMODUKComponent.d.ts +1 -1
- package/react/internal/test-utils/Root.d.ts.map +1 -1
- package/react/summary-list/SummaryCardActions.d.ts.map +1 -1
- package/react/summary-list/SummaryCardTitle.d.ts.map +1 -1
- package/react/summary-list/SummaryListActions.d.ts.map +1 -1
- package/react/summary-list/SummaryListKey.d.ts.map +1 -1
- package/react/summary-list/SummaryListValue.d.ts.map +1 -1
- package/assets/images/govuk-crest-2x.png +0 -0
- package/assets/images/govuk-crest.png +0 -0
- package/dist/assets/images/govuk-crest-2x.png +0 -0
- package/dist/assets/images/govuk-crest.png +0 -0
package/dist/lib/utils.js
CHANGED
@@ -20,7 +20,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
20
20
|
return to.concat(ar || Array.prototype.slice.call(from));
|
21
21
|
};
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
23
|
-
exports.
|
23
|
+
exports.getNunjucksPaths = getNunjucksPaths;
|
24
|
+
exports.addNunjucksExtensions = addNunjucksExtensions;
|
25
|
+
exports.addMODUKFilters = addMODUKFilters;
|
26
|
+
exports.createNunjucksEnvironment = createNunjucksEnvironment;
|
24
27
|
var lodash_1 = require("lodash");
|
25
28
|
var node_fs_1 = require("node:fs");
|
26
29
|
var node_path_1 = require("node:path");
|
@@ -36,7 +39,6 @@ function getNunjucksPaths() {
|
|
36
39
|
govukFrontendPath,
|
37
40
|
];
|
38
41
|
}
|
39
|
-
exports.getNunjucksPaths = getNunjucksPaths;
|
40
42
|
var addCustomMODUKClass = function (params, classToAdd, options) {
|
41
43
|
var _a;
|
42
44
|
var propertyPath = (_a = options === null || options === void 0 ? void 0 : options.path) !== null && _a !== void 0 ? _a : 'classes';
|
@@ -84,7 +86,6 @@ function addNunjucksExtensions(nunjucksEnv) {
|
|
84
86
|
nunjucksEnv.addFilter('addCustomMODUKClass', addCustomMODUKClass);
|
85
87
|
addSvgExtension(nunjucksEnv);
|
86
88
|
}
|
87
|
-
exports.addNunjucksExtensions = addNunjucksExtensions;
|
88
89
|
/**
|
89
90
|
* @deprecated Use addNunjucksExtensions instead.
|
90
91
|
* Add MOD.UK filters to an existing Nunjucks environment.
|
@@ -93,7 +94,6 @@ exports.addNunjucksExtensions = addNunjucksExtensions;
|
|
93
94
|
function addMODUKFilters(nunjucksEnv) {
|
94
95
|
addNunjucksExtensions(nunjucksEnv);
|
95
96
|
}
|
96
|
-
exports.addMODUKFilters = addMODUKFilters;
|
97
97
|
/**
|
98
98
|
* Create a Nunjucks environment pre-configured with MOD.UK template paths and internal extensions.
|
99
99
|
*
|
@@ -107,5 +107,4 @@ function createNunjucksEnvironment(templatePaths, options) {
|
|
107
107
|
addNunjucksExtensions(env);
|
108
108
|
return env;
|
109
109
|
}
|
110
|
-
exports.createNunjucksEnvironment = createNunjucksEnvironment;
|
111
110
|
//# sourceMappingURL=utils.js.map
|
package/dist/lib/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"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"}
|
package/lib/utils.js
CHANGED
@@ -20,7 +20,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
20
20
|
return to.concat(ar || Array.prototype.slice.call(from));
|
21
21
|
};
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
23
|
-
exports.
|
23
|
+
exports.getNunjucksPaths = getNunjucksPaths;
|
24
|
+
exports.addNunjucksExtensions = addNunjucksExtensions;
|
25
|
+
exports.addMODUKFilters = addMODUKFilters;
|
26
|
+
exports.createNunjucksEnvironment = createNunjucksEnvironment;
|
24
27
|
var lodash_1 = require("lodash");
|
25
28
|
var node_fs_1 = require("node:fs");
|
26
29
|
var node_path_1 = require("node:path");
|
@@ -36,7 +39,6 @@ function getNunjucksPaths() {
|
|
36
39
|
govukFrontendPath,
|
37
40
|
];
|
38
41
|
}
|
39
|
-
exports.getNunjucksPaths = getNunjucksPaths;
|
40
42
|
var addCustomMODUKClass = function (params, classToAdd, options) {
|
41
43
|
var _a;
|
42
44
|
var propertyPath = (_a = options === null || options === void 0 ? void 0 : options.path) !== null && _a !== void 0 ? _a : 'classes';
|
@@ -84,7 +86,6 @@ function addNunjucksExtensions(nunjucksEnv) {
|
|
84
86
|
nunjucksEnv.addFilter('addCustomMODUKClass', addCustomMODUKClass);
|
85
87
|
addSvgExtension(nunjucksEnv);
|
86
88
|
}
|
87
|
-
exports.addNunjucksExtensions = addNunjucksExtensions;
|
88
89
|
/**
|
89
90
|
* @deprecated Use addNunjucksExtensions instead.
|
90
91
|
* Add MOD.UK filters to an existing Nunjucks environment.
|
@@ -93,7 +94,6 @@ exports.addNunjucksExtensions = addNunjucksExtensions;
|
|
93
94
|
function addMODUKFilters(nunjucksEnv) {
|
94
95
|
addNunjucksExtensions(nunjucksEnv);
|
95
96
|
}
|
96
|
-
exports.addMODUKFilters = addMODUKFilters;
|
97
97
|
/**
|
98
98
|
* Create a Nunjucks environment pre-configured with MOD.UK template paths and internal extensions.
|
99
99
|
*
|
@@ -107,5 +107,4 @@ function createNunjucksEnvironment(templatePaths, options) {
|
|
107
107
|
addNunjucksExtensions(env);
|
108
108
|
return env;
|
109
109
|
}
|
110
|
-
exports.createNunjucksEnvironment = createNunjucksEnvironment;
|
111
110
|
//# sourceMappingURL=utils.js.map
|
package/lib/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,4CAMC;AA2DD,sDAGC;AAOD,0CAEC;AAQD,8DAOC;AArGD,iCAAiC;AACjC,mCAAsC;AACtC,uCAAmD;AACnD,qCAAsF;AAEtF;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,IAAM,iBAAiB,GAAG,IAAA,mBAAO,EAAC,IAAA,mBAAO,EAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAC7E,OAAO;QACL,IAAA,gBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAAC;QACjC,iBAAiB;KAClB,CAAA;AACH,CAAC;AAID,IAAM,mBAAmB,GAAmB,UAC1C,MAAM,EACN,UAAkB,EAClB,OAAkD;;IAElD,IAAM,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,mCAAI,SAAS,CAAA;IAC/C,IAAM,eAAe,GAAG,IAAA,YAAG,EAAC,MAAM,EAAE,YAAY,EAAE,EAAE,CAAC,CAAA;IAErD,IAAM,OAAO,GAAa,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACpD,IAAM,QAAQ,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAA;IAE7B,IAAM,WAAW,GAAG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,UAAC,SAAS,IAAK,OAAA,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAhC,CAAgC,CAAC,CAAA;IAC7F,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,MAAM,CAAA;IACf,CAAC;IAED,OAAO,IAAA,YAAG,eACH,MAAM,GACX,YAAY,EACZ,eAAe,CAAC,CAAC,CAAC,UAAG,UAAU,cAAI,eAAe,CAAE,CAAC,CAAC,CAAC,UAAG,UAAU,CAAE,CACvE,CAAA;AACH,CAAC,CAAA;AAED;;;;;GAKG;AACH,SAAS,eAAe,CAAC,WAAwB;IAC/C;QAAA;YACE,SAAI,GAAG,CAAC,iBAAiB,CAAC,CAAA;QAgB5B,CAAC;QAdC,iEAAiE;QACjE,yBAAK,GAAL,UAAM,MAAW,EAAE,KAAU;YAC3B,IAAM,GAAG,GAAG,MAAM,CAAC,SAAS,EAAE,CAAA;YAC9B,IAAM,IAAI,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;YAC9C,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAEtC,OAAO,IAAI,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;QACzD,CAAC;QAED,qDAAqD;QACrD,uBAAG,GAAH,UAAI,QAAiB,EAAE,QAAgB;YACrC,IAAM,OAAO,GAAG,UAAG,IAAA,gBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAA,oBAAQ,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,SAAM,CAAA;YACzF,OAAO,IAAI,kBAAO,CAAC,UAAU,CAAC,IAAA,sBAAY,EAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAA;QAC9D,CAAC;QACH,gBAAC;IAAD,CAAC,AAjBD,IAiBC;IACD,WAAW,CAAC,YAAY,CAAC,iBAAiB,EAAE,IAAI,SAAS,EAAE,CAAC,CAAA;AAC9D,CAAC;AAED;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,WAAwB;IAC5D,WAAW,CAAC,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAA;IACjE,eAAe,CAAC,WAAW,CAAC,CAAA;AAC9B,CAAC;AAED;;;;GAIG;AACH,SAAgB,eAAe,CAAC,WAAwB;IACtD,qBAAqB,CAAC,WAAW,CAAC,CAAA;AACpC,CAAC;AAED;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,aAA4B,EAC5B,OAAiD;IADjD,8BAAA,EAAA,kBAA4B;IAC5B,wBAAA,EAAA,mBAAiD;IAEjD,IAAM,GAAG,GAAG,IAAA,oBAAS,kCAAK,gBAAgB,EAAE,SAAK,aAAa,SAAG,OAAO,CAAC,CAAA;IACzE,qBAAqB,CAAC,GAAG,CAAC,CAAA;IAC1B,OAAO,GAAG,CAAA;AACZ,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@moduk/frontend",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.24",
|
4
4
|
"description": "The MOD.UK Frontend contains the code you need to start building a user interface for Ministry of Defence platforms and services.",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"sass": "src/css/index.scss",
|
@@ -109,26 +109,26 @@
|
|
109
109
|
"@babel/preset-react": "^7.25.9",
|
110
110
|
"@babel/preset-typescript": "^7.26.0",
|
111
111
|
"@babel/register": "^7.25.9",
|
112
|
-
"@commitlint/cli": "^19.
|
113
|
-
"@commitlint/config-conventional": "^19.
|
114
|
-
"@playwright/test": "^1.
|
115
|
-
"@release-it/conventional-changelog": "^
|
112
|
+
"@commitlint/cli": "^19.7.1",
|
113
|
+
"@commitlint/config-conventional": "^19.7.1",
|
114
|
+
"@playwright/test": "^1.53.0",
|
115
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
116
116
|
"@testing-library/dom": "^10.4.0",
|
117
117
|
"@testing-library/jest-dom": "^6.6.3",
|
118
118
|
"@testing-library/react": "^16.0.1",
|
119
119
|
"@testing-library/user-event": "^14.5.2",
|
120
120
|
"@types/lodash": "^4.17.5",
|
121
|
-
"@types/node": "^18.19.
|
121
|
+
"@types/node": "^18.19.111",
|
122
122
|
"@types/nunjucks": "^3.2.6",
|
123
|
-
"@types/react": "^
|
124
|
-
"@types/react-dom": "^
|
125
|
-
"@typescript-eslint/eslint-plugin": "^
|
126
|
-
"@typescript-eslint/parser": "^
|
123
|
+
"@types/react": "^19.1.8",
|
124
|
+
"@types/react-dom": "^19.1.6",
|
125
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
126
|
+
"@typescript-eslint/parser": "^8.34.0",
|
127
127
|
"babel-loader": "^9.1.3",
|
128
128
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
129
129
|
"babel-plugin-module-resolver": "^5.0.0",
|
130
130
|
"concurrently": "^8.2.2",
|
131
|
-
"dprint": "^0.
|
131
|
+
"dprint": "^0.50.0",
|
132
132
|
"eslint": "^8.52.0",
|
133
133
|
"eslint-config-airbnb-base": "^15.0.0",
|
134
134
|
"eslint-import-resolver-typescript": "^3.6.1",
|
@@ -145,7 +145,7 @@
|
|
145
145
|
"postcss-fail-on-warn": "^0.2.1",
|
146
146
|
"postcss-preset-env": "^9.3.0",
|
147
147
|
"react-merge-refs": "^2.1.1",
|
148
|
-
"release-it": "^
|
148
|
+
"release-it": "^19.0.3",
|
149
149
|
"sass": "^1.69.3",
|
150
150
|
"sass-true": "^8.0.0",
|
151
151
|
"shelljs": "^0.8.5",
|
@@ -154,8 +154,8 @@
|
|
154
154
|
"stylelint-config-standard-scss": "^11.1.0",
|
155
155
|
"ts-node": "^10.9.2",
|
156
156
|
"tsconfig-paths": "^4.2.0",
|
157
|
-
"typescript": "^5.
|
158
|
-
"vitest": "^
|
157
|
+
"typescript": "^5.8.3",
|
158
|
+
"vitest": "^3.2.3",
|
159
159
|
"webpack": "^5.90.3",
|
160
160
|
"webpack-cli": "^5.1.4"
|
161
161
|
},
|
@@ -9,5 +9,5 @@ import { type ComponentPropsWithoutRef } from 'react';
|
|
9
9
|
*
|
10
10
|
* @experimental React components are in alpha and subject to change.
|
11
11
|
*/
|
12
|
-
export declare const MODUKBody: ({ children, className, ...rest }: ComponentPropsWithoutRef<
|
12
|
+
export declare const MODUKBody: ({ children, className, ...rest }: ComponentPropsWithoutRef<"body">) => import("react/jsx-runtime").JSX.Element;
|
13
13
|
//# sourceMappingURL=MODUKBody.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MODUKBody.d.ts","sourceRoot":"","sources":["../../../src/react/MODUKBody/MODUKBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAuB,MAAM,OAAO,CAAA;AAE1E;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"MODUKBody.d.ts","sourceRoot":"","sources":["../../../src/react/MODUKBody/MODUKBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAuB,MAAM,OAAO,CAAA;AAE1E;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,GAAI,kCAAkC,wBAAwB,CAAC,MAAM,CAAC,4CAuB3F,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VisuallyHiddenText.d.ts","sourceRoot":"","sources":["../../../src/react/VisuallyHiddenText/VisuallyHiddenText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAErD,KAAK,uBAAuB,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,
|
1
|
+
{"version":3,"file":"VisuallyHiddenText.d.ts","sourceRoot":"","sources":["../../../src/react/VisuallyHiddenText/VisuallyHiddenText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAErD,KAAK,uBAAuB,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,4CAElF,CAAA"}
|
@@ -13,8 +13,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
13
13
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
14
14
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
15
15
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
16
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
17
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
16
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
17
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
18
18
|
import clsx from 'clsx';
|
19
19
|
import { useEffect, useState } from 'react';
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -7,8 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
7
7
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
11
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
10
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
11
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
12
12
|
import clsx from 'clsx';
|
13
13
|
import { isEqual, pick } from 'lodash';
|
14
14
|
import { forwardRef, isValidElement, useMemo, useRef } from 'react';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { LinkBase } from '../internal/Link/Link';
|
@@ -11,8 +11,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
11
11
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
12
12
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
13
13
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
14
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
15
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
14
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
15
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
16
16
|
import clsx from 'clsx';
|
17
17
|
import { isNil } from 'lodash';
|
18
18
|
import { forwardRef, useCallback, useEffect, useId, useState } from 'react';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef, useContext } from 'react';
|
12
12
|
import { FormGroupContext } from '../internal/FormGroup';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { LinkBase } from '../internal/Link/Link';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { LinkBase } from '../internal/Link/Link';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
2
|
var _excluded = ["children", "className", "containerClassName", "homepageUrl", "menuButtonLabel", "menuButtonText", "navigationClassName", "navigationLabel", "serviceName", "serviceUrl"];
|
3
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
4
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { LinkBase } from '../internal/Link/Link';
|
package/react/esm/hint/Hint.js
CHANGED
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef, useContext } from 'react';
|
12
12
|
import { FormGroupContext } from '../internal/FormGroup';
|
package/react/esm/input/Input.js
CHANGED
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef, useId } from 'react';
|
12
12
|
import { FormGroup } from '../internal/FormGroup';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import { forwardRef } from 'react';
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
export var LinkBase = forwardRef(function (_ref, ref) {
|
@@ -1,22 +1,21 @@
|
|
1
|
-
function
|
2
|
-
function
|
1
|
+
function _regenerator() { var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
2
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
|
3
3
|
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
4
4
|
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
5
5
|
import { useEffect, useRef } from 'react';
|
6
6
|
var initialiseComponent = function () {
|
7
|
-
var _ref = _asyncToGenerator(
|
7
|
+
var _ref = _asyncToGenerator(_regenerator().m(function _callee(componentName, el) {
|
8
8
|
var client;
|
9
|
-
return
|
10
|
-
while (1) switch (_context.
|
9
|
+
return _regenerator().w(function (_context) {
|
10
|
+
while (1) switch (_context.n) {
|
11
11
|
case 0:
|
12
|
-
_context.
|
12
|
+
_context.n = 1;
|
13
13
|
return import('govuk-frontend');
|
14
|
-
case
|
15
|
-
client = _context.
|
14
|
+
case 1:
|
15
|
+
client = _context.v;
|
16
16
|
new client[componentName](el);
|
17
|
-
case
|
18
|
-
|
19
|
-
return _context.stop();
|
17
|
+
case 2:
|
18
|
+
return _context.a(2);
|
20
19
|
}
|
21
20
|
}, _callee);
|
22
21
|
}));
|
package/react/esm/label/Label.js
CHANGED
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef, useContext } from 'react';
|
12
12
|
import { FormGroupContext } from '../internal/FormGroup';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { Children, forwardRef, isValidElement, useCallback, useEffect, useId, useRef } from 'react';
|
12
12
|
import { mergeRefs } from 'react-merge-refs';
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
8
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
9
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
10
10
|
import clsx from 'clsx';
|
11
11
|
import { forwardRef } from 'react';
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|