@alphakits/ui 1.27.15 → 1.27.17
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-cd8015da.js → ActionCopyM-778f1ccc.js} +1 -1
- package/dist/AlertCircleM-b1d381fe.js +1 -0
- package/dist/{ChevronBackM-ba4205fa.js → ChevronBackM-888cb065.js} +1 -1
- package/dist/{ChevronDownS-a98a1ed6.js → ChevronDownS-1fccb82e.js} +1 -1
- package/dist/{ChevronForwardS-56815d30.js → ChevronForwardS-19a1d9d5.js} +1 -1
- package/dist/ClockCircleM-885de169.js +1 -0
- package/dist/{CloseS-f19e9906.js → CloseS-286a4dd3.js} +1 -1
- package/dist/{NextS-f5c3a50f.js → NextS-3a084433.js} +1 -1
- package/dist/{PlusS-8defdd64.js → PlusS-9bcd14f2.js} +1 -1
- package/dist/{SearchM-ad419e4b.js → SearchM-4a551b19.js} +1 -1
- package/dist/{TrashM-61d4bfb7.js → TrashM-114766cc.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-5fe13fa8.js → capitalize-293fe69b.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-f08b67d8.d.ts → component-4cc0683c.d.ts} +2 -2
- package/dist/{component-f08b67d8.js → component-4cc0683c.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/flex/component.d.ts +3 -1
- package/dist/flex/component.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-26d01b82.js +1 -0
- package/dist/{index-39947a84.js → index-292c1fc1.js} +1 -1
- package/dist/{index-bb064189.js → index-56823660.js} +1 -1
- package/dist/{index-9c8e048e.js → index-6571f72e.js} +1 -1
- package/dist/{index-6fcb31d7.js → index-6ccf6d31.js} +1 -1
- package/dist/{index-cb97ab31.js → index-70736fe2.js} +1 -1
- package/dist/{index-ff87150e.js → index-7167a535.js} +1 -1
- package/dist/{index-40894d0d.js → index-77be7eae.js} +1 -1
- package/dist/index-780639a0.js +1 -0
- package/dist/index-8db7b4f8.js +1 -0
- package/dist/{index-75c6bb79.js → index-b0b076d7.js} +1 -1
- package/dist/{index-a4b21310.js → index-b4e1a515.js} +1 -1
- package/dist/{index-4c62650c.js → index-fef03bac.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-c032520c.js → isSymbol-cd985d59.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.d.ts +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.d.ts +2 -3
- package/dist/notification/component.js +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/{parse-query-params-9b9adef7.js → parse-query-params-346fbf71.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.d.ts +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/toast/component.d.ts +2 -3
- 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.d.ts +5 -12
- 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-2a1df7a4.js → use-image-render-component-d426b388.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/with-suffix/component.js +1 -1
- package/dist/with-suffix/index.js +1 -1
- package/package.json +2 -2
- package/dist/index-20b82bc1.js +0 -1
- package/dist/index-d89d5ad8.js +0 -1
- package/dist/index-ef0f01b3.js +0 -1
- /package/dist/{_commonjsHelpers-34911093.js → _commonjsHelpers-171386ea.js} +0 -0
- /package/dist/{_tslib-531dfe1b-4416fc82.js → _tslib-531dfe1b-f09ae2ba.js} +0 -0
- /package/dist/{colors.module-23323d33.js → colors.module-a504e916.js} +0 -0
- /package/dist/{common.module-cf8a5ddf.js → common.module-891a6479.js} +0 -0
- /package/dist/{component-3f36c547.d.ts → component-b2cb5ade.d.ts} +0 -0
- /package/dist/{component-3f36c547.js → component-b2cb5ade.js} +0 -0
- /package/dist/{contact-block-6ca930da.d.ts → contact-block-84ed8bb2.d.ts} +0 -0
- /package/dist/{contact-block-6ca930da.js → contact-block-84ed8bb2.js} +0 -0
- /package/dist/{gutters.module-e4e29a33.js → gutters.module-76f85228.js} +0 -0
- /package/dist/{index-3453d74c.js → index-4bb2a11a.js} +0 -0
- /package/dist/{index-40894d0d.d.ts → index-77be7eae.d.ts} +0 -0
- /package/dist/{index-9f28bbdd.js → index-d933120f.js} +0 -0
- /package/dist/{intersection-observer-25cbb41b.js → intersection-observer-da1ce0a7.js} +0 -0
- /package/dist/{parse-query-params-9b9adef7.d.ts → parse-query-params-346fbf71.d.ts} +0 -0
- /package/dist/{slide-9ef9f421.d.ts → slide-bb3fb859.d.ts} +0 -0
- /package/dist/{slide-9ef9f421.js → slide-bb3fb859.js} +0 -0
- /package/dist/{step-bar-e84e8bd7.d.ts → step-bar-6004cdb0.d.ts} +0 -0
- /package/dist/{step-bar-e84e8bd7.js → step-bar-6004cdb0.js} +0 -0
- /package/dist/{table-2f40de93.d.ts → table-fa12db74.d.ts} +0 -0
- /package/dist/{tslib.es6-881ff0c8.js → tslib.es6-981eecc5.js} +0 -0
- /package/dist/{use-image-render-component-2a1df7a4.d.ts → use-image-render-component-d426b388.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-
|
|
1
|
+
import{a as e}from"../tslib.es6-981eecc5.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,y=f.position,b=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:y,update:S},function(){var t=function(){var o={ref:V,"data-test-id":k,className:u(p,b)};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-981eecc5.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-981eecc5.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-a504e916.js";import"../common.module-891a6479.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-981eecc5.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-a504e916.js";import"../common.module-891a6479.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-a504e916.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,p=void 0===l?"primary-medium":l,_=d.tag,u=void 0===_?"span":_,s=d.weight,t=void 0===s?"regular":s,n=d.uppercase,c=d.color,x=void 0===c?"primary":c,g=d.className,h=d.dataTestId,v=d.children;return e.createElement(u,{className:a((i={},i[m.paragraph]="p"===u,i),(o={},o[m.uppercase]=n,o),g,x&&r[x],m[p],m[t]),"data-test-id":h},v)};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-a504e916.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import a from"classnames";import{c as r}from"../../colors.module-a504e916.js";var o=function(o){var t=o.tag,i=void 0===t?"div":t,m=o.view,s=void 0===m?"medium":m,d=o.weight,c=void 0===d?"medium":d,n=o.defaultMargins,l=void 0!==n&&n,v=o.color,p=void 0===v?"primary":v,u=o.className,f=o.dataTestId,g=o.children,h=o.styles;return e.createElement(i,{className:a(h.component,u,h["montserrat-"+s],l&&h["margins-"+s],h[c],p&&r[p]),"data-test-id":f},g)};export{o as Title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"../../tslib.es6-
|
|
1
|
+
import{a as m}from"../../tslib.es6-981eecc5.js";import e from"react";import{Title as r}from"./component.js";import{c as a}from"../../common.module-891a6479.js";import"classnames";import"../../colors.module-a504e916.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-981eecc5.js";import e from"react";import{Title as r}from"../title/component.js";import{c as a}from"../../common.module-891a6479.js";import"classnames";import"../../colors.module-a504e916.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-981eecc5.js";import"react";import"../title/component.js";import"classnames";import"../../colors.module-a504e916.js";import"../../common.module-891a6479.js";
|
package/dist/{use-image-render-component-2a1df7a4.js → use-image-render-component-d426b388.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-f09ae2ba.js";import i from"classnames";import{Spinner as l}from"./spinner/component.js";import{Typography as d}from"./typography/component.js";import"./image/typings.js";import{sizes as _,textSizes as m}from"./image/constants.js";import{getSrc as a,getCharsFromText as c}from"./image/utils.js";var s=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"}))},x=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"}))},u={container:"index-module_container__bgmJ2",component:"index-module_component__Jf39Y",addon:"index-module_addon__fLNNt",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",xxl:"index-module_xxl__CbPtC",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,b=e.useState("loading"),C=b[0],E=b[1],M=t(0),z=g||_[h],L=n((function(){return a(f,z)}),[z,f]);return o((function(){if(L){M.current=Date.now(),E("loading");var e=new Image;e.src=L,e.onload=function(){E("loaded")},e.onerror=function(){Date.now()-M.current<15e3?setTimeout((function(){e.src=L}),1e3):E("error")}}else E("error")}),[L]),y||("loading"===C?e.createElement(l,{className:u.spinner,size:"s",view:"dark"}):"error"===C&&w?e.createElement(d.Text,{className:i(u.textContent,u[m[h]]),view:"component",color:"tertiary",weight:"bold"},c(w.toUpperCase())):"error"===C?e.createElement(d.Text,{className:u.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===h?e.createElement(x,null):e.createElement(s,null)):e.createElement("img",{className:u.image,src:f,alt:v}))};export{s as P,u as s,p as u};
|