@imposium-hub/components 2.15.0-0 → 2.15.0-2
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/dist/cjs/components/app-wrapper/AppWrapper.d.ts +6 -0
- package/dist/cjs/components/app-wrapper/AppWrapper.js +7 -3
- package/dist/cjs/components/app-wrapper/AppWrapper.js.map +1 -1
- package/dist/cjs/components/asset-details/AssetDetails.js +1 -1
- package/dist/cjs/components/assets/AssetsTableComplexTagCell.js +1 -1
- package/dist/cjs/components/assets/AssetsTableTagsPivot.js +1 -1
- package/dist/cjs/components/assets/AssetsUploadMenu.js +6 -6
- package/dist/cjs/components/context-menu/AnimateComponent.d.ts +1 -0
- package/dist/cjs/components/context-menu/AnimateComponent.js.map +1 -1
- package/dist/cjs/components/context-menu/ContextMenu.d.ts +1 -0
- package/dist/cjs/components/context-menu/ContextMenu.js +6 -6
- package/dist/cjs/components/context-menu/ContextMenu.js.map +1 -1
- package/dist/cjs/components/context-menu/ContextMenuItem.d.ts +1 -0
- package/dist/cjs/components/context-menu/ContextMenuItem.js.map +1 -1
- package/dist/cjs/components/context-menu/ContextMenuTrigger.d.ts +1 -0
- package/dist/cjs/components/context-menu/ContextMenuTrigger.js.map +1 -1
- package/dist/cjs/components/context-menu/SubMenu.d.ts +1 -0
- package/dist/cjs/components/context-menu/SubMenu.js.map +1 -1
- package/dist/cjs/components/controlled-list/ControlledList.stories.js +1 -1
- package/dist/cjs/components/number-field/NumberField.d.ts +2 -1
- package/dist/cjs/components/number-field/NumberField.js +18 -17
- package/dist/cjs/components/number-field/NumberField.js.map +1 -1
- package/dist/cjs/components/portal/Portal.d.ts +1 -0
- package/dist/cjs/components/portal/Portal.js.map +1 -1
- package/dist/cjs/components/publish-wizard/PublishWizard.d.ts +1 -1
- package/dist/cjs/components/publish-wizard/PublishWizard.js +7 -2
- package/dist/cjs/components/publish-wizard/PublishWizard.js.map +1 -1
- package/dist/cjs/components/story-previewer/StoryPreviewer.js +15 -2
- package/dist/cjs/components/story-previewer/StoryPreviewer.js.map +1 -1
- package/dist/cjs/components/tabs/Tabs.d.ts +12 -4
- package/dist/cjs/components/tabs/Tabs.js +21 -3
- package/dist/cjs/components/tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/tabs/Tabs.stories.d.ts +1 -3
- package/dist/cjs/components/tag/Tag.js.map +1 -1
- package/dist/cjs/components/tag/Tag.test.js.map +1 -1
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.js +37 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/routing.d.ts +4 -2
- package/dist/cjs/utils/routing.js +8 -4
- package/dist/cjs/utils/routing.js.map +1 -1
- package/dist/esm/components/app-wrapper/AppWrapper.d.ts +6 -0
- package/dist/esm/components/app-wrapper/AppWrapper.js +8 -4
- package/dist/esm/components/app-wrapper/AppWrapper.js.map +1 -1
- package/dist/esm/components/asset-details/AssetDetails.js +1 -1
- package/dist/esm/components/assets/AssetsTableComplexTagCell.js +1 -1
- package/dist/esm/components/assets/AssetsTableTagsPivot.js +1 -1
- package/dist/esm/components/assets/AssetsUploadMenu.js +6 -6
- package/dist/esm/components/context-menu/AnimateComponent.d.ts +1 -0
- package/dist/esm/components/context-menu/AnimateComponent.js.map +1 -1
- package/dist/esm/components/context-menu/ContextMenu.d.ts +1 -0
- package/dist/esm/components/context-menu/ContextMenu.js +2 -1
- package/dist/esm/components/context-menu/ContextMenu.js.map +1 -1
- package/dist/esm/components/context-menu/ContextMenuItem.d.ts +1 -0
- package/dist/esm/components/context-menu/ContextMenuItem.js.map +1 -1
- package/dist/esm/components/context-menu/ContextMenuTrigger.d.ts +1 -0
- package/dist/esm/components/context-menu/ContextMenuTrigger.js.map +1 -1
- package/dist/esm/components/context-menu/SubMenu.d.ts +1 -0
- package/dist/esm/components/context-menu/SubMenu.js.map +1 -1
- package/dist/esm/components/controlled-list/ControlledList.stories.js +1 -1
- package/dist/esm/components/number-field/NumberField.d.ts +2 -1
- package/dist/esm/components/number-field/NumberField.js +15 -17
- package/dist/esm/components/number-field/NumberField.js.map +1 -1
- package/dist/esm/components/portal/Portal.d.ts +1 -0
- package/dist/esm/components/portal/Portal.js.map +1 -1
- package/dist/esm/components/publish-wizard/PublishWizard.d.ts +1 -1
- package/dist/esm/components/publish-wizard/PublishWizard.js +7 -2
- package/dist/esm/components/publish-wizard/PublishWizard.js.map +1 -1
- package/dist/esm/components/story-previewer/StoryPreviewer.js +14 -2
- package/dist/esm/components/story-previewer/StoryPreviewer.js.map +1 -1
- package/dist/esm/components/tabs/Tabs.d.ts +12 -4
- package/dist/esm/components/tabs/Tabs.js +11 -4
- package/dist/esm/components/tabs/Tabs.js.map +1 -1
- package/dist/esm/components/tabs/Tabs.stories.d.ts +1 -3
- package/dist/esm/components/tag/Tag.js.map +1 -1
- package/dist/esm/components/tag/Tag.test.js.map +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/routing.d.ts +4 -2
- package/dist/esm/utils/routing.js +6 -3
- package/dist/esm/utils/routing.js.map +1 -1
- package/dist/styles.css +14 -8
- package/dist/styles.less +76 -68
- package/less/components/assets.less +6 -5
- package/less/components/auth-gate.less +1 -1
- package/less/components/change-report.less +11 -5
- package/less/components/data-table.less +2 -2
- package/less/components/determinate-loader.less +2 -2
- package/less/components/font-preview.less +1 -1
- package/less/components/form-field.less +5 -5
- package/less/components/header.less +30 -30
- package/less/components/modal.less +2 -2
- package/less/components/player.less +2 -2
- package/less/components/publish-wizard.less +1 -0
- package/less/components/section.less +2 -2
- package/less/components/static-composition-editor.less +4 -4
- package/less/components/story-previewer.less +4 -4
- package/less/components/tabs.less +3 -3
- package/package.json +8 -8
- package/src/components/app-wrapper/AppWrapper.tsx +17 -4
- package/src/components/asset-details/AssetDetails.tsx +1 -1
- package/src/components/assets/AssetsTableComplexTagCell.tsx +1 -1
- package/src/components/assets/AssetsTableTagsPivot.tsx +1 -1
- package/src/components/assets/AssetsUploadMenu.tsx +6 -6
- package/src/components/context-menu/AnimateComponent.tsx +1 -0
- package/src/components/context-menu/ContextMenu.tsx +15 -13
- package/src/components/context-menu/ContextMenuItem.tsx +1 -0
- package/src/components/context-menu/ContextMenuTrigger.tsx +1 -0
- package/src/components/context-menu/SubMenu.tsx +1 -0
- package/src/components/controlled-list/ControlledList.stories.tsx +1 -1
- package/src/components/number-field/NumberField.tsx +21 -18
- package/src/components/portal/Portal.tsx +1 -0
- package/src/components/publish-wizard/PublishWizard.tsx +19 -3
- package/src/components/story-previewer/StoryPreviewer.tsx +21 -8
- package/src/components/tabs/Tabs.tsx +25 -8
- package/src/index.ts +3 -2
- package/src/utils/routing.ts +10 -6
- /package/src/components/{tag → Tag}/Tag.test.tsx +0 -0
- /package/src/components/{tag → Tag}/Tag.tsx +0 -0
|
@@ -7,7 +7,15 @@ export interface ITab {
|
|
|
7
7
|
label: any;
|
|
8
8
|
menuButtons?: JSX.Element;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
export interface ITabsProps {
|
|
11
|
+
activeTab?: string;
|
|
12
|
+
keepMounted?: boolean;
|
|
13
|
+
options: ITab[];
|
|
14
|
+
onChange(i: any): void;
|
|
15
|
+
onClose?(i: any): void;
|
|
16
|
+
tabPadding?: number;
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
}
|
|
20
|
+
declare const TabsWithResize: React.FC<Omit<ITabsProps, 'width' | 'height'>>;
|
|
21
|
+
export default TabsWithResize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { useResizeDetector } from 'react-resize-detector';
|
|
3
3
|
import ButtonMenu from '../button-menu/ButtonMenu';
|
|
4
4
|
import ButtonMenuItem from '../button-menu/ButtonMenuItem';
|
|
5
5
|
import Button from '../button/Button';
|
|
@@ -49,7 +49,7 @@ class Tabs extends React.PureComponent {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
renderContent() {
|
|
52
|
-
const { options, activeTab, keepMounted, width, height } = this.props;
|
|
52
|
+
const { options, activeTab, keepMounted, width = 0, height = 0 } = this.props;
|
|
53
53
|
if (keepMounted) {
|
|
54
54
|
const contentArray = [];
|
|
55
55
|
for (const option of options) {
|
|
@@ -88,7 +88,9 @@ class Tabs extends React.PureComponent {
|
|
|
88
88
|
const btnClose = canClose ? (React.createElement(Button, { style: 'subtle', size: 'small', onClick: (e) => {
|
|
89
89
|
e.preventDefault();
|
|
90
90
|
e.stopPropagation();
|
|
91
|
-
this.props.onClose
|
|
91
|
+
if (this.props.onClose) {
|
|
92
|
+
this.props.onClose(key);
|
|
93
|
+
}
|
|
92
94
|
} }, ICON_TIMES)) : null;
|
|
93
95
|
const buttonMenus = menuButtons ? menuButtons : null;
|
|
94
96
|
const activeClass = key === activeTab ? 'active' : '';
|
|
@@ -124,5 +126,10 @@ class Tabs extends React.PureComponent {
|
|
|
124
126
|
React.createElement("div", { className: 'tab-content' }, this.renderContent())));
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
|
-
|
|
129
|
+
const TabsWithResize = (props) => {
|
|
130
|
+
const { width = 0, height = 0, ref } = useResizeDetector();
|
|
131
|
+
return (React.createElement("div", { ref: ref, style: { width: '100%', height: '100%' } },
|
|
132
|
+
React.createElement(Tabs, { ...props, width: width, height: height })));
|
|
133
|
+
};
|
|
134
|
+
export default TabsWithResize;
|
|
128
135
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":"AA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
|
-
component: React.
|
|
5
|
-
targetRef?: any;
|
|
6
|
-
}, "width">, "height">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
component: React.FC<Omit<import("./Tabs").ITabsProps, "height" | "width">>;
|
|
7
5
|
};
|
|
8
6
|
export default _default;
|
|
9
7
|
export declare const defaultTabs: () => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../src/components/
|
|
1
|
+
{"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAU/C,MAAM,GAAG,GAAwB,CAAC,CAAY,EAAE,EAAE;IAC9C,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,CAAC,EAAE,EAAE;QAC1B,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QACtC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CACpD,GAAG,EAAE;YACD,IAAI,cAAc,EAAE,CAAC;gBACjB,cAAc,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;YACxC,CAAC;QACL,CAAC,EACD,GAAG,EAAE;YACD,IAAI,OAAO,EAAE,CAAC;gBACV,OAAO,CAAC,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;YAChC,CAAC;QACL,CAAC,CACJ,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,eAAe,GAAW,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9E,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,aAAa,KAAK,UAAU,IAAI,CACpD,6BACI,SAAS,EAAC,YAAY,EACtB,OAAO,EAAE,CAAC,CAAC,aAAa,IACvB,UAAU,CACT,CACT,CAAC;IAEF,OAAO,CACH,6BACI,GAAG,EAAE,CAAC,CAAC,IAAI,EACX,KAAK,EAAE,EAAE,eAAe,EAAE,EAC1B,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;QACjC,CAAC,CAAC,IAAI;QACN,MAAM,CACL,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpC,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.test.js","sourceRoot":"","sources":["../../../../src/components/
|
|
1
|
+
{"version":3,"file":"Tag.test.js","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.test.tsx"],"names":[],"mappings":""}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -13,14 +13,14 @@ import FieldWrapper from './components/field-wrapper/FieldWrapper';
|
|
|
13
13
|
import CheckboxField from './components/checkbox-field/CheckboxField';
|
|
14
14
|
import ListField from './components/list-field/ListField';
|
|
15
15
|
import ButtonGroupField from './components/button-group-field/ButtonGroupField';
|
|
16
|
-
import NumberField from './components/number-field/NumberField';
|
|
16
|
+
import NumberField, { validateNumInput } from './components/number-field/NumberField';
|
|
17
17
|
import SelectField from './components/select-field/SelectField';
|
|
18
18
|
import TextField from './components/text-field/TextField';
|
|
19
19
|
import TextAreaField from './components/text-area-field/TextAreaField';
|
|
20
20
|
import ToastService from './components/toast-service/ToastService';
|
|
21
21
|
import SliderField from './components/slider-field/SliderField';
|
|
22
22
|
import ColorField from './components/color-field/ColorField';
|
|
23
|
-
import Tag from './components/
|
|
23
|
+
import Tag from './components/Tag/Tag';
|
|
24
24
|
import HRule from './components/h-rule/HRule';
|
|
25
25
|
import Section from './components/section/Section';
|
|
26
26
|
import Spinner from './components/spinner/Spinner';
|
|
@@ -116,4 +116,4 @@ import { DEFAULT_FONTS } from './constants/fonts';
|
|
|
116
116
|
import FontField from './components/font-field/FontField';
|
|
117
117
|
import { IChangeReportNode, IChangeReportSection, IPublishLogEntry } from './constants/snippets';
|
|
118
118
|
import ChangeReportTree from './components/change-report/ChangeReportTree';
|
|
119
|
-
export { ProjectDropdown, pushRoute, replaceRoute, AppWrapper, ImposiumHeader, ImposiumDropdown, Button, ButtonGroupField, ButtonMenu, ButtonMenuItem, Card, CheckboxField, ControlledList, DataTable, DataTablePaginator, FieldWrapper, HRule, ListField, Modal, AdvancedNumberField, NumberField, SelectField, ColorField, Tabs, ITab, Tag, TextField, TextAreaField, ToastService, SliderField, Section, DeterminateLoader, Spinner, NoAccess, ServiceIcon, LogViewer, StoryPreviewer, ShortcutMenu, Portal, AssetDetails, ImagePlayer, VideoPlayer, AudioPlayer, VideoPreview, ImagePreview, AudioPreview, ImageSequencePlayer, AssetsTypeIcon, AssetsTableDateCell, AssetsTableDropzone, AssetsTablePreviewCell, AssetsTableSelectFilter, AssetsTableSelectCell, AssetsTableTypeFilter, AssetsTableTypeCell, AssetsTableGlobalCell, AssetsTableStatusCell, AssetsTableNameFilter, StoryTableNameFilter, AssetsTableAssetIdFilter, AssetsTableAssetIdCell, AssetsTableNameCell, AssetsTableDurationCell, AssetsTableRateCell, AssetsTableTagsCell, AssetsTableTagsFilter, AssetsTableTagsPivot, AssetsTableComplexTagCell, StoryTableTotalRendersCell, AssetField, AssetsUploadMenu, FontAssetPreview, DroppableAssetRenderer, PreviewNotAvailable, IStaticComposition, access, setAccessData, storyAdded, storyNameMutated, orgNameMutated, storyDeleted, updateFilters, resetFilters, updateStoryFilter, resetStoryFilter, getAssets, deleteAssets, downloadAssets, addAssetTag, deleteAssetTag, updateAssetName, updateAssetData, doAssetTableHydration, uploadAssets, replaceAsset, selectAsset, deselectAsset, resetSelection, assetFilters, storyFilter, assetList, assetUploads, selectedAssets, getAssetTagList, addAssetTagToList, assetTags, assetActions, activeBatch, batchActions, API, IImposiumAPI, ICrmApi, CrmApi, LegacyAPI, StorageService, Timer, validateAccessLevel, isSuperUser, getFirstStoryInOrg, string2HexCode, parameterizeServiceUrl, fitToContainer, getOrgIdFromStory, formattedTime, filterHotkeys, mimetypeConformsToOverlay, validateAssetMimetype, IMAGE_EXTENSIONS, toFixed, getSMPTE, padStart, formatDateDefault, ASSET_TYPES, publish, publishVersion, clearStoryPublishStatus, getStoryPublishStatus, PublishStatusIndicator, AnchorField, SMPTEField, getMediaPreviewStyle, HEADER_HEIGHT, decoupleAssets, deleteAssetsTags, updateAssetStory, FontPicker, cancelAssetUpload, getLastModifiedStoryInOrg, checkStoryId, renderTooltipProps, renderTooltip, ContextMenu, ContextMenuItem, ContextMenuTrigger, Submenu, CopyPropIdButton, ConfirmModal, IConfirmModalProps, openConfirmModal, IElevenLabsOptions, TextAreaAutocomplete, ControlListType, IconToggle, DEFAULT_FONTS, FontField, IChangeReportNode, IChangeReportSection, IPublishLogEntry, ChangeReportTree };
|
|
119
|
+
export { ProjectDropdown, pushRoute, replaceRoute, AppWrapper, ImposiumHeader, ImposiumDropdown, Button, ButtonGroupField, ButtonMenu, ButtonMenuItem, Card, CheckboxField, ControlledList, DataTable, DataTablePaginator, FieldWrapper, HRule, ListField, Modal, AdvancedNumberField, NumberField, SelectField, ColorField, Tabs, ITab, Tag, TextField, TextAreaField, ToastService, SliderField, Section, DeterminateLoader, Spinner, NoAccess, ServiceIcon, LogViewer, StoryPreviewer, ShortcutMenu, Portal, AssetDetails, ImagePlayer, VideoPlayer, AudioPlayer, VideoPreview, ImagePreview, AudioPreview, ImageSequencePlayer, AssetsTypeIcon, AssetsTableDateCell, AssetsTableDropzone, AssetsTablePreviewCell, AssetsTableSelectFilter, AssetsTableSelectCell, AssetsTableTypeFilter, AssetsTableTypeCell, AssetsTableGlobalCell, AssetsTableStatusCell, AssetsTableNameFilter, StoryTableNameFilter, AssetsTableAssetIdFilter, AssetsTableAssetIdCell, AssetsTableNameCell, AssetsTableDurationCell, AssetsTableRateCell, AssetsTableTagsCell, AssetsTableTagsFilter, AssetsTableTagsPivot, AssetsTableComplexTagCell, StoryTableTotalRendersCell, AssetField, AssetsUploadMenu, FontAssetPreview, DroppableAssetRenderer, PreviewNotAvailable, IStaticComposition, access, setAccessData, storyAdded, storyNameMutated, orgNameMutated, storyDeleted, updateFilters, resetFilters, updateStoryFilter, resetStoryFilter, getAssets, deleteAssets, downloadAssets, addAssetTag, deleteAssetTag, updateAssetName, updateAssetData, doAssetTableHydration, uploadAssets, replaceAsset, selectAsset, deselectAsset, resetSelection, assetFilters, storyFilter, assetList, assetUploads, selectedAssets, getAssetTagList, addAssetTagToList, assetTags, assetActions, activeBatch, batchActions, API, IImposiumAPI, ICrmApi, CrmApi, LegacyAPI, StorageService, Timer, validateAccessLevel, isSuperUser, getFirstStoryInOrg, string2HexCode, parameterizeServiceUrl, fitToContainer, getOrgIdFromStory, formattedTime, filterHotkeys, mimetypeConformsToOverlay, validateAssetMimetype, IMAGE_EXTENSIONS, toFixed, getSMPTE, padStart, formatDateDefault, ASSET_TYPES, publish, publishVersion, clearStoryPublishStatus, getStoryPublishStatus, PublishStatusIndicator, AnchorField, SMPTEField, getMediaPreviewStyle, HEADER_HEIGHT, decoupleAssets, deleteAssetsTags, updateAssetStory, FontPicker, cancelAssetUpload, getLastModifiedStoryInOrg, checkStoryId, renderTooltipProps, renderTooltip, ContextMenu, ContextMenuItem, ContextMenuTrigger, Submenu, CopyPropIdButton, ConfirmModal, IConfirmModalProps, openConfirmModal, IElevenLabsOptions, TextAreaAutocomplete, ControlListType, IconToggle, DEFAULT_FONTS, FontField, validateNumInput, IChangeReportNode, IChangeReportSection, IPublishLogEntry, ChangeReportTree };
|
package/dist/esm/index.js
CHANGED
|
@@ -16,14 +16,14 @@ import FieldWrapper from './components/field-wrapper/FieldWrapper';
|
|
|
16
16
|
import CheckboxField from './components/checkbox-field/CheckboxField';
|
|
17
17
|
import ListField from './components/list-field/ListField';
|
|
18
18
|
import ButtonGroupField from './components/button-group-field/ButtonGroupField';
|
|
19
|
-
import NumberField from './components/number-field/NumberField';
|
|
19
|
+
import NumberField, { validateNumInput } from './components/number-field/NumberField';
|
|
20
20
|
import SelectField from './components/select-field/SelectField';
|
|
21
21
|
import TextField from './components/text-field/TextField';
|
|
22
22
|
import TextAreaField from './components/text-area-field/TextAreaField';
|
|
23
23
|
import ToastService from './components/toast-service/ToastService';
|
|
24
24
|
import SliderField from './components/slider-field/SliderField';
|
|
25
25
|
import ColorField from './components/color-field/ColorField';
|
|
26
|
-
import Tag from './components/
|
|
26
|
+
import Tag from './components/Tag/Tag';
|
|
27
27
|
import HRule from './components/h-rule/HRule';
|
|
28
28
|
import Section from './components/section/Section';
|
|
29
29
|
import Spinner from './components/spinner/Spinner';
|
|
@@ -126,5 +126,5 @@ import IconToggle from './components/icon-toggle/IconToggle';
|
|
|
126
126
|
import { DEFAULT_FONTS } from './constants/fonts';
|
|
127
127
|
import FontField from './components/font-field/FontField';
|
|
128
128
|
import ChangeReportTree from './components/change-report/ChangeReportTree';
|
|
129
|
-
export { ProjectDropdown, pushRoute, replaceRoute, AppWrapper, ImposiumHeader, ImposiumDropdown, Button, ButtonGroupField, ButtonMenu, ButtonMenuItem, Card, CheckboxField, ControlledList, DataTable, DataTablePaginator, FieldWrapper, HRule, ListField, Modal, AdvancedNumberField, NumberField, SelectField, ColorField, Tabs, Tag, TextField, TextAreaField, ToastService, SliderField, Section, DeterminateLoader, Spinner, NoAccess, ServiceIcon, LogViewer, StoryPreviewer, ShortcutMenu, Portal, AssetDetails, ImagePlayer, VideoPlayer, AudioPlayer, VideoPreview, ImagePreview, AudioPreview, ImageSequencePlayer, AssetsTypeIcon, AssetsTableDateCell, AssetsTableDropzone, AssetsTablePreviewCell, AssetsTableSelectFilter, AssetsTableSelectCell, AssetsTableTypeFilter, AssetsTableTypeCell, AssetsTableGlobalCell, AssetsTableStatusCell, AssetsTableNameFilter, StoryTableNameFilter, AssetsTableAssetIdFilter, AssetsTableAssetIdCell, AssetsTableNameCell, AssetsTableDurationCell, AssetsTableRateCell, AssetsTableTagsCell, AssetsTableTagsFilter, AssetsTableTagsPivot, AssetsTableComplexTagCell, StoryTableTotalRendersCell, AssetField, AssetsUploadMenu, FontAssetPreview, DroppableAssetRenderer, PreviewNotAvailable, access, setAccessData, storyAdded, storyNameMutated, orgNameMutated, storyDeleted, updateFilters, resetFilters, updateStoryFilter, resetStoryFilter, getAssets, deleteAssets, downloadAssets, addAssetTag, deleteAssetTag, updateAssetName, updateAssetData, doAssetTableHydration, uploadAssets, replaceAsset, selectAsset, deselectAsset, resetSelection, assetFilters, storyFilter, assetList, assetUploads, selectedAssets, getAssetTagList, addAssetTagToList, assetTags, assetActions, activeBatch, batchActions, API, CrmApi, LegacyAPI, StorageService, Timer, validateAccessLevel, isSuperUser, getFirstStoryInOrg, string2HexCode, parameterizeServiceUrl, fitToContainer, getOrgIdFromStory, formattedTime, filterHotkeys, mimetypeConformsToOverlay, validateAssetMimetype, IMAGE_EXTENSIONS, toFixed, getSMPTE, padStart, formatDateDefault, ASSET_TYPES, publish, publishVersion, clearStoryPublishStatus, getStoryPublishStatus, PublishStatusIndicator, AnchorField, SMPTEField, getMediaPreviewStyle, HEADER_HEIGHT, decoupleAssets, deleteAssetsTags, updateAssetStory, FontPicker, cancelAssetUpload, getLastModifiedStoryInOrg, checkStoryId, renderTooltipProps, renderTooltip, ContextMenu, ContextMenuItem, ContextMenuTrigger, Submenu, CopyPropIdButton, ConfirmModal, openConfirmModal, TextAreaAutocomplete, IconToggle, DEFAULT_FONTS, FontField, ChangeReportTree };
|
|
129
|
+
export { ProjectDropdown, pushRoute, replaceRoute, AppWrapper, ImposiumHeader, ImposiumDropdown, Button, ButtonGroupField, ButtonMenu, ButtonMenuItem, Card, CheckboxField, ControlledList, DataTable, DataTablePaginator, FieldWrapper, HRule, ListField, Modal, AdvancedNumberField, NumberField, SelectField, ColorField, Tabs, Tag, TextField, TextAreaField, ToastService, SliderField, Section, DeterminateLoader, Spinner, NoAccess, ServiceIcon, LogViewer, StoryPreviewer, ShortcutMenu, Portal, AssetDetails, ImagePlayer, VideoPlayer, AudioPlayer, VideoPreview, ImagePreview, AudioPreview, ImageSequencePlayer, AssetsTypeIcon, AssetsTableDateCell, AssetsTableDropzone, AssetsTablePreviewCell, AssetsTableSelectFilter, AssetsTableSelectCell, AssetsTableTypeFilter, AssetsTableTypeCell, AssetsTableGlobalCell, AssetsTableStatusCell, AssetsTableNameFilter, StoryTableNameFilter, AssetsTableAssetIdFilter, AssetsTableAssetIdCell, AssetsTableNameCell, AssetsTableDurationCell, AssetsTableRateCell, AssetsTableTagsCell, AssetsTableTagsFilter, AssetsTableTagsPivot, AssetsTableComplexTagCell, StoryTableTotalRendersCell, AssetField, AssetsUploadMenu, FontAssetPreview, DroppableAssetRenderer, PreviewNotAvailable, access, setAccessData, storyAdded, storyNameMutated, orgNameMutated, storyDeleted, updateFilters, resetFilters, updateStoryFilter, resetStoryFilter, getAssets, deleteAssets, downloadAssets, addAssetTag, deleteAssetTag, updateAssetName, updateAssetData, doAssetTableHydration, uploadAssets, replaceAsset, selectAsset, deselectAsset, resetSelection, assetFilters, storyFilter, assetList, assetUploads, selectedAssets, getAssetTagList, addAssetTagToList, assetTags, assetActions, activeBatch, batchActions, API, CrmApi, LegacyAPI, StorageService, Timer, validateAccessLevel, isSuperUser, getFirstStoryInOrg, string2HexCode, parameterizeServiceUrl, fitToContainer, getOrgIdFromStory, formattedTime, filterHotkeys, mimetypeConformsToOverlay, validateAssetMimetype, IMAGE_EXTENSIONS, toFixed, getSMPTE, padStart, formatDateDefault, ASSET_TYPES, publish, publishVersion, clearStoryPublishStatus, getStoryPublishStatus, PublishStatusIndicator, AnchorField, SMPTEField, getMediaPreviewStyle, HEADER_HEIGHT, decoupleAssets, deleteAssetsTags, updateAssetStory, FontPicker, cancelAssetUpload, getLastModifiedStoryInOrg, checkStoryId, renderTooltipProps, renderTooltip, ContextMenu, ContextMenuItem, ContextMenuTrigger, Submenu, CopyPropIdButton, ConfirmModal, openConfirmModal, TextAreaAutocomplete, IconToggle, DEFAULT_FONTS, FontField, validateNumInput, ChangeReportTree };
|
|
130
130
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,cAAmC,MAAM,6CAA6C,CAAC;AAC9F,OAAO,SAAS,MAAM,mCAAmC,CAAC;AAC1D,OAAO,kBAAkB,MAAM,4CAA4C,CAAC;AAC5E,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAC7C,OAAO,IAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,YAAY,MAAM,yCAAyC,CAAC;AACnE,OAAO,aAAa,MAAM,2CAA2C,CAAC;AACtE,OAAO,SAAS,MAAM,mCAAmC,CAAC;AAC1D,OAAO,gBAAgB,MAAM,kDAAkD,CAAC;AAChF,OAAO,WAAW,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings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gB,EAChB,YAAY,EAEZ,gBAAgB,EAEhB,oBAAoB,EAEpB,UAAU,EACV,aAAa,EACb,SAAS,EACT,gBAAgB,EAIhB,gBAAgB,EACnB,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { ICompatibleHistory } from '../components/app-wrapper/AppWrapper';
|
|
2
|
+
export declare const configureHistory: (history: ICompatibleHistory) => void;
|
|
3
|
+
export declare const pushRoute: (route: string) => void;
|
|
4
|
+
export declare const replaceRoute: (route: string) => void;
|
|
3
5
|
export declare const getDemoURL: () => string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
let historySingleton = null;
|
|
2
|
+
export const configureHistory = (history) => {
|
|
3
|
+
historySingleton = history;
|
|
4
|
+
};
|
|
2
5
|
export const pushRoute = (route) => {
|
|
3
|
-
|
|
6
|
+
historySingleton?.push(route);
|
|
4
7
|
};
|
|
5
8
|
export const replaceRoute = (route) => {
|
|
6
|
-
|
|
9
|
+
historySingleton?.replace(route);
|
|
7
10
|
};
|
|
8
11
|
export const getDemoURL = () => {
|
|
9
12
|
const { location: { href } } = window;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.js","sourceRoot":"","sources":["../../../src/utils/routing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routing.js","sourceRoot":"","sources":["../../../src/utils/routing.ts"],"names":[],"mappings":"AAEA,IAAI,gBAAgB,GAA8B,IAAI,CAAC;AAEvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAA2B,EAAQ,EAAE;IAClE,gBAAgB,GAAG,OAAO,CAAC;AAC/B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAa,EAAQ,EAAE;IAC7C,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;AAClC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAQ,EAAE;IAChD,gBAAgB,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAW,EAAE;IACnC,MAAM,EACF,QAAQ,EAAE,EAAE,IAAI,EAAE,EACrB,GAAG,MAAM,CAAC;IAEX,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACnC,OAAO,uBAAuB,CAAC;IACnC,CAAC;SAAM,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACxC,OAAO,mCAAmC,CAAC;IAC/C,CAAC;SAAM,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACnC,OAAO,8BAA8B,CAAC;IAC1C,CAAC;SAAM,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACpC,OAAO,+BAA+B,CAAC;IAC3C,CAAC;SAAM,CAAC;QACJ,OAAO,2BAA2B,CAAC;IACvC,CAAC;AACL,CAAC,CAAC"}
|
package/dist/styles.css
CHANGED
|
@@ -331,6 +331,9 @@ body a {
|
|
|
331
331
|
justify-content: space-between;
|
|
332
332
|
padding: 5px;
|
|
333
333
|
}
|
|
334
|
+
.uploads-menu .uploads-controls .form-field {
|
|
335
|
+
min-width: 140px !important;
|
|
336
|
+
}
|
|
334
337
|
.uploads-menu .uploads-list {
|
|
335
338
|
width: 100%;
|
|
336
339
|
height: 100%;
|
|
@@ -364,9 +367,6 @@ body a {
|
|
|
364
367
|
.uploads-menu .form-field {
|
|
365
368
|
vertical-align: top;
|
|
366
369
|
}
|
|
367
|
-
.uploads-menu .form-field label {
|
|
368
|
-
width: 120px;
|
|
369
|
-
}
|
|
370
370
|
.uploads-menu .form-field .form-field-content {
|
|
371
371
|
width: calc(100% - 120px);
|
|
372
372
|
}
|
|
@@ -2561,6 +2561,7 @@ body a {
|
|
|
2561
2561
|
color: white;
|
|
2562
2562
|
border: 1px solid #5f5f5f;
|
|
2563
2563
|
border-radius: 3px;
|
|
2564
|
+
font-family: inherit;
|
|
2564
2565
|
font-size: 14px;
|
|
2565
2566
|
resize: vertical;
|
|
2566
2567
|
}
|
|
@@ -2651,12 +2652,11 @@ body a {
|
|
|
2651
2652
|
opacity: 0.5;
|
|
2652
2653
|
}
|
|
2653
2654
|
.change-report-tree {
|
|
2654
|
-
background: #
|
|
2655
|
+
background: #1d1d1d;
|
|
2655
2656
|
border-radius: 4px;
|
|
2656
|
-
padding:
|
|
2657
|
+
padding: 14px;
|
|
2657
2658
|
box-sizing: border-box;
|
|
2658
2659
|
overflow-y: auto;
|
|
2659
|
-
max-height: 300px;
|
|
2660
2660
|
margin-bottom: 12px;
|
|
2661
2661
|
color: #dfdfdf;
|
|
2662
2662
|
}
|
|
@@ -2707,10 +2707,10 @@ body a {
|
|
|
2707
2707
|
}
|
|
2708
2708
|
.change-report-status {
|
|
2709
2709
|
display: inline-block;
|
|
2710
|
-
font-size:
|
|
2710
|
+
font-size: 11px;
|
|
2711
2711
|
font-weight: bold;
|
|
2712
2712
|
border-radius: 3px;
|
|
2713
|
-
padding:
|
|
2713
|
+
padding: 2px 6px;
|
|
2714
2714
|
margin-right: 6px;
|
|
2715
2715
|
flex-shrink: 0;
|
|
2716
2716
|
}
|
|
@@ -2743,6 +2743,12 @@ body a {
|
|
|
2743
2743
|
color: #B9B8B8;
|
|
2744
2744
|
flex-wrap: wrap;
|
|
2745
2745
|
}
|
|
2746
|
+
.change-report-value {
|
|
2747
|
+
background: #5f5f5f;
|
|
2748
|
+
color: #dfdfdf;
|
|
2749
|
+
border-radius: 3px;
|
|
2750
|
+
padding: 1px 6px;
|
|
2751
|
+
}
|
|
2746
2752
|
.change-report-value-arrow {
|
|
2747
2753
|
color: #5f5f5f;
|
|
2748
2754
|
}
|