Skip to content

Commit

Permalink
Deploy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKottas committed Nov 11, 2024
1 parent ff3217d commit 75d5864
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"};</script><script type="module">import './sb-preview/runtime.js';


import './runtime~main.b6190d7a.iframe.bundle.js';
import './runtime~main.061de920.iframe.bundle.js';

import './659.2268d502.iframe.bundle.js';

Expand Down
2 changes: 1 addition & 1 deletion docs/project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1731315815573,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"packageManager":{"type":"yarn","version":"1.22.19"},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","storybookVersion":"7.0.18","storybookVersionSpecifier":"7.0.18","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.0.18"},"@storybook/react":{"version":"7.0.18"},"@storybook/react-webpack5":{"version":"7.0.18"},"@storybook/testing-library":{"version":"0.0.14-next.2"},"eslint-plugin-storybook":{"version":"0.6.12"},"storybook":{"version":"7.0.18"}},"addons":{"@storybook/addon-links":{"version":"7.0.18"},"@storybook/addon-essentials":{"version":"7.0.18"},"@storybook/addon-interactions":{"version":"7.0.18"}}}
{"generatedAt":1731317554528,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"packageManager":{"type":"yarn","version":"1.22.19"},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","storybookVersion":"7.0.18","storybookVersionSpecifier":"7.0.18","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.0.18"},"@storybook/react":{"version":"7.0.18"},"@storybook/react-webpack5":{"version":"7.0.18"},"@storybook/testing-library":{"version":"0.0.14-next.2"},"eslint-plugin-storybook":{"version":"0.6.12"},"storybook":{"version":"7.0.18"}},"addons":{"@storybook/addon-links":{"version":"7.0.18"},"@storybook/addon-essentials":{"version":"7.0.18"},"@storybook/addon-interactions":{"version":"7.0.18"}}}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/lib/components/tags/Tags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export type TagsProps<
SuggestionTag?: React.ComponentType<RenderSuggestionTagProps<IdT, T>>;
getName?: (tag: T) => string;
showTags?: boolean;
showClearButton?: boolean;
} & BaseInputProps<HTMLInputElement, TagsTranslations> &
(T extends { id: IdT } ? {} : { getTagId: (tag: T) => IdT });

Expand Down Expand Up @@ -153,6 +154,7 @@ export class TagsRaw<
fetchExistingTagsDebounceMaxMs: Number.MAX_SAFE_INTEGER,
fetchExistingTagsDebounceLeading: true,
fetchExistingTagsDebounceTrailing: true,
showClearButton: true,
};

private textRef: React.RefObject<TextRaw>;
Expand Down Expand Up @@ -349,7 +351,7 @@ export class TagsRaw<
}
>
<Text
showClearButton={true}
showClearButton={this.props.showClearButton}
{...textProps}
{...(this.props.id && {
id: this.props.id + '-text-input',
Expand Down

0 comments on commit 75d5864

Please sign in to comment.