@alphakits/ui 1.25.1 → 1.26.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/dist/{ActionCopyM-fba50810.js → ActionCopyM-5e33e929.js} +1 -1
- package/dist/{ChevronBackM-66e24f77.js → ChevronBackM-fba8af11.js} +1 -1
- package/dist/{ChevronDownS-fa45092b.js → ChevronDownS-89b29b8f.js} +1 -1
- package/dist/{ChevronForwardS-b8d4e281.js → ChevronForwardS-3d6d2b68.js} +1 -1
- package/dist/{CloseS-0e566019.js → CloseS-e0d6ea2f.js} +1 -1
- package/dist/{NextS-407dc39a.js → NextS-28093c24.js} +1 -1
- package/dist/{PlusS-d794fd6b.js → PlusS-606545c3.js} +1 -1
- package/dist/{SearchM-b3cd78dd.js → SearchM-777bd08c.js} +1 -1
- package/dist/{TrashM-38d4f045.js → TrashM-463716e4.js} +1 -1
- package/dist/amount/component.js +1 -1
- package/dist/amount/index.js +1 -1
- package/dist/amount-input/component.js +1 -1
- package/dist/amount-input/index.js +1 -1
- package/dist/avatar/component.js +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/base-card/component.js +1 -1
- package/dist/base-card/index.js +1 -1
- package/dist/bottom-sheet/component.js +1 -1
- package/dist/bottom-sheet/index.js +1 -1
- package/dist/button/component.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/calendar/component.js +1 -1
- package/dist/calendar/components/days-table/component.js +1 -1
- package/dist/calendar/components/days-table/index.js +1 -1
- package/dist/calendar/components/header/index.js +1 -1
- package/dist/calendar/components/header//321/201omponent.js +1 -1
- package/dist/calendar/components/months-table/index.js +1 -1
- package/dist/calendar/components/months-table//321/201omponent.js +1 -1
- package/dist/calendar/components/select-button/index.js +1 -1
- package/dist/calendar/components/select-button//321/201omponent.js +1 -1
- package/dist/calendar/components/years-table/index.js +1 -1
- package/dist/calendar/components/years-table//321/201omponent.js +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/calendar/use-calendar.js +1 -1
- package/dist/calendar/use-period.js +1 -1
- package/dist/calendar/utils.js +1 -1
- package/dist/calendar-input/component.js +1 -1
- package/dist/calendar-input/index.js +1 -1
- package/dist/calendar-input/utils.js +1 -1
- package/dist/{capitalize-6e0bd6f3.js → capitalize-975a400d.js} +1 -1
- package/dist/card/component.js +1 -1
- package/dist/card/images/index.js +1 -1
- package/dist/card/index.js +1 -1
- package/dist/cell/base/component.js +1 -1
- package/dist/cell/base/index.d.ts +1 -1
- package/dist/cell/base/index.js +1 -1
- package/dist/cell/component.js +1 -1
- package/dist/cell/index.js +1 -1
- package/dist/cell/pure/component.js +1 -1
- package/dist/cell/pure/index.js +1 -1
- package/dist/checkbox/component.js +1 -1
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox-group/component.js +1 -1
- package/dist/checkbox-group/index.js +1 -1
- package/dist/checkbox-lists/component.js +1 -1
- package/dist/checkbox-lists/index.js +1 -1
- package/dist/collapsable-row/addons.js +1 -1
- package/dist/collapsable-row/component.js +1 -1
- package/dist/collapsable-row/index.js +1 -1
- package/dist/collapse/component.js +1 -1
- package/dist/collapse/index.js +1 -1
- package/dist/{component-32d7b3b5.js → component-9fedb407.js} +1 -1
- package/dist/copy-button/component.js +1 -1
- package/dist/copy-button/index.js +1 -1
- package/dist/date/component.js +1 -1
- package/dist/date/index.js +1 -1
- package/dist/date-functions.js +1 -1
- package/dist/date-switcher/component.js +1 -1
- package/dist/date-switcher/index.js +1 -1
- package/dist/footer/component.js +1 -1
- package/dist/footer/contact-block.js +1 -1
- package/dist/footer/index.js +1 -1
- package/dist/form/component.js +1 -1
- package/dist/form/components/form-footer/index.js +1 -1
- package/dist/form/components/form-loading/index.js +1 -1
- package/dist/form/components/form-wrapper/index.js +1 -1
- package/dist/form/components/index.d.ts +1 -1
- package/dist/form/components/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/templates/base-form/index.js +1 -1
- package/dist/form/templates/filters-form/index.js +1 -1
- package/dist/form/templates/rest-form/form.js +1 -1
- package/dist/form/templates/rest-form/index.js +1 -1
- package/dist/form/utils/get-default-values.js +1 -1
- package/dist/form-control/component.js +1 -1
- package/dist/form-control/index.js +1 -1
- package/dist/grid/col/component.js +1 -1
- package/dist/grid/col/index.js +1 -1
- package/dist/grid/component.js +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/grid/row/component.js +1 -1
- package/dist/grid/row/index.js +1 -1
- package/dist/header-search/component.js +1 -1
- package/dist/header-search/index.js +1 -1
- package/dist/heading/component.js +1 -1
- package/dist/heading/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-crud-form-requests/index.js +1 -1
- package/dist/hooks/use-get-one/index.js +1 -1
- package/dist/icon-button/component.js +1 -1
- package/dist/icon-button/index.js +1 -1
- package/dist/image/component.js +1 -1
- package/dist/image/constants.js +1 -1
- package/dist/image/image-base.js +1 -1
- package/dist/image/index.js +1 -1
- package/dist/image/use-image-render-component.js +1 -1
- package/dist/image/utils.js +1 -1
- package/dist/image-gallery/component.js +1 -1
- package/dist/image-gallery/components/header/index.js +1 -1
- package/dist/image-gallery/components/header-info-block/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/slide.js +1 -1
- package/dist/image-gallery/components/index.js +1 -1
- package/dist/image-gallery/index.js +1 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/{index-97e572db.js → index-0a5eb599.js} +1 -1
- package/dist/index-0dc9ab49.js +1 -0
- package/dist/{index-549f2214.js → index-1c475091.js} +1 -1
- package/dist/{index-e9ca24d6.js → index-342025a9.js} +2 -2
- package/dist/index-5668b250.js +1 -0
- package/dist/index-6d9648a1.js +1 -0
- package/dist/{index-0836af53.js → index-727a83be.js} +1 -1
- package/dist/{index-cef736a2.js → index-8551c5eb.js} +1 -1
- package/dist/index-88e9436b.js +1 -0
- package/dist/{index-d58ce8f4.js → index-88ec1ae7.js} +1 -1
- package/dist/index-d9c66a89.js +1 -0
- package/dist/{index-b99b08aa.js → index-db24ac06.js} +1 -1
- package/dist/{index-987b9853.js → index-f1a2a7a7.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/info-block-header/component.js +1 -1
- package/dist/info-block-header/index.js +1 -1
- package/dist/info-block-item/component.js +1 -1
- package/dist/info-block-item/index.js +1 -1
- package/dist/input/component.js +1 -1
- package/dist/input/index.js +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
- package/dist/input-autocomplete/component.js +1 -1
- package/dist/input-autocomplete/index.js +1 -1
- package/dist/input-ghost/component.js +1 -1
- package/dist/input-ghost/index.js +1 -1
- package/dist/{isSymbol-943ca157.js → isSymbol-55f2c979.js} +1 -1
- package/dist/link/component.js +1 -1
- package/dist/link/index.js +1 -1
- package/dist/list-allert/component.js +1 -1
- package/dist/list-allert/index.js +1 -1
- package/dist/masked-input/component.js +1 -1
- package/dist/masked-input/index.js +1 -1
- package/dist/menu/component.js +1 -1
- package/dist/menu/components/content-header/index.js +1 -1
- package/dist/menu/components/index.js +1 -1
- package/dist/menu/components/menu-avatar/index.js +1 -1
- package/dist/menu/components/menu-back-button/index.js +1 -1
- package/dist/menu/components/menu-button/index.js +1 -1
- package/dist/menu/components/menu-buttons-list/index.js +1 -1
- package/dist/menu/components/user-button/index.js +1 -1
- package/dist/menu/index.js +1 -1
- package/dist/message/component.js +1 -1
- package/dist/message/index.js +1 -1
- package/dist/modal/components/modals/index.js +1 -1
- package/dist/modal/components/modals/modal.js +1 -1
- package/dist/modal/context.js +1 -1
- package/dist/modal/hooks/use-modal.js +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/modal/utils/delete-property-by-id.js +1 -1
- package/dist/not-found/component.js +1 -1
- package/dist/not-found/index.js +1 -1
- package/dist/notification/component.js +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/{parse-query-params-6d127a41.js → parse-query-params-203800c3.js} +1 -1
- package/dist/picker-button/common/index.js +1 -1
- package/dist/picker-button/common/labeled-button/index.js +1 -1
- package/dist/picker-button/component.js +1 -1
- package/dist/picker-button/field/Component.js +1 -1
- package/dist/picker-button/field/index.js +1 -1
- package/dist/picker-button/index.js +1 -1
- package/dist/popover/component.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/progress-bar/component.js +1 -1
- package/dist/progress-bar/index.js +1 -1
- package/dist/progress-index/component.js +1 -1
- package/dist/progress-index/index.js +1 -1
- package/dist/radio/component.js +1 -1
- package/dist/radio/index.js +1 -1
- package/dist/radio-group/component.js +1 -1
- package/dist/radio-group/index.js +1 -1
- package/dist/radio-groups/component.js +1 -1
- package/dist/radio-groups/index.js +1 -1
- package/dist/select/component.js +1 -1
- package/dist/select/components/base-select/component.js +1 -1
- package/dist/select/components/base-select/index.js +1 -1
- package/dist/select/components/field/component.js +1 -1
- package/dist/select/components/field/index.js +1 -1
- package/dist/select/components/index.js +1 -1
- package/dist/select/components/native-select/component.js +1 -1
- package/dist/select/components/native-select/index.js +1 -1
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/option/index.js +1 -1
- package/dist/select/components/options-list/component.js +1 -1
- package/dist/select/components/options-list/index.js +1 -1
- package/dist/select/components/virtual-options-list/component.js +1 -1
- package/dist/select/components/virtual-options-list/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select/presets/index.js +1 -1
- package/dist/select/presets/use-lazy-loading/index.js +1 -1
- package/dist/select/presets/use-select-with-loading/hook.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/space/Item.js +1 -1
- package/dist/space/component.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/stepped-progress-bar/index.js +1 -1
- package/dist/stepped-progress-bar/step-bar.js +1 -1
- package/dist/suffix-input/component.js +1 -1
- package/dist/suffix-input/index.js +1 -1
- package/dist/super-list-header/component.js +1 -1
- package/dist/super-list-header/index.js +1 -1
- package/dist/super-list-item/component.js +1 -1
- package/dist/super-list-item/index.js +1 -1
- package/dist/switch/component.js +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/columns.js +1 -1
- package/dist/table/component.js +1 -1
- package/dist/table/components/cell/component.js +1 -1
- package/dist/table/components/cell/index.js +1 -1
- package/dist/table/components/cells/index.js +1 -1
- package/dist/table/components/empty-list/index.js +1 -1
- package/dist/table/components/error/index.js +1 -1
- package/dist/table/components/loading/index.js +1 -1
- package/dist/table/components/pagination/index.js +1 -1
- package/dist/table/components/table-header/index.js +1 -1
- package/dist/table/hooks/use-table-data.js +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/utils/add-query-param.js +1 -1
- package/dist/table/utils/get-query-from-url.js +1 -1
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/table/utils/parse-query-params.js +1 -1
- package/dist/table/utils/prepare-rows.js +1 -1
- package/dist/table/utils/query-adapter.js +1 -1
- package/dist/table/utils/remove-query-param.js +1 -1
- package/dist/table/utils/reset-query-param.js +1 -1
- package/dist/table-status/component.js +1 -1
- package/dist/table-status/index.js +1 -1
- package/dist/tag/component.js +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/tags-list/component.js +1 -1
- package/dist/tags-list/index.js +1 -1
- package/dist/textarea/component.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/theme-provider/component.d.ts +11 -6
- package/dist/theme-provider/component.js +1 -1
- package/dist/theme-provider/default-themes.d.ts +145 -0
- package/dist/theme-provider/default-themes.js +1 -0
- package/dist/theme-provider/index.d.ts +1 -0
- package/dist/theme-provider/index.js +1 -1
- package/dist/toast/component.js +1 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast-notifier/component.js +1 -1
- package/dist/toast-notifier/index.js +1 -1
- package/dist/toast-plate/component.js +1 -1
- package/dist/toast-plate/index.js +1 -1
- package/dist/tooltip/component.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/typography/component.js +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text/component.js +1 -1
- package/dist/typography/text/index.js +1 -1
- package/dist/typography/title/component.js +1 -1
- package/dist/typography/title/index.js +1 -1
- package/dist/typography/title-responsive/component.js +1 -1
- package/dist/typography/title-responsive/index.js +1 -1
- package/dist/{use-image-render-component-be337336.js → use-image-render-component-aac1035f.js} +1 -1
- package/dist/utils/format-date/index.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/show-toast/index.js +1 -1
- package/dist/vars/alpha-colors.css +101 -101
- package/dist/vars/index.css +0 -12
- package/dist/with-suffix/component.js +1 -1
- package/dist/with-suffix/index.js +1 -1
- package/package.json +2 -2
- package/dist/index-0cf99b36.js +0 -1
- package/dist/index-1ea7d07b.js +0 -1
- package/dist/index-2c21a9ce.js +0 -1
- package/dist/index-88d9ed14.js +0 -1
- package/dist/index-c96c7b4d.js +0 -1
- /package/dist/{_commonjsHelpers-6ebaeb55.js → _commonjsHelpers-567b6d0d.js} +0 -0
- /package/dist/{_tslib-531dfe1b-0c70244b.js → _tslib-531dfe1b-28c9f49b.js} +0 -0
- /package/dist/{colors.module-e57a1ec8.js → colors.module-8da3f1d6.js} +0 -0
- /package/dist/{common.module-8c002e58.js → common.module-9f21f2b6.js} +0 -0
- /package/dist/{component-5167b042.d.ts → component-3ea5d4e9.d.ts} +0 -0
- /package/dist/{component-5167b042.js → component-3ea5d4e9.js} +0 -0
- /package/dist/{component-32d7b3b5.d.ts → component-9fedb407.d.ts} +0 -0
- /package/dist/{contact-block-c4527aa3.d.ts → contact-block-0a60c335.d.ts} +0 -0
- /package/dist/{contact-block-c4527aa3.js → contact-block-0a60c335.js} +0 -0
- /package/dist/{gutters.module-4bc70323.js → gutters.module-69876894.js} +0 -0
- /package/dist/{index-7115fefb.js → index-5dedba4f.js} +0 -0
- /package/dist/{index-0836af53.d.ts → index-727a83be.d.ts} +0 -0
- /package/dist/{index-7c761803.js → index-9a94e652.js} +0 -0
- /package/dist/{intersection-observer-8420932a.js → intersection-observer-9add2c0f.js} +0 -0
- /package/dist/{parse-query-params-6d127a41.d.ts → parse-query-params-203800c3.d.ts} +0 -0
- /package/dist/{slide-48a818dd.d.ts → slide-77d8e48e.d.ts} +0 -0
- /package/dist/{slide-48a818dd.js → slide-77d8e48e.js} +0 -0
- /package/dist/{step-bar-2130afc7.d.ts → step-bar-406f31c3.d.ts} +0 -0
- /package/dist/{step-bar-2130afc7.js → step-bar-406f31c3.js} +0 -0
- /package/dist/{tslib.es6-f7d03b44.js → tslib.es6-4b7a41ea.js} +0 -0
- /package/dist/{use-image-render-component-be337336.d.ts → use-image-render-component-aac1035f.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-4b7a41ea.js";import o from"react";import s from"react-dom";import i from"classnames";import{ToastPlate as n}from"../toast-plate/component.js";import{useTimer as r}from"./use-timer.js";import"../_tslib-531dfe1b-28c9f49b.js";import"../CloseS-e0d6ea2f.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var a,d="index-module_isVisible__kvaxX",l="index-module_mobile__ARgiW",m="index-module_isClosing__fMPDi",p="index-module_toastContent__WxLt6";"undefined"!=typeof window&&((a=document.createElement("div")).setAttribute("id","toast_manager"),document.body.appendChild(a));var u=function(u){var c,f=u.className;u.children;var v=u.offset,x=void 0===v?108:v,_=u.hasCloser,b=void 0===_||_;u.onClose;var h=u.text;u.onMouseEnter,u.onMouseLeave;var C=u.style,y=u.position,g=void 0===y?"bottom":y,j=u.delay,w=void 0===j?3e3:j,E=e(u,["className","children","offset","hasCloser","onClose","text","onMouseEnter","onMouseLeave","style","position","delay"]);if("undefined"==typeof window)return null;var L,M=window.innerWidth>600;a.setAttribute("style",(L="position: fixed; z-index: 99999999;",M?L+" "+g+": "+x+"px; right: 30px":L+" top: "+x+"px; right: 30px; left: 30px"));var A=document.createElement("div");A.classList.remove(m),A.setAttribute("id","toast_wrap-"+Math.random()),A.setAttribute("style","margin-bottom: 18px"),a.appendChild(A);var N=function(){A.classList.add(m),setTimeout((function(){null==a||a.removeChild(A)}),300)},W=r(N,w),k=W.pause,z=W.resume;return A.addEventListener("mouseenter",(function(){k()})),A.addEventListener("mouseleave",(function(){z()})),s.render(o.createElement(n,t({hasCloser:b,className:i((c={},c[d]=!0,c[l]=!M,c),f),contentClassName:p,style:t({right:0,position:"relative"},C),role:"alert",onClose:N},E),h),A),null};export{u as ToastNotifier};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ToastNotifier}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{ToastNotifier}from"./component.js";import"../tslib.es6-4b7a41ea.js";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"../_tslib-531dfe1b-28c9f49b.js";import"../CloseS-e0d6ea2f.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./use-timer.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-4b7a41ea.js";import n,{forwardRef as o,useCallback as l}from"react";import{_ as a}from"../_tslib-531dfe1b-28c9f49b.js";import{C as i}from"../CloseS-e0d6ea2f.js";import d from"classnames";import{Button as s}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var c={component:"index-module_component__2FCoC",hasCloser:"index-module_hasCloser__ig0bb",contentWrap:"index-module_contentWrap__-P3Jg",block:"index-module_block__aZI2E",content:"index-module_content__ING2J",actionSection:"index-module_actionSection__pEbKj",leftAddons:"index-module_leftAddons__Odkdf",title:"index-module_title__QZFUh",children:"index-module_children__tKSv7",checkmark:"index-module_checkmark__Uk-P-",closeButton:"index-module_closeButton__mFhAC",negative:"index-module_negative__rdTB6",positive:"index-module_positive__k8leE",default:"index-module_default__yyLQR",toast_enter:"index-module_toast_enter__gcrK7",toast_active_enter:"index-module_toast_active_enter__1PLY6",toast_done_enter:"index-module_toast_done_enter__encRe",toast_exit:"index-module_toast_exit__qTOb8",toast_active_exit:"index-module_toast_active_exit__dUE9W",toast_done_exit:"index-module_toast_done_exit__tGXNW"},r={negative:n.createElement((function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),n.createElement("path",{d:"M0 0h25v24H0z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.005 12c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-7.6 4l-2.4-2.4-2.4 2.4-1.6-1.6 2.4-2.4-2.4-2.4 1.6-1.6 2.4 2.4 2.4-2.4 1.6 1.6-2.4 2.4 2.4 2.4-1.6 1.6z",fill:"currentColor"}))}),null),positive:n.createElement((function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),n.createElement("path",{d:"M0 0h25v24H0z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.005 12c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-11.5 4l6.5-6.5-1.5-1.5-5 5-2-2-1.5 1.5 3.5 3.5z",fill:"currentColor"}))}),null),default:n.createElement((function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),n.createElement("path",{d:"M0 0h25v24H0z"}),n.createElement("path",{d:"M19.076 4.929A9.935 9.935 0 0012.005 2a9.935 9.935 0 00-7.071 2.929A9.935 9.935 0 002.004 12a9.935 9.935 0 002.93 7.071A9.935 9.935 0 0012.004 22a9.935 9.935 0 007.072-2.929A9.935 9.935 0 0022.005 12a9.935 9.935 0 00-2.929-7.071zm-7.071-.195a2.15 2.15 0 012.148 2.149 2.15 2.15 0 01-2.148 2.148 2.15 2.15 0 01-2.149-2.148 2.15 2.15 0 012.149-2.149zm2.734 13.672H9.271v-1.172h1.171v-5.859H9.271v-1.172h4.296v7.031h1.172v1.172z",fill:"currentColor"}))}),null)},m=o((function(o,a){var m,_=o.dataTestId,u=o.className,v=o.contentClassName,h=o.hasCloser;o.leftAddons;var f=o.view,x=void 0===f?"default":f,p=o.title,g=o.children;o.actionButton;var E=o.block,w=o.onClose;o.getBadgeIcons;var C=e(o,["dataTestId","className","contentClassName","hasCloser","leftAddons","view","title","children","actionButton","block","onClose","getBadgeIcons"]),b=l((function(e){w&&w(e)}),[w]);return n.createElement("div",t({className:d(c.component,(m={},m[c.block]=E,m[c.hasCloser]=h,m),u),ref:a,"data-test-id":_},C),n.createElement("div",{className:c.contentWrap},n.createElement("div",{className:d(c.checkmark,c[x])},r[x]),n.createElement("div",{className:d(v,c.content)},p&&n.createElement("div",{className:c.title},p),g&&n.createElement("div",{className:c.children},g)),h&&n.createElement(s,t({className:d(c.closeButton),view:"ghost"},{onClick:b},{"aria-label":"закрыть",leftAddons:n.createElement(i,null)}))))}));export{m as ToastPlate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ToastPlate}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{ToastPlate}from"./component.js";import"../tslib.es6-4b7a41ea.js";import"react";import"../_tslib-531dfe1b-28c9f49b.js";import"../CloseS-e0d6ea2f.js";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-
|
|
1
|
+
import{a as e}from"../tslib.es6-4b7a41ea.js";import o,{useState as t,useRef as r,useCallback as n,useEffect as c,cloneElement as a}from"react";import i from"react-node-resolver";import u from"classnames";import{Popover as s}from"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";var p="index-module_component__KCXt7",m="index-module_popper__M9HfK",l="index-module_target__nVe99",f=function(f){var d=f.children,v=f.content,C=f.trigger,w=void 0===C?"hover":C,T=f.onCloseDelay,h=void 0===T?300:T,g=f.onOpenDelay,_=void 0===g?300:g,k=f.dataTestId,N=f.onClose,O=f.onOpen,E=f.open,M=f.getPortalContainer,j=f.offset,x=void 0===j?[0,10]:j,b=f.position,y=f.contentClassName,P=f.arrowClassName,R=f.popoverClassName,S=f.updatePopover,D=t(!!E),K=D[0],L=D[1],A=t(null),F=A[0],H=A[1],I=o.useRef(null),V=o.useRef(null),X=r(0),q=function(){K||(L(!0),O&&O())},z=n((function(){K&&(L(!1),N&&N())}),[N,K]),B=function(e){return(!I.current||!I.current.contains(e))&&(!V.current||!V.current.contains(e))};c((function(){var e=function(e){var o=e.target;B(o)&&z()};return document.body.addEventListener("click",e),function(){document.body.removeEventListener("click",e),clearTimeout(X.current)}}),[z]);var G,J={onClick:function(e){d.props.onClick&&d.props.onClick(e),K?z():q()}},Q={onMouseOver:function(e){d.props.onMouseOver&&d.props.onMouseOver(e),clearTimeout(X.current),X.current=window.setTimeout((function(){q()}),_)},onMouseOut:function(e){d.props.onMouseOut&&d.props.onMouseOut(e),clearTimeout(X.current),X.current=window.setTimeout((function(){z()}),h)},onTouchStart:function(e){d.props.onTouchStart&&d.props.onTouchStart(e);var o=e.target;clearTimeout(X.current),B(o)?X.current=window.setTimeout((function(){z()}),h):q()}},U=void 0===E?K:E,W=n((function(e){I.current=e,H(I.current)}),[]);return o.createElement(o.Fragment,null,o.createElement(i,{innerRef:W},(G=function(o){var t={className:u(l,o.className)};switch(w){case"click":return e(e({},t),J);case"hover":return e(e({},t),Q);default:return{}}}(d.props),a(d,G))),F&&o.createElement(s,{anchorElement:F,open:U,getPortalContainer:M,arrowClassName:P,popperClassName:u(m,R),offset:x,withArrow:!0,position:b,update:S},function(){var t=function(){var o={ref:V,"data-test-id":k,className:u(p,y)};return"hover"===w?e(e({},o),Q):o}();return o.createElement("div",e({},t),v)}()))};export{f as Tooltip};
|
package/dist/tooltip/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Tooltip}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Tooltip}from"./component.js";import"../tslib.es6-4b7a41ea.js";import"react";import"react-node-resolver";import"classnames";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Title as o}from"./title/index.js";import{Text as t}from"./text/component.js";import{TitleResponsive as e}from"./title-responsive/component.js";import"../tslib.es6-
|
|
1
|
+
import{Title as o}from"./title/index.js";import{Text as t}from"./text/component.js";import{TitleResponsive as e}from"./title-responsive/component.js";import"../tslib.es6-4b7a41ea.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-8da3f1d6.js";import"../common.module-9f21f2b6.js";var m={Title:o,Text:t,TitleResponsive:e};export{m as Typography};
|
package/dist/typography/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Typography}from"./component.js";import"./title/index.js";import"../tslib.es6-
|
|
1
|
+
export{Typography}from"./component.js";import"./title/index.js";import"../tslib.es6-4b7a41ea.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-8da3f1d6.js";import"../common.module-9f21f2b6.js";import"./text/component.js";import"./title-responsive/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import a from"classnames";import{c as r}from"../../colors.module-
|
|
1
|
+
import e from"react";import a from"classnames";import{c as r}from"../../colors.module-8da3f1d6.js";var m={paragraph:"index-module_paragraph__msaC8","primary-medium":"index-module_primary-medium__LhYfj","primary-small":"index-module_primary-small__lYM88",title:"index-module_title__O9czO",caps:"index-module_caps__l7Eqh",uppercase:"index-module_uppercase__JVKeT",bold:"index-module_bold__RuoQM",medium:"index-module_medium__YL230",regular:"index-module_regular__h8gTH",component:"index-module_component__MPBKM"},d=function(d){var i,o,l=d.view,_=void 0===l?"primary-medium":l,p=d.tag,u=void 0===p?"span":p,s=d.weight,t=void 0===s?"regular":s,n=d.uppercase,c=d.color,x=d.className,g=d.dataTestId,h=d.children;return e.createElement(u,{className:a((i={},i[m.paragraph]="p"===u,i),(o={},o[m.uppercase]=n,o),x,c&&r[c],m[_],m[t]),"data-test-id":g},h)};export{d as Text};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Text}from"./component.js";import"react";import"classnames";import"../../colors.module-
|
|
1
|
+
export{Text}from"./component.js";import"react";import"classnames";import"../../colors.module-8da3f1d6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"react";import e from"classnames";import{c as r}from"../../colors.module-8da3f1d6.js";var o=function(o){var t=o.tag,i=void 0===t?"div":t,m=o.view,d=void 0===m?"medium":m,s=o.weight,c=void 0===s?"medium":s,n=o.defaultMargins,l=void 0!==n&&n,v=o.color,f=void 0===v?"primary":v,p=o.className,u=o.dataTestId,g=o.children,h=o.styles;return a.createElement(i,{className:e(h.component,p,h["montserrat-"+d],l&&h["margins-"+d],h[c],f&&r[f]),"data-test-id":u},g)};export{o as Title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"../../tslib.es6-
|
|
1
|
+
import{a as m}from"../../tslib.es6-4b7a41ea.js";import e from"react";import{Title as r}from"./component.js";import{c as a}from"../../common.module-9f21f2b6.js";import"classnames";import"../../colors.module-8da3f1d6.js";var l={"montserrat-xlarge":"index-module_montserrat-xlarge__hdgbt","montserrat-large":"index-module_montserrat-large__Go4Ju","montserrat-medium":"index-module_montserrat-medium__KJdm0","montserrat-small":"index-module_montserrat-small__T0UeA","montserrat-xsmall":"index-module_montserrat-xsmall__9757S","montserrat-xxsmall":"index-module_montserrat-xxsmall__5pe-b","margins-xlarge":"index-module_margins-xlarge__o0X6K","margins-large":"index-module_margins-large__njSHO","margins-medium":"index-module_margins-medium__ir-Bn","margins-small":"index-module_margins-small__F4y4n","margins-xsmall":"index-module_margins-xsmall__69GSc"},s=function(s){return e.createElement(r,m({},s,{styles:m(m({},a),l)}))};export{s as Title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"../../tslib.es6-
|
|
1
|
+
import{a as m}from"../../tslib.es6-4b7a41ea.js";import e from"react";import{Title as r}from"../title/component.js";import{c as a}from"../../common.module-9f21f2b6.js";import"classnames";import"../../colors.module-8da3f1d6.js";var l={"montserrat-xlarge":"index-module_montserrat-xlarge__J-ZiR","montserrat-large":"index-module_montserrat-large__kI1Kn","montserrat-medium":"index-module_montserrat-medium__MxBIN","montserrat-small":"index-module_montserrat-small__PuaHc","montserrat-xsmall":"index-module_montserrat-xsmall__5IiBT","margins-xlarge":"index-module_margins-xlarge__fJPKA","margins-large":"index-module_margins-large__9EEcc","margins-medium":"index-module_margins-medium__fgO21","margins-small":"index-module_margins-small__6biA7","margins-xsmall":"index-module_margins-xsmall__qLu13"},s=function(s){return e.createElement(r,m({},s,{styles:m(m({},a),l)}))};export{s as TitleResponsive};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{TitleResponsive}from"./component.js";import"../../tslib.es6-
|
|
1
|
+
export{TitleResponsive}from"./component.js";import"../../tslib.es6-4b7a41ea.js";import"react";import"../title/component.js";import"classnames";import"../../colors.module-8da3f1d6.js";import"../../common.module-9f21f2b6.js";
|
package/dist/{use-image-render-component-be337336.js → use-image-render-component-aac1035f.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{_ as r}from"./_tslib-531dfe1b-
|
|
1
|
+
import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{_ as r}from"./_tslib-531dfe1b-28c9f49b.js";import i from"classnames";import{Spinner as l}from"./spinner/component.js";import{Typography as m}from"./typography/component.js";import"./image/typings.js";import{sizes as a,textSizes as d}from"./image/constants.js";import{getSrc as _,getCharsFromText as s}from"./image/utils.js";var c=function(t){return e.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},t),e.createElement("path",{d:"M0 0h25v24H0z"}),e.createElement("path",{d:"M7.005 2a5 5 0 00-5 5v7.117l6.213-6.079 6.26 6.126 3.124-3.047 4.403 4.296V7a5 5 0 00-5-5h-10z",fill:"currentColor"}),e.createElement("path",{d:"M21.777 18.495l-4.175-4.074-1.432 1.397 4.586 4.488c.458-.52.81-1.134 1.021-1.81zM18.776 21.677L8.218 11.347 2.02 17.409A5 5 0 007.005 22h10a4.99 4.99 0 001.771-.323z",fill:"currentColor"}))},u=function(t){return e.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},t),e.createElement("path",{d:"M0 0h17v17H0z"}),e.createElement("path",{d:"M4.678 1.34a3.333 3.333 0 00-3.333 3.333v4.745l4.142-4.053L9.66 9.45l2.082-2.032 2.935 2.864V4.673a3.333 3.333 0 00-3.333-3.333H4.678z",fill:"currentColor"}),e.createElement("path",{d:"M14.527 12.337L11.742 9.62l-.955.931 3.057 2.992a3.33 3.33 0 00.681-1.207zM12.525 14.458L5.487 7.571l-4.131 4.042a3.334 3.334 0 003.322 3.06h6.667c.415 0 .813-.076 1.18-.215z",fill:"currentColor"}))},x={component:"index-module_component__Jf39Y",default:"index-module_default__7yCk8",primary:"index-module_primary__NmfOf","primary-inverted":"index-module_primary-inverted__LgfAy",secondary:"index-module_secondary__mFC44","secondary-inverted":"index-module_secondary-inverted__A3WWS",positive:"index-module_positive__KObTG",negative:"index-module_negative__JSntK",attention:"index-module_attention__xn0w7",accent:"index-module_accent__OKgO0",broken:"index-module_broken__U-IUD",image:"index-module_image__m6QQ3",hint:"index-module_hint__U93qq",hint_text:"index-module_hint_text__iACDk",textContent:"index-module_textContent__zwpfH",xs:"index-module_xs__WMoNb",s:"index-module_s__Hg5M9",m:"index-module_m__C8KqW",l:"index-module_l__bAVTF",xl:"index-module_xl__4V4rQ",circle:"index-module_circle__a7zSR",ellipse:"index-module_ellipse__omc91",defs:"index-module_defs__-U1g-",textS:"index-module_textS__rn-Mq",textXs:"index-module_textXs__qpkPR",textM:"index-module_textM__mXb7s",textL:"index-module_textL__jV-69"},p=function(r){var p=r.src,f=void 0===p?"":p,g=r.resolution,h=r.size,v=r.alt,w=r.text,y=r.icon,E=e.useState("loading"),M=E[0],b=E[1],z=t(0),C=g||a[h],j=n((function(){return _(f,C)}),[C,f]);return o((function(){if(j){z.current=Date.now(),b("loading");var e=new Image;e.src=j,e.onload=function(){b("loaded")},e.onerror=function(){Date.now()-z.current<15e3?setTimeout((function(){e.src=j}),1e3):b("error")}}else b("error")}),[j]),y||("loading"===M?e.createElement(l,{className:x.spinner,size:"s",view:"dark"}):"error"===M&&w?e.createElement(m.Text,{className:i(x.textContent,x[d[h]]),view:"component",color:"tertiary",weight:"bold"},s(w.toUpperCase())):"error"===M?e.createElement(m.Text,{className:x.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===h?e.createElement(u,null):e.createElement(c,null)):e.createElement("img",{className:x.image,src:f,alt:v}))};export{c as P,x as s,p as u};
|