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 3a328aa commit f0e12ed
Show file tree
Hide file tree
Showing 5 changed files with 9 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.061de920.iframe.bundle.js';
import './runtime~main.c7113c4a.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":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"}}}
{"generatedAt":1731319552180,"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.

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

Expand Down Expand Up @@ -314,7 +315,7 @@ export class TagsRaw<
{
'tags-input--readOnly': this.props.readOnly,
'tags-input--hasPlaceholder':
this.props.textProps && this.props.textProps.placeholder,
this.props.placeholder || this.props.textProps?.placeholder,
'tags-input--mobile': showMobileVersion,
}
)}
Expand Down Expand Up @@ -353,6 +354,9 @@ export class TagsRaw<
<Text
showClearButton={this.props.showClearButton}
{...textProps}
placeholder={
this.props.placeholder || this.props.textProps?.placeholder
}
{...(this.props.id && {
id: this.props.id + '-text-input',
})}
Expand Down

0 comments on commit f0e12ed

Please sign in to comment.