@expressms/smartapp-ui 1.1.8 → 2.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/README.md +1 -6
- package/build/main/constants/constants.js +1 -0
- package/build/main/constants/constants.js.map +1 -0
- package/build/main/constants/index.js +1 -0
- package/build/main/constants/index.js.map +1 -0
- package/build/main/constants/types.js +1 -0
- package/build/main/constants/types.js.map +1 -0
- package/build/main/helpers/index.js +1 -0
- package/build/main/helpers/index.js.map +1 -0
- package/build/main/index.d.ts +1 -0
- package/build/main/index.js +2 -0
- package/build/main/index.js.map +1 -0
- package/build/main/styles/index.d.ts +1 -0
- package/build/main/styles/index.js +2 -0
- package/build/main/styles/index.js.map +1 -0
- package/build/main/styles/styles.scss +2 -2
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.js +4 -3
- package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/index.js +1 -0
- package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/types.js +1 -0
- package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +1 -1
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +2 -1
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/index.js +1 -0
- package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/types.js +1 -0
- package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +1 -1
- package/build/main//321/201omponents/Avatar/Avatar.js +2 -1
- package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
- package/build/main//321/201omponents/Avatar/index.js +1 -0
- package/build/main//321/201omponents/Avatar/index.js.map +1 -0
- package/build/main//321/201omponents/Avatar/types.js +1 -0
- package/build/main//321/201omponents/Avatar/types.js.map +1 -0
- package/build/main//321/201omponents/Button/Button.d.ts +2 -2
- package/build/main//321/201omponents/Button/Button.js +2 -1
- package/build/main//321/201omponents/Button/Button.js.map +1 -0
- package/build/main//321/201omponents/Button/index.js +1 -0
- package/build/main//321/201omponents/Button/index.js.map +1 -0
- package/build/main//321/201omponents/Button/types.js +1 -0
- package/build/main//321/201omponents/Button/types.js.map +1 -0
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +1 -1
- package/build/main//321/201omponents/Calendar/Calendar.js +2 -1
- package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
- package/build/main//321/201omponents/Calendar/index.js +1 -0
- package/build/main//321/201omponents/Calendar/index.js.map +1 -0
- package/build/main//321/201omponents/Calendar/types.js +1 -0
- package/build/main//321/201omponents/Calendar/types.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +2 -2
- package/build/main//321/201omponents/Checkbox/Checkbox.js +2 -1
- package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/index.js +1 -0
- package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/types.js +1 -0
- package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
- package/build/main//321/201omponents/Chips/Chips.d.ts +1 -1
- package/build/main//321/201omponents/Chips/Chips.js +2 -1
- package/build/main//321/201omponents/Chips/Chips.js.map +1 -0
- package/build/main//321/201omponents/Chips/index.js +1 -0
- package/build/main//321/201omponents/Chips/index.js.map +1 -0
- package/build/main//321/201omponents/Chips/types.js +1 -0
- package/build/main//321/201omponents/Chips/types.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +1 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +2 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js +1 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +1 -1
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +2 -1
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/index.js +1 -0
- package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/types.js +1 -0
- package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +1 -1
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +3 -2
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/index.js +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/types.js +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +1 -1
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +2 -1
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +1 -1
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +3 -2
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.js +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/types.js +1 -0
- package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
- package/build/main//321/201omponents/Error/Error.d.ts +1 -1
- package/build/main//321/201omponents/Error/Error.js +2 -1
- package/build/main//321/201omponents/Error/Error.js.map +1 -0
- package/build/main//321/201omponents/Error/index.js +1 -0
- package/build/main//321/201omponents/Error/index.js.map +1 -0
- package/build/main//321/201omponents/Error/types.js +1 -0
- package/build/main//321/201omponents/Error/types.js.map +1 -0
- package/build/main//321/201omponents/Header/Header.d.ts +1 -1
- package/build/main//321/201omponents/Header/Header.js +2 -1
- package/build/main//321/201omponents/Header/Header.js.map +1 -0
- package/build/main//321/201omponents/Header/index.js +1 -0
- package/build/main//321/201omponents/Header/index.js.map +1 -0
- package/build/main//321/201omponents/Header/types.js +1 -0
- package/build/main//321/201omponents/Header/types.js.map +1 -0
- package/build/main//321/201omponents/Input/Input.d.ts +1 -1
- package/build/main//321/201omponents/Input/Input.js +2 -1
- package/build/main//321/201omponents/Input/Input.js.map +1 -0
- package/build/main//321/201omponents/Input/index.js +1 -0
- package/build/main//321/201omponents/Input/index.js.map +1 -0
- package/build/main//321/201omponents/Input/types.js +1 -0
- package/build/main//321/201omponents/Input/types.js.map +1 -0
- package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
- package/build/main//321/201omponents/Loader/Loader.js +5 -6
- package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
- package/build/main//321/201omponents/Loader/index.js +1 -0
- package/build/main//321/201omponents/Loader/index.js.map +1 -0
- package/build/main//321/201omponents/Loader/types.js +1 -0
- package/build/main//321/201omponents/Loader/types.js.map +1 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
- package/build/main//321/201omponents/Modal/Modal.js +2 -1
- package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
- package/build/main//321/201omponents/Modal/index.js +1 -0
- package/build/main//321/201omponents/Modal/index.js.map +1 -0
- package/build/main//321/201omponents/Modal/types.js +1 -0
- package/build/main//321/201omponents/Modal/types.js.map +1 -0
- package/build/main//321/201omponents/Notification/Notification.d.ts +1 -1
- package/build/main//321/201omponents/Notification/Notification.js +2 -1
- package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
- package/build/main//321/201omponents/Notification/index.js +1 -0
- package/build/main//321/201omponents/Notification/index.js.map +1 -0
- package/build/main//321/201omponents/Notification/types.js +1 -0
- package/build/main//321/201omponents/Notification/types.js.map +1 -0
- package/build/main//321/201omponents/Profile/Profile.d.ts +1 -1
- package/build/main//321/201omponents/Profile/Profile.js +3 -2
- package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
- package/build/main//321/201omponents/Profile/index.js +1 -0
- package/build/main//321/201omponents/Profile/index.js.map +1 -0
- package/build/main//321/201omponents/Profile/types.js +1 -0
- package/build/main//321/201omponents/Profile/types.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +2 -2
- package/build/main//321/201omponents/RadioButton/RadioButton.js +2 -1
- package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/index.js +1 -0
- package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/types.js +1 -0
- package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
- package/build/main//321/201omponents/Stories/Stories.d.ts +1 -1
- package/build/main//321/201omponents/Stories/Stories.js +14 -13
- package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
- package/build/main//321/201omponents/Stories/index.js +1 -0
- package/build/main//321/201omponents/Stories/index.js.map +1 -0
- package/build/main//321/201omponents/Stories/types.js +1 -0
- package/build/main//321/201omponents/Stories/types.js.map +1 -0
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +1 -1
- package/build/main//321/201omponents/Switcher/Switcher.js +2 -1
- package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
- package/build/main//321/201omponents/Switcher/index.js +1 -0
- package/build/main//321/201omponents/Switcher/index.js.map +1 -0
- package/build/main//321/201omponents/Switcher/types.js +1 -0
- package/build/main//321/201omponents/Switcher/types.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +2 -2
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js +6 -7
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/index.js +1 -0
- package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/types.js +1 -0
- package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
- package/build/main//321/201omponents/Toggle/Toggle.d.ts +1 -1
- package/build/main//321/201omponents/Toggle/Toggle.js +2 -1
- package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
- package/build/main//321/201omponents/Toggle/index.js +1 -0
- package/build/main//321/201omponents/Toggle/index.js.map +1 -0
- package/build/main//321/201omponents/Toggle/types.js +1 -0
- package/build/main//321/201omponents/Toggle/types.js.map +1 -0
- package/build/main//321/201omponents/index.js +1 -0
- package/build/main//321/201omponents/index.js.map +1 -0
- package/build/main//321/201omponents/types.js +1 -0
- package/build/main//321/201omponents/types.js.map +1 -0
- package/package.json +33 -57
- package/build/main/styles/stories.module.scss +0 -1639
- package/build/main/styles/styles.min.css +0 -146
package/README.md
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
## SmartApp-UI library
|
|
2
2
|
This library is aimed at optimizing the development of smartapps.
|
|
3
3
|
|
|
4
|
-
For the styles to work correctly, after installing the library, add styles import to the main style file of your application in the following way:
|
|
5
|
-
|
|
6
|
-
`@import '@expressms/smartapp-ui/build/main/styles/stories.module.scss';`
|
|
7
|
-
|
|
8
|
-
|
|
9
4
|
For the library to work, you need to install react and react-dom version 18 or more.
|
|
10
5
|
|
|
11
|
-
|
|
6
|
+
You can explore the elements here: https://smartapp-ui.rndteam.ccstest.ru/
|
|
12
7
|
|
|
13
8
|
|
|
14
9
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,MAYX;AAZD,WAAY,MAAM;IAChB,mCAAyB,CAAA;IACzB,8CAAoC,CAAA;IACpC,0BAAgB,CAAA;IAChB,8BAAoB,CAAA;IACpB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,8BAAoB,CAAA;IACpB,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;IACvB,4BAAkB,CAAA;IAClB,2BAAiB,CAAA;AACnB,CAAC,EAZW,MAAM,KAAN,MAAM,QAYjB;AAED,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAU,CAAA;AAC7C,MAAM,CAAC,IAAM,eAAe,GAAG,MAAM,CAAA;AACrC,MAAM,CAAC,IAAM,SAAS,GAAG,OAAO,CAAA;AAEhC,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,2BAAc,CAAA;IACd,6BAAgB,CAAA;IAChB,2BAAc,CAAA;AAChB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,6BAAc,CAAA;IACd,+BAAgB,CAAA;IAChB,6BAAc,CAAA;AAChB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAED,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,+BAAmB,CAAA;AACrB,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB;AAED,MAAM,CAAN,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,EAHW,KAAK,KAAL,KAAK,QAGhB;AAED,MAAM,CAAC,IAAM,kBAAkB,GAAW,UAAU,CAAA;AACpD,MAAM,CAAC,IAAM,sCAAsC,GAAW,CAAC,CAAA;AAC/D,MAAM,CAAC,IAAM,mBAAmB,GAAW,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/constants/types.ts"],"names":[],"mappings":""}
|
|
@@ -12,3 +12,4 @@ export var getClassNames = function (className, delimiter, additionalClassName)
|
|
|
12
12
|
? classNames(className, additionalClassName.map(function (name) { return "".concat(className).concat(delimiter).concat(name); }))
|
|
13
13
|
: classNames(className, "".concat(className).concat(delimiter).concat(additionalClassName))); };
|
|
14
14
|
export var getDefaultColorForCloseIcon = function (theme) { return theme === THEME.default ? COLORS.gray : COLORS.white80; };
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,CAAC,IAAM,QAAQ,GAAG,UAAC,KAAyB,EAAE,YAAoB;IACtE,OAAA,CAAC,KAAK,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY;AAA9D,CAA8D,CAAC;AAEjE,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,GAAG,EAAzB,CAAyB,CAAC;AAC7E,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,GAAG,EAAzB,CAAyB,CAAC;AAC7E,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,OAAO,EAA7B,CAA6B,CAAC;AACrF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,QAAgB,IAAK,OAAA,iBAAiB,CAAC,QAAQ,CAAC,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAtD,CAAsD,CAAC;AAE7G,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,SAAiB,EAAE,SAAiB,EAAE,mBAAsC,IAAK,OAAA,CAC7G,OAAO,CAAC,mBAAmB,CAAC;IAC1B,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,mBAAmB,CAAC,GAAG,CAAC,UAAA,IAAI,IAAI,OAAA,UAAG,SAAS,SAAG,SAAS,SAAG,IAAI,CAAE,EAAjC,CAAiC,CAAC,CAAC;IAC3F,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,UAAG,SAAS,SAAG,SAAS,SAAG,mBAAmB,CAAE,CAAC,CAC5E,EAJ8G,CAI9G,CAAC;AAEF,MAAM,CAAC,IAAM,2BAA2B,GAAG,UAAC,KAAa,IAAK,OAAA,KAAK,KAAK,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAtD,CAAsD,CAAC"}
|
package/build/main/index.d.ts
CHANGED
package/build/main/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './styles.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|