@neo4j-ndl/react 4.3.4 → 4.3.6
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/lib/cjs/_common/utils.js +9 -1
- package/lib/cjs/_common/utils.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js +33 -2
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/cjs/text-input/stories/index.js +9 -1
- package/lib/cjs/text-input/stories/index.js.map +1 -1
- package/lib/cjs/text-input/stories/text-input-clearable.story.js +30 -0
- package/lib/cjs/text-input/stories/text-input-clearable.story.js.map +1 -0
- package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js +31 -0
- package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js.map +1 -0
- package/lib/cjs/text-input/stories/text-input-with-icons.story.js +1 -3
- package/lib/cjs/text-input/stories/text-input-with-icons.story.js.map +1 -1
- package/lib/cjs/text-input/stories/text-input.stories.js +61 -35
- package/lib/cjs/text-input/stories/text-input.stories.js.map +1 -1
- package/lib/cjs/text-link/TextLink.js +3 -4
- package/lib/cjs/text-link/TextLink.js.map +1 -1
- package/lib/esm/_common/utils.js +7 -0
- package/lib/esm/_common/utils.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +35 -4
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/text-input/stories/index.js +6 -0
- package/lib/esm/text-input/stories/index.js.map +1 -1
- package/lib/esm/text-input/stories/text-input-clearable.story.js +28 -0
- package/lib/esm/text-input/stories/text-input-clearable.story.js.map +1 -0
- package/lib/esm/text-input/stories/text-input-loading-spinner.story.js +29 -0
- package/lib/esm/text-input/stories/text-input-loading-spinner.story.js.map +1 -0
- package/lib/esm/text-input/stories/text-input-with-icons.story.js +3 -5
- package/lib/esm/text-input/stories/text-input-with-icons.story.js.map +1 -1
- package/lib/esm/text-input/stories/text-input.stories.js +61 -35
- package/lib/esm/text-input/stories/text-input.stories.js.map +1 -1
- package/lib/esm/text-link/TextLink.js +3 -4
- package/lib/esm/text-link/TextLink.js.map +1 -1
- package/lib/types/_common/utils.d.ts +1 -0
- package/lib/types/_common/utils.d.ts.map +1 -1
- package/lib/types/text-input/TextInput.d.ts +5 -1
- package/lib/types/text-input/TextInput.d.ts.map +1 -1
- package/lib/types/text-input/stories/index.d.ts +4 -0
- package/lib/types/text-input/stories/index.d.ts.map +1 -1
- package/lib/types/text-input/stories/text-input-clearable.story.d.ts +24 -0
- package/lib/types/text-input/stories/text-input-clearable.story.d.ts.map +1 -0
- package/lib/types/text-input/stories/text-input-loading-spinner.story.d.ts +24 -0
- package/lib/types/text-input/stories/text-input-loading-spinner.story.d.ts.map +1 -0
- package/lib/types/text-input/stories/text-input-with-icons.story.d.ts.map +1 -1
- package/lib/types/text-input/stories/text-input.stories.d.ts +3 -1
- package/lib/types/text-input/stories/text-input.stories.d.ts.map +1 -1
- package/lib/types/text-link/TextLink.d.ts +1 -1
- package/lib/types/text-link/TextLink.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -32,7 +32,10 @@ export { default as TextInputPassword } from './text-input-password.story';
|
|
|
32
32
|
export { default as TextInputSizes } from './text-input-sizes.story';
|
|
33
33
|
export { default as TextInputLoading } from './text-input-loading.story';
|
|
34
34
|
export { default as TextInputFull } from './text-input-full.story';
|
|
35
|
+
export { default as TextInputClearable } from './text-input-clearable.story';
|
|
36
|
+
export { default as TextInputLoadingSpinner } from './text-input-loading-spinner.story';
|
|
35
37
|
import { removeLicenseHeader } from '../../_common/export-stories-utils';
|
|
38
|
+
import TextInputClearableSourceRaw from './text-input-clearable.story?raw';
|
|
36
39
|
import TextInputDefaultSourceRaw from './text-input-default.story?raw';
|
|
37
40
|
import TextInputDisabledSourceRaw from './text-input-disabled.story?raw';
|
|
38
41
|
import TextInputEmailSourceRaw from './text-input-email.story?raw';
|
|
@@ -40,6 +43,7 @@ import TextInputErrorSourceRaw from './text-input-error.story?raw';
|
|
|
40
43
|
import TextInputFullSourceRaw from './text-input-full.story?raw';
|
|
41
44
|
import TextInputInformationIconSourceRaw from './text-input-information-icon.story?raw';
|
|
42
45
|
import TextInputLoadingSourceRaw from './text-input-loading.story?raw';
|
|
46
|
+
import TextInputLoadingSpinnerSourceRaw from './text-input-loading-spinner.story?raw';
|
|
43
47
|
import TextInputNumberSourceRaw from './text-input-number.story?raw';
|
|
44
48
|
import TextInputOptionalSourceRaw from './text-input-optional.story?raw';
|
|
45
49
|
import TextInputPasswordSourceRaw from './text-input-password.story?raw';
|
|
@@ -61,4 +65,6 @@ export const TextInputPasswordSource = removeLicenseHeader(TextInputPasswordSour
|
|
|
61
65
|
export const TextInputSizesSource = removeLicenseHeader(TextInputSizesSourceRaw);
|
|
62
66
|
export const TextInputLoadingSource = removeLicenseHeader(TextInputLoadingSourceRaw);
|
|
63
67
|
export const TextInputFullSource = removeLicenseHeader(TextInputFullSourceRaw);
|
|
68
|
+
export const TextInputClearableSource = removeLicenseHeader(TextInputClearableSourceRaw);
|
|
69
|
+
export const TextInputLoadingSpinnerSource = removeLicenseHeader(TextInputLoadingSpinnerSourceRaw);
|
|
64
70
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/text-input/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;A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AC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAC/D,iCAAiC,CAClC,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,CAAC;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAC9D,gCAAgC,CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport { default as TextInputDefault } from './text-input-default.story';\nexport { default as TextInputRequired } from './text-input-required.story';\nexport { default as TextInputOptional } from './text-input-optional.story';\nexport { default as TextInputDisabled } from './text-input-disabled.story';\nexport { default as TextInputReadonly } from './text-input-readonly.story';\nexport { default as TextInputError } from './text-input-error.story';\nexport { default as TextInputInformationIcon } from './text-input-information-icon.story';\nexport { default as TextInputEmail } from './text-input-email.story';\nexport { default as TextInputNumber } from './text-input-number.story';\nexport { default as TextInputWithIcons } from './text-input-with-icons.story';\nexport { default as TextInputPassword } from './text-input-password.story';\nexport { default as TextInputSizes } from './text-input-sizes.story';\nexport { default as TextInputLoading } from './text-input-loading.story';\nexport { default as TextInputFull } from './text-input-full.story';\nexport { default as TextInputClearable } from './text-input-clearable.story';\nexport { default as TextInputLoadingSpinner } from './text-input-loading-spinner.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport TextInputClearableSourceRaw from './text-input-clearable.story?raw';\nimport TextInputDefaultSourceRaw from './text-input-default.story?raw';\nimport TextInputDisabledSourceRaw from './text-input-disabled.story?raw';\nimport TextInputEmailSourceRaw from './text-input-email.story?raw';\nimport TextInputErrorSourceRaw from './text-input-error.story?raw';\nimport TextInputFullSourceRaw from './text-input-full.story?raw';\nimport TextInputInformationIconSourceRaw from './text-input-information-icon.story?raw';\nimport TextInputLoadingSourceRaw from './text-input-loading.story?raw';\nimport TextInputLoadingSpinnerSourceRaw from './text-input-loading-spinner.story?raw';\nimport TextInputNumberSourceRaw from './text-input-number.story?raw';\nimport TextInputOptionalSourceRaw from './text-input-optional.story?raw';\nimport TextInputPasswordSourceRaw from './text-input-password.story?raw';\nimport TextInputReadonlySourceRaw from './text-input-readonly.story?raw';\nimport TextInputRequiredSourceRaw from './text-input-required.story?raw';\nimport TextInputSizesSourceRaw from './text-input-sizes.story?raw';\nimport TextInputWithIconsSourceRaw from './text-input-with-icons.story?raw';\n\nexport const TextInputDefaultSource = removeLicenseHeader(\n TextInputDefaultSourceRaw,\n);\nexport const TextInputRequiredSource = removeLicenseHeader(\n TextInputRequiredSourceRaw,\n);\nexport const TextInputOptionalSource = removeLicenseHeader(\n TextInputOptionalSourceRaw,\n);\nexport const TextInputDisabledSource = removeLicenseHeader(\n TextInputDisabledSourceRaw,\n);\nexport const TextInputReadonlySource = removeLicenseHeader(\n TextInputReadonlySourceRaw,\n);\nexport const TextInputErrorSource = removeLicenseHeader(\n TextInputErrorSourceRaw,\n);\nexport const TextInputInformationIconSource = removeLicenseHeader(\n TextInputInformationIconSourceRaw,\n);\nexport const TextInputEmailSource = removeLicenseHeader(\n TextInputEmailSourceRaw,\n);\nexport const TextInputNumberSource = removeLicenseHeader(\n TextInputNumberSourceRaw,\n);\nexport const TextInputWithIconsSource = removeLicenseHeader(\n TextInputWithIconsSourceRaw,\n);\nexport const TextInputPasswordSource = removeLicenseHeader(\n TextInputPasswordSourceRaw,\n);\nexport const TextInputSizesSource = removeLicenseHeader(\n TextInputSizesSourceRaw,\n);\nexport const TextInputLoadingSource = removeLicenseHeader(\n TextInputLoadingSourceRaw,\n);\nexport const TextInputFullSource = removeLicenseHeader(TextInputFullSourceRaw);\nexport const TextInputClearableSource = removeLicenseHeader(\n TextInputClearableSourceRaw,\n);\nexport const TextInputLoadingSpinnerSource = removeLicenseHeader(\n TextInputLoadingSpinnerSourceRaw,\n);\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { TextInput } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextInput, { label: "Clearable", isClearable: true, placeholder: "Type something" }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-input-clearable.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-clearable.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-clearable.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IAAC,KAAK,EAAC,WAAW,EAAC,WAAW,QAAC,WAAW,EAAC,gBAAgB,GAAG,CACzE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { TextInput } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <TextInput label=\"Clearable\" isClearable placeholder=\"Type something\" />\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { TextInput } from '@neo4j-ndl/react';
|
|
24
|
+
import { CalendarDaysIconOutline } from '@neo4j-ndl/react/icons';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-16", children: [_jsx(TextInput, { label: "Default loading", isLoading: true, placeholder: "Placeholder" }), _jsx(TextInput, { label: "With leading element", isLoading: true, leadingElement: _jsx(CalendarDaysIconOutline, {}), placeholder: "Placeholder" }), _jsx(TextInput, { label: "With trailing element", isLoading: true, trailingElement: _jsx(CalendarDaysIconOutline, {}), placeholder: "Placeholder" }), _jsx(TextInput, { label: "With leading and trailing element", isLoading: true, leadingElement: _jsx(CalendarDaysIconOutline, {}), trailingElement: _jsx(CalendarDaysIconOutline, {}), placeholder: "Placeholder" })] }));
|
|
27
|
+
};
|
|
28
|
+
export default Component;
|
|
29
|
+
//# sourceMappingURL=text-input-loading-spinner.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-loading-spinner.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-loading-spinner.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,SAAS,IAAC,KAAK,EAAC,iBAAiB,EAAC,SAAS,QAAC,WAAW,EAAC,aAAa,GAAG,EACzE,KAAC,SAAS,IACR,KAAK,EAAC,sBAAsB,EAC5B,SAAS,QACT,cAAc,EAAE,KAAC,uBAAuB,KAAG,EAC3C,WAAW,EAAC,aAAa,GACzB,EACF,KAAC,SAAS,IACR,KAAK,EAAC,uBAAuB,EAC7B,SAAS,QACT,eAAe,EAAE,KAAC,uBAAuB,KAAG,EAC5C,WAAW,EAAC,aAAa,GACzB,EACF,KAAC,SAAS,IACR,KAAK,EAAC,mCAAmC,EACzC,SAAS,QACT,cAAc,EAAE,KAAC,uBAAuB,KAAG,EAC3C,eAAe,EAAE,KAAC,uBAAuB,KAAG,EAC5C,WAAW,EAAC,aAAa,GACzB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { TextInput } from '@neo4j-ndl/react';\nimport { CalendarDaysIconOutline } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-col n-gap-token-16\">\n <TextInput label=\"Default loading\" isLoading placeholder=\"Placeholder\" />\n <TextInput\n label=\"With leading element\"\n isLoading\n leadingElement={<CalendarDaysIconOutline />}\n placeholder=\"Placeholder\"\n />\n <TextInput\n label=\"With trailing element\"\n isLoading\n trailingElement={<CalendarDaysIconOutline />}\n placeholder=\"Placeholder\"\n />\n <TextInput\n label=\"With leading and trailing element\"\n isLoading\n leadingElement={<CalendarDaysIconOutline />}\n trailingElement={<CalendarDaysIconOutline />}\n placeholder=\"Placeholder\"\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -20,14 +20,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
20
20
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
21
|
*/
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
23
|
+
import { TextInput } from '@neo4j-ndl/react';
|
|
24
|
+
import { DatabasePlugIcon, DatabasePlusIcon } from '@neo4j-ndl/react/icons';
|
|
25
25
|
import { useState } from 'react';
|
|
26
26
|
const Component = () => {
|
|
27
27
|
const [searchValue, setSearchValue] = useState('');
|
|
28
|
-
return (_jsx(TextInput, { label: "
|
|
29
|
-
type: 'text',
|
|
30
|
-
} }));
|
|
28
|
+
return (_jsx(TextInput, { label: "With icons", leadingElement: _jsx(DatabasePlugIcon, {}), trailingElement: _jsx(DatabasePlusIcon, {}), value: searchValue, onChange: (e) => setSearchValue(e.target.value) }));
|
|
31
29
|
};
|
|
32
30
|
export default Component;
|
|
33
31
|
//# sourceMappingURL=text-input-with-icons.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input-with-icons.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"text-input-with-icons.story.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAEnD,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAC,YAAY,EAClB,cAAc,EAAE,KAAC,gBAAgB,KAAG,EACpC,eAAe,EAAE,KAAC,gBAAgB,KAAG,EACrC,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAC/C,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { TextInput } from '@neo4j-ndl/react';\nimport { DatabasePlugIcon, DatabasePlusIcon } from '@neo4j-ndl/react/icons';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [searchValue, setSearchValue] = useState('');\n\n return (\n <TextInput\n label=\"With icons\"\n leadingElement={<DatabasePlugIcon />}\n trailingElement={<DatabasePlusIcon />}\n value={searchValue}\n onChange={(e) => setSearchValue(e.target.value)}\n />\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -21,200 +21,226 @@
|
|
|
21
21
|
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
import { TextInput } from '../../index';
|
|
24
|
-
import { TextInputDefault, TextInputDefaultSource, TextInputDisabled, TextInputDisabledSource, TextInputEmail, TextInputEmailSource, TextInputError, TextInputErrorSource, TextInputFull, TextInputFullSource, TextInputInformationIcon, TextInputInformationIconSource, TextInputLoading, TextInputLoadingSource, TextInputNumber, TextInputNumberSource, TextInputOptional, TextInputOptionalSource, TextInputPassword, TextInputPasswordSource, TextInputReadonly, TextInputReadonlySource, TextInputRequired, TextInputRequiredSource, TextInputSizes, TextInputSizesSource, TextInputWithIcons, TextInputWithIconsSource, } from '.';
|
|
24
|
+
import { TextInputClearable, TextInputClearableSource, TextInputDefault, TextInputDefaultSource, TextInputDisabled, TextInputDisabledSource, TextInputEmail, TextInputEmailSource, TextInputError, TextInputErrorSource, TextInputFull, TextInputFullSource, TextInputInformationIcon, TextInputInformationIconSource, TextInputLoading, TextInputLoadingSource, TextInputLoadingSpinner, TextInputLoadingSpinnerSource, TextInputNumber, TextInputNumberSource, TextInputOptional, TextInputOptionalSource, TextInputPassword, TextInputPasswordSource, TextInputReadonly, TextInputReadonlySource, TextInputRequired, TextInputRequiredSource, TextInputSizes, TextInputSizesSource, TextInputWithIcons, TextInputWithIconsSource, } from '.';
|
|
25
25
|
const componentMeta = {
|
|
26
|
-
title: 'Components/TextInput',
|
|
27
|
-
id: 'components-text-input',
|
|
28
26
|
component: TextInput,
|
|
29
|
-
tags: ['docsPage'],
|
|
30
|
-
parameters: {
|
|
31
|
-
controls: { disable: true },
|
|
32
|
-
},
|
|
33
27
|
decorators: [
|
|
34
28
|
(Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
35
29
|
],
|
|
30
|
+
id: 'components-text-input',
|
|
31
|
+
parameters: {
|
|
32
|
+
controls: { disable: true },
|
|
33
|
+
},
|
|
34
|
+
tags: ['docsPage'],
|
|
35
|
+
title: 'Components/TextInput',
|
|
36
36
|
};
|
|
37
37
|
export default componentMeta;
|
|
38
38
|
export const Default = {
|
|
39
39
|
args: {},
|
|
40
|
-
render: TextInputDefault,
|
|
41
40
|
parameters: {
|
|
42
41
|
docs: {
|
|
43
42
|
source: {
|
|
43
|
+
code: TextInputDefaultSource,
|
|
44
44
|
language: 'tsx',
|
|
45
45
|
type: 'code',
|
|
46
|
-
code: TextInputDefaultSource,
|
|
47
46
|
},
|
|
48
47
|
},
|
|
49
48
|
},
|
|
49
|
+
render: TextInputDefault,
|
|
50
50
|
};
|
|
51
51
|
export const Required = {
|
|
52
52
|
args: {},
|
|
53
|
-
render: TextInputRequired,
|
|
54
53
|
parameters: {
|
|
55
54
|
docs: {
|
|
56
55
|
source: {
|
|
56
|
+
code: TextInputRequiredSource,
|
|
57
57
|
language: 'tsx',
|
|
58
58
|
type: 'code',
|
|
59
|
-
code: TextInputRequiredSource,
|
|
60
59
|
},
|
|
61
60
|
},
|
|
62
61
|
},
|
|
62
|
+
render: TextInputRequired,
|
|
63
63
|
};
|
|
64
64
|
export const Optional = {
|
|
65
65
|
args: {},
|
|
66
|
-
render: TextInputOptional,
|
|
67
66
|
parameters: {
|
|
68
67
|
docs: {
|
|
69
68
|
source: {
|
|
69
|
+
code: TextInputOptionalSource,
|
|
70
70
|
language: 'tsx',
|
|
71
71
|
type: 'code',
|
|
72
|
-
code: TextInputOptionalSource,
|
|
73
72
|
},
|
|
74
73
|
},
|
|
75
74
|
},
|
|
75
|
+
render: TextInputOptional,
|
|
76
76
|
};
|
|
77
77
|
export const Disabled = {
|
|
78
78
|
args: {},
|
|
79
|
-
render: TextInputDisabled,
|
|
80
79
|
parameters: {
|
|
81
80
|
docs: {
|
|
82
81
|
source: {
|
|
82
|
+
code: TextInputDisabledSource,
|
|
83
83
|
language: 'tsx',
|
|
84
84
|
type: 'code',
|
|
85
|
-
code: TextInputDisabledSource,
|
|
86
85
|
},
|
|
87
86
|
},
|
|
88
87
|
},
|
|
88
|
+
render: TextInputDisabled,
|
|
89
89
|
};
|
|
90
90
|
export const Readonly = {
|
|
91
91
|
args: {},
|
|
92
|
-
render: TextInputReadonly,
|
|
93
92
|
parameters: {
|
|
94
93
|
docs: {
|
|
95
94
|
source: {
|
|
95
|
+
code: TextInputReadonlySource,
|
|
96
96
|
language: 'tsx',
|
|
97
97
|
type: 'code',
|
|
98
|
-
code: TextInputReadonlySource,
|
|
99
98
|
},
|
|
100
99
|
},
|
|
101
100
|
},
|
|
101
|
+
render: TextInputReadonly,
|
|
102
102
|
};
|
|
103
103
|
export const Error = {
|
|
104
104
|
args: {},
|
|
105
|
-
render: TextInputError,
|
|
106
105
|
parameters: {
|
|
107
106
|
docs: {
|
|
108
107
|
source: {
|
|
108
|
+
code: TextInputErrorSource,
|
|
109
109
|
language: 'tsx',
|
|
110
110
|
type: 'code',
|
|
111
|
-
code: TextInputErrorSource,
|
|
112
111
|
},
|
|
113
112
|
},
|
|
114
113
|
},
|
|
114
|
+
render: TextInputError,
|
|
115
115
|
};
|
|
116
116
|
export const InformationIcon = {
|
|
117
117
|
args: {},
|
|
118
|
-
render: TextInputInformationIcon,
|
|
119
118
|
parameters: {
|
|
120
119
|
docs: {
|
|
121
120
|
source: {
|
|
121
|
+
code: TextInputInformationIconSource,
|
|
122
122
|
language: 'tsx',
|
|
123
123
|
type: 'code',
|
|
124
|
-
code: TextInputInformationIconSource,
|
|
125
124
|
},
|
|
126
125
|
},
|
|
127
126
|
},
|
|
127
|
+
render: TextInputInformationIcon,
|
|
128
128
|
};
|
|
129
129
|
export const Email = {
|
|
130
130
|
args: {},
|
|
131
|
-
render: TextInputEmail,
|
|
132
131
|
parameters: {
|
|
133
132
|
docs: {
|
|
134
133
|
source: {
|
|
134
|
+
code: TextInputEmailSource,
|
|
135
135
|
language: 'tsx',
|
|
136
136
|
type: 'code',
|
|
137
|
-
code: TextInputEmailSource,
|
|
138
137
|
},
|
|
139
138
|
},
|
|
140
139
|
},
|
|
140
|
+
render: TextInputEmail,
|
|
141
141
|
};
|
|
142
142
|
export const Number = {
|
|
143
143
|
args: {},
|
|
144
|
-
render: TextInputNumber,
|
|
145
144
|
parameters: {
|
|
146
145
|
docs: {
|
|
147
146
|
source: {
|
|
147
|
+
code: TextInputNumberSource,
|
|
148
148
|
language: 'tsx',
|
|
149
149
|
type: 'code',
|
|
150
|
-
code: TextInputNumberSource,
|
|
151
150
|
},
|
|
152
151
|
},
|
|
153
152
|
},
|
|
153
|
+
render: TextInputNumber,
|
|
154
154
|
};
|
|
155
155
|
export const WithIcons = {
|
|
156
156
|
args: {},
|
|
157
|
-
render: TextInputWithIcons,
|
|
158
157
|
parameters: {
|
|
159
158
|
docs: {
|
|
160
159
|
source: {
|
|
160
|
+
code: TextInputWithIconsSource,
|
|
161
161
|
language: 'tsx',
|
|
162
162
|
type: 'code',
|
|
163
|
-
code: TextInputWithIconsSource,
|
|
164
163
|
},
|
|
165
164
|
},
|
|
166
165
|
},
|
|
166
|
+
render: TextInputWithIcons,
|
|
167
167
|
};
|
|
168
168
|
export const Password = {
|
|
169
169
|
args: {},
|
|
170
|
-
render: TextInputPassword,
|
|
171
170
|
parameters: {
|
|
172
171
|
docs: {
|
|
173
172
|
source: {
|
|
173
|
+
code: TextInputPasswordSource,
|
|
174
174
|
language: 'tsx',
|
|
175
175
|
type: 'code',
|
|
176
|
-
code: TextInputPasswordSource,
|
|
177
176
|
},
|
|
178
177
|
},
|
|
179
178
|
},
|
|
179
|
+
render: TextInputPassword,
|
|
180
180
|
};
|
|
181
181
|
export const Sizes = {
|
|
182
182
|
args: {},
|
|
183
|
-
render: TextInputSizes,
|
|
184
183
|
parameters: {
|
|
185
184
|
docs: {
|
|
186
185
|
source: {
|
|
186
|
+
code: TextInputSizesSource,
|
|
187
187
|
language: 'tsx',
|
|
188
188
|
type: 'code',
|
|
189
|
-
code: TextInputSizesSource,
|
|
190
189
|
},
|
|
191
190
|
},
|
|
192
191
|
},
|
|
192
|
+
render: TextInputSizes,
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const SkeletonLoading = {
|
|
195
195
|
args: {},
|
|
196
|
-
render: TextInputLoading,
|
|
197
196
|
parameters: {
|
|
198
197
|
docs: {
|
|
199
198
|
source: {
|
|
199
|
+
code: TextInputLoadingSource,
|
|
200
200
|
language: 'tsx',
|
|
201
201
|
type: 'code',
|
|
202
|
-
code: TextInputLoadingSource,
|
|
203
202
|
},
|
|
204
203
|
},
|
|
205
204
|
},
|
|
205
|
+
render: TextInputLoading,
|
|
206
206
|
};
|
|
207
207
|
export const Full = {
|
|
208
208
|
args: {},
|
|
209
|
+
parameters: {
|
|
210
|
+
docs: {
|
|
211
|
+
source: {
|
|
212
|
+
code: TextInputFullSource,
|
|
213
|
+
language: 'tsx',
|
|
214
|
+
type: 'code',
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
209
218
|
render: TextInputFull,
|
|
219
|
+
};
|
|
220
|
+
export const Clearable = {
|
|
221
|
+
args: {},
|
|
210
222
|
parameters: {
|
|
211
223
|
docs: {
|
|
212
224
|
source: {
|
|
225
|
+
code: TextInputClearableSource,
|
|
226
|
+
language: 'tsx',
|
|
227
|
+
type: 'code',
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
render: TextInputClearable,
|
|
232
|
+
};
|
|
233
|
+
export const Loading = {
|
|
234
|
+
args: {},
|
|
235
|
+
parameters: {
|
|
236
|
+
docs: {
|
|
237
|
+
source: {
|
|
238
|
+
code: TextInputLoadingSpinnerSource,
|
|
213
239
|
language: 'tsx',
|
|
214
240
|
type: 'code',
|
|
215
|
-
code: TextInputFullSource,
|
|
216
241
|
},
|
|
217
242
|
},
|
|
218
243
|
},
|
|
244
|
+
render: TextInputLoadingSpinner,
|
|
219
245
|
};
|
|
220
246
|
//# sourceMappingURL=text-input.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.stories.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EAC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U,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { TextInput } from '../../index';\nimport {\n TextInputDefault,\n TextInputDefaultSource,\n TextInputDisabled,\n TextInputDisabledSource,\n TextInputEmail,\n TextInputEmailSource,\n TextInputError,\n TextInputErrorSource,\n TextInputFull,\n TextInputFullSource,\n TextInputInformationIcon,\n TextInputInformationIconSource,\n TextInputLoading,\n TextInputLoadingSource,\n TextInputNumber,\n TextInputNumberSource,\n TextInputOptional,\n TextInputOptionalSource,\n TextInputPassword,\n TextInputPasswordSource,\n TextInputReadonly,\n TextInputReadonlySource,\n TextInputRequired,\n TextInputRequiredSource,\n TextInputSizes,\n TextInputSizesSource,\n TextInputWithIcons,\n TextInputWithIconsSource,\n} from '.';\n\nconst componentMeta: Meta<typeof TextInput> = {\n title: 'Components/TextInput',\n id: 'components-text-input',\n component: TextInput,\n tags: ['docsPage'],\n parameters: {\n controls: { disable: true },\n },\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof TextInput>;\n\nexport const Default: Story = {\n args: {},\n render: TextInputDefault,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputDefaultSource,\n },\n },\n },\n};\n\nexport const Required: Story = {\n args: {},\n render: TextInputRequired,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputRequiredSource,\n },\n },\n },\n};\n\nexport const Optional: Story = {\n args: {},\n render: TextInputOptional,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputOptionalSource,\n },\n },\n },\n};\n\nexport const Disabled: Story = {\n args: {},\n render: TextInputDisabled,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputDisabledSource,\n },\n },\n },\n};\n\nexport const Readonly: Story = {\n args: {},\n render: TextInputReadonly,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputReadonlySource,\n },\n },\n },\n};\n\nexport const Error: Story = {\n args: {},\n render: TextInputError,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputErrorSource,\n },\n },\n },\n};\n\nexport const InformationIcon: Story = {\n args: {},\n render: TextInputInformationIcon,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputInformationIconSource,\n },\n },\n },\n};\n\nexport const Email: Story = {\n args: {},\n render: TextInputEmail,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputEmailSource,\n },\n },\n },\n};\n\nexport const Number: Story = {\n args: {},\n render: TextInputNumber,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputNumberSource,\n },\n },\n },\n};\n\nexport const WithIcons: Story = {\n args: {},\n render: TextInputWithIcons,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputWithIconsSource,\n },\n },\n },\n};\n\nexport const Password: Story = {\n args: {},\n render: TextInputPassword,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputPasswordSource,\n },\n },\n },\n};\n\nexport const Sizes: Story = {\n args: {},\n render: TextInputSizes,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputSizesSource,\n },\n },\n },\n};\n\nexport const Loading: Story = {\n args: {},\n render: TextInputLoading,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputLoadingSource,\n },\n },\n },\n};\n\nexport const Full: Story = {\n args: {},\n render: TextInputFull,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: TextInputFullSource,\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"text-input.stories.js","sourceRoot":"","sources":["../../../../src/text-input/stories/text-input.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,8BAA8B,EAC9B,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,EAC7B,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,GAAG,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,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,6BAA6B;gBACnC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAuB;CAChC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { TextInput } from '../../index';\nimport {\n TextInputClearable,\n TextInputClearableSource,\n TextInputDefault,\n TextInputDefaultSource,\n TextInputDisabled,\n TextInputDisabledSource,\n TextInputEmail,\n TextInputEmailSource,\n TextInputError,\n TextInputErrorSource,\n TextInputFull,\n TextInputFullSource,\n TextInputInformationIcon,\n TextInputInformationIconSource,\n TextInputLoading,\n TextInputLoadingSource,\n TextInputLoadingSpinner,\n TextInputLoadingSpinnerSource,\n TextInputNumber,\n TextInputNumberSource,\n TextInputOptional,\n TextInputOptionalSource,\n TextInputPassword,\n TextInputPasswordSource,\n TextInputReadonly,\n TextInputReadonlySource,\n TextInputRequired,\n TextInputRequiredSource,\n TextInputSizes,\n TextInputSizesSource,\n TextInputWithIcons,\n TextInputWithIconsSource,\n} from '.';\n\nconst componentMeta: Meta<typeof TextInput> = {\n component: TextInput,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-text-input',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/TextInput',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof TextInput>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputDefault,\n};\n\nexport const Required: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputRequiredSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputRequired,\n};\n\nexport const Optional: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputOptionalSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputOptional,\n};\n\nexport const Disabled: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputDisabledSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputDisabled,\n};\n\nexport const Readonly: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputReadonlySource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputReadonly,\n};\n\nexport const Error: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputErrorSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputError,\n};\n\nexport const InformationIcon: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputInformationIconSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputInformationIcon,\n};\n\nexport const Email: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputEmailSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputEmail,\n};\n\nexport const Number: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputNumberSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputNumber,\n};\n\nexport const WithIcons: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputWithIconsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputWithIcons,\n};\n\nexport const Password: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputPasswordSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputPassword,\n};\n\nexport const Sizes: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputSizesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputSizes,\n};\n\nexport const SkeletonLoading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputLoadingSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputLoading,\n};\n\nexport const Full: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputFullSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputFull,\n};\n\nexport const Clearable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputClearableSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputClearable,\n};\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: TextInputLoadingSpinnerSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: TextInputLoadingSpinner,\n};\n"]}
|
|
@@ -33,14 +33,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
33
33
|
import classNames from 'classnames';
|
|
34
34
|
import { ArrowUpRightIconOutline, ChevronRightIconOutline } from '../icons';
|
|
35
35
|
export const TextLink = (_a) => {
|
|
36
|
-
var { children, href, type = 'internal', as, className, target, style, htmlAttributes, ref } = _a, restProps = __rest(_a, ["children", "href", "type", "as", "className", "target", "style", "htmlAttributes", "ref"]);
|
|
37
|
-
const
|
|
38
|
-
const Component = as || 'a';
|
|
36
|
+
var { children, href, type = 'internal', as, className, target = type === 'external' ? '_blank' : '', style, htmlAttributes, ref } = _a, restProps = __rest(_a, ["children", "href", "type", "as", "className", "target", "style", "htmlAttributes", "ref"]);
|
|
37
|
+
const Component = as !== null && as !== void 0 ? as : 'a';
|
|
39
38
|
const classes = classNames('ndl-text-link', className, {
|
|
40
39
|
'ndl-external-link': type === 'external',
|
|
41
40
|
'ndl-internal-icon': type === 'internal-icon',
|
|
42
41
|
'ndl-internal-underline': type === 'internal-underline',
|
|
43
42
|
});
|
|
44
|
-
return (_jsxs(Component, Object.assign({ className: classes, href: href, ref: ref, style: style
|
|
43
|
+
return (_jsxs(Component, Object.assign({ className: classes, href: href, ref: ref, style: style, target: target }, restProps, htmlAttributes, { children: [children, type === 'external' && (_jsx(ArrowUpRightIconOutline, { className: "ndl-external-link-icon" })), type === 'internal-icon' && (_jsx(ChevronRightIconOutline, { className: "ndl-external-link-icon" }))] })));
|
|
45
44
|
};
|
|
46
45
|
//# sourceMappingURL=TextLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLink.js","sourceRoot":"","sources":["../../../src/text-link/TextLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAIpC,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAgC5E,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAoC,EAWjB,EAAE,EAAE;QAXa,EAC1D,QAAQ,EACR,IAAI,EACJ,IAAI,GAAG,UAAU,EACjB,EAA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ourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { type PolymorphicCommonProps } from '../_common/types';\nimport { ArrowUpRightIconOutline, ChevronRightIconOutline } from '../icons';\n\ntype TextLinkType =\n | 'internal'\n | 'internal-underline'\n | 'internal-icon'\n | 'external';\n\ntype TextLinkProps = {\n /** The content displayed inside the link */\n children: React.ReactNode;\n\n /** The URL the link points to */\n href?: string;\n\n /**\n * The type of the text link\n * - 'internal': a link to another page within the application\n * - 'internal-underline': a link to another page within the application with an underline and support for text color\n * - 'internal-icon': a link to another page within the application with an icon\n * - 'external': a link to an external website\n * @default 'internal'\n */\n type?: TextLinkType;\n\n /** Specifies where to open the linked document. If omitted and `type` is `\"external\"` it defaults to `\"_blank\"`. */\n target?: HTMLAnchorElement['target'];\n\n /** Additional class name */\n className?: string;\n};\n\nexport const TextLink = <T extends React.ElementType = 'a'>({\n children,\n href,\n type = 'internal',\n as,\n className,\n target = type === 'external' ? '_blank' : '',\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, TextLinkProps>) => {\n const Component: React.ElementType = as ?? 'a';\n\n const classes = classNames('ndl-text-link', className, {\n 'ndl-external-link': type === 'external',\n 'ndl-internal-icon': type === 'internal-icon',\n 'ndl-internal-underline': type === 'internal-underline',\n });\n\n return (\n <Component\n className={classes}\n href={href}\n ref={ref}\n style={style}\n target={target}\n {...restProps}\n {...htmlAttributes}\n >\n {children}\n {type === 'external' && (\n <ArrowUpRightIconOutline className=\"ndl-external-link-icon\" />\n )}\n {type === 'internal-icon' && (\n <ChevronRightIconOutline className=\"ndl-external-link-icon\" />\n )}\n </Component>\n );\n};\n"]}
|
|
@@ -85,4 +85,5 @@ export declare const RadiusDefaults: {
|
|
|
85
85
|
borderRadius: undefined;
|
|
86
86
|
};
|
|
87
87
|
export declare const getRadius: (spacing: Radius | undefined, property: keyof typeof RadiusDefaults) => string | undefined;
|
|
88
|
+
export declare const parseRgbString: (rgbString: string) => [number, number, number];
|
|
88
89
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/_common/utils.ts"],"names":[],"mappings":"AAqBA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EAIhB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,WACP,CAAC;AAEtC,qCAAqC;AACrC,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,WACP,CAAC;AAEpC,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,SACV,CAAC;AAa3C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,kBAGL,OAAO,QAAO,QAAQ,SAYpD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EACvB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,SAwBlD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,MAAM,WAGd,CAAC;AAG1B,wBAAgB,WAAW,CAAC,CAAC,EAC3B,GAAG,EAAE,KAAK,CAA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ACpB,SAAS,MAAM,GAAG,SAAS,EAC3B,UAAU,MAAM,OAAO,cAAc,uBAKtC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAMzE,CAAC"}
|
|
@@ -62,6 +62,10 @@ type TextInputProps = {
|
|
|
62
62
|
isSkeletonLoading?: boolean;
|
|
63
63
|
/** Additional props forwarded to the underlying Skeleton components */
|
|
64
64
|
skeletonProps?: React.ComponentProps<typeof Skeleton>;
|
|
65
|
+
/** Whether to show the clear button */
|
|
66
|
+
isClearable?: boolean;
|
|
67
|
+
/** Whether to show the loading spinner */
|
|
68
|
+
isLoading?: boolean;
|
|
65
69
|
};
|
|
66
70
|
/**
|
|
67
71
|
*
|
|
@@ -70,6 +74,6 @@ type TextInputProps = {
|
|
|
70
74
|
*
|
|
71
75
|
*
|
|
72
76
|
*/
|
|
73
|
-
export declare const TextInput: ({ label, isFluid, errorText, helpText, leadingElement, trailingElement, showRequiredOrOptionalLabel, moreInformationText, size, placeholder, value, tooltipProps, htmlAttributes, isDisabled, isReadOnly, isRequired, onChange, className, style, isSkeletonLoading, skeletonProps, ref, ...restProps }: CommonProps<"input", TextInputProps>) => import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
export declare const TextInput: ({ label, isFluid, errorText, helpText, leadingElement, trailingElement, showRequiredOrOptionalLabel, moreInformationText, size, placeholder, value, tooltipProps, htmlAttributes, isDisabled, isReadOnly, isRequired, onChange, isClearable, className, style, isSkeletonLoading, isLoading, skeletonProps, ref, ...restProps }: CommonProps<"input", TextInputProps>) => import("react/jsx-runtime").JSX.Element;
|
|
74
78
|
export {};
|
|
75
79
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/text-input/TextInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,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AC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEtC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAEjC,mEAAmE;IACnE,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAElC,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,uEAAuE;IACvE,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;IAEtD,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;GAMG;AAEH,eAAO,MAAM,SAAS,GAAI,iUA0BvB,WAAW,CAAC,OAAO,EAAE,cAAc,CAAC,4CAiPtC,CAAC"}
|
|
@@ -32,6 +32,8 @@ export { default as TextInputPassword } from './text-input-password.story';
|
|
|
32
32
|
export { default as TextInputSizes } from './text-input-sizes.story';
|
|
33
33
|
export { default as TextInputLoading } from './text-input-loading.story';
|
|
34
34
|
export { default as TextInputFull } from './text-input-full.story';
|
|
35
|
+
export { default as TextInputClearable } from './text-input-clearable.story';
|
|
36
|
+
export { default as TextInputLoadingSpinner } from './text-input-loading-spinner.story';
|
|
35
37
|
export declare const TextInputDefaultSource: string;
|
|
36
38
|
export declare const TextInputRequiredSource: string;
|
|
37
39
|
export declare const TextInputOptionalSource: string;
|
|
@@ -46,4 +48,6 @@ export declare const TextInputPasswordSource: string;
|
|
|
46
48
|
export declare const TextInputSizesSource: string;
|
|
47
49
|
export declare const TextInputLoadingSource: string;
|
|
48
50
|
export declare const TextInputFullSource: string;
|
|
51
|
+
export declare const TextInputClearableSource: string;
|
|
52
|
+
export declare const TextInputLoadingSpinnerSource: string;
|
|
49
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/text-input/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/text-input/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE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