@antscorp/antsomi-ui 1.3.3-beta.57 → 1.3.3-beta.59

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.
@@ -4,6 +4,8 @@ import React, { useEffect, useMemo, useState } from 'react';
4
4
  import { Tooltip, theme } from 'antd';
5
5
  import dayjs from 'dayjs';
6
6
  import clsx from 'clsx';
7
+ import weekday from 'dayjs/plugin/weekday';
8
+ import localeData from 'dayjs/plugin/localeData';
7
9
  // Hooks
8
10
  import { useDeepCompareEffect } from '../../../../../hooks';
9
11
  // Icons
@@ -26,6 +28,9 @@ import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
26
28
  const PATH = '@antscorp/antsomi-ui/es/components/molecules/DatePicker/components/Advanced/DatePickerAdvanced.tsx';
27
29
  const { useToken } = theme;
28
30
  const { Text } = Typography;
31
+ // NOTE: HOT FIX
32
+ dayjs.extend(weekday);
33
+ dayjs.extend(localeData);
29
34
  export const AdvancedPicker = props => {
30
35
  var _a, _b;
31
36
  // Props
@@ -87,10 +87,10 @@ export const RichMenuCell = props => {
87
87
  previewImage && (videoState.status === 'idle' || isPreview) && (React.createElement(ThumbnailBox, null,
88
88
  React.createElement(Image, { src: previewImage, alt: "thumbnail" }))),
89
89
  (videoState.status === 'idle' || isPreview) && videoUrl && (React.createElement(VideoAction, null,
90
- React.createElement(ActionButton, { onClick: handleVideoPlay },
90
+ React.createElement(ActionButton, { id: "video-capture-action-play", onClick: handleVideoPlay },
91
91
  React.createElement(Icon, { type: "icon-ants-play-circle", size: 24, style: { width: 26, color: '#fff' } }),
92
92
  isAddLabel && React.createElement(ActionButtonLabel, null, "Play")),
93
- isAddLabel && action.label && (React.createElement(Link, { href: action.externalUrl, target: "_blank", rel: "noreferrer" },
93
+ isAddLabel && action.label && (React.createElement(Link, { id: "video-capture-action-external", href: action.externalUrl, target: "_blank", rel: "noreferrer" },
94
94
  React.createElement("div", { style: { width: 26 } },
95
95
  React.createElement(CircleBorder, null,
96
96
  React.createElement(Icon, { type: "icon-ants-redo", size: 14, style: { color: '#fff', height: '17px' } }))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.3-beta.57",
3
+ "version": "1.3.3-beta.59",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",