@alphakits/ui 1.27.7 → 1.27.9
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-a7f9a7b6.js → ActionCopyM-f6349dd3.js} +1 -1
- package/dist/{ChevronBackM-f7b8414e.js → ChevronBackM-6cbc5951.js} +1 -1
- package/dist/{ChevronDownS-0b12dbdb.js → ChevronDownS-bba90a8f.js} +1 -1
- package/dist/{ChevronForwardS-b29b55e1.js → ChevronForwardS-27e12265.js} +1 -1
- package/dist/{CloseS-2c9e98cb.js → CloseS-cc129d76.js} +1 -1
- package/dist/{NextS-c640533a.js → NextS-c0d28809.js} +1 -1
- package/dist/{PlusS-c9320994.js → PlusS-9bac9c39.js} +1 -1
- package/dist/{SearchM-3c0045d8.js → SearchM-d3a12527.js} +1 -1
- package/dist/{TrashM-bee70a88.js → TrashM-c0ab1bff.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-91e839c3.js → capitalize-4ea22a38.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.d.ts +2 -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-de82bc0b.js → component-f0d40b16.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.d.ts +2 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/{index-cd57b18d.js → index-055e4a00.js} +1 -1
- package/dist/{index-7b449668.js → index-0d1b1979.js} +1 -1
- package/dist/{index-0ef4be3d.js → index-10c90bae.js} +1 -1
- package/dist/index-2cfacf2d.js +1 -0
- package/dist/index-30df19db.js +1 -0
- package/dist/index-42b4dd94.js +1 -0
- package/dist/index-482e3dbf.js +1 -0
- package/dist/{index-bfc00915.js → index-5c2cd12b.js} +1 -1
- package/dist/{index-a4d9a7e9.js → index-608aef79.js} +1 -1
- package/dist/{index-a8009d1e.js → index-6b19611c.js} +1 -1
- package/dist/index-a1a71b1a.js +1 -0
- package/dist/{index-1382e840.js → index-a33d9630.js} +1 -1
- package/dist/index-a4805cd9.js +1 -0
- 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-85bee84b.js → isSymbol-afad8ee4.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-90769231.js → parse-query-params-f8b912ff.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/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-2eb0d320.js +1 -0
- 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 +1 -1
- package/dist/index-0640fd97.js +0 -1
- package/dist/index-08b8f243.js +0 -1
- package/dist/index-2c812db6.js +0 -1
- package/dist/index-5ccfea62.js +0 -1
- package/dist/index-9c1fc56b.js +0 -1
- package/dist/index-cf1d0271.js +0 -1
- package/dist/use-image-render-component-d0a2c5ed.js +0 -1
- /package/dist/{_commonjsHelpers-6254bf22.js → _commonjsHelpers-1ada7c3c.js} +0 -0
- /package/dist/{_tslib-531dfe1b-315a658b.js → _tslib-531dfe1b-9a853f97.js} +0 -0
- /package/dist/{colors.module-7496a229.js → colors.module-aff1c914.js} +0 -0
- /package/dist/{common.module-f754d89c.js → common.module-dd9cf97e.js} +0 -0
- /package/dist/{component-84cd2fd5.d.ts → component-9d7f938b.d.ts} +0 -0
- /package/dist/{component-84cd2fd5.js → component-9d7f938b.js} +0 -0
- /package/dist/{component-de82bc0b.d.ts → component-f0d40b16.d.ts} +0 -0
- /package/dist/{contact-block-677cf9ec.d.ts → contact-block-f0dd3058.d.ts} +0 -0
- /package/dist/{contact-block-677cf9ec.js → contact-block-f0dd3058.js} +0 -0
- /package/dist/{gutters.module-57db1b1e.js → gutters.module-04a998e8.js} +0 -0
- /package/dist/{index-7b449668.d.ts → index-0d1b1979.d.ts} +0 -0
- /package/dist/{index-dbea6413.js → index-60c6449b.js} +0 -0
- /package/dist/{index-f50541ee.js → index-c1f4a770.js} +0 -0
- /package/dist/{intersection-observer-481c77e5.js → intersection-observer-0e1150bc.js} +0 -0
- /package/dist/{parse-query-params-90769231.d.ts → parse-query-params-f8b912ff.d.ts} +0 -0
- /package/dist/{slide-6a054e33.d.ts → slide-ea8682cd.d.ts} +0 -0
- /package/dist/{slide-6a054e33.js → slide-ea8682cd.js} +0 -0
- /package/dist/{step-bar-48497af4.d.ts → step-bar-f622cefa.d.ts} +0 -0
- /package/dist/{step-bar-48497af4.js → step-bar-f622cefa.js} +0 -0
- /package/dist/{tslib.es6-113a246c.js → tslib.es6-742fc7c3.js} +0 -0
- /package/dist/{use-image-render-component-d0a2c5ed.d.ts → use-image-render-component-2eb0d320.d.ts} +0 -0
package/dist/index-08b8f243.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as r}from"./index-a8009d1e.js";import{b as a}from"./index-cf1d0271.js";import{r as n}from"./index-dbea6413.js";function o(o,s){n(2,arguments);var t=r(s);return a(o,12*t)}function s(a,s){return n(2,arguments),o(a,-r(s))}export{o as a,s};
|
package/dist/index-2c812db6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as r}from"./index-cf1d0271.js";import{r as o}from"./index-dbea6413.js";function e(e){return o(1,arguments),r(e,Date.now())}export{e as i};
|
package/dist/index-5ccfea62.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as r}from"./index-bfc00915.js";import{r as i}from"./index-dbea6413.js";function o(o){return i(1,arguments),r(Date.now(),o)}export{o as i};
|
package/dist/index-9c1fc56b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,t as a}from"./index-dbea6413.js";function e(e,t){r(2,arguments);var n=a(e),o=a(t);return n.getFullYear()===o.getFullYear()}function t(a){return r(1,arguments),e(a,Date.now())}export{t as a,e as i};
|
package/dist/index-cf1d0271.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e,g as t}from"./index-a8009d1e.js";import{r as n,t as a}from"./index-dbea6413.js";function r(t,r){n(2,arguments);var i=a(t),o=e(r);return isNaN(o)?new Date(NaN):o?(i.setDate(i.getDate()+o),i):i}function i(t,r){n(2,arguments);var i=a(t),o=e(r);if(isNaN(o))return new Date(NaN);if(!o)return i;var s=i.getDate(),u=new Date(i.getTime());return u.setMonth(i.getMonth()+o+1,0),s>=u.getDate()?u:(i.setFullYear(u.getFullYear(),u.getMonth(),s),i)}function o(e,t){n(2,arguments);var r=a(e),i=a(t);return r.getTime()>i.getTime()}function s(e,t){n(2,arguments);var r=a(e),i=a(t);return r.getTime()<i.getTime()}function u(e){n(1,arguments);var t=a(e);return t.setHours(0,0,0,0),t}function l(e,t){n(2,arguments);var a=u(e),r=u(t);return a.getTime()===r.getTime()}function v(r,i){var o,s,u,l,v,g,d,f;n(1,arguments);var c=t(),m=e(null!==(o=null!==(s=null!==(u=null!==(l=null==i?void 0:i.weekStartsOn)&&void 0!==l?l:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==u?u:c.weekStartsOn)&&void 0!==s?s:null===(d=c.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==o?o:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var w=a(r),D=w.getDay(),N=(D<m?7:0)+D-m;return w.setDate(w.getDate()-N),w.setHours(0,0,0,0),w}function g(e){return n(1,arguments),v(e,{weekStartsOn:1})}function d(t,a){return n(2,arguments),r(t,-e(a))}export{r as a,i as b,s as c,l as d,g as e,v as f,d as g,o as i,u as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{_ as r}from"./_tslib-531dfe1b-315a658b.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 m,textSizes as a}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"}))},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={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",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,C=e.useState("loading"),E=C[0],M=C[1],b=t(0),z=g||m[h],L=n((function(){return _(f,z)}),[z,f]);return o((function(){if(L){b.current=Date.now(),M("loading");var e=new Image;e.src=L,e.onload=function(){M("loaded")},e.onerror=function(){Date.now()-b.current<15e3?setTimeout((function(){e.src=L}),1e3):M("error")}}else M("error")}),[L]),y||("loading"===E?e.createElement(l,{className:u.spinner,size:"s",view:"dark"}):"error"===E&&w?e.createElement(d.Text,{className:i(u.textContent,u[a[h]]),view:"component",color:"tertiary",weight:"bold"},s(w.toUpperCase())):"error"===E?e.createElement(d.Text,{className:u.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===h?e.createElement(x,null):e.createElement(c,null)):e.createElement("img",{className:u.image,src:f,alt:v}))};export{c as P,u as s,p as u};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{use-image-render-component-d0a2c5ed.d.ts → use-image-render-component-2eb0d320.d.ts}
RENAMED
|
File without changes
|