@antscorp/antsomi-ui 1.3.5-beta.875 → 1.3.5-beta.876

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PayloadInfo } from '@antscorp/antsomi-ui/es/types';
3
2
  export type TDisplayFormat = 'number' | 'percentage' | 'currency' | 'datetime';
4
3
  type DisplayFormatProps = {
@@ -210,7 +210,7 @@ export function convertInputStringToOriginal(input) {
210
210
  // Remove extra newline at the end
211
211
  // - see: https://github.com/yairEO/tagify/blob/master/src/tagify.js#L1822
212
212
  // - at function: [getMixedTagsAsString]
213
- return cleanedString.replace(/\r\n$/, '');
213
+ return cleanedString.replace(/\r\n$/, '').trim();
214
214
  }
215
215
  export const getLinkLineURLImage = (productId = '', code = '') => `https://stickershop.line-scdn.net/sticonshop/v1/sticon/${productId}/android/${code}.png?detect-emoji=line-message&v=1`;
216
216
  export const getImageSourceViberEmoji = (fileName = '') => {
@@ -3,5 +3,4 @@
3
3
  * Asynchronously loads the component for TemplateListing
4
4
  *
5
5
  */
6
- /// <reference types="react" />
7
6
  export declare const TemplateListing: (props: import("./types").TemplateListingProps<{}>) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.875",
3
+ "version": "1.3.5-beta.876",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",