@alphakits/ui 1.28.13 → 1.28.14
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/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/back-button/component.js +1 -1
- package/dist/back-button/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 -6
- package/dist/bottom-sheet/index.js +1 -1
- package/dist/button/component.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/button-arrow/component.js +1 -1
- package/dist/button-arrow/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-18078eb5.js → capitalize-72a4bc6b.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.d.ts +13 -0
- package/dist/cell/base/component.js +1 -1
- package/dist/cell/component.d.ts +7 -0
- package/dist/cell/component.js +1 -1
- package/dist/cell/index.d.ts +1 -1
- package/dist/cell/index.js +1 -1
- package/dist/cell/pure/component.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/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-switcher/component.js +1 -1
- package/dist/date-switcher/index.js +1 -1
- package/dist/empty-page/component.js +1 -1
- package/dist/empty-page/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/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/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/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-gallery/component.d.ts +13 -2
- 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-preview/index.d.ts +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/context.d.ts +1 -1
- package/dist/image-gallery/index.js +1 -1
- package/dist/image-gallery/utils/utils.d.ts +1 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3 -0
- 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-cedc285d.js +1 -0
- 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.d.ts +1 -0
- 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/notification/component.js +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/page-with-controls/component.js +1 -1
- package/dist/page-with-controls/index.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/portal/utils.d.ts +1 -1
- package/dist/portal/utils.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/component.js +1 -1
- package/dist/sidepanel/index.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/{slide-c577cf1d.d.ts → slide-09dbbb1c.d.ts} +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/step-bar-8f3f396a.d.ts +8 -0
- package/dist/stepped-progress-bar/components/step-bar.js +1 -0
- package/dist/stepped-progress-bar/index.d.ts +2 -2
- package/dist/stepped-progress-bar/index.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/swiper-slide-e28d96e8.js +1 -0
- 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.d.ts +7 -0
- package/dist/table/component.js +1 -1
- package/dist/table/components/cell/component.d.ts +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.d.ts +38 -0
- 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.d.ts +2 -0
- package/dist/table/utils/parse-query-params.js +1 -1
- package/dist/table/utils/prepare-rows.d.ts +12 -0
- 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/use-image-render-component-0fcef252.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/vars.css +1 -0
- package/dist/with-suffix/component.js +1 -1
- package/dist/with-suffix/index.js +1 -1
- package/package.json +16 -11
- package/dist/ActionCopyM-70898595.js +0 -1
- package/dist/CancelM-088e6940.js +0 -1
- package/dist/CheckmarkCircleM-f684cf46.js +0 -1
- package/dist/ChevronBackM-aee18038.js +0 -1
- package/dist/ChevronBackS-299d7d1e.js +0 -1
- package/dist/ChevronDownS-bd371173.js +0 -1
- package/dist/ChevronForwardM-a3a04aa8.js +0 -1
- package/dist/ChevronForwardS-c493a1a1.js +0 -1
- package/dist/ClockCircleM-d218e835.js +0 -1
- package/dist/CloseS-e1864257.js +0 -1
- package/dist/ControllerS-7a9ecca0.js +0 -1
- package/dist/EditS-9cde0683.js +0 -1
- package/dist/MinusM-af938dd8.js +0 -1
- package/dist/MoverS-a1889978.js +0 -1
- package/dist/NextS-4109921c.js +0 -1
- package/dist/PhotoS-b296cb33.js +0 -1
- package/dist/PlusS-15110f9d.js +0 -1
- package/dist/SearchM-ad181eb5.js +0 -1
- package/dist/TrashM-1258ddef.js +0 -1
- package/dist/YoutubeM-d17dbfe8.js +0 -1
- package/dist/_commonjsHelpers-e9fa40dd.js +0 -1
- package/dist/component-4b3baef3.d.ts +0 -7
- package/dist/component-4b3baef3.js +0 -1
- package/dist/component-523d39f3.d.ts +0 -17
- package/dist/component-523d39f3.js +0 -1
- package/dist/component-7fdb3434.d.ts +0 -13
- package/dist/date-functions.d.ts +0 -37
- package/dist/date-functions.js +0 -1
- package/dist/formik.esm-ce308774.js +0 -1
- package/dist/image-gallery/types.d.ts +0 -13
- package/dist/image-gallery/types.js +0 -1
- package/dist/index-056471fd.js +0 -1
- package/dist/index-2fa7de8d.js +0 -1
- package/dist/index-4f62c122.js +0 -1
- package/dist/index-5365bc15.js +0 -1
- package/dist/index-5f244101.js +0 -1
- package/dist/index-73750f1c.js +0 -1
- package/dist/index-820ddb0e.js +0 -9
- package/dist/index-89bc7be5.js +0 -1
- package/dist/index-9943a288.js +0 -1
- package/dist/index-9e297c3c.js +0 -1
- package/dist/index-aa8c3564.js +0 -1
- package/dist/index-e6f864d9.js +0 -1
- package/dist/index-e97180cd.js +0 -1
- package/dist/index-f3950f98.js +0 -1
- package/dist/intersection-observer-e15e78dd.js +0 -1
- package/dist/isSymbol-faa23a32.js +0 -1
- package/dist/parse-query-params-c07afed3.d.ts +0 -2
- package/dist/parse-query-params-c07afed3.js +0 -1
- package/dist/step-bar-a5486816.d.ts +0 -8
- package/dist/stepped-progress-bar/step-bar.js +0 -1
- package/dist/table-fa12db74.d.ts +0 -38
- package/dist/tslib.es6-037db755.js +0 -1
- package/dist/use-image-render-component-5a81ce40.js +0 -1
- /package/dist/{colors.module-0071a3ac.js → colors.module-018cba31.js} +0 -0
- /package/dist/{contact-block-029bb051.d.ts → contact-block-cfdfd9ea.d.ts} +0 -0
- /package/dist/{contact-block-029bb051.js → contact-block-cfdfd9ea.js} +0 -0
- /package/dist/{gutters.module-9fbea122.js → gutters.module-bc5bb452.js} +0 -0
- /package/dist/{slide-c577cf1d.js → slide-09dbbb1c.js} +0 -0
- /package/dist/{step-bar-a5486816.js → step-bar-8f3f396a.js} +0 -0
- /package/dist/stepped-progress-bar/{step-bar.d.ts → components/step-bar.d.ts} +0 -0
- /package/dist/{use-image-render-component-5a81ce40.d.ts → use-image-render-component-0fcef252.d.ts} +0 -0
package/dist/index.js
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import
|
|
1
|
+
import t from"react";import o from"@alphakits/icons/dist/NextS";import e from"classnames";import{IconButton as i}from"../icon-button/component.js";import{Typography as m}from"../typography/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";var r={item:"index-module_item__fXRQg"},p=function(p){var n=p.title,s=p.onClick;return t.createElement("div",{className:e(r.item)},t.createElement(m.Text,{view:"title",weight:"bold"},n),!!s&&t.createElement(i,{icon:o,className:r.copy,size:"s",onClick:s}))};export{p as InfoBlockHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{InfoBlockHeader}from"./component.js";import"react";import"
|
|
1
|
+
export{InfoBlockHeader}from"./component.js";import"react";import"@alphakits/icons/dist/NextS";import"classnames";import"../icon-button/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"react";import o from"@alphakits/icons/dist/ActionCopyM";import e from"classnames";import{IconButton as i}from"../icon-button/component.js";import{ToastNotifier as r}from"../toast-notifier/component.js";import{Typography as n}from"../typography/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";var m={item:"index-module_item__BUo57",start:"index-module_start__G65gS",between:"index-module_between__yyp2w",rightAddons:"index-module_rightAddons__KS2QD",content:"index-module_content__Q7Zy2",copy:"index-module_copy__msKVu"},s=function(s){var p=s.label,a=s.value,c=s.view,l=void 0===c?"between":c,d=s.rightAddons,u=s.withCopyButton,h=s.color,y=void 0===h?"primary":h;return t.createElement("div",{className:e(m.item,m[l])},t.createElement(n.Text,{view:"caps",color:"secondary",weight:"medium"},p,a&&":"),t.createElement("div",{className:m.content},a&&t.createElement(n.Text,{view:"caps",className:m.value,color:y,weight:"medium"},a,u&&t.createElement(i,{icon:o,className:m.copy,size:"s",onClick:function(t){t.stopPropagation(),navigator.clipboard.writeText(a).then((function(){r({title:"Copied!",view:"positive",offset:30})}))}})),d&&t.createElement("div",{className:m.rightAddons},d)))};export{s as InfoBlockItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{InfoBlockItem}from"./component.js";import"react";import"
|
|
1
|
+
export{InfoBlockItem}from"./component.js";import"react";import"@alphakits/icons/dist/ActionCopyM";import"classnames";import"../icon-button/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
package/dist/input/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as e,__assign as o}from"tslib";import a,{useRef as s,useState as l,useCallback as n,Fragment as r}from"react";import t from"react-merge-refs";import d from"classnames";import{Button as c}from"../button/component.js";import{FormControl as i}from"../form-control/component.js";import{useFocus as u}from"../hooks/useFocus/index.js";import"../loader/component.js";var m={input:"index-module_input__XkSql",hasLabel:"index-module_hasLabel__3lW-T",block:"index-module_block__Lq9-V",clearIcon:"index-module_clearIcon__951a-",errorIcon:"index-module_errorIcon__Z4acu",successIcon:"index-module_successIcon__yfoME",focusVisible:"index-module_focusVisible__3hinw"},f=a.forwardRef((function(f,p){var b,C,N=f.size,_=void 0===N?"m":N,h=f.type,v=void 0===h?"text":h,k=f.block,g=void 0!==k&&k,x=f.bottomAddons,y=f.dataTestId,I=f.clear,A=void 0!==I&&I,w=f.disabled,E=f.error,M=f.success,V=f.required,q=f.hint,B=f.className,L=f.fieldClassName,j=f.inputClassName,F=f.labelClassName,z=f.addonsClassName,D=f.focusedClassName,O=f.filledClassName,R=f.label,T=f.leftAddons,U=f.onFocus,P=f.onBlur,S=f.onChange,W=f.onClear,X=f.onClick,Z=f.onMouseDown,G=f.onMouseUp,H=f.rightAddons,J=f.value,K=f.defaultValue,Q=f.wrapperRef,Y=f.readOnly,$=e(f,["size","type","block","bottomAddons","dataTestId","clear","disabled","error","success","required","hint","className","fieldClassName","inputClassName","labelClassName","addonsClassName","focusedClassName","filledClassName","label","leftAddons","onFocus","onBlur","onChange","onClear","onClick","onMouseDown","onMouseUp","rightAddons","value","defaultValue","wrapperRef","readOnly"]),ee=void 0===J,oe=s(null),ae=u(oe,"keyboard")[0],se=l(!1),le=se[0],ne=se[1],re=l(K||""),te=re[0],de=re[1],ce=Boolean(ee?te:J),ie=A&&ce&&!w&&!Y,ue=n((function(e){Y||ne(!0),U&&U(e)}),[U,Y]),me=n((function(e){ne(!1),P&&P(e)}),[P]),fe=n((function(e){S&&S(e,{value:e.target.value}),ee&&de(e.target.value)}),[S,ee]),pe=n((function(e){ie&&(ee&&de(""),W&&W(e),oe.current&&!le&&oe.current.focus())}),[ie,le,W,ee]);return a.createElement(i,{ref:Q,className:d(B,le&&D,ce&&O),fieldClassName:d(L,(b={},b[m.focusVisible]=ae,b)),labelClassName:F,addonsClassName:z,size:_,block:g,required:V,disabled:w,filled:ce||le,focused:le,error:E,label:R,hint:q,leftAddons:T,rightAddons:(ie||H||M)&&a.createElement(r,null,ie&&a.createElement(c,{type:"button",view:"ghost",disabled:w,"aria-label":"Очистить",className:m.clearButton,onClick:pe},a.createElement("span",{className:m.clearIcon})),M&&!E&&a.createElement("span",{className:m.successIcon}),H),bottomAddons:x,onClick:X,onMouseDown:Z,onMouseUp:G},a.createElement("input",o({},$,{className:d(m.input,(C={},C[m.hasLabel]=R,C),j),disabled:w,onBlur:me,onFocus:ue,onChange:fe,maxLength:100,ref:t([p,oe]),type:v,value:ee?te:J,readOnly:Y,"data-test-id":y,"data-error":!!E,"aria-label":"string"==typeof R?R:void 0})))}));f.defaultProps={type:"text",block:!1};export{f as Input};
|
package/dist/input/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Input}from"./component.js";import"
|
|
1
|
+
export{Input}from"./component.js";import"tslib";import"react";import"react-merge-refs";import"classnames";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as r}from"tslib";import o,{useRef as e,useCallback as n}from"react";import t from"classnames";import{Input as l}from"../../input/component.js";import s from"react-merge-refs";import"../../button/component.js";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../form-control/component.js";var i="index-module_arrow__qrJxu",a="index-module_error__z8Onx",c=function(c){var m,p=c.label,u=c.placeholder,d=c.Arrow,f=c.Input,h=void 0===f?l:f,v=c.value,b=c.error,g=c.success,x=c.hint,_=c.disabled,j=c.readOnly,k=c.onInput,w=c.inputProps,A=void 0===w?{}:w,C=c.innerProps,F=e(null),E=C.onClick,O=C.onFocus,y=_||j,I=n((function(r){E&&E(r),F.current&&F.current.focus()}),[E]);return o.createElement(h,r({},A,C,{wrapperRef:s([C.ref,A.wrapperRef]),ref:s([F,A.ref]),disabled:_,readOnly:j,block:!0,label:p,placeholder:u,error:b,success:g,hint:x,onChange:k,onClick:y?void 0:I,onFocus:y?void 0:O,autoComplete:"off",value:v,rightAddons:(d||A.rightAddons)&&o.createElement(o.Fragment,null,A.rightAddons,d&&o.createElement("span",{className:t(i,(m={},m[a]=b,m))},d))}))};export{c as AutocompleteField};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as o,__assign as t}from"tslib";import e,{forwardRef as r}from"react";import"../select/component.js";import"classnames";import{BaseSelect as s}from"../select/components/base-select/component.js";import"../form-control/component.js";import{Optgroup as p}from"../select/components/optgroup/component.js";import{Option as i}from"../select/components/option/component.js";import{OptionsList as n}from"../select/components/options-list/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../toast-notifier/component.js";import"intersection-observer";import{AutocompleteField as m}from"./autocomplete-field/index.js";import"../select/components/arrow/component.js";import"../select/components/field/component.js";import"../hooks/useFocus/index.js";import"../select/utils.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";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";import"../select/components/native-select/component.js";import"../skeleton/component.js";import"../select/components/checkmark/component.js";import"@alphakits/icons/dist/ClockCircleM";import"../button/component.js";import"../loader/component.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../input/component.js";var c=r((function(r,c){var l=r.OptionsList,a=void 0===l?n:l,u=r.Optgroup,j=void 0===u?p:u,d=r.Option,v=void 0===d?i:d,f=r.Input,O=r.inputProps,k=void 0===O?{}:O,g=r.onInput,h=r.value,I=r.success,x=r.readOnly,C=r.closeOnSelect,b=void 0!==C&&C,P=r.options,S=o(r,["OptionsList","Optgroup","Option","Input","inputProps","onInput","value","success","readOnly","closeOnSelect","options"]);return e.createElement(s,t({ref:c,autocomplete:!0,options:P,closeOnSelect:b,Option:v,Field:m,fieldProps:{Input:f,onInput:g,value:h,inputProps:k,readOnly:x,success:I},Optgroup:j,OptionsList:a},S))}));export{c as InputAutocomplete};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{InputAutocomplete}from"./component.js";import"
|
|
1
|
+
export{InputAutocomplete}from"./component.js";import"tslib";import"react";import"../select/component.js";import"../select/components/arrow/component.js";import"classnames";import"../select/components/base-select/component.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";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";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../hooks/useFocus/index.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../skeleton/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"@alphakits/icons/dist/ClockCircleM";import"../button/component.js";import"../loader/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"intersection-observer";import"./autocomplete-field/index.js";import"../input/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import t from"@alphakits/icons/dist/SearchM";import l from"classnames";var n={input:"index-module_input__Sx0kB",block:"index-module_block__vmjqb",s:"index-module_s__5THxm",m:"index-module_m__Xkulo",leftAddons:"index-module_leftAddons__tJy0W"},o=function(o){var a,d=o.value,m=o.onChange,i=o.placeholder,r=o.leftAddons,c=o.block,s=o.size,u=void 0===s?"m":s;return e.createElement("div",{className:l(n.input,n[u],(a={},a[n.block]=c,a))},e.createElement("span",{className:n.leftAddons},r||e.createElement(t,null)),e.createElement("input",{value:d,onChange:function(e){m(e.target.value)},placeholder:i,type:"text"}))};export{o as InputGhost};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{InputGhost}from"./component.js";import"react";import"
|
|
1
|
+
export{InputGhost}from"./component.js";import"react";import"@alphakits/icons/dist/SearchM";import"classnames";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,n=e||o||Function("return this")(),r=n.Symbol,l=Object.prototype,i=l.hasOwnProperty,a=l.toString,c=r?r.toStringTag:void 0;var f=function(t){var e=i.call(t,c),o=t[c];try{t[c]=void 0;var n=!0}catch(t){}var r=a.call(t);return n&&(e?t[c]=o:delete t[c]),r},b=Object.prototype.toString;var u=function(t){return b.call(t)},d="[object Null]",y="[object Undefined]",p=r?r.toStringTag:void 0;var s=function(t){return null==t?void 0===t?y:d:p&&p in Object(t)?f(t):u(t)};var j=function(t){return null!=t&&"object"==typeof t},v="[object Symbol]";var g=function(t){return"symbol"==typeof t||j(t)&&s(t)==v};export{r as _,n as a,g as i};
|
package/dist/link/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as e,__assign as d}from"tslib";import o,{forwardRef as n,useRef as s}from"react";import t from"react-merge-refs";import a from"classnames";import{useFocus as m}from"../hooks/useFocus/index.js";var r={component:"index-module_component__hqvbj",text:"index-module_text__zFBAJ",withAddons:"index-module_withAddons__R-v34",focused:"index-module_focused__mZChf",primary:"index-module_primary__7QnHL",secondary:"index-module_secondary__CXgR1",default:"index-module_default__axx5g",pseudo:"index-module_pseudo__eQCgC",addons:"index-module_addons__rF1Ob",m:"index-module_m__k1NeY",s:"index-module_s__0pCnE"},l=n((function(n,l){var i,_=n.view,c=void 0===_?"default":_,u=n.pseudo,p=void 0!==u&&u,x=n.leftAddons,f=n.rightAddons,h=n.className,v=n.dataTestId,g=n.children,A=n.size,E=void 0===A?"m":A,N=e(n,["view","pseudo","leftAddons","rightAddons","className","dataTestId","children","size"]),b=s(null),w=m(b,"keyboard")[0],y={className:a(r.component,r[c],(i={},i[r.pseudo]=p,i[r.focused]=w,i[r.withAddons]=x||f,i),h),"data-test-id":v,rel:"_blank"===N.target?"noreferrer noopener":void 0};return o.createElement("a",d({},y,N,{ref:t([b,l])}),x||f?o.createElement(o.Fragment,null,x&&o.createElement("span",{className:r.addons},x),g&&o.createElement("span",null,o.createElement("span",{className:a(r.text,r[E])},g)),f&&o.createElement("span",{className:r.addons},f)):o.createElement("span",{className:a(r.text,r[E])},g))}));export{l as Link};
|
package/dist/link/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Link}from"./component.js";import"
|
|
1
|
+
export{Link}from"./component.js";import"tslib";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import e from"classnames";import{Typography as o}from"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
import t from"react";import e from"classnames";import{Typography as o}from"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";var n={component:"index-module_component__1zepl",accent:"index-module_accent__37BTV",attention:"index-module_attention__zzR-C",negative:"index-module_negative__SXrwC"},i=function(i){var m=i.className,a=i.dataTestId,r=i.view,p=void 0===r?"accent":r,c=i.text;return t.createElement("div",{className:e(n.component,m,n[p]),"data-test-id":a},t.createElement(o.Text,{view:"title",color:"primary",weight:"medium"},c))};export{i as ListAllert};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ListAllert}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{ListAllert}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as e,__assign as o}from"tslib";import r,{useRef as n,useState as t,useCallback as a,useEffect as u}from"react";import l from"react-merge-refs";import m from"classnames";import{createTextMaskInputElement as i}from"text-mask-core";import{Input as s}from"../input/component.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";var c="index-module_textHidden__dIPJL",p=" ",f=r.forwardRef((function(p,f){var d,v=p.mask,C=p.value,h=p.defaultValue,g=p.className,k=p.onBeforeDisplay,j=p.onChange,x=p.onClear,V=e(p,["mask","value","defaultValue","className","onBeforeDisplay","onChange","onClear"]),w=n(null),N=n(null),P=t(C||h||""),_=P[0],b=P[1],y=t(!0),B=y[0],D=y[1],E=a((function(e){void 0===e&&(e=""),N.current&&w.current&&(N.current.update(e),b(w.current.value))}),[]),F=a((function(e){E(e.target.value),j&&j(e,{value:e.target.value})}),[j,E]),H=a((function(e){E(""),x&&x(e)}),[x,E]);return u((function(){w.current&&(N.current=i({mask:v,inputElement:w.current,pipe:k,guide:!1,keepCharPositions:!1,showMask:!1,placeholderChar:" ",rawValue:"",currentCaretPosition:0,previousConformedValue:""}))}),[k,v]),u((function(){E(C||h)}),[C,E,h]),u((function(){D(!1)}),[]),r.createElement(s,o({},V,{className:m(g,(d={},d[c]=B,d)),value:_,onChange:F,onClear:H,ref:l([f,w])}))}));export{f as MaskedInput,p as PLACEHOLDER_CHAR};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{MaskedInput,PLACEHOLDER_CHAR}from"./component.js";import"
|
|
1
|
+
export{MaskedInput,PLACEHOLDER_CHAR}from"./component.js";import"tslib";import"react";import"react-merge-refs";import"classnames";import"text-mask-core";import"../input/component.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";
|
package/dist/menu/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"react";import e from"classnames";import{useMenu as o}from"./hooks/use-menu.js";import{ContentHeader as n}from"./components/content-header/index.js";import{MenuAvatar as i}from"./components/menu-avatar/index.js";import{MenuBackButton as r}from"./components/menu-back-button/index.js";import{MenuButtonsList as s}from"./components/menu-buttons-list/index.js";import{UserButton as m}from"./components/user-button/index.js";import"@alphakits/icons/dist/MoverS";import"../icon-button/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"@alphakits/icons/dist/NextS";import"../divider/component.js";import"./components/menu-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";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";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"@alphakits/icons/dist/ClockCircleM";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"intersection-observer";var p="index-module_layout_wrapper__amEhE",c="index-module_left_menu__N5dgM",a="index-module_menu_static__FNEjo",l="index-module_hidden_menu_opened__X0hFE",u="index-module_content_header__WlsJj",d="index-module_content_wrapper__6MsO6",j="index-module_content_offseted__wo5Xl",_="index-module_calendar_view__PeL0k",h=function(h){var f,k,x=h.pathname,g=h.children,v=h.routes,b=h.showBackButton,E=h.userName,w=h.userImage,y=h.userDialogOptions,C=h.profileTitle,M=h.profileImage,N=h.Link,S=h.profileOnClick,L=h.navigate,P=h.t,T=o(),F=T.staticMenu,I=T.setStaticMenu,O=T.showMenu,B=T.ref,D=F||O,W="/"+x.split("/").slice(-1)[0],X=e(c,((f={})[a]=F,f[l]=O,f)),z=e(d,((k={})[j]=F,k[_]=x.startsWith("/app/calendar"),k));return t.createElement("div",{className:e(p)},t.createElement("div",{ref:B,className:X},t.createElement(i,{title:C,showTitle:D,image:M,onClick:S}),b&&t.createElement(r,{showTitle:D,onClick:function(){return L("/app/calendar")}}),t.createElement(s,{routes:v,showLabels:D,currentPath:W,Link:N,t:P})),t.createElement("div",{className:z},t.createElement("div",{className:u},t.createElement(n,{onClick:function(){return I(!F)},title:P("menu."+W)}),t.createElement(m,{photo:w,fullName:E,options:y})),g))};export{h as Menu};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"react";import o from"@alphakits/icons/dist/MoverS";import{IconButton as e}from"../../../icon-button/component.js";import{Typography as r}from"../../../typography/component.js";import"tslib";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var i="index-module_open_button__a4IKw",m=function(m){var n=m.onClick,p=m.title;return t.createElement("div",null,t.createElement(e,{size:"m",icon:o,onClick:n,className:i}),t.createElement(r.Title,{tag:"div",view:"xsmall",weight:"regular"},p))};export{m as ContentHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ContentHeader}from"./content-header/index.js";export{MenuAvatar}from"./menu-avatar/index.js";export{MenuBackButton}from"./menu-back-button/index.js";export{MenuButtonsList}from"./menu-buttons-list/index.js";export{UserButton}from"./user-button/index.js";import"react";import"
|
|
1
|
+
export{ContentHeader}from"./content-header/index.js";export{MenuAvatar}from"./menu-avatar/index.js";export{MenuBackButton}from"./menu-back-button/index.js";export{MenuButtonsList}from"./menu-buttons-list/index.js";export{UserButton}from"./user-button/index.js";import"react";import"@alphakits/icons/dist/MoverS";import"../../icon-button/component.js";import"tslib";import"classnames";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-018cba31.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../avatar/component.js";import"../../image/component.js";import"../../skeleton/component.js";import"../../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../../spinner/component.js";import"../../image/types.js";import"../../image/utils.js";import"@alphakits/icons/dist/NextS";import"../../divider/component.js";import"./menu-button/index.js";import"../../select/component.js";import"../../select/components/arrow/component.js";import"../../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../../__internal/utils/getDataTestId.js";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";import"../../select/utils.js";import"../../select/components/native-select/component.js";import"../../select/components/field/component.js";import"../../form-control/component.js";import"../../select/components/optgroup/component.js";import"../../select/components/option/component.js";import"../../select/components/checkmark/component.js";import"../../select/components/options-list/component.js";import"@alphakits/icons/dist/ClockCircleM";import"react-virtual";import"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"../../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../../toast-notifier/use-timer.js";import"intersection-observer";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"react";import o from"classnames";import{Avatar as e}from"../../../avatar/component.js";import{Typography as m}from"../../../typography/component.js";import"../../../button/component.js";import"tslib";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../../../spinner/component.js";import"../../../image/types.js";import"../../../image/utils.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var i="index-module_menu_header__CELkb",r="index-module_text__RyE4x",p="index-module_hidden_text__94pZC",n=function(n){var s,a=n.showTitle,c=n.title,l=n.image,d=n.onClick;return t.createElement("div",{className:i},t.createElement(e,{onClick:function(){d&&d()},src:l,text:c}),t.createElement(m.Text,{className:o(r,(s={},s[p]=!a,s)),view:"primary-medium",weight:"bold"},c))};export{n as MenuAvatar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import t from"@alphakits/icons/dist/NextS";import{Divider as n}from"../../../divider/component.js";import"classnames";var a="index-module_back_btn_wrapper__hkZkN",r="index-module_back_btn__Ak25Q",o=function(o){var m=o.showTitle,l=o.onClick;return e.createElement("div",{className:a},e.createElement("button",{onClick:l,type:"button",className:r},e.createElement("span",null,e.createElement(t,null)),m&&"Go back"),e.createElement(n,{size:"m"}))};export{o as MenuBackButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Typography as o}from"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import e from"react";import t from"classnames";import{Typography as o}from"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"tslib";import"../../../typography/title/component.js";var m="index-module_menu_button__I-v-u",i="index-module_text__L8D-Q",r="index-module_active__1v-Nx",n="index-module_leftAddons__eaiZB",d="index-module_rightAddons__RCmVm",a="index-module_isHidden__MDpf0",l=function(l){var s,c=l.href,p=l.children,_=l.active,u=l.leftAddons,x=l.rightAddons,h=l.showLabels,v=l.Link;return e.createElement(v,{className:t(m,(s={},s[r]=_,s[a]=!h,s)),to:c},u&&e.createElement("div",{className:n},u),e.createElement(o.Text,{view:"title",weight:"medium",color:"secondary",className:i},p),x&&e.createElement("div",{className:d},x))};export{l as MenuButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import{MenuButton as e}from"../menu-button/index.js";import"classnames";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import t from"react";import{MenuButton as e}from"../menu-button/index.js";import"classnames";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"tslib";import"../../../typography/title/component.js";var o="index-module_component__HYQZU",r=function(r){var n=r.routes,p=r.showLabels,i=r.currentPath,m=r.t,a=r.Link;return t.createElement("div",{className:o},!!n.length&&n.map((function(o){var r="/"+o.path.split("/").slice(-1)[0];return t.createElement(e,{showLabels:p,leftAddons:o.icon,active:r===i,key:o.path,href:o.path,Link:a},m("menu."+r))})))};export{r as MenuButtonsList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as o}from"tslib";import t from"react";import{Avatar as e}from"../../../avatar/component.js";import{Button as r}from"../../../button/component.js";import{Select as i}from"../../../select/component.js";import"classnames";import"../../../select/components/base-select/component.js";import"../../../form-control/component.js";import"../../../select/components/options-list/component.js";import"react-virtual";import"../../../utils/get-service-error/index.js";import"../../../toast-notifier/component.js";import"intersection-observer";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../../../spinner/component.js";import"../../../image/types.js";import"../../../image/utils.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../select/components/arrow/component.js";import"../../../select/components/field/component.js";import"../../../select/utils.js";import"../../../select/components/optgroup/component.js";import"../../../select/components/option/component.js";import"../../../select/components/checkmark/component.js";import"downshift";import"resize-observer";import"../../../__internal/utils/getDataTestId.js";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";import"../../../select/components/native-select/component.js";import"@alphakits/icons/dist/ClockCircleM";import"../../../utils/get-service-error/is-axios-error.js";import"../../../utils/get-service-error/is-network-error.js";import"../../../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../../../toast-notifier/use-timer.js";var s="index-module_option_wrap__H32lk",p="index-module_field_avatar__qjMv6",n=t.memo((function(n){var m=n.options,c=n.fullName,a=n.photo;return t.createElement("div",{className:p},t.createElement(i,{options:m,optionsListWidth:"content",block:!1,popoverPosition:"bottom-end",selected:[],closeOnSelect:!0,optionClassName:s,Field:function(i){var s=i.innerProps;return t.createElement(r,o({},s,{view:"ghost"}),t.createElement(e,{onClick:m.length?function(){}:void 0,src:a,text:c}))}}))}));export{n as UserButton};
|
package/dist/menu/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Menu}from"./component.js";import"react";import"classnames";import"./hooks/use-menu.js";import"./components/content-header/index.js";import"
|
|
1
|
+
export{Menu}from"./component.js";import"react";import"classnames";import"./hooks/use-menu.js";import"./components/content-header/index.js";import"@alphakits/icons/dist/MoverS";import"../icon-button/component.js";import"tslib";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";import"./components/menu-avatar/index.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"./components/menu-back-button/index.js";import"@alphakits/icons/dist/NextS";import"../divider/component.js";import"./components/menu-buttons-list/index.js";import"./components/menu-button/index.js";import"./components/user-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";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";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"@alphakits/icons/dist/ClockCircleM";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"intersection-observer";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{useState as t}from"react";import{Button as i}from"../button/component.js";import{Flex as
|
|
1
|
+
import e,{useState as t}from"react";import{Button as i}from"../button/component.js";import{Flex as o}from"../flex/component.js";import{Image as r}from"../image/component.js";import{ImageGallery as m}from"../image-gallery/component.js";import{Padding as s}from"../padding/component.js";import{Typography as a}from"../typography/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"../swiper-slide-e28d96e8.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../slide-09dbbb1c.js";var n="index-module_topRow__IFW6P",l="index-module_answer__tTLUV",p="index-module_leftSide__vZvXK",c="index-module_title__9s63W",d="index-module_rightAddons__fhvSp",g="index-module_text__U4-9Q",u=function(u){var j=u.className,x=u.dataTestId,h=u.title,v=u.date,y=u.rightAddons,f=u.answer,w=u.text,_=u.image,E=u.photos,k=void 0===E?[]:E,b=u.withImage,C=void 0===b||b,N=t(!1),S=N[0],T=N[1],M=t(0),A=M[0],F=M[1];return e.createElement("div",{"data-test-id":x,className:j},e.createElement("div",{className:n},e.createElement("div",{className:p},C&&e.createElement(r,{src:_,size:"s",text:h,view:"circle"}),e.createElement(a.Text,{className:c,view:"title",weight:"bold"},h),v&&e.createElement(a.Text,{view:"title",color:"secondary",weight:"regular"},v)),y&&e.createElement("div",{className:d},y)),e.createElement("div",{className:g},e.createElement(a.Text,{view:"primary-medium",color:"primary",weight:"medium"},w),!!f&&e.createElement(a.Text,{className:l,view:"primary-small",color:"secondary",weight:"medium"},f),!!k.length&&e.createElement(e.Fragment,null,e.createElement(s,{padding:"8px 0"}),e.createElement(o,{justify:"start",gap:"md"},k.map((function(t,o){return e.createElement(i,{view:"ghost",onClick:function(){F(o),T(!0)}},e.createElement(r,{src:t,size:"xl",view:"default"}))}))),e.createElement(m,{initialSlide:A,onClose:function(){return T(!1)},open:S,images:k.map((function(e){return{src:e,previewSrc:e}}))}))))};export{u as Message};
|
package/dist/message/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Message}from"./component.js";import"react";import"../button/component.js";import"
|
|
1
|
+
export{Message}from"./component.js";import"react";import"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../use-image-render-component-0fcef252.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../image-gallery/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"../swiper-slide-e28d96e8.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../slide-09dbbb1c.js";import"../padding/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"react";import{Modal as r}from"./modal.js";import"
|
|
1
|
+
import o from"react";import{Modal as r}from"./modal.js";import"tslib";import"classnames";import"../../../button-arrow/component.js";import"@alphakits/icons";var t=function(t){var a=t.modals,e=t.dirtyModals,l=t.closeModal,n=t.currentModalId;return o.createElement(o.Fragment,null,a.map((function(t,a){return o.createElement(r,{key:t.id,t:t.props.t,index:a,modal:t,dirtyModals:e,closeModal:l,currentModalId:n})})))};export{t as Modals};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as e}from"tslib";import n,{useState as o,useLayoutEffect as t,useCallback as i,useEffect as r}from"react";import l from"classnames";import{ButtonArrow as d}from"../../../button-arrow/component.js";import"@alphakits/icons";var a="index-module_container__WE0Kf",c="index-module_content__p1kcf",s="index-module_button__js2WJ",m="index-module_doubleModal__1ZTtQ",u="index-module_inner__Zsdb4",p="index-module_right__e065r",f="index-module_bg__8ZfP-",_={s:488,m:888,full:"96%"},w=function(w){var b,v=w.modal,x=w.t,k=w.index,E=w.dirtyModals,y=w.closeModal,z=w.currentModalId,C=-_[v.props.size]-102,N=o(C),g=N[0],h=N[1];t((function(){setTimeout((function(){return h(0)}),0)}),[]);var M=i((function(e){return!E[e]||confirm(x("common:exitConfirm"))}),[E]),I=i((function(e){var n=v.id;M(e||n)&&(h(C),setTimeout((function(){v.props.closeCallback&&v.props.closeCallback(),y(e||n)}),250))}),[y,M,v,C]);return r((function(){var e=function(e){"27"!==e.key&&"Escape"!==e.key||I(z)};return v.id===z&&(null===window||void 0===window||window.addEventListener("keydown",e)),function(){null===window||void 0===window||window.removeEventListener("keydown",e)}}),[I,z,v.id]),n.createElement(n.Fragment,null,n.createElement("div",{className:a,style:{zIndex:99998+k}},n.createElement("div",{className:l(p,c),style:{zIndex:99999+k,width:_[v.props.size],right:g}},n.createElement("div",{className:u},n.createElement(v.modal,e({},v.props,{close:function(){return I()}})),n.createElement(d,{className:l(s,(b={},b[m]=v.props.isDouble,b)),size:"s",type:"close",onClick:function(){return I()}}))),n.createElement("button",{className:f,"aria-label":"close_backdrop",type:"button",onClick:function(){return I()}})))};export{w as Modal};
|
package/dist/modal/context.d.ts
CHANGED
package/dist/modal/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import o
|
|
1
|
+
import o from"react";import{Portal as t}from"../portal/component.js";import{Modals as r}from"./components/modals/index.js";import{useModal as e}from"./hooks/use-modal.js";import"react-dom";import"../portal/utils.js";import"./components/modals/modal.js";import"tslib";import"classnames";import"../button-arrow/component.js";import"@alphakits/icons";import"uuid";import"./utils/delete-property-by-id.js";var a=o.createContext({modals:[],currentModalId:"",openModal:function(){return function(){}},setModalDirty:function(){}}),l=function(l){var n=l.children,d=l.t,i=l.portal,m=e(d),s=m.modals,p=m.openModal,c=m.setModalDirty,u=m.currentModalId,M=m.dirtyModals,f=m.closeModal;return o.createElement(a.Provider,{value:{modals:s,openModal:p,setModalDirty:c,currentModalId:u}},o.createElement(t,{getPortalContainer:i?function(){return i}:void 0},o.createElement(r,{modals:s,dirtyModals:M,closeModal:f,openModal:p,setModalDirty:c,currentModalId:u})),n)};export{a as ModalContext,l as ModalProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__spreadArray as t,__assign as o}from"tslib";import n,{useEffect as r}from"react";import{v4 as e}from"uuid";import{deletePropertyById as i}from"../utils/delete-property-by-id.js";var u=function(u){var d=n.useState([]),l=d[0],c=d[1],f=n.useState(""),a=f[0],s=f[1],p=n.useState({}),m=p[0],v=p[1];r((function(){var o,n=null===(o=t([],l).pop())||void 0===o?void 0:o.id;s(n||""),document.body.style.overflow=l.length?"hidden":"unset"}),[l]);return{openModal:function(n,r,i){void 0===r&&(r="s");return function(d,l){!function(o){c((function(n){return t(t([],n),[o])}))}(function(t,d){return{id:e(),modal:n,props:o({size:r,isDouble:i,closeCallback:d,t:u},t)}}(d,l))}},modals:l,setModalDirty:function(t,n){v((function(r){var e;return o(o({},r),((e={})[t]=n,e))}))},currentModalId:a,dirtyModals:m,closeModal:function(t){v((function(o){return i(o,t)})),c((function(o){return o.filter((function(o){return o.id!==t}))}))}}};export{u as useModal};
|
package/dist/modal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ModalContext,ModalProvider}from"./context.js";import"react";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"./components/modals/index.js";import"./components/modals/modal.js";import"
|
|
1
|
+
export{ModalContext,ModalProvider}from"./context.js";import"react";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"./components/modals/index.js";import"./components/modals/modal.js";import"tslib";import"classnames";import"../button-arrow/component.js";import"@alphakits/icons";import"./hooks/use-modal.js";import"uuid";import"./utils/delete-property-by-id.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as r}from"tslib";var t=function(t,e){var o=r({},t);return delete o[e],o};export{t as deletePropertyById};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as o,__assign as e}from"tslib";import t,{forwardRef as n,useRef as i,useState as s,useCallback as r,useEffect as l}from"react";import a from"react-merge-refs";import{useSwipeable as c,LEFT as u,RIGHT as m,UP as p}from"react-swipeable";import d from"classnames";import{Portal as f}from"../portal/component.js";import{ToastPlate as C}from"../toast-plate/component.js";import{useClickOutside as v}from"./utils/index.js";import"react-dom";import"../portal/utils.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";var k="index-module_notificationComponent__khhkj",h="index-module_isVisible__snkQ9",_="index-module_isClosing__wPaVu",M="index-module_toastContent__gDwuN",j="."+k,w=n((function(n,w){var x,b=n.className,y=n.children,E=n.visible,T=n.offset,N=void 0===T?108:T,g=n.hasCloser,D=void 0===g||g,L=n.autoCloseDelay,O=void 0===L?5e3:L,P=n.onClose,S=n.onCloseTimeout,V=n.onMouseEnter,A=n.onMouseLeave,F=n.onClickOutside,Q=n.style,q=o(n,["className","children","visible","offset","hasCloser","autoCloseDelay","onClose","onCloseTimeout","onMouseEnter","onMouseLeave","onClickOutside","style"]),z=i(null),B=i(0),G=i(0),H=s(!1),I=H[0],J=H[1],K=r((function(){B.current=window.setTimeout((function(){S&&S()}),O)}),[O,S]),R=r((function(){clearTimeout(B.current)}),[]);l((function(){return function(){clearTimeout(G.current)}}),[]),l((function(){return E&&K(),function(){R()}}),[K,R,E]);var U=r((function(o){R(),V&&V(o)}),[V,R]),W=r((function(o){R(),K(),A&&A(o)}),[A,K,R]),X=r((function(o){var e=!!o.target.closest(j);F&&E&&!e&&F(o)}),[F,E]);v(z,X);var Y=c({onSwiped:function(o){var e=o.dir;P&&[u,m,p].includes(e)&&(J(!0),G.current=window.setTimeout((function(){J(!1),P()}),100))},delta:100,trackMouse:!0});return t.createElement(f,null,t.createElement("div",e({},Y),t.createElement(C,e({className:d(k,(x={},x[h]=E,x[_]=I,x),b),contentClassName:M,style:e({top:N},Q),onMouseEnter:U,onMouseLeave:W,ref:a([w,z]),role:E?"alert":void 0,hasCloser:D,onClose:P},q),y)))}));w.defaultProps={autoCloseDelay:5e3,offset:108};export{w as Notification};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Notification}from"./component.js";import"
|
|
1
|
+
export{Notification}from"./component.js";import"tslib";import"react";import"react-merge-refs";import"react-swipeable";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./utils/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__rest as t,__assign as o}from"tslib";import e from"react";import{Button as r}from"../button/component.js";import{FlexColumns as m}from"../flex-columns/component.js";import{Grid as n}from"../grid/component.js";import{Typography as i}from"../typography/component.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../grid/col/component.js";import"../grid/utils/index.js";import"../gutters.module-bc5bb452.js";import"../grid/row/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";var p=function(p){var s=p.children,c=p.buttons;return e.createElement(n.Row,null,e.createElement(n.Col,{width:7},e.createElement(m,{columns:1,gr:32},s)),e.createElement(n.Col,{width:4,offset:1},e.createElement(m,{columns:1,gr:16},c.map((function(m){var n=m.text,p=t(m,["text"]);return e.createElement(r,o({view:"ghost"},p),e.createElement(i.Title,{tag:"div",view:"xxsmall",color:"primary",weight:"regular"},n))})))))};export{p as PageWithControls};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{PageWithControls}from"./component.js";import"
|
|
1
|
+
export{PageWithControls}from"./component.js";import"tslib";import"react";import"../button/component.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex-columns/component.js";import"../grid/component.js";import"../grid/col/component.js";import"../grid/utils/index.js";import"../gutters.module-bc5bb452.js";import"../grid/row/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-018cba31.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{LabeledButton}from"./labeled-button/index.js";import"react";import"classnames";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-
|
|
1
|
+
export{LabeledButton}from"./labeled-button/index.js";import"react";import"classnames";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-018cba31.js";import"../../typography/title/index.js";import"tslib";import"../../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{forwardRef as e}from"react";import o from"classnames";import{Typography as r}from"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import t,{forwardRef as e}from"react";import o from"classnames";import{Typography as r}from"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-018cba31.js";import"../../../typography/title/index.js";import"tslib";import"../../../typography/title/component.js";var i="index-module_wrapper__Y-b0g",m=e((function(e,m){var p=e.label,a=e.value,l=e.id,n=e.className,c=e.onClick;return t.createElement("button",{className:o(i,n),ref:m,id:l,type:"button",onClick:c},t.createElement(r.Text,{view:"caps",weight:"medium",color:"tertiary"},p),t.createElement(r.Text,{view:"title",weight:"medium",color:"primary"},a))}));export{m as LabeledButton};
|