@axelor/aos-mobile-ui 7.2.6 → 8.0.0
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/lib/components/atoms/BootstrapIcon/BootstrapIcon.d.ts +10 -0
- package/lib/components/atoms/BootstrapIcon/BootstrapIcon.js +40 -0
- package/lib/components/atoms/BootstrapIcon/BootstrapIcon.js.map +1 -0
- package/lib/components/atoms/Icon/Icon.d.ts +9 -2
- package/lib/components/atoms/Icon/Icon.js +15 -3
- package/lib/components/atoms/Icon/Icon.js.map +1 -1
- package/lib/components/atoms/RadioButton/RadioButton.d.ts +2 -1
- package/lib/components/atoms/RadioButton/RadioButton.js +2 -2
- package/lib/components/atoms/RadioButton/RadioButton.js.map +1 -1
- package/lib/components/atoms/Switch/Switch.d.ts +2 -1
- package/lib/components/atoms/Switch/Switch.js +2 -2
- package/lib/components/atoms/Switch/Switch.js.map +1 -1
- package/lib/components/atoms/index.d.ts +1 -0
- package/lib/components/atoms/index.js +1 -0
- package/lib/components/atoms/index.js.map +1 -1
- package/lib/components/molecules/Alert/Alert.d.ts +2 -1
- package/lib/components/molecules/Alert/Alert.js +5 -4
- package/lib/components/molecules/Alert/Alert.js.map +1 -1
- package/lib/components/molecules/Button/Button.d.ts +1 -2
- package/lib/components/molecules/Button/Button.js +2 -2
- package/lib/components/molecules/Button/Button.js.map +1 -1
- package/lib/components/molecules/Checkbox/Checkbox.d.ts +3 -1
- package/lib/components/molecules/Checkbox/Checkbox.js +24 -6
- package/lib/components/molecules/Checkbox/Checkbox.js.map +1 -1
- package/lib/components/molecules/Chip/Chip.js +18 -27
- package/lib/components/molecules/Chip/Chip.js.map +1 -1
- package/lib/components/molecules/CircleButton/CircleButton.d.ts +1 -2
- package/lib/components/molecules/CircleButton/CircleButton.js +3 -3
- package/lib/components/molecules/CircleButton/CircleButton.js.map +1 -1
- package/lib/components/molecules/ClearableCard/ClearableCard.js +1 -1
- package/lib/components/molecules/ClearableCard/ClearableCard.js.map +1 -1
- package/lib/components/molecules/DoubleIcon/DoubleIcon.d.ts +0 -1
- package/lib/components/molecules/DoubleIcon/DoubleIcon.js.map +1 -1
- package/lib/components/molecules/DropdownMenu/DropdownMenu.js +1 -1
- package/lib/components/molecules/DropdownMenu/DropdownMenu.js.map +1 -1
- package/lib/components/molecules/EditableInput/EditableInput.js +2 -3
- package/lib/components/molecules/EditableInput/EditableInput.js.map +1 -1
- package/lib/components/molecules/IconInput/IconInput.js +1 -1
- package/lib/components/molecules/IconInput/IconInput.js.map +1 -1
- package/lib/components/molecules/Image/Image.js +1 -1
- package/lib/components/molecules/Image/Image.js.map +1 -1
- package/lib/components/molecules/Increment/Increment.js +2 -2
- package/lib/components/molecules/Increment/Increment.js.map +1 -1
- package/lib/components/molecules/Increment/IncrementButton.d.ts +1 -1
- package/lib/components/molecules/Label/Label.js +13 -7
- package/lib/components/molecules/Label/Label.js.map +1 -1
- package/lib/components/molecules/LabelText/LabelText.d.ts +1 -2
- package/lib/components/molecules/LabelText/LabelText.js +2 -2
- package/lib/components/molecules/LabelText/LabelText.js.map +1 -1
- package/lib/components/molecules/MessageBox/MessageBox.js +3 -3
- package/lib/components/molecules/MessageBox/MessageBox.js.map +1 -1
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js +1 -1
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js.map +1 -1
- package/lib/components/molecules/NotesCard/NotesCard.js +1 -1
- package/lib/components/molecules/NotesCard/NotesCard.js.map +1 -1
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.d.ts +21 -0
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js +117 -0
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js.map +1 -0
- package/lib/components/molecules/RadioSelect/RadioSelect.d.ts +3 -1
- package/lib/components/molecules/RadioSelect/RadioSelect.js +3 -3
- package/lib/components/molecules/RadioSelect/RadioSelect.js.map +1 -1
- package/lib/components/molecules/RightIconButton/RightIconButton.js +1 -0
- package/lib/components/molecules/RightIconButton/RightIconButton.js.map +1 -1
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js +3 -3
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js.map +1 -1
- package/lib/components/molecules/StarScore/StarScore.js +6 -6
- package/lib/components/molecules/StarScore/StarScore.js.map +1 -1
- package/lib/components/molecules/SwitchCard/SwitchCard.js +10 -2
- package/lib/components/molecules/SwitchCard/SwitchCard.js.map +1 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js +1 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js.map +1 -1
- package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js +1 -1
- package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js.map +1 -1
- package/lib/components/molecules/index.d.ts +1 -0
- package/lib/components/molecules/index.js +1 -0
- package/lib/components/molecules/index.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js +1 -1
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js.map +1 -1
- package/lib/components/organisms/CheckboxScrollList/CheckboxScrollList.d.ts +20 -0
- package/lib/components/organisms/CheckboxScrollList/CheckboxScrollList.js +76 -0
- package/lib/components/organisms/CheckboxScrollList/CheckboxScrollList.js.map +1 -0
- package/lib/components/organisms/ChipSelect/ChipSelect.js +23 -9
- package/lib/components/organisms/ChipSelect/ChipSelect.js.map +1 -1
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.d.ts +1 -2
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js +2 -2
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js.map +1 -1
- package/lib/components/organisms/DurationInput/DurationInput.d.ts +11 -0
- package/lib/components/organisms/DurationInput/DurationInput.js +85 -0
- package/lib/components/organisms/DurationInput/DurationInput.js.map +1 -0
- package/lib/components/organisms/DurationInput/duration.helpers.d.ts +4 -0
- package/lib/components/organisms/DurationInput/duration.helpers.js +41 -0
- package/lib/components/organisms/DurationInput/duration.helpers.js.map +1 -0
- package/lib/components/organisms/FloatingButton/FloatingButton.js +2 -2
- package/lib/components/organisms/FloatingButton/FloatingButton.js.map +1 -1
- package/lib/components/organisms/GroupByScrollList/BottomSeparator.d.ts +7 -0
- package/lib/components/organisms/GroupByScrollList/BottomSeparator.js +44 -0
- package/lib/components/organisms/GroupByScrollList/BottomSeparator.js.map +1 -0
- package/lib/components/organisms/GroupByScrollList/GroupByScrollList.d.ts +23 -0
- package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js +60 -0
- package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js.map +1 -0
- package/lib/components/organisms/GroupByScrollList/TopSeparator.d.ts +18 -0
- package/lib/components/organisms/GroupByScrollList/TopSeparator.js +73 -0
- package/lib/components/organisms/GroupByScrollList/TopSeparator.js.map +1 -0
- package/lib/components/organisms/HeaderContainer/HeaderContainer.js +1 -1
- package/lib/components/organisms/HeaderContainer/HeaderContainer.js.map +1 -1
- package/lib/components/organisms/ScrollList/ScrollList.d.ts +2 -1
- package/lib/components/organisms/ScrollList/ScrollList.js +2 -2
- package/lib/components/organisms/ScrollList/ScrollList.js.map +1 -1
- package/lib/components/organisms/SearchBar/SearchBar.js +2 -2
- package/lib/components/organisms/SearchBar/SearchBar.js.map +1 -1
- package/lib/components/organisms/index.d.ts +3 -0
- package/lib/components/organisms/index.js +3 -0
- package/lib/components/organisms/index.js.map +1 -1
- package/lib/components/templates/Dashboard/Chart/BarChart.d.ts +12 -0
- package/lib/components/templates/Dashboard/Chart/BarChart.js +69 -0
- package/lib/components/templates/Dashboard/Chart/BarChart.js.map +1 -0
- package/lib/components/templates/Dashboard/Chart/LineChart.d.ts +12 -0
- package/lib/components/templates/Dashboard/Chart/LineChart.js +71 -0
- package/lib/components/templates/Dashboard/Chart/LineChart.js.map +1 -0
- package/lib/components/templates/Dashboard/Chart/PieChart.d.ts +16 -0
- package/lib/components/templates/Dashboard/Chart/PieChart.js +89 -0
- package/lib/components/templates/Dashboard/Chart/PieChart.js.map +1 -0
- package/lib/components/templates/Dashboard/Chart/chart.helper.d.ts +5 -0
- package/lib/components/templates/Dashboard/Chart/chart.helper.js +96 -0
- package/lib/components/templates/Dashboard/Chart/chart.helper.js.map +1 -0
- package/lib/components/templates/Dashboard/Chart/index.d.ts +3 -0
- package/lib/components/templates/Dashboard/Chart/index.js +21 -0
- package/lib/components/templates/Dashboard/Chart/index.js.map +1 -0
- package/lib/components/templates/Dashboard/Dashboard.d.ts +16 -0
- package/lib/components/templates/Dashboard/Dashboard.js +88 -0
- package/lib/components/templates/Dashboard/Dashboard.js.map +1 -0
- package/lib/components/templates/Dashboard/chart.d.ts +11 -0
- package/lib/components/templates/Dashboard/chart.js +33 -0
- package/lib/components/templates/Dashboard/chart.js.map +1 -0
- package/lib/components/templates/Dashboard/dashboard.helper.d.ts +7 -0
- package/lib/components/templates/Dashboard/dashboard.helper.js +19 -0
- package/lib/components/templates/Dashboard/dashboard.helper.js.map +1 -0
- package/lib/components/templates/Dashboard/index.d.ts +2 -0
- package/lib/components/templates/Dashboard/index.js +20 -0
- package/lib/components/templates/Dashboard/index.js.map +1 -0
- package/lib/components/templates/ObjectCard/ObjectCard.d.ts +0 -1
- package/lib/components/templates/ObjectCard/ObjectCard.js +1 -1
- package/lib/components/templates/ObjectCard/ObjectCard.js.map +1 -1
- package/lib/components/templates/TabsScreen/TabsScreen.js +2 -2
- package/lib/components/templates/TabsScreen/TabsScreen.js.map +1 -1
- package/lib/components/templates/index.d.ts +1 -0
- package/lib/components/templates/index.js +1 -0
- package/lib/components/templates/index.js.map +1 -1
- package/lib/icons/bootstrap-icon-map.json +7137 -0
- package/lib/theme/ThemeContext.js +5 -5
- package/lib/theme/ThemeContext.js.map +1 -1
- package/lib/theme/index.d.ts +1 -1
- package/lib/theme/index.js +1 -1
- package/lib/theme/index.js.map +1 -1
- package/lib/theme/themes.d.ts +1 -0
- package/lib/theme/themes.js +80 -0
- package/lib/theme/themes.js.map +1 -1
- package/lib/types/file.d.ts +1 -1
- package/lib/types/file.js +9 -9
- package/lib/types/file.js.map +1 -1
- package/lib/utils/commons-styles.js +2 -2
- package/lib/utils/commons-styles.js.map +1 -1
- package/package.json +20 -5
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
18
|
import React, { createContext, useCallback, useContext, useMemo, useReducer, } from 'react';
|
|
19
|
-
import { lightTheme, colorBlindTheme } from './themes';
|
|
19
|
+
import { lightTheme, purpleTheme, colorBlindTheme, } from './themes';
|
|
20
20
|
import { getActiveTheme } from './theme-context.helper';
|
|
21
|
-
const DEFAULT_THEME =
|
|
21
|
+
const DEFAULT_THEME = purpleTheme;
|
|
22
22
|
const COLORBLIND_THEME = colorBlindTheme;
|
|
23
23
|
const defaultThemeContext = {
|
|
24
24
|
activeTheme: DEFAULT_THEME,
|
|
25
25
|
isColorBlind: DEFAULT_THEME === COLORBLIND_THEME,
|
|
26
|
-
themes: [lightTheme],
|
|
26
|
+
themes: [lightTheme, purpleTheme],
|
|
27
27
|
changeTheme: () => {
|
|
28
28
|
throw new Error('ThemeProvider should be mounted to change theme');
|
|
29
29
|
},
|
|
@@ -63,14 +63,14 @@ const themeReducer = (state, action) => {
|
|
|
63
63
|
case actionTypes.activateColorBlind: {
|
|
64
64
|
return {
|
|
65
65
|
...state,
|
|
66
|
-
activeTheme:
|
|
66
|
+
activeTheme: COLORBLIND_THEME,
|
|
67
67
|
isColorBlind: true,
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
case actionTypes.desactivateColorBlind: {
|
|
71
71
|
return {
|
|
72
72
|
...state,
|
|
73
|
-
activeTheme:
|
|
73
|
+
activeTheme: DEFAULT_THEME,
|
|
74
74
|
isColorBlind: false,
|
|
75
75
|
};
|
|
76
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../src/theme/ThemeContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EACZ,aAAa,EAEb,WAAW,EACX,UAAU,EACV,OAAO,EACP,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,
|
|
1
|
+
{"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../src/theme/ThemeContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EACZ,aAAa,EAEb,WAAW,EACX,UAAU,EACV,OAAO,EACP,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,UAAU,EACV,WAAW,EACX,eAAe,GAEhB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAgBzC,MAAM,mBAAmB,GAAG;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,aAAa,KAAK,gBAAgB;IAChD,MAAM,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;IACjC,WAAW,EAAE,GAAG,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IACD,kBAAkB;QAChB,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;IAC7E,CAAC;IACD,qBAAqB;QACnB,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAC3B,mBAA4B,EAAE,EAC9B,eAAsB,aAAa,EACnC,iBAA8B,EAC9B,EAAE;IACF,OAAO;QACL,GAAG,mBAAmB;QACtB,WAAW,EAAE,cAAc,CAAC,YAAY,EAAE,iBAAiB,CAAC;QAC5D,MAAM,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,EAAE,GAAG,gBAAg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AC;IAClE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAsB,EAAE,CAC9C,UAAU,CAAoB,YAAY,CAAC,CAAC"}
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ThemeProvider, useTheme, useThemeColor } from './ThemeContext';
|
|
2
2
|
export { WritingThemeProvider, useWritingStyle } from './WritingThemeContext';
|
|
3
|
-
export { lightTheme, colorBlindTheme, Theme, ThemeColors, Color } from './themes';
|
|
3
|
+
export { lightTheme, purpleTheme, colorBlindTheme, Theme, ThemeColors, Color, } from './themes';
|
|
4
4
|
export { writingDefaultTheme, Writing, WritingStyles, TextStyle, useWritingType, } from './writingTheme';
|
package/lib/theme/index.js
CHANGED
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export { ThemeProvider, useTheme, useThemeColor } from './ThemeContext';
|
|
19
19
|
export { WritingThemeProvider, useWritingStyle } from './WritingThemeContext';
|
|
20
|
-
export { lightTheme, colorBlindTheme } from './themes';
|
|
20
|
+
export { lightTheme, purpleTheme, colorBlindTheme, } from './themes';
|
|
21
21
|
export { writingDefaultTheme, useWritingType, } from './writingTheme';
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
package/lib/theme/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAC5E,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EACL,UAAU,EACV,WAAW,EACX,eAAe,GAIhB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,mBAAmB,EAInB,cAAc,GACf,MAAM,gBAAgB,CAAC"}
|
package/lib/theme/themes.d.ts
CHANGED
package/lib/theme/themes.js
CHANGED
|
@@ -95,6 +95,86 @@ export const lightTheme = {
|
|
|
95
95
|
placeholderTextColor: '#C0C0C0',
|
|
96
96
|
},
|
|
97
97
|
};
|
|
98
|
+
export const purpleTheme = {
|
|
99
|
+
key: 'purple',
|
|
100
|
+
name: 'Purple',
|
|
101
|
+
colors: {
|
|
102
|
+
screenBackgroundColor: '#F8F9FA',
|
|
103
|
+
backgroundColor: '#FFFFFF',
|
|
104
|
+
primaryColor: {
|
|
105
|
+
background_light: '#A7A4FC',
|
|
106
|
+
foreground: '#000000',
|
|
107
|
+
background: '#6C67FA',
|
|
108
|
+
},
|
|
109
|
+
secondaryColor: {
|
|
110
|
+
background_light: '#C9C9D0',
|
|
111
|
+
foreground: '#000000',
|
|
112
|
+
background: '#B5B5C2',
|
|
113
|
+
},
|
|
114
|
+
secondaryColor_dark: {
|
|
115
|
+
background_light: '#606060',
|
|
116
|
+
foreground: '#FFFFFF',
|
|
117
|
+
background: '#5A5A7C',
|
|
118
|
+
},
|
|
119
|
+
errorColor: {
|
|
120
|
+
background_light: '#E18D8A',
|
|
121
|
+
foreground: '#000000',
|
|
122
|
+
background: '#DD514C',
|
|
123
|
+
},
|
|
124
|
+
cautionColor: {
|
|
125
|
+
background_light: '#F4A868',
|
|
126
|
+
foreground: '#000000',
|
|
127
|
+
background: '#FD7E14',
|
|
128
|
+
},
|
|
129
|
+
plannedColor: {
|
|
130
|
+
background_light: '#D18EED',
|
|
131
|
+
foreground: '#000000',
|
|
132
|
+
background: '#C354F2',
|
|
133
|
+
},
|
|
134
|
+
progressColor: {
|
|
135
|
+
background_light: '#F5CE8B',
|
|
136
|
+
foreground: '#000000',
|
|
137
|
+
background: '#FFBE4E',
|
|
138
|
+
},
|
|
139
|
+
priorityColor: {
|
|
140
|
+
background_light: '#73D3F1',
|
|
141
|
+
foreground: '#000000',
|
|
142
|
+
background: '#26C6F9',
|
|
143
|
+
},
|
|
144
|
+
defaultColor: {
|
|
145
|
+
background_light: '#DDDDDD',
|
|
146
|
+
foreground: '#000000',
|
|
147
|
+
background: '#CECECE',
|
|
148
|
+
},
|
|
149
|
+
importantColor: {
|
|
150
|
+
background_light: '#E18D8A',
|
|
151
|
+
foreground: '#000000',
|
|
152
|
+
background: '#DD514C',
|
|
153
|
+
},
|
|
154
|
+
successColor: {
|
|
155
|
+
background_light: '#84DCB7',
|
|
156
|
+
foreground: '#000000',
|
|
157
|
+
background: '#3ECF8E',
|
|
158
|
+
},
|
|
159
|
+
warningColor: {
|
|
160
|
+
background_light: '#F4A868',
|
|
161
|
+
foreground: '#000000',
|
|
162
|
+
background: '#FD7E14',
|
|
163
|
+
},
|
|
164
|
+
inverseColor: {
|
|
165
|
+
background_light: '#9E9E9F',
|
|
166
|
+
foreground: '#FFFFFF',
|
|
167
|
+
background: '#606060',
|
|
168
|
+
},
|
|
169
|
+
infoColor: {
|
|
170
|
+
background_light: '#73D3F1',
|
|
171
|
+
foreground: '#000000',
|
|
172
|
+
background: '#26C6F9',
|
|
173
|
+
},
|
|
174
|
+
text: '#333333',
|
|
175
|
+
placeholderTextColor: '#C0C0C0',
|
|
176
|
+
},
|
|
177
|
+
};
|
|
98
178
|
export const colorBlindTheme = {
|
|
99
179
|
key: 'colorBlind',
|
|
100
180
|
name: 'Color blind',
|
package/lib/theme/themes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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YACrB,UAAU,EAAE,SAAS;SACtB;QACD,aAAa,EAAE;YACb,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,YAAY,EAAE;YACZ,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,cAAc,EAAE;YACd,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,YAAY,EAAE;YACZ,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,YAAY,EAAE;YACZ,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,YAAY,EAAE;YACZ,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,SAAS,EAAE;YACT,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;SACtB;QACD,IAAI,EAAE,SAAS;QACf,oBAAoB,EAAE,SAAS;KAChC;CACF,CAAC"}
|
package/lib/types/file.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default File;
|
|
2
2
|
declare class File {
|
|
3
3
|
static getFileExtension: (filename: any) => any;
|
|
4
|
-
static getFileIcon: (filename: any) => "file-pdf" | "file-image" | "
|
|
4
|
+
static getFileIcon: (filename: any) => "file-earmark-pdf-fill" | "file-earmark-image-fill" | "filetype-csv" | "file-earmark-zip-fill" | "file-earmark-word-fill" | "file-earmark-ppt-fill" | "file-earmark-spreadsheet-fill" | "file-earmark-music-fill" | "file-earmark-fill";
|
|
5
5
|
}
|
package/lib/types/file.js
CHANGED
|
@@ -25,36 +25,36 @@ class File {
|
|
|
25
25
|
static getFileIcon = filename => {
|
|
26
26
|
switch (this.getFileExtension(filename)) {
|
|
27
27
|
case 'pdf':
|
|
28
|
-
return 'file-pdf';
|
|
28
|
+
return 'file-earmark-pdf-fill';
|
|
29
29
|
case 'jpeg':
|
|
30
30
|
case 'jpg':
|
|
31
31
|
case 'svg':
|
|
32
32
|
case 'png':
|
|
33
|
-
return 'file-image';
|
|
33
|
+
return 'file-earmark-image-fill';
|
|
34
34
|
case 'csv':
|
|
35
|
-
return '
|
|
35
|
+
return 'filetype-csv';
|
|
36
36
|
case 'zip':
|
|
37
|
-
return 'file-
|
|
37
|
+
return 'file-earmark-zip-fill';
|
|
38
38
|
case 'docx':
|
|
39
39
|
case 'doc':
|
|
40
40
|
case 'odt':
|
|
41
41
|
case 'txt':
|
|
42
|
-
return 'file-word';
|
|
42
|
+
return 'file-earmark-word-fill';
|
|
43
43
|
case 'potx':
|
|
44
44
|
case 'pptx':
|
|
45
45
|
case 'ppt':
|
|
46
46
|
case 'odp':
|
|
47
|
-
return 'file-
|
|
47
|
+
return 'file-earmark-ppt-fill';
|
|
48
48
|
case 'ods':
|
|
49
49
|
case 'xls':
|
|
50
50
|
case 'xlsx':
|
|
51
51
|
case 'xltm':
|
|
52
|
-
return 'file-
|
|
52
|
+
return 'file-earmark-spreadsheet-fill';
|
|
53
53
|
case 'mp4':
|
|
54
54
|
case 'mp3':
|
|
55
|
-
return 'file-
|
|
55
|
+
return 'file-earmark-music-fill';
|
|
56
56
|
default:
|
|
57
|
-
return 'file';
|
|
57
|
+
return 'file-earmark-fill';
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}
|
package/lib/types/file.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/types/file.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,IAAI;IACR,MAAM,CAAC,gBAAgB,GAAG,QAAQ,CAAC,EAAE;QACnC,IAAI,QAAQ,IAAI,IAAI,EAA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AAK,MAAM,CAAC;YACZ,KAAK,MAAM;gBACT,OAAO,+BAA+B,CAAC;YACzC,KAAK,KAAK,CAAC;YACX,KAAK,KAAK;gBACR,OAAO,yBAAyB,CAAC;YACnC;gBACE,OAAO,mBAAmB,CAAC;SAC9B;IACH,CAAC,CAAC;;AAGJ,eAAe,IAAI,CAAC"}
|
|
@@ -20,7 +20,7 @@ import { hexToRgb } from './commons-utlis';
|
|
|
20
20
|
export const getCommonStyles = (Colors, _required = false) => StyleSheet.create({
|
|
21
21
|
filter: {
|
|
22
22
|
backgroundColor: Colors.backgroundColor,
|
|
23
|
-
borderRadius:
|
|
23
|
+
borderRadius: 7,
|
|
24
24
|
elevation: 2,
|
|
25
25
|
shadowOpacity: 0.5,
|
|
26
26
|
shadowColor: Colors.secondaryColor.background,
|
|
@@ -48,7 +48,7 @@ export const getCommonStyles = (Colors, _required = false) => StyleSheet.create(
|
|
|
48
48
|
paddingHorizontal: 5,
|
|
49
49
|
paddingVertical: 5,
|
|
50
50
|
marginVertical: 5,
|
|
51
|
-
borderRadius:
|
|
51
|
+
borderRadius: 7,
|
|
52
52
|
borderWidth: 2,
|
|
53
53
|
height: 50,
|
|
54
54
|
minHeight: 40,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commons-styles.js","sourceRoot":"","sources":["../../src/utils/commons-styles.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEzC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE,CAC3D,UAAU,CAAC,MAAM,CAAC;IAChB,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC,eAAe;QACvC,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"commons-styles.js","sourceRoot":"","sources":["../../src/utils/commons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AAM,CAAC,YAAY,CAAC,UAAU;QAClC,WAAW,EAAE,QAAQ,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS;QACtE,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAC;QACnC,aAAa,EAAE,CAAC;QAChB,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;KACb;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axelor/aos-mobile-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"author": "Axelor",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,29 +20,44 @@
|
|
|
20
20
|
"lint": "eslint .",
|
|
21
21
|
"format": "prettier --write src/",
|
|
22
22
|
"format:check": "prettier --check src/",
|
|
23
|
-
"license:add": "npx add-copyright-header --generate --dir 'src' && npx add-copyright-header --generate --dir 'stories' && npx add-copyright-header --generate --dir '__tests__'"
|
|
23
|
+
"license:add": "npx add-copyright-header --generate --dir 'src' && npx add-copyright-header --generate --dir 'stories' && npx add-copyright-header --generate --dir '__tests__'",
|
|
24
|
+
"icons:clean": "rm -rf src/icons",
|
|
25
|
+
"icons:build": "npm run icons:clean && node scripts/icons-build.js"
|
|
24
26
|
},
|
|
25
27
|
"peerDependencies": {
|
|
28
|
+
"bootstrap-icons": "^1.10.3",
|
|
26
29
|
"react": "*",
|
|
27
30
|
"react-native": "*",
|
|
31
|
+
"react-native-gifted-charts": "1.3.12",
|
|
32
|
+
"react-native-linear-gradient": "2.8.3",
|
|
28
33
|
"react-native-pell-rich-editor": "1.8.8",
|
|
34
|
+
"react-native-svg": "^13.14.0",
|
|
29
35
|
"react-native-system-navigation-bar": "2.2.0",
|
|
30
36
|
"react-native-vector-icons": "^9.2.0"
|
|
31
37
|
},
|
|
32
38
|
"devDependencies": {
|
|
33
39
|
"@babel/runtime": "^7.19.0",
|
|
34
40
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
41
|
+
"@svgr/core": "^6.5.1",
|
|
42
|
+
"@svgr/plugin-jsx": "^6.5.1",
|
|
43
|
+
"@svgr/plugin-prettier": "^6.5.1",
|
|
44
|
+
"@svgr/plugin-svgo": "^6.5.1",
|
|
35
45
|
"@types/react": "18.2.0",
|
|
36
46
|
"@types/react-native": "0.68.1",
|
|
47
|
+
"bootstrap-icons": "^1.10.3",
|
|
37
48
|
"eslint": "^7.32.0",
|
|
49
|
+
"glob": "^8.1.0",
|
|
38
50
|
"metro-react-native-babel-preset": "^0.72.3",
|
|
39
51
|
"prettier": "^2.7.1",
|
|
40
52
|
"react": "18.2.0",
|
|
41
53
|
"react-native": "0.68.1",
|
|
42
|
-
"react-native-
|
|
43
|
-
"react-native-
|
|
54
|
+
"react-native-gifted-charts": "1.3.12",
|
|
55
|
+
"react-native-linear-gradient": "2.8.3",
|
|
44
56
|
"react-native-pell-rich-editor": "1.8.8",
|
|
45
|
-
"react-native-
|
|
57
|
+
"react-native-svg": "^13.14.0",
|
|
58
|
+
"react-native-system-navigation-bar": "2.2.0",
|
|
59
|
+
"react-native-vector-icons": "^9.2.0",
|
|
60
|
+
"react-native-webview": "11.26.0"
|
|
46
61
|
},
|
|
47
62
|
"resolutions": {
|
|
48
63
|
"@types/react": "18.2.0"
|