@prom-ui/core 0.0.103-alpha.0 → 0.0.103-alpha.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/Avatar/cjs/index.development.js +2 -0
- package/Avatar/cjs/index.development.v2.js +2 -0
- package/Avatar/cjs/index.production.js +1 -1
- package/Avatar/cjs/index.production.v2.js +1 -1
- package/Avatar/index.js +2 -14
- package/Avatar/index.v2.js +7 -0
- package/Avatar/package.json +1 -1
- package/Body/cjs/index.development.js +2 -0
- package/Body/cjs/index.development.v2.js +2 -0
- package/Body/cjs/index.production.js +1 -1
- package/Body/cjs/index.production.v2.js +1 -1
- package/Body/index.js +2 -14
- package/Body/index.v2.js +7 -0
- package/Body/package.json +1 -1
- package/Box/cjs/index.development.js +2 -0
- package/Box/cjs/index.development.v2.js +2 -0
- package/Box/cjs/index.production.js +1 -1
- package/Box/cjs/index.production.v2.js +1 -1
- package/Box/index.js +2 -14
- package/Box/index.v2.js +7 -0
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +2 -0
- package/Button/cjs/index.development.v2.js +2 -0
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -1
- package/Button/index.js +2 -14
- package/Button/index.v2.js +7 -0
- package/Button/package.json +1 -1
- package/ButtonPageUp/index.v2.js +7 -0
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +2 -0
- package/Checkbox/cjs/index.development.v2.js +2 -0
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -1
- package/Checkbox/index.js +2 -14
- package/Checkbox/index.v2.js +7 -0
- package/Checkbox/package.json +1 -1
- package/Flex/cjs/index.development.js +2 -0
- package/Flex/cjs/index.development.v2.js +2 -0
- package/Flex/cjs/index.production.js +1 -1
- package/Flex/cjs/index.production.v2.js +1 -1
- package/Flex/index.js +2 -14
- package/Flex/index.v2.js +7 -0
- package/Flex/package.json +1 -1
- package/Grid/cjs/index.development.js +2 -0
- package/Grid/cjs/index.development.v2.js +2 -0
- package/Grid/cjs/index.production.js +1 -1
- package/Grid/cjs/index.production.v2.js +1 -1
- package/Grid/index.js +2 -14
- package/Grid/index.v2.js +7 -0
- package/Grid/package.json +1 -1
- package/Icon/cjs/index.development.js +2 -0
- package/Icon/cjs/index.development.v2.js +2 -0
- package/Icon/cjs/index.production.js +1 -1
- package/Icon/cjs/index.production.v2.js +1 -1
- package/Icon/index.js +2 -14
- package/Icon/index.v2.js +7 -0
- package/Icon/package.json +1 -1
- package/Image/cjs/index.development.js +2 -0
- package/Image/cjs/index.development.v2.js +2 -0
- package/Image/cjs/index.production.js +1 -1
- package/Image/cjs/index.production.v2.js +1 -1
- package/Image/index.js +2 -14
- package/Image/index.v2.js +7 -0
- package/Image/package.json +1 -1
- package/ImageEmoji/index.v2.js +7 -0
- package/ImageEmoji/package.json +1 -1
- package/Input/cjs/index.development.js +2 -0
- package/Input/cjs/index.development.v2.js +2 -0
- package/Input/cjs/index.production.js +1 -1
- package/Input/cjs/index.production.v2.js +1 -1
- package/Input/index.js +2 -14
- package/Input/index.v2.js +7 -0
- package/Input/package.json +1 -1
- package/KeyPress/index.v2.js +7 -0
- package/KeyPress/package.json +1 -1
- package/Line/cjs/index.development.js +2 -0
- package/Line/cjs/index.development.v2.js +2 -0
- package/Line/cjs/index.production.js +1 -1
- package/Line/cjs/index.production.v2.js +1 -1
- package/Line/index.js +2 -14
- package/Line/index.v2.js +7 -0
- package/Line/package.json +1 -1
- package/Link/cjs/index.development.js +2 -0
- package/Link/cjs/index.development.v2.js +2 -0
- package/Link/cjs/index.production.js +1 -1
- package/Link/cjs/index.production.v2.js +1 -1
- package/Link/index.js +2 -14
- package/Link/index.v2.js +7 -0
- package/Link/package.json +1 -1
- package/List/cjs/index.development.js +2 -0
- package/List/cjs/index.development.v2.js +2 -0
- package/List/cjs/index.production.js +1 -1
- package/List/cjs/index.production.v2.js +1 -1
- package/List/index.js +2 -14
- package/List/index.v2.js +7 -0
- package/List/package.json +1 -1
- package/Media/index.v2.js +7 -0
- package/Media/package.json +1 -1
- package/OutsideClick/index.v2.js +7 -0
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +2 -0
- package/Overlay/cjs/index.development.v2.js +2 -0
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -1
- package/Overlay/index.js +2 -14
- package/Overlay/index.v2.js +7 -0
- package/Overlay/package.json +1 -1
- package/Picture/cjs/index.development.js +2 -0
- package/Picture/cjs/index.development.v2.js +2 -0
- package/Picture/cjs/index.production.js +1 -1
- package/Picture/cjs/index.production.v2.js +1 -1
- package/Picture/index.js +2 -14
- package/Picture/index.v2.js +7 -0
- package/Picture/package.json +1 -1
- package/PortableOverlay/cjs/index.development.js +2 -0
- package/PortableOverlay/cjs/index.development.v2.js +2 -0
- package/PortableOverlay/cjs/index.production.js +1 -1
- package/PortableOverlay/cjs/index.production.v2.js +1 -1
- package/PortableOverlay/index.js +2 -14
- package/PortableOverlay/index.v2.js +7 -0
- package/PortableOverlay/package.json +1 -1
- package/Portal/index.v2.js +7 -0
- package/Portal/package.json +1 -1
- package/QRCode/cjs/index.development.js +2 -0
- package/QRCode/cjs/index.development.v2.js +2 -0
- package/QRCode/cjs/index.production.js +1 -1
- package/QRCode/cjs/index.production.v2.js +1 -1
- package/QRCode/index.js +2 -14
- package/QRCode/index.v2.js +7 -0
- package/QRCode/package.json +1 -1
- package/Rating/cjs/index.development.js +2 -0
- package/Rating/cjs/index.development.v2.js +2 -0
- package/Rating/cjs/index.production.js +1 -1
- package/Rating/cjs/index.production.v2.js +1 -1
- package/Rating/index.js +2 -14
- package/Rating/index.v2.js +7 -0
- package/Rating/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +2 -0
- package/SafeQuery/cjs/index.development.v2.js +2 -0
- package/SafeQuery/cjs/index.production.js +1 -1
- package/SafeQuery/cjs/index.production.v2.js +1 -1
- package/SafeQuery/index.js +2 -14
- package/SafeQuery/index.v2.js +7 -0
- package/SafeQuery/package.json +1 -1
- package/Scroll/cjs/index.development.js +2 -0
- package/Scroll/cjs/index.development.v2.js +2 -0
- package/Scroll/cjs/index.production.js +1 -1
- package/Scroll/cjs/index.production.v2.js +1 -1
- package/Scroll/index.js +2 -14
- package/Scroll/index.v2.js +7 -0
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/index.development.js +2 -0
- package/ScrollControls/cjs/index.development.v2.js +2 -0
- package/ScrollControls/cjs/index.production.js +1 -1
- package/ScrollControls/cjs/index.production.v2.js +1 -1
- package/ScrollControls/index.js +2 -14
- package/ScrollControls/index.v2.js +7 -0
- package/ScrollControls/package.json +1 -1
- package/SideOverlay/cjs/index.development.js +2 -0
- package/SideOverlay/cjs/index.development.v2.js +2 -0
- package/SideOverlay/cjs/index.production.js +1 -1
- package/SideOverlay/cjs/index.production.v2.js +1 -1
- package/SideOverlay/index.js +2 -14
- package/SideOverlay/index.v2.js +7 -0
- package/SideOverlay/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +2 -0
- package/SimpleSlider/cjs/index.development.v2.js +2 -0
- package/SimpleSlider/cjs/index.production.js +1 -1
- package/SimpleSlider/cjs/index.production.v2.js +1 -1
- package/SimpleSlider/index.js +2 -14
- package/SimpleSlider/index.v2.js +7 -0
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/cjs/index.development.js +2 -0
- package/Skeleton/cjs/index.development.v2.js +2 -0
- package/Skeleton/cjs/index.production.js +1 -1
- package/Skeleton/cjs/index.production.v2.js +1 -1
- package/Skeleton/index.js +2 -14
- package/Skeleton/index.v2.js +7 -0
- package/Skeleton/package.json +1 -1
- package/Spinner/cjs/index.development.js +2 -0
- package/Spinner/cjs/index.development.v2.js +2 -0
- package/Spinner/cjs/index.production.js +1 -1
- package/Spinner/cjs/index.production.v2.js +1 -1
- package/Spinner/index.js +2 -14
- package/Spinner/index.v2.js +7 -0
- package/Spinner/package.json +1 -1
- package/Text/cjs/index.development.js +2 -0
- package/Text/cjs/index.development.v2.js +2 -0
- package/Text/cjs/index.production.js +1 -1
- package/Text/cjs/index.production.v2.js +1 -1
- package/Text/index.js +2 -14
- package/Text/index.v2.js +7 -0
- package/Text/package.json +1 -1
- package/TextEmoji/index.v2.js +7 -0
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/index.development.js +2 -0
- package/Tooltip/cjs/index.development.v2.js +2 -0
- package/Tooltip/cjs/index.production.js +1 -1
- package/Tooltip/cjs/index.production.v2.js +1 -1
- package/Tooltip/index.js +2 -14
- package/Tooltip/index.v2.js +7 -0
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/index.development.js +2 -0
- package/Tumbler/cjs/index.development.v2.js +2 -0
- package/Tumbler/cjs/index.production.js +1 -1
- package/Tumbler/cjs/index.production.v2.js +1 -1
- package/Tumbler/index.js +2 -14
- package/Tumbler/index.v2.js +7 -0
- package/Tumbler/package.json +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=a(e),c=o(t),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};var u={root:"ap8QD",image:"_52SeG",text:"-Fg0p",icon:"-JCN2",theme_white:"VDWp7","theme_black-100":"AQ1tT","theme_violet-300":"yK-3d","theme_yellow-500":"O2My9",theme_multicolor:"xV5U3"},s=i.forwardRef((function(e,t){var o,a=e.image,s=e.name,f=e.size,m=void 0===f?40:f,p=e.loading,d=void 0===p?"eager":p,g=e.theme,v=void 0===g?"violet-300":g,h=e.className,y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["image","name","size","loading","theme","className"]),O=!!a,b=void 0,j=null;if(!O){var _=s?s.trim():"";"multicolor"===v&&(b=function(e){var t,r=0;for(t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r);var n="#";for(t=0;t<3;t+=1)n+="00".concat((r>>8*t&255).toString(16)).slice(-2);return n}(_)),j=function(e){return e.split(" ").slice(0,2).map((function(e){return e[0]})).join("")}(_)}return i.createElement("div",l({className:c.default(u.root,h,(o={},o[u["theme_".concat(v)]]=!O,o))},y,{style:{background:b,width:m,height:m,fontSize:m/2.2},ref:t}),O?i.createElement("img",{className:u.image,src:a,alt:s,width:m,height:m,loading:d}):i.createElement(i.Fragment,null,j?i.createElement("span",{className:u.text},j):i.createElement(r.Icon,{className:u.icon,"icon-as":n.SvgUser})))}));s.displayName="Avatar",exports.Avatar=s,require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=a(e),c=o(t),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};var s={root:"G2c2y",image:"A7F5c",text:"ZWoLT",icon:"sQ5M9",theme_white:"alKXP","theme_black-100":"mN0Ch","theme_violet-300":"MEUSj","theme_yellow-500":"lfsbh",theme_multicolor:"zMJTY"},u=i.forwardRef((function(e,t){var o,a=e.image,u=e.name,f=e.size,m=void 0===f?40:f,p=e.loading,d=void 0===p?"eager":p,v=e.theme,h=void 0===v?"violet-300":v,g=e.className,y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["image","name","size","loading","theme","className"]),b=!!a,O=void 0,j=null;if(!b){var w=u?u.trim():"";"multicolor"===h&&(O=function(e){var t,r=0;for(t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r);var n="#";for(t=0;t<3;t+=1)n+="00".concat((r>>8*t&255).toString(16)).slice(-2);return n}(w)),j=function(e){return e.split(" ").slice(0,2).map((function(e){return e[0]})).join("")}(w)}return i.createElement("div",l({className:c.default(s.root,g,(o={},o[s["theme_".concat(h)]]=!b,o))},y,{style:{background:O,width:m,height:m,fontSize:m/2.2},ref:t}),b?i.createElement("img",{className:s.image,src:a,alt:u,width:m,height:m,loading:d}):i.createElement(i.Fragment,null,j?i.createElement("span",{className:s.text},j):i.createElement(r.Icon,{className:s.icon,"icon-as":n.SvgUser})))}));u.displayName="Avatar",exports.Avatar=u,require("./style.production.v2.css");
|
package/Avatar/index.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
if (process.env.NODE_ENV === 'production') {
|
|
4
|
-
|
|
5
|
-
module.exports = require('./cjs/index.production.v2.js');
|
|
6
|
-
require('./cjs/style.production.v2.css');
|
|
7
|
-
} else {
|
|
8
|
-
module.exports = require('./cjs/index.production.js');
|
|
9
|
-
require('./cjs/style.production.css');
|
|
10
|
-
}
|
|
4
|
+
module.exports = require('./cjs/index.production.js');
|
|
11
5
|
} else {
|
|
12
|
-
|
|
13
|
-
module.exports = require('./cjs/index.development.v2.js');
|
|
14
|
-
require('./cjs/style.development.v2.css');
|
|
15
|
-
} else {
|
|
16
|
-
module.exports = require('./cjs/index.development.js');
|
|
17
|
-
require('./cjs/style.development.css');
|
|
18
|
-
}
|
|
6
|
+
module.exports = require('./cjs/index.development.js');
|
|
19
7
|
}
|
package/Avatar/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}}),require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}}),require("./style.production.v2.css");
|
package/Body/index.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
if (process.env.NODE_ENV === 'production') {
|
|
4
|
-
|
|
5
|
-
module.exports = require('./cjs/index.production.v2.js');
|
|
6
|
-
require('./cjs/style.production.v2.css');
|
|
7
|
-
} else {
|
|
8
|
-
module.exports = require('./cjs/index.production.js');
|
|
9
|
-
require('./cjs/style.production.css');
|
|
10
|
-
}
|
|
4
|
+
module.exports = require('./cjs/index.production.js');
|
|
11
5
|
} else {
|
|
12
|
-
|
|
13
|
-
module.exports = require('./cjs/index.development.v2.js');
|
|
14
|
-
require('./cjs/style.development.v2.css');
|
|
15
|
-
} else {
|
|
16
|
-
module.exports = require('./cjs/index.development.js');
|
|
17
|
-
require('./cjs/style.development.css');
|
|
18
|
-
}
|
|
6
|
+
module.exports = require('./cjs/index.development.js');
|
|
19
7
|
}
|
package/Body/index.v2.js
ADDED
package/Body/package.json
CHANGED