pcm-shared-components 0.0.113 → 0.0.116
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/components/Buttons/DropdownButton/index.js +0 -1
- package/dist/components/Buttons/TillButton/index.js +2 -1
- package/dist/index.js +4 -1
- package/dist/languages/en/translations.json +2297 -0
- package/dist/languages/es/translations.json +2297 -0
- package/dist/languages/fr/translations.json +2297 -0
- package/dist/locals/coreLocals.js +45 -0
- package/dist/locals/currencySymbol.js +23 -0
- package/dist/locals/i18n.js +46 -0
- package/dist/locals/translationResources.js +16 -0
- package/dist/styles/prism.css +5 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { ThemeProvider } from '@mui/system';
|
|
|
5
5
|
import { createTheme, useTheme } from '@mui/material/styles';
|
|
6
6
|
import { CustomFab } from '../CustomFab';
|
|
7
7
|
import { ReusablePopupMenu } from '../../Menus/ReusablePopupMenu';
|
|
8
|
+
import i18n from '../../../locals/i18n';
|
|
8
9
|
/**
|
|
9
10
|
* Creates a till button from other PCM components to simplify the component.
|
|
10
11
|
* Uses:
|
|
@@ -52,7 +53,7 @@ export default /*#__PURE__*/memo(TillButton);
|
|
|
52
53
|
TillButton.defaultProps = {
|
|
53
54
|
inUse: false,
|
|
54
55
|
name: '',
|
|
55
|
-
defaultText: '
|
|
56
|
+
defaultText: i18n.t('common.app.copy'),
|
|
56
57
|
menuData: [],
|
|
57
58
|
size: 'x-small',
|
|
58
59
|
borderRadius: 8,
|
package/dist/index.js
CHANGED
|
@@ -15,4 +15,7 @@ import ReusablePopupMenu from './components/Menus/ReusablePopupMenu';
|
|
|
15
15
|
import SearchBar from './components/TextBoxes/SearchBar';
|
|
16
16
|
import TillButton from './components/Buttons/TillButton';
|
|
17
17
|
import DropdownButton from './components/Buttons/DropdownButton';
|
|
18
|
-
|
|
18
|
+
import translationResources from './locals/translationResources'; // import coreLocals from './locals/coreLocals';
|
|
19
|
+
// import currencySymbol from './locals/currencySymbol';
|
|
20
|
+
|
|
21
|
+
export { TestButton, CodeHighlight, CustomFab, HelpButton, GenericDialogWindow, PcSharedComponentThemeInheritor, ImageCanvasDraw, PCMScrollbar, TwoColumnDisplay, SimpleTab, HrefLink, GenericAppBar, ReusablePopupMenu, SearchBar, TillButton, DropdownButton, translationResources };
|