@alphakits/ui 1.28.2 → 1.28.3
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/WifiS-0282e582.js +1 -0
- 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/arrow/component.d.ts +11 -0
- package/dist/arrow/component.js +1 -0
- package/dist/arrow/index.d.ts +1 -0
- package/dist/arrow/index.js +1 -0
- 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 -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-cdf3a9e5.js → capitalize-f8bb79f7.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/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/{component-d2798abb.js → component-e5a4c6c4.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/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/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/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.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-20ff8ee8.js → index-4556f4df.js} +1 -1
- package/dist/{index-d7def49f.js → index-456d79e5.js} +1 -1
- package/dist/index-463df2da.js +1 -0
- package/dist/index-56ce4174.js +1 -0
- package/dist/index-84f184c7.js +1 -0
- package/dist/index-8aa0fea7.js +1 -0
- package/dist/{index-d0b04dc1.js → index-8f665160.js} +1 -1
- package/dist/{index-164c2525.js → index-8f7a5ca7.js} +1 -1
- package/dist/{index-2b7dee1f.js → index-ae15a0be.js} +1 -1
- package/dist/{index-4b6ad620.js → index-ae4d9938.js} +1 -1
- package/dist/{index-d7d4e2f1.js → index-c2eb1564.js} +1 -1
- package/dist/index-c9ab9c54.js +1 -0
- package/dist/{index-850286f9.js → index-d1b63e8c.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.ts +1 -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-596392bd.js → isSymbol-1a3d2667.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/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/{parse-query-params-185ea714.js → parse-query-params-b5c6ae3e.js} +1 -1
- package/dist/picker-button/common/index.js +1 -1
- package/dist/picker-button/common/labeled-button/index.js +1 -1
- package/dist/picker-button/component.js +1 -1
- package/dist/picker-button/field/Component.js +1 -1
- package/dist/picker-button/field/index.js +1 -1
- package/dist/picker-button/index.js +1 -1
- package/dist/popover/component.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/progress-bar/component.js +1 -1
- package/dist/progress-bar/index.js +1 -1
- package/dist/progress-index/component.js +1 -1
- package/dist/progress-index/index.js +1 -1
- package/dist/radio/component.js +1 -1
- package/dist/radio/index.js +1 -1
- package/dist/radio-group/component.js +1 -1
- package/dist/radio-group/index.js +1 -1
- package/dist/radio-groups/component.js +1 -1
- package/dist/radio-groups/index.js +1 -1
- package/dist/select/component.js +1 -1
- package/dist/select/components/base-select/component.js +1 -1
- package/dist/select/components/base-select/index.js +1 -1
- package/dist/select/components/field/component.js +1 -1
- package/dist/select/components/field/index.js +1 -1
- package/dist/select/components/index.js +1 -1
- package/dist/select/components/native-select/component.js +1 -1
- package/dist/select/components/native-select/index.js +1 -1
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/option/index.js +1 -1
- package/dist/select/components/options-list/component.js +1 -1
- package/dist/select/components/options-list/index.js +1 -1
- package/dist/select/components/virtual-options-list/component.js +1 -1
- package/dist/select/components/virtual-options-list/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select/presets/index.js +1 -1
- package/dist/select/presets/use-lazy-loading/index.js +1 -1
- package/dist/select/presets/use-select-with-loading/hook.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/space/Item.js +1 -1
- package/dist/space/component.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/stepped-progress-bar/index.js +1 -1
- package/dist/stepped-progress-bar/step-bar.js +1 -1
- package/dist/suffix-input/component.js +1 -1
- package/dist/suffix-input/index.js +1 -1
- package/dist/super-list-header/component.js +1 -1
- package/dist/super-list-header/index.js +1 -1
- package/dist/super-list-item/component.js +1 -1
- package/dist/super-list-item/index.js +1 -1
- package/dist/switch/component.js +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/columns.js +1 -1
- package/dist/table/component.js +1 -1
- package/dist/table/components/cell/component.js +1 -1
- package/dist/table/components/cell/index.js +1 -1
- package/dist/table/components/cells/index.js +1 -1
- package/dist/table/components/empty-list/index.js +1 -1
- package/dist/table/components/error/index.js +1 -1
- package/dist/table/components/loading/index.js +1 -1
- package/dist/table/components/pagination/index.js +1 -1
- package/dist/table/components/table-header/index.js +1 -1
- package/dist/table/hooks/use-table-data.js +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/utils/add-query-param.js +1 -1
- package/dist/table/utils/get-query-from-url.js +1 -1
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/table/utils/parse-query-params.js +1 -1
- package/dist/table/utils/prepare-rows.js +1 -1
- package/dist/table/utils/query-adapter.js +1 -1
- package/dist/table/utils/remove-query-param.js +1 -1
- package/dist/table/utils/reset-query-param.js +1 -1
- package/dist/table-status/component.js +1 -1
- package/dist/table-status/index.js +1 -1
- package/dist/tag/component.js +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/tags-list/component.js +1 -1
- package/dist/tags-list/index.js +1 -1
- package/dist/textarea/component.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/theme-provider/default-themes.d.ts +1 -1
- package/dist/theme-provider/default-themes.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/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-0562c1cf.js +0 -1
- package/dist/index-1607b804.js +0 -1
- package/dist/index-23d710ff.js +0 -1
- package/dist/index-36bf0a86.js +0 -1
- package/dist/index-cdf61f42.js +0 -1
- /package/dist/{ActionCopyM-ae1f700d.js → ActionCopyM-8d687dd5.js} +0 -0
- /package/dist/{CancelM-2f13e8f4.js → CancelM-1f93d388.js} +0 -0
- /package/dist/{CheckmarkCircleM-7f7a7e62.js → CheckmarkCircleM-3da196cb.js} +0 -0
- /package/dist/{ChevronBackM-08f163be.js → ChevronBackM-028773ac.js} +0 -0
- /package/dist/{ChevronBackS-f3743e55.js → ChevronBackS-15f88336.js} +0 -0
- /package/dist/{ChevronDownS-7243dfa9.js → ChevronDownS-08e1b8a4.js} +0 -0
- /package/dist/{ChevronForwardM-0e368559.js → ChevronForwardM-c51f2052.js} +0 -0
- /package/dist/{ChevronForwardS-266086c3.js → ChevronForwardS-7eb44c56.js} +0 -0
- /package/dist/{ClockCircleM-66238929.js → ClockCircleM-f6a62a84.js} +0 -0
- /package/dist/{CloseM-104d41ca.js → CloseM-9f0312eb.js} +0 -0
- /package/dist/{CloseS-4ab7bf9d.js → CloseS-cc43983c.js} +0 -0
- /package/dist/{ControllerS-a7d3f63f.js → ControllerS-59b4200c.js} +0 -0
- /package/dist/{EditS-a952bcb4.js → EditS-9c9f5c26.js} +0 -0
- /package/dist/{MinusM-fd22d1b7.js → MinusM-11b0c225.js} +0 -0
- /package/dist/{MoverS-f3031793.js → MoverS-ec8a0b39.js} +0 -0
- /package/dist/{NextS-29781f8d.js → NextS-1c57e38a.js} +0 -0
- /package/dist/{PlusS-4660a180.js → PlusS-7b05d7e7.js} +0 -0
- /package/dist/{SearchM-9345f25c.js → SearchM-98022fef.js} +0 -0
- /package/dist/{TrashM-49a01916.js → TrashM-7bdc5928.js} +0 -0
- /package/dist/{YoutubeM-3fba801c.js → YoutubeM-c2c19866.js} +0 -0
- /package/dist/{_commonjsHelpers-efe6e8b3.js → _commonjsHelpers-dcbaeef0.js} +0 -0
- /package/dist/{colors.module-dc125670.js → colors.module-fb18c2e8.js} +0 -0
- /package/dist/{component-e5719116.d.ts → component-b2780668.d.ts} +0 -0
- /package/dist/{component-e5719116.js → component-b2780668.js} +0 -0
- /package/dist/{component-d2798abb.d.ts → component-e5a4c6c4.d.ts} +0 -0
- /package/dist/{contact-block-d831205e.d.ts → contact-block-29b295da.d.ts} +0 -0
- /package/dist/{contact-block-d831205e.js → contact-block-29b295da.js} +0 -0
- /package/dist/{gutters.module-504fd2a4.js → gutters.module-828eba71.js} +0 -0
- /package/dist/{index-d7def49f.d.ts → index-456d79e5.d.ts} +0 -0
- /package/dist/{index-d90134f1.js → index-84b4a7ac.js} +0 -0
- /package/dist/{index-8e934b5d.js → index-b3701cc2.js} +0 -0
- /package/dist/{intersection-observer-039d747c.js → intersection-observer-a353a99e.js} +0 -0
- /package/dist/{parse-query-params-185ea714.d.ts → parse-query-params-b5c6ae3e.d.ts} +0 -0
- /package/dist/{slide-9e8c1848.d.ts → slide-9647b94a.d.ts} +0 -0
- /package/dist/{slide-9e8c1848.js → slide-9647b94a.js} +0 -0
- /package/dist/{step-bar-f04f86d3.d.ts → step-bar-87cd6b2e.d.ts} +0 -0
- /package/dist/{step-bar-f04f86d3.js → step-bar-87cd6b2e.js} +0 -0
- /package/dist/{tslib.es6-cfe3b99f.js → tslib.es6-37ebddc5.js} +0 -0
- /package/dist/{use-image-render-component-75741540.d.ts → use-image-render-component-244bbfba.d.ts} +0 -0
- /package/dist/{use-image-render-component-75741540.js → use-image-render-component-244bbfba.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(){return t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var l in t=arguments[r])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},t.apply(this,arguments)};function r(r){return e.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"currentColor",viewBox:"0 0 16 17"},r),e.createElement("path",{fillRule:"evenodd",d:"M6.573 12.977a.83.83 0 0 1-1.166-.102L2.21 9.067a.83.83 0 0 1-.193-.564.83.83 0 0 1 .193-.565L5.407 4.13a.828.828 0 1 1 1.268 1.064L4.572 7.7h8.585a.828.828 0 0 1 0 1.655H4.614l2.06 2.456a.83.83 0 0 1-.101 1.166",clipRule:"evenodd"}))}var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var l in t=arguments[r])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},n.apply(this,arguments)};function l(t){return e.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:26,height:25,fill:"currentColor",viewBox:"0 0 26 25"},t),e.createElement("path",{fillRule:"evenodd",d:"M20.707 8.443a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L13 14.736l6.293-6.293a1 1 0 0 1 1.414 0",clipRule:"evenodd"}))}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var l in t=arguments[r])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},a.apply(this,arguments)};function o(t){return e.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:26,height:25,fill:"currentColor",viewBox:"0 0 26 25"},t),e.createElement("path",{fillRule:"evenodd",d:"M5.293 16.057a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1-1.414 1.414L13 9.764l-6.293 6.293a1 1 0 0 1-1.414 0",clipRule:"evenodd"}))}export{r as B,o as C,l as a};
|
package/dist/amount/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,a as r}from"../tslib.es6-
|
|
1
|
+
import{_ as t,a as r}from"../tslib.es6-37ebddc5.js";import e from"react";import o from"classnames";import{Typography as a}from"../typography/component.js";import{formatAmount as c,AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR as i,THINSP as s}from"../utils/format-amount/util.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../utils/data/currency-codes.js";import"../utils/get-currency-symbol/util.js";import"../utils/split-amount/util.js";var m="index-module_component__B2c28",n="index-module_canceled__q9BBN",p=function(p){var l,u=p.value,y=p.currency,d=p.type,j=void 0===d?"default":d,f=p.showMinorPart,v=p.isCanceled,h=void 0!==v&&v,_=p.className,x=p.currencyOpacity,b=void 0===x||x,g=t(p,["value","currency","type","showMinorPart","isCanceled","className","currencyOpacity"]),P=c({value:u,currency:y,showMinorPart:f,type:j}),N=P.majorPart,w=P.minorPart,B=P.currencySymbol;return e.createElement(a.Text,r({},g,{className:o(m,_,(l={},l[n]=h,l))}),N,w?e.createElement("span",{style:{opacity:b?.6:1}},w&&i,w,!!B&&""+s+B):!!B&&""+s+B)};export{p as Amount};
|
package/dist/amount/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Amount}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Amount}from"./component.js";import"../tslib.es6-37ebddc5.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../utils/format-amount/util.js";import"../utils/data/currency-codes.js";import"../utils/get-currency-symbol/util.js";import"../utils/split-amount/util.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-37ebddc5.js";import n,{forwardRef as o,useState as r,useEffect as a,useCallback as i,Fragment as l}from"react";import s from"classnames";import{Input as u}from"../input/component.js";import{formatAmount as m,THINSP as c}from"../utils/format-amount/util.js";import{withSuffix as d}from"../with-suffix/component.js";import{getAmountValueFromStr as f,getFormattedValue as p}from"./utils/index.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../utils/data/currency-codes.js";import"../utils/get-currency-symbol/util.js";import"../utils/split-amount/util.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";var v={container:"index-module_container__AHkdg",minorPartAndCurrency:"index-module_minorPartAndCurrency__QJKHy",suffixContainer:"index-module_suffixContainer__J46vs",filled:"index-module_filled__GrmG4",input:"index-module_input__Ims09"},C=d(u),g=o((function(o,u){var d,g=o.value,x=void 0===g?null:g,_=o.integerLength,h=void 0===_?9:_,j=o.suffix,y=void 0===j?"RUR":j,N=o.placeholder,E=void 0===N?"":N,b=o.bold,w=void 0===b||b,A=o.type,R=void 0===A?"default":A,S=o.className,q=o.focusedClassName,F=o.required,I=o.dataTestId,P=o.clear,T=void 0!==P&&P,U=o.onChange,k=o.onClear,G=e(o,["value","integerLength","suffix","placeholder","bold","type","className","focusedClassName","required","dataTestId","clear","onChange","onClear"]),H="default"===R?x:(x||0)/100,J=r(m({value:H||0,currency:"RUR",type:"default"}).formatted),L=J[0],$=J[1];a((function(){return f(L,"default"===R)!==x?$(m({value:H,currency:"RUR",type:"default"}).formatted):function(){}}),[H]);var B=i((function(e){$(""),k&&k(e)}),[k]),K=L.split(","),M=K[0],Q=K[1];return n.createElement("div",{className:s(v.container,(d={},d[v.bold]=w,d[v.filled]=Boolean(L),d))},n.createElement(C,t({},G,{suffix:n.createElement(l,null,M,n.createElement("span",{className:v.minorPartAndCurrency},void 0!==Q&&","+Q,c,y)),suffixContainerClassName:v.suffixContainer,clear:T,required:F,placeholder:E,value:L,className:s(v.component,S),focusedClassName:q,inputClassName:v.input,onChange:function(e){var t=e.target,n=t.value.replace(/\s/g,"").replace(".",",");if(RegExp("(^[0-9]{1,"+h+"}(,([0-9]+)?)?$|^\\s*$)").test(n)){var o=p(n,"default"===R);if(o===L){var r=t.selectionStart;window.requestAnimationFrame((function(){t.selectionStart=r,t.selectionEnd=r}))}else{var a=t.value.split(/\.|,/),i=a[0],l=a[1],s=i.length;l&&(s+=1,s+=l.slice(0,2).length);var u=o.length-s,m=t.selectionStart+u;window.requestAnimationFrame((function(){t.selectionStart=m,t.selectionEnd=m}))}$(o);var c="decimal"===R&&o?""+Math.round(100*parseFloat(o.replace(",","."))):o;U&&U(e,{value:f(c,"default"===R),valueString:c})}else{var d=t.selectionStart-1;window.requestAnimationFrame((function(){t.selectionStart=d,t.selectionEnd=d}))}},onClear:B,dataTestId:I,ref:u})))}));export{g as AmountInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{AmountInput}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{AmountInput}from"./component.js";import"../tslib.es6-37ebddc5.js";import"react";import"classnames";import"../input/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../utils/format-amount/util.js";import"../utils/data/currency-codes.js";import"../utils/get-currency-symbol/util.js";import"../utils/split-amount/util.js";import"../with-suffix/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"./utils/index.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BgColors } from "../image/index";
|
|
4
|
+
type Direction = 'forward' | 'back' | 'up' | 'down';
|
|
5
|
+
type ArrowProps = {
|
|
6
|
+
direction: Direction;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
bgColor: BgColors;
|
|
9
|
+
};
|
|
10
|
+
declare const Arrow: React.FC<ArrowProps>;
|
|
11
|
+
export { ArrowProps, Arrow };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"react";import{C as e,a as r}from"../WifiS-0282e582.js";import"../ActionCopyM-8d687dd5.js";import"../CheckmarkCircleM-3da196cb.js";import"../YoutubeM-c2c19866.js";import"../CancelM-1f93d388.js";import"../MinusM-11b0c225.js";import{C as t}from"../ChevronBackM-028773ac.js";import"../ChevronBackS-15f88336.js";import"../ChevronDownS-08e1b8a4.js";import{C as m}from"../ChevronForwardM-c51f2052.js";import"../ChevronForwardS-7eb44c56.js";import"../ClockCircleM-f6a62a84.js";import"../CloseM-9f0312eb.js";import"../CloseS-cc43983c.js";import"../ControllerS-59b4200c.js";import"../EditS-9c9f5c26.js";import"../TrashM-7bdc5928.js";import"../MoverS-ec8a0b39.js";import"../NextS-1c57e38a.js";import"../use-image-render-component-244bbfba.js";import"../PlusS-7b05d7e7.js";import"../SearchM-98022fef.js";import{Button as i}from"../button/component.js";import{Image as s}from"../image/component.js";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"../image/types.js";import"../image/utils.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";var p="index-module_component__Xhghr",c={forward:o.createElement(m,null),back:o.createElement(t,null),up:o.createElement(e,null),down:o.createElement(r,null)},n=function(e){var r=e.direction,t=e.bgColor,m=void 0===t?"secondary":t,n=e.onClick;return o.createElement(i,{onClick:n,view:"ghost"},o.createElement(s,{bgColor:m,size:"s",className:p,icon:c[r],view:"circle"}))};export{n as Arrow};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./component";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Arrow}from"./component.js";import"react";import"../WifiS-0282e582.js";import"../ActionCopyM-8d687dd5.js";import"../CheckmarkCircleM-3da196cb.js";import"../YoutubeM-c2c19866.js";import"../CancelM-1f93d388.js";import"../MinusM-11b0c225.js";import"../ChevronBackM-028773ac.js";import"../ChevronBackS-15f88336.js";import"../ChevronDownS-08e1b8a4.js";import"../ChevronForwardM-c51f2052.js";import"../ChevronForwardS-7eb44c56.js";import"../ClockCircleM-f6a62a84.js";import"../CloseM-9f0312eb.js";import"../CloseS-cc43983c.js";import"../ControllerS-59b4200c.js";import"../EditS-9c9f5c26.js";import"../TrashM-7bdc5928.js";import"../MoverS-ec8a0b39.js";import"../NextS-1c57e38a.js";import"../use-image-render-component-244bbfba.js";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"../image/types.js";import"../image/utils.js";import"../PlusS-7b05d7e7.js";import"../SearchM-98022fef.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../image/component.js";import"../skeleton/component.js";
|
package/dist/avatar/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import o from"classnames";import{Button as t}from"../button/component.js";import{Image as r}from"../image/component.js";import"../tslib.es6-
|
|
1
|
+
import e from"react";import o from"classnames";import{Button as t}from"../button/component.js";import{Image as r}from"../image/component.js";import"../tslib.es6-37ebddc5.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";var s={warpper:"index-module_warpper__snzzI",disabled:"index-module_disabled__gP76-",slot:"index-module_slot__Ndmo9"},m=function(m){var p,i=m.src,n=m.text,a=m.slot,c=m.ref,l=m.onClick;return e.createElement(t,{ref:c,onClick:l,className:o([s.wrapper,(p={},p[s.disabled]=!l,p)]),view:"ghost"},e.createElement(r,{view:"circle",bgColor:"secondary",size:"s",src:i,text:n}),a&&e.createElement("div",{className:s.slot},a))};export{m as Avatar};
|
package/dist/avatar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Avatar}from"./component.js";import"react";import"classnames";import"../button/component.js";import"../tslib.es6-
|
|
1
|
+
export{Avatar}from"./component.js";import"react";import"classnames";import"../button/component.js";import"../tslib.es6-37ebddc5.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import{B as t}from"../WifiS-0282e582.js";import"../ActionCopyM-8d687dd5.js";import"../CheckmarkCircleM-3da196cb.js";import"../YoutubeM-c2c19866.js";import"../CancelM-1f93d388.js";import"../MinusM-11b0c225.js";import"../ChevronBackM-028773ac.js";import"../ChevronBackS-15f88336.js";import"../ChevronDownS-08e1b8a4.js";import"../ChevronForwardM-c51f2052.js";import"../ChevronForwardS-7eb44c56.js";import"../ClockCircleM-f6a62a84.js";import"../CloseM-9f0312eb.js";import"../CloseS-cc43983c.js";import"../ControllerS-59b4200c.js";import"../EditS-9c9f5c26.js";import"../TrashM-7bdc5928.js";import"../MoverS-ec8a0b39.js";import"../NextS-1c57e38a.js";import"../use-image-render-component-244bbfba.js";import"../PlusS-7b05d7e7.js";import"../SearchM-98022fef.js";import{Image as e}from"../image/component.js";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"../image/types.js";import"../image/utils.js";import"../skeleton/component.js";var r="index-module_component__jvHy6",i=function(i){var m=i.onClick,p=i.t;return o.createElement("button",{className:r,type:"button",onClick:m},o.createElement(e,{icon:o.createElement(t,null),view:"circle",size:"s"}),p("common:back"))};export{i as BackButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BackButton}from"./component.js";import"react";import"../ActionCopyM-
|
|
1
|
+
export{BackButton}from"./component.js";import"react";import"../WifiS-0282e582.js";import"../ActionCopyM-8d687dd5.js";import"../CheckmarkCircleM-3da196cb.js";import"../YoutubeM-c2c19866.js";import"../CancelM-1f93d388.js";import"../MinusM-11b0c225.js";import"../ChevronBackM-028773ac.js";import"../ChevronBackS-15f88336.js";import"../ChevronDownS-08e1b8a4.js";import"../ChevronForwardM-c51f2052.js";import"../ChevronForwardS-7eb44c56.js";import"../ClockCircleM-f6a62a84.js";import"../CloseM-9f0312eb.js";import"../CloseS-cc43983c.js";import"../ControllerS-59b4200c.js";import"../EditS-9c9f5c26.js";import"../TrashM-7bdc5928.js";import"../MoverS-ec8a0b39.js";import"../NextS-1c57e38a.js";import"../use-image-render-component-244bbfba.js";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"../image/types.js";import"../image/utils.js";import"../PlusS-7b05d7e7.js";import"../SearchM-98022fef.js";import"../image/component.js";import"../skeleton/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-
|
|
1
|
+
import{a as e}from"../tslib.es6-37ebddc5.js";import t from"react";import o from"classnames";import{Image as m}from"../image/component.js";import{Typography as n}from"../typography/component.js";import"../skeleton/component.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";var i="index-module_component__4rFCR",a="index-module_bottomSpace__Di-8N",d="index-module_footer__kIafr",r="index-module_withBorder__r41KZ",s="index-module_scalable__-ZP65",l="index-module_topLeftAddons__2l75B",c="index-module_topRightAddons__aPgTC",p="index-module_bottomRightAddons__7Thsr",_="index-module_imageWrap__BLuEt",u="index-module_shadow__Cvjla",v="index-module_titleWrap__LxVjO",x="index-module_title__iGzO6",b="index-module_titleAddons__OJJpe",g=function(o){return t.createElement("a",e({},o),o.children)},h=function(o){return t.createElement("button",e({type:"button"},o),o.children)},E=function(e){var E,f=e.className,j=e.onClick,N=e.bottomSpace,y=void 0===N||N,A=e.title,L=e.subtitle,w=e.topLeftAddons,R=e.topRightAddons,T=e.bottomRightAddons,C=e.titleAddons,M=e.photo,k=e.href,B=e.scalable,O=void 0!==B&&B,z=e.border,I=void 0!==z&&z,J=e.dataTestId,P=e.onMouseEnter,S=e.onMouseLeave,W=j?h:g;return t.createElement(W,{href:k,onMouseEnter:P,onMouseLeave:S,"data-test-id":J,className:o(i,(E={},E[r]=I,E[s]=O,E[a]=!y,E),f)},!!M&&t.createElement("div",{className:_},t.createElement(m,{src:M,size:"auto"}),!!w&&t.createElement("div",{className:l},w),!!R&&t.createElement("div",{className:c},R),!y&&t.createElement("div",{className:u})),t.createElement("div",{className:d},t.createElement("div",{className:v},t.createElement(n.Text,{tag:"div",weight:"bold",className:x,view:"component"},A),!!C&&t.createElement("div",{className:b},C)),t.createElement(n.Text,{tag:"div",view:"primary-medium"},L),!!T&&t.createElement("div",{className:p},T)))};export{E as BaseCard};
|
package/dist/base-card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BaseCard}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{BaseCard}from"./component.js";import"../tslib.es6-37ebddc5.js";import"react";import"classnames";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"react";import{c as t,u as n}from"../_commonjsHelpers-
|
|
1
|
+
import e from"react";import{c as t,u as n}from"../_commonjsHelpers-dcbaeef0.js";import{r}from"../index-4556f4df.js";import{C as o}from"../ChevronBackM-028773ac.js";
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BottomSheet}from"./component.js";import"react";import"../_commonjsHelpers-
|
|
1
|
+
export{BottomSheet}from"./component.js";import"react";import"../_commonjsHelpers-dcbaeef0.js";import"../index-4556f4df.js";import"../ChevronBackM-028773ac.js";
|
package/dist/button/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as d}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as d}from"../tslib.es6-37ebddc5.js";import o,{useRef as n}from"react";import l from"react-merge-refs";import a from"classnames";import{useFocus as r}from"../hooks/useFocus/index.js";import{Loader as t}from"../loader/component.js";var i={component:"index-module_component__u-TUk",focused:"index-module_focused__eUuXy",loading:"index-module_loading__hiz4V",text:"index-module_text__r-s7T",addons:"index-module_addons__L1ZvJ",stretchText:"index-module_stretchText__NlLwS",loader:"index-module_loader__uNrku",xs:"index-module_xs__n9Pli",iconOnly:"index-module_iconOnly__-dDPG",s:"index-module_s__lru3T",m:"index-module_m__PgSTc",l:"index-module_l__wmoiI",primary:"index-module_primary__xJlhQ",secondary:"index-module_secondary__hsPYU",outlined:"index-module_outlined__bwbBZ","outlined-inverted":"index-module_outlined-inverted__Cwspj",filled:"index-module_filled__tjqby",transparent:"index-module_transparent__M6ZJW",black:"index-module_black__ah6BZ",link:"index-module_link__hQuMO",ghost:"index-module_ghost__RbRGE",block:"index-module_block__ubbI7",nowrap:"index-module_nowrap__dEJbn"},_=o.forwardRef((function(_,s){var m,c,u=_.children,x=_.view,p=void 0===x?"secondary":x,f=_.leftAddons,b=_.rightAddons,h=_.size,v=void 0===h?"m":h,k=_.block,g=void 0!==k&&k,w=_.className,y=_.dataTestId,E=_.href,N=_.loading,T=void 0!==N&&N,j=_.nowrap,A=void 0!==j&&j,I=e(_,["children","view","leftAddons","rightAddons","size","block","className","dataTestId","href","loading","nowrap"]),J=n(null),O=r(J,"keyboard")[0],P={className:a(i.component,i[p],i[v],(m={},m[i.focused]=O,m[i.block]=g,m[i.iconOnly]=!u,m[i.nowrap]=A,m[i.loading]=T,m),w),"data-test-id":y||null},Z=o.createElement(o.Fragment,null,f&&o.createElement("span",{className:i.addons},f),u&&o.createElement("span",{className:a(i.text,(c={},c[i.stretchText]=!(f||b),c))},u),T&&o.createElement(t,{className:i.loader}),b&&o.createElement("span",{className:i.addons},b));if(E){var z=I.target;return o.createElement("a",d({rel:"_blank"===z?"noreferrer noopener":void 0},P,I,{href:E,ref:l([J,s])}),Z)}var R=I,U=R.disabled,B=e(R,["disabled"]);return o.createElement("button",d({},P,B,{disabled:U||T,ref:l([J,s])}),Z)}));export{_ as Button};
|
package/dist/button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Button}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Button}from"./component.js";import"../tslib.es6-37ebddc5.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-
|
|
1
|
+
import{a as e}from"../tslib.es6-37ebddc5.js";import t,{forwardRef as o,useState as n,useMemo as r,useCallback as i}from"react";import s from"classnames";import{s as a}from"../index-c2eb1564.js";import{locales as m}from"../utils/format-date/index.js";import{DaysTable as c}from"./components/days-table/component.js";import{Header as d}from"./components/header/сomponent.js";import{MonthsTable as p}from"./components/months-table/сomponent.js";import{useCalendar as l}from"./use-calendar.js";import{useDidUpdateEffect as h,monthName as f}from"./utils.js";import"../index-b3701cc2.js";import"../index-ae15a0be.js";import"../index-56ce4174.js";import"../index-ae4d9938.js";import"../index-8f7a5ca7.js";import"../index-84b4a7ac.js";import"react-transition-group";import"../capitalize-f8bb79f7.js";import"../isSymbol-1a3d2667.js";import"../_commonjsHelpers-dcbaeef0.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-8f665160.js";import"../index-8aa0fea7.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../ChevronBackS-15f88336.js";import"./components/select-button/сomponent.js";import"../index-c9ab9c54.js";import"../flex-columns/component.js";import"../index-84f184c7.js";var u="index-module_component__SJQwG",j="index-module_container__3PFvh",v="index-module_sixWeeks__NcW9R",x=m,g=o((function(o,m){var g,w=o.className,b=o.defaultView,M=void 0===b?"days":b,D=o.value,y=o.month,P=o.defaultMonth,C=void 0===P?+new Date:P,N=o.minDate,_=o.maxDate,k=o.selectedFrom,S=o.selectedTo,Y=o.offDays,E=o.events,F=o.onChange,T=o.onMonthChange,A=o.onYearChange,V=o.locale,B=void 0===V?"en":V,R=o.shortNames,W=void 0===R||R,z=o.dataTestId,G=n(M),H=G[0],I=G[1],J=n(!1),L=J[0],Q=J[1],q=x[B],K=r((function(){return D?new Date(D):void 0}),[D]),O=r((function(){return a(K||k||C)}),[]),U=r((function(){return y?new Date(y):void 0}),[y]),X=r((function(){return N?new Date(N):void 0}),[N]),Z=r((function(){return _?new Date(_):void 0}),[_]),$=l({month:U,defaultMonth:O,view:H,minDate:X,maxDate:Z,selected:K,offDays:Y,events:E,onChange:F,onMonthChange:T,onYearChange:A,setView:I}),ee=$.activeMonth,te=$.activeYear,oe=$.weeks,ne=$.months,re=$.canSetPrevMonth,ie=$.canSetNextMonth,se=$.setMonthByDate,ae=$.setPrevMonth,me=$.setNextMonth,ce=$.setNextYear,de=$.setPrevYear,pe=$.highlighted,le=$.getDayProps,he=$.getMonthProps,fe=$.getRootProps,ue=i((function(e){I(H===e?"days":e)}),[H]),je=i((function(){"days"===H?ae():de()}),[ae,H,de]),ve=i((function(){"days"===H?me():ce()}),[me,H,ce]),xe=i((function(){ue("months")}),[ue]);return h((function(){Q(!1)}),[H]),h((function(){var e=D&&a(D);e&&e.getTime()!==ee.getTime()&&se(e)}),[D]),t.createElement("div",e({},fe({ref:m}),{className:s(u,w,(g={},g[v]=6===oe.length,g)),"data-test-id":z}),t.createElement(d,{month:f(ee,q,!1),year:te.getFullYear().toString(),prevArrowVisible:re,nextArrowVisible:ie,onPrevArrowClick:je,onNextArrowClick:ve,onMonthClick:xe,view:H,withShadow:L}),t.createElement("div",{className:j},"days"===H&&t.createElement(c,{locale:q,weeks:oe,activeMonth:ee,selectedFrom:k,selectedTo:S,getDayProps:le,highlighted:pe}),"months"===H&&t.createElement(p,{selectedMonth:ee,selectedLocale:q,shortNames:W,months:ne,getMonthProps:he})))}));export{g as Calendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-37ebddc5.js";import t,{useRef as d,useCallback as a}from"react";import{TransitionGroup as i,CSSTransition as n}from"react-transition-group";import r from"classnames";import{c as o}from"../../../capitalize-f8bb79f7.js";import{Button as s}from"../../../button/component.js";import{b as m,a as l,i as _}from"../../../index-8f665160.js";import{d as c}from"../../../index-56ce4174.js";import{i as u}from"../../../index-8aa0fea7.js";import{s as y}from"../../../index-c2eb1564.js";import{Flex as x}from"../../../flex/component.js";import{usePrevious as f}from"../../../hooks/usePrevious/index.js";import{getSelectionRange as p}from"../../utils.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../index-b3701cc2.js";import"../../../index-ae15a0be.js";import"../../../index-ae4d9938.js";var g={daysTable:"index-module_daysTable__rn902",daysBody:"index-module_daysBody__jxkTG",weekRow:"index-module_weekRow__RtmOy",daysRow:"index-module_daysRow__hDh-2",daysRowDay:"index-module_daysRowDay__B3Q4q",transitLeft:"index-module_transitLeft__bGP2q",transitRight:"index-module_transitRight__cZ-3a",day:"index-module_day__BdXjf",range:"index-module_range__WYxl2",rangeStart:"index-module_rangeStart__N8rLo",rangeEnd:"index-module_rangeEnd__z7AV7",dayName:"index-module_dayName__A3Z6w",event:"index-module_event__BmkeM",today:"index-module_today__FjG9V",highlighted:"index-module_highlighted__fg6kr",muted:"index-module_muted__h4D7T",disabled:"index-module_disabled__CNZL7",selected:"index-module_selected__BvMd5",firstDay:"index-module_firstDay__v7p4d",lastDay:"index-module_lastDay__KdLVO",left:"index-module_left__Hxlkl",daysEnter:"index-module_daysEnter__V89W-",daysEnterActive:"index-module_daysEnterActive__-BRlM",daysExit:"index-module_daysExit__7nlJ4",daysExitActive:"index-module_daysExitActive__i-vHK",right:"index-module_right__6H99E"},v=function(v){var h=v.weeks,E=void 0===h?[]:h,b=v.activeMonth,j=void 0===b?new Date:b,w=v.highlighted,D=v.selectedFrom,k=v.selectedTo,R=v.getDayProps,N=v.locale,A=d(j);A.current=j;var T=f(j),B=T&&(j<T?"right":"left"),L=p(D,k,w),z=Array(7).fill(1).map((function(e,t){var d,a=t+1;return null===(d=null==N?void 0:N.localize)||void 0===d?void 0:d.day(7===a?0:a,{width:"short"})})),H=a((function(){return z.map((function(e){return t.createElement("div",{className:g.dayName,key:e},o(e))}))}),[z]);return t.createElement("div",{className:r(g.daysTable,B&&g[B])},t.createElement("div",{className:g.daysRow},t.createElement(x,null,H())),t.createElement(i,{component:null},t.createElement(n,{key:j.getTime(),timeout:300,classNames:{enter:g.daysEnter,enterActive:g.daysEnterActive,exit:g.daysExit,exitActive:g.daysExitActive}},t.createElement("div",{className:g.daysBody},E.map((function(d,a){return t.createElement(x,{className:g.weekRow,key:a},d.map((function(d,a){return t.createElement("div",{className:g.daysRowDay,key:d?d.date.getTime():a},d&&function(d){var a,i=d.selected||D&&c(d.date,D)||k&&c(d.date,k),n=!i&&L&&m(d.date,L),o=1===d.date.getDate(),x=l(d.date),f=o&&n&&L&&d.date>L.start,p=x&&n&&L&&d.date<L.end,v=L&&c(d.date,L.start),h=L&&c(d.date,L.end),E=R(d);return t.createElement(s,e({},E,{ref:function(e){y(d.date).getTime()===A.current.getTime()&&E.ref(e)},type:"button",view:"ghost",size:"xs",disabled:d.disabled,className:r(g.day,(a={},a[g.selected]=i,a[g.range]=n,a[g.rangeStart]=v,a[g.rangeEnd]=h,a[g.transitLeft]=f,a[g.transitRight]=p,a[g.today]=u(d.date),a[g.firstDay]=o,a[g.lastDay]=x,a[g.event]=d.event,a[g.disabled]=d.disabled,a[g.muted]=d.muted||d.disabled,a[g.highlighted]=w&&_(d.date,w),a))}),d.date.getDate())}(d))})))}))))))};export{v as DaysTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DaysTable}from"./component.js";import"../../../tslib.es6-
|
|
1
|
+
export{DaysTable}from"./component.js";import"../../../tslib.es6-37ebddc5.js";import"react";import"react-transition-group";import"classnames";import"../../../capitalize-f8bb79f7.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../index-8f665160.js";import"../../../index-b3701cc2.js";import"../../../index-56ce4174.js";import"../../../index-ae15a0be.js";import"../../../index-8aa0fea7.js";import"../../../index-c2eb1564.js";import"../../../flex/component.js";import"../../../hooks/usePrevious/index.js";import"../../utils.js";import"../../../index-ae4d9938.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Header}from"./сomponent.js";import"react";import"../../../ChevronBackS-
|
|
1
|
+
export{Header}from"./сomponent.js";import"react";import"../../../ChevronBackS-15f88336.js";import"classnames";import"../../../capitalize-f8bb79f7.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"../../../button/component.js";import"../../../tslib.es6-37ebddc5.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../select-button/сomponent.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{C as o}from"../../../ChevronBackS-
|
|
1
|
+
import e from"react";import{C as o}from"../../../ChevronBackS-15f88336.js";import t from"classnames";import{c as r}from"../../../capitalize-f8bb79f7.js";import{Button as i}from"../../../button/component.js";import{SelectButton as a}from"../select-button/сomponent.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"../../../tslib.es6-37ebddc5.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var m="index-module_header__-VKks",l="index-module_withShadow__m2PIV",s="index-module_disabled__9Dr54",n="index-module_buttonContent__xnYVf",c="index-module_selectors__RA1Pm",d="index-module_arrow__tCsej",p=function(p){var _,b,v=p.month,u=p.year,f=p.view,h=p.withShadow,w=p.prevArrowVisible,x=void 0===w||w,j=p.nextArrowVisible,C=void 0===j||j,k=p.onPrevArrowClick,E=p.onNextArrowClick,N=p.onMonthClick;return e.createElement("div",{className:t(m,(_={},_[l]=h,_)),"aria-live":"polite"},e.createElement(a,{view:"filled",className:t((b={},b[s]="months"===f,b)),onClick:"days"===f?N:void 0},e.createElement("span",{className:n},"days"===f?r(v)+" "+u:""+u)),e.createElement("div",{className:c},e.createElement(i,{view:"ghost",className:d,disabled:!x,onClick:k,"aria-label":"Prev month"},e.createElement(o,null)),e.createElement(i,{view:"ghost",className:d,onClick:E,disabled:!C,"aria-label":"Next month"},e.createElement(o,null))))};export{p as Header};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{MonthsTable}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{MonthsTable}from"./сomponent.js";import"../../../tslib.es6-37ebddc5.js";import"react";import"../../../capitalize-f8bb79f7.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"../../../index-c2eb1564.js";import"../../../index-b3701cc2.js";import"../../../index-ae15a0be.js";import"../../../index-56ce4174.js";import"../../../index-c9ab9c54.js";import"../../../flex-columns/component.js";import"classnames";import"../../utils.js";import"../../../index-ae4d9938.js";import"../select-button/сomponent.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-37ebddc5.js";import o,{useCallback as t}from"react";import{c as s}from"../../../capitalize-f8bb79f7.js";import{i as m}from"../../../index-c2eb1564.js";import{i as r}from"../../../index-c9ab9c54.js";import{FlexColumns as n}from"../../../flex-columns/component.js";import{monthName as i}from"../../utils.js";import{SelectButton as a}from"../select-button/сomponent.js";import"../../../isSymbol-1a3d2667.js";import"../../../_commonjsHelpers-dcbaeef0.js";import"../../../index-b3701cc2.js";import"../../../index-ae15a0be.js";import"../../../index-56ce4174.js";import"classnames";import"../../../index-ae4d9938.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var c="index-module_monthsTable__Eq4Jn",p="index-module_button__XgrJs",d=function(d){var l=d.selectedMonth,u=d.months,f=void 0===u?[]:u,j=d.getMonthProps,b=d.selectedLocale,x=d.shortNames,h=t((function(e){return l&&m(l,e.date)?"selected":r(e.date)?"outlined":"default"}),[l]);return o.createElement(n,{columns:3,gc:0,gr:8,className:c},f.map((function(t){return o.createElement(a,e({},j(t),{key:t.date.getMonth(),className:p,view:h(t)}),s(i(t.date,b,x)))})))};export{d as MonthsTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SelectButton}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{SelectButton}from"./сomponent.js";import"../../../tslib.es6-37ebddc5.js";import"react";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as d}from"../../../tslib.es6-
|
|
1
|
+
import{_ as e,a as d}from"../../../tslib.es6-37ebddc5.js";import o,{forwardRef as i}from"react";import s from"classnames";import{Button as t}from"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var l={button:"index-module_button__baxa-",disabled:"index-module_disabled__KuR4M",filled:"index-module_filled__bjlbk",outlined:"index-module_outlined__uO-jd",selected:"index-module_selected__iwjDb"},a=i((function(i,a){var r,m=i.className,n=i.children,u=i.disabled,b=i.view,c=void 0===b?"default":b,_=e(i,["className","children","disabled","view"]);return o.createElement(t,d({},_,{ref:a,view:"ghost",size:"xs",disabled:u,className:s(l.button,l[c],m,(r={},r[l.disabled]=u,r))}),n)}));export{a as SelectButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{YearsTable}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{YearsTable}from"./сomponent.js";import"../../../tslib.es6-37ebddc5.js";import"react";import"../../../index-463df2da.js";import"../../../index-b3701cc2.js";import"../select-button/сomponent.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-37ebddc5.js";import t,{useRef as r,useCallback as o,useLayoutEffect as n}from"react";import{i as l,a}from"../../../index-463df2da.js";import{SelectButton as s}from"../select-button/сomponent.js";import"../../../index-b3701cc2.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var i="index-module_yearsTable__7bRtn",c="index-module_inner__LF4VE",m="index-module_button__e9zeg",u=function(u){var d=u.selectedYear,p=u.years,f=void 0===p?[]:p,b=u.getYearProps,_=u.onScroll,g=r(null),v=o((function(e){return d&&l(d,e)?"selected":a(e)?"outlined":"default"}),[d]),x=o((function(e){_(e.currentTarget.scrollTop)}),[_]);return n((function(){var e=g.current,t="."+m+'[tabIndex="0"]',r=e&&e.querySelector(t);if(e&&r){var o=e.clientHeight/2-r.clientHeight/2;e.scrollTop=r.offsetTop-o,_(e.scrollTop)}}),[_,d]),t.createElement("div",{className:i,onScroll:x,ref:g},t.createElement("div",{className:c},f.map((function(r){return t.createElement(s,e({},b(r),{key:r.getFullYear(),view:v(r),className:m}),r.getFullYear())}))))};export{u as YearsTable};
|
package/dist/calendar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Calendar}from"./component.js";export{usePeriod}from"./use-period.js";export{useCalendar}from"./use-calendar.js";export{DAYS_IN_WEEK,MONTHS_IN_YEAR,SUNDAY_INDEX,dateInLimits,limitDate,monthName,russianWeekDay}from"./utils.js";import"../tslib.es6-
|
|
1
|
+
export{Calendar}from"./component.js";export{usePeriod}from"./use-period.js";export{useCalendar}from"./use-calendar.js";export{DAYS_IN_WEEK,MONTHS_IN_YEAR,SUNDAY_INDEX,dateInLimits,limitDate,monthName,russianWeekDay}from"./utils.js";import"../tslib.es6-37ebddc5.js";import"react";import"classnames";import"../index-c2eb1564.js";import"../index-b3701cc2.js";import"../index-ae15a0be.js";import"../index-56ce4174.js";import"../utils/format-date/index.js";import"../index-ae4d9938.js";import"../index-8f7a5ca7.js";import"../index-84b4a7ac.js";import"./components/days-table/component.js";import"react-transition-group";import"../capitalize-f8bb79f7.js";import"../isSymbol-1a3d2667.js";import"../_commonjsHelpers-dcbaeef0.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-8f665160.js";import"../index-8aa0fea7.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"./components/header/сomponent.js";import"../ChevronBackS-15f88336.js";import"./components/select-button/сomponent.js";import"./components/months-table/сomponent.js";import"../index-c9ab9c54.js";import"../flex-columns/component.js";import"../index-84f184c7.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as t,useRef as n,useMemo as e,useCallback as r}from"react";import o from"react-merge-refs";import{b as a,d as u}from"../index-
|
|
1
|
+
import{useState as t,useRef as n,useMemo as e,useCallback as r}from"react";import o from"react-merge-refs";import{b as a,d as u}from"../index-56ce4174.js";import{s as i,a as c}from"../index-84f184c7.js";import{s as f,h as d,i as s}from"../index-c2eb1564.js";import{dateArrayToHashTable as h,generateWeeks as v,generateMonths as g,generateYears as m,limitDate as l,simulateTab as w,modifyDateByShift as p,MONTHS_IN_YEAR as D}from"./utils.js";import"../index-ae15a0be.js";import"../index-b3701cc2.js";import"../index-ae4d9938.js";function M(M){var x=M.defaultMonth,A=M.month,b=M.minDate,y=M.view,k=void 0===y?"days":y,P=M.maxDate,T=M.selected,j=M.events,Y=M.offDays,C=M.onMonthChange,I=M.onYearChange,L=M.onChange,R=M.setView,U=t(x),W=U[0],E=U[1],N=t(x),F=N[0],O=N[1],S=t(),B=S[0],H=S[1],K=void 0===A,V=K?W:A,q=K?F:A,z=n([]),G=n(null),J=e((function(){return b&&f(b)}),[b]),Q=e((function(){return P&&f(P)}),[P]),X=e((function(){return b&&d(b)}),[b]),Z=e((function(){return P&&d(P)}),[P]),$=!J||V>J,_=!Q||V<Q,tt=e((function(){return h(j||[])}),[j]),nt=e((function(){return h(Y||[])}),[Y]),et=e((function(){return v(V,{minDate:b,maxDate:P,selected:T,eventsMap:tt,offDaysMap:nt})}),[P,b,T,V,tt,nt]),rt=e((function(){return g(q,{minMonth:J,maxMonth:Q})}),[J,Q,q]),ot=e((function(){return m(b||i(new Date,5),P||new Date)}),[b,P]),at=r((function(t){K&&(E(t),O(t)),C&&C(t.getTime())}),[C,K]),ut=r((function(t){K&&O(t),I&&I(t.getTime())}),[I,K]),it=r((function(t){at(l(a(V,t),J,Q))}),[at,V,J,Q]),ct=r((function(t){ut(l(c(q,t),X,Z))}),[ut,q,X,Z]),ft=r((function(t){at(l(t,J,Q))}),[Q,J,at]),dt=r((function(){it(1)}),[it]),st=r((function(){it(-1)}),[it]),ht=r((function(){ct(1)}),[ct]),vt=r((function(){ct(-1)}),[ct]),gt=r((function(){return z.current.find((function(t){return document.activeElement===t}))}),[]),mt=r((function(){return z.current.find((function(t){return t&&0===t.tabIndex}))}),[]),lt=r((function(t){t&&(w(t),t.focus())}),[]),wt=r((function(){return lt(mt())}),[lt,mt]),pt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date),r=p(t,e,b,P,nt),o=!1;r<e&&r.getMonth()!==e.getMonth()&&(st(),o=!0),r>e&&r.getMonth()!==e.getMonth()&&(dt(),o=!0);var a=function(){return lt(z.current[r.getDate()-1])};o?setTimeout(a,0):a()}else wt()}),[lt,wt,gt,P,b,nt,dt,st]),Dt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date).getMonth()+t;e>=0&&e<D&<(z.current[e])}else wt()}),[lt,wt,gt]),Mt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date).getFullYear()+t,r=(new Date).getFullYear();e<=r&&e>r-ot.length&<(z.current[e])}else wt()}),[lt,wt,gt,ot.length]),xt=r((function(t){var n=t.currentTarget.dataset.date;n&&ft(new Date(+n)),G.current&&G.current.focus()}),[ft]),At=r((function(t,n){z.current[n]=t}),[]),bt=r((function(t){var n=t.currentTarget.dataset.date;H(n?+n:void 0)}),[]),yt=r((function(){H(void 0)}),[]),kt=r((function(t){var n=t.currentTarget.dataset.date;n&&L&&L(+n)}),[L]),Pt={days:e((function(){return{ArrowLeft:function(){return pt("prev")},ArrowRight:function(){return pt("next")},ArrowUp:function(){return pt("prevWeek")},ArrowDown:function(){return pt("nextWeek")},End:function(){return pt("endOfWeek")},Home:function(){return pt("startOfWeek")},PageUp:function(){return pt("prevMonth")},PageDown:function(){return pt("nextMonth")}}}),[pt]),months:e((function(){return{ArrowLeft:function(){return Dt(-1)},ArrowRight:function(){return Dt(1)},ArrowUp:function(){return Dt(-3)},ArrowDown:function(){return Dt(3)}}}),[Dt]),years:e((function(){return{ArrowLeft:function(){return Mt(1)},ArrowRight:function(){return Mt(-1)},ArrowUp:function(){return Mt(3)},ArrowDown:function(){return Mt(-3)}}}),[Mt])},Tt=r((function(t){var n=Pt[k];t.key in n&&(n[t.key](),t.preventDefault())}),[Pt,k]),jt=!1,Yt=r((function(t){var n=T&&u(T,t.date),e=n;return T&&s(T,V)||jt||t.disabled||(jt=!0,e=!0),{"data-date":t.date.getTime(),"aria-selected":n,ref:function(n){At(n,t.date.getDate()-1)},tabIndex:e?0:-1,onMouseEnter:bt,onMouseLeave:yt,onClick:kt}}),[kt,At,Tt,bt,yt,T]),Ct=r((function(t){var n=s(V,t.date);return{"data-date":t.date.getTime(),"aria-selected":n,ref:function(n){At(n,t.date.getMonth())},tabIndex:n?0:-1,disabled:t.disabled,onClick:function(t){xt(t),R("days")}}}),[V,At,xt,R]),It=r((function(t){var n=t.ref;return{onKeyDown:Tt,ref:o([void 0===n?null:n,G]),tabIndex:-1}}),[Tt]);return{activeMonth:V,activeYear:q,weeks:et,months:rt,canSetPrevMonth:$,canSetNextMonth:_,highlighted:B,setPrevMonth:st,setNextMonth:dt,setNextYear:ht,setPrevYear:vt,setMonthByDate:ft,getDayProps:Yt,getMonthProps:Ct,getRootProps:It}}export{M as useCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as
|
|
1
|
+
import{useState as e,useCallback as i}from"react";import{useDidUpdateEffect as t}from"./utils.js";import"../index-56ce4174.js";import"../index-ae15a0be.js";import"../index-b3701cc2.js";import"../index-c2eb1564.js";import"../index-ae4d9938.js";function o(o){var n=o.onPeriodChange,r=o.initialSelectedFrom,d=o.initialSelectedTo,c=e(r),a=c[0],m=c[1],s=e(d),f=s[0],u=s[1],p=i((function(){m(void 0),u(void 0)}),[]),l=i((function(e){m(e)}),[]),v=i((function(e){u(e)}),[]),x=i((function(e){if(void 0!==e){if(a)return f?void(e>a?u(e):e<a&&(u(void 0),m(e))):(m(Math.min(e,a)),void u(Math.max(e,a)));m(e)}else p()}),[p,a,f]);return t((function(){n&&n(a,f)}),[a,f]),{selectedFrom:a,selectedTo:f,setStart:l,setEnd:v,resetPeriod:p,updatePeriod:x}}export{o as usePeriod};
|
package/dist/calendar/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRef as e,useEffect as n}from"react";import{e as t,d as r,c as a,i as u,s as i,a as o,g as s,b as f,f as
|
|
1
|
+
import{useRef as e,useEffect as n}from"react";import{e as t,d as r,c as a,i as u,s as i,a as o,g as s,b as f,f as c}from"../index-56ce4174.js";import{s as d,c as v,l as m,e as p,a as l,h as b,f as x,b as k,g as w,m as g,i as h,j as y,d as L}from"../index-c2eb1564.js";import{f as T}from"../index-ae4d9938.js";import"../index-ae15a0be.js";import"../index-b3701cc2.js";var j=7,D=12,M=6;function O(e){var n=e.getDay();return 0===n?j-1:n-1}function W(e,n){var a=function(){return Array(j).fill(null)},u=d(e),i=t(d(e)),o=v(m(e)),s=a();return p({start:i,end:o}).reduce((function(e,t){var i=O(t);return s[i]=S(t,u,n),(i===M||r(t,o))&&(e.push(s),s=a()),e}),[])}function E(e,n){return l({start:b(e),end:x(e)}).map((function(e){return A(e,n)}))}function K(e,n){return k({start:w([b(n),b(e)]),end:g([b(n),b(e)])}).reverse()}function S(e,n,t){var i=t.minDate,o=t.maxDate,s=t.selected,f=t.eventsMap,c=void 0===f?{}:f,d=t.offDaysMap,v=(void 0===d?{}:d)[e.getTime()];return{date:e,disabled:i&&a(e,i)||o&&u(e,o)||v,event:c[e.getTime()],selected:s&&r(e,s),muted:!h(e,n)}}function A(e,n){var t=n.minMonth,r=n.maxMonth;return{date:e,disabled:t&&a(e,t)||r&&u(e,r)}}function q(e,n,t){var r=e;return n&&(r=g([n,r])),t&&(r=w([t,r])),new Date(r)}function z(e,n,t){return e&&q(e,n,t).getTime()===new Date(e).getTime()}function B(e,n,t){return T(e,t?"LLL":"LLLL",{locale:n})}function C(e){return e.reduce((function(e,n){return e[i(n).getTime()]=!0,e}),{})}function F(e,n,t){var r=n||t;return e&&r&&e!==r?{start:w([e,r]),end:g([e,r])}:null}function G(e,n,t,r,a){void 0===a&&(a={});for(var u={prev:function(){return s(n,1)},prevWeek:function(){return s(n,7)},prevMonth:function(){return y(n,1)},next:function(){return o(n,1)},nextWeek:function(){return o(n,7)},nextMonth:function(){return f(n,1)},startOfWeek:function(){return c(n,{weekStartsOn:1})},endOfWeek:function(){return i(L(n,{weekStartsOn:1}))}}[e]();a[u.getTime()];){var d=u<n?-1:1;"endOfWeek"===e&&(d=-1),"startOfWeek"===e&&(d=1),u=o(u,d)}return q(u,t,r)}function H(e){if(window.KeyboardEvent){var n=new window.KeyboardEvent("keydown",{bubbles:!0,key:"Tab"});e.dispatchEvent(n)}}function I(t,r){var a=e(!1);n((function(){a.current?t():a.current=!0}),r)}export{j as DAYS_IN_WEEK,D as MONTHS_IN_YEAR,M as SUNDAY_INDEX,S as buildDay,A as buildMonth,C as dateArrayToHashTable,z as dateInLimits,E as generateMonths,W as generateWeeks,K as generateYears,F as getSelectionRange,q as limitDate,G as modifyDateByShift,B as monthName,O as russianWeekDay,H as simulateTab,I as useDidUpdateEffect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-37ebddc5.js";import o,{forwardRef as n,useState as a,useRef as r,useCallback as i,useEffect as m}from"react";import p from"react-merge-refs";import s from"classnames";import{Calendar as l}from"../calendar/component.js";import{dateInLimits as c}from"../calendar/utils.js";import{MaskedInput as d}from"../masked-input/component.js";import{Popover as u}from"../popover/component.js";import"../toast-notifier/component.js";import{formatDate as f}from"../utils/format-date/index.js";import{parseDateString as j,isCompleteDateInput as v,DATE_MASK as x,SUPPORTS_INPUT_TYPE_DATE as b,NATIVE_DATE_FORMAT as g}from"./utils.js";import"../index-c2eb1564.js";import"../index-b3701cc2.js";import"../index-ae15a0be.js";import"../index-56ce4174.js";import"../calendar/components/days-table/component.js";import"react-transition-group";import"../capitalize-f8bb79f7.js";import"../isSymbol-1a3d2667.js";import"../_commonjsHelpers-dcbaeef0.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-8f665160.js";import"../index-8aa0fea7.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../index-ae4d9938.js";import"../calendar/components/header/сomponent.js";import"../ChevronBackS-15f88336.js";import"../calendar/components/select-button/сomponent.js";import"../calendar/components/months-table/сomponent.js";import"../index-c9ab9c54.js";import"../flex-columns/component.js";import"../calendar/use-calendar.js";import"../index-84f184c7.js";import"../index-8f7a5ca7.js";import"../index-84b4a7ac.js";import"../input/component.js";import"../form-control/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-3da196cb.js";import"../ClockCircleM-f6a62a84.js";import"../CloseS-cc43983c.js";import"../toast-notifier/use-timer.js";var h="index-module_component__pdVE2",C="index-module_block__wtVLz",k="index-module_calendarContainer__x7A2x",y="index-module_calendarIcon__muPk-",_="index-module_nativeInput__siME6",M=n((function(n,M){var D,w=n.block,E=void 0!==w&&w,N=n.className,I=n.inputClassName,P=n.defaultOpen,T=void 0!==P&&P,F=n.defaultMonth,V=n.defaultValue,O=void 0===V?"":V,A=n.calendarPosition,q=void 0===A?"popover":A,R=n.value,S=n.dataTestId,z=n.minDate,B=n.required,K=n.maxDate,U=n.calendarProps,H=void 0===U?{}:U,L=n.preventFlip,G=n.mobileMode,J=void 0===G?"popover":G,Q=n.wrapperRef,W=void 0===Q?null:Q,X=n.disabled,Y=n.onChange,Z=n.onInputChange,$=n.onCalendarChange,ee=n.readOnly,te=e(n,["block","className","inputClassName","defaultOpen","defaultMonth","defaultValue","calendarPosition","value","dataTestId","minDate","required","maxDate","calendarProps","preventFlip","mobileMode","wrapperRef","disabled","onChange","onInputChange","onCalendarChange","readOnly"]),oe=void 0===(R=R&&R.split("-").length?R.split("-").reverse().join("."):R),ne=b&&"native"===J,ae="input"===J,re="static"===q&&!ae,ie="popover"===q&&!ne&&!ae,me=a(!1),pe=me[0],se=me[1],le=a(O),ce=le[0],de=le[1],ue=oe?ce:R,fe=ue?j(ue).getTime():void 0,je=c(fe,z,K),ve=X||ee,xe=r(null),be=r(null),ge=r(null),he=r(null),Ce=i((function(e){"Escape"===e.key&&se(!1)}),[]),ke=i((function(){pe||se(!0)}),[pe]),ye=i((function(e){se(!0),!pe&&"INPUT"!==e.target.tagName&&he.current&&he.current.focus()}),[pe]),_e=i((function(e){he.current&&!1===he.current.contains(e.relatedTarget)&&se(!1)}),[]),Me=i((function(e){["ArrowDown","ArrowUp"].includes(e.key)&&he.current&&(e.preventDefault(),he.current.focus())}),[]),De=i((function(e,t,o,n,a){void 0===n&&(n="input"),void 0===a&&(a=!0),"input"===n&&e&&Z&&Z(e,{value:t,date:o}),"calendar"===n&&$&&$(o.getTime()),a&&(oe&&de(t),Y&&Y(e,{date:o,value:t.split(".").reverse().join("-")}))}),[$,Y,Z,oe]),we=i((function(e){var t=e.target.value,o=j(t);De(e,t,o,"input",v(t))}),[De]),Ee=i((function(e){var t=j(e.target.value,g),o=""===e.target.value?"":f(t,{format:"dd.MM.yyyy"});De(e,o,t)}),[De]),Ne=i((function(e){De(null,f(e,{format:"dd.MM.yyyy"}),new Date(e),"calendar"),se(!1)}),[De]),Ie=i((function(e){e.preventDefault()}),[]);m((function(){se(T)}),[T]);var Pe=i((function(){return o.createElement("div",{onMouseDown:Ie},o.createElement(l,t({},H,{ref:he,defaultMonth:F,value:je?fe:void 0,onChange:Ne,minDate:z,maxDate:K})))}),[H,fe,F,Ne,Ie,je,K,z]);return o.createElement("div",{ref:ge,className:s(h,N,(D={},D[C]=E,D)),tabIndex:-1,onKeyDown:ve?void 0:Ce,onClick:ve?void 0:ke,onFocus:ve?void 0:ye,onBlur:_e,"data-test-id":S},o.createElement(d,t({},te,{ref:p([M,xe]),wrapperRef:p([W,be]),className:I,value:ue,required:B,defaultValue:O,disabled:X,readOnly:ee,mask:x,rightAddons:o.createElement(o.Fragment,null,o.createElement("span",{className:y}),ne&&o.createElement("input",{type:"date",ref:p([M,xe]),defaultValue:O,onChange:Ee,className:_})),onKeyDown:Me,onChange:we,block:!0,inputMode:"numeric",pattern:"[0-9\\.]*"})),re&&Pe(),ie&&o.createElement(u,{open:pe,anchorElement:be.current,popperClassName:k,position:"bottom-start",offset:[0,8],withTransition:!1,preventFlip:L},Pe()))}));export{M as CalendarInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CalendarInput}from"./component.js";export{DATE_FORMAT,DATE_MASK,IS_BROWSER,NATIVE_DATE_FORMAT,SUPPORTS_INPUT_TYPE_DATE,isCompleteDateInput,isInputDateSupported,parseDateString}from"./utils.js";import"../tslib.es6-
|
|
1
|
+
export{CalendarInput}from"./component.js";export{DATE_FORMAT,DATE_MASK,IS_BROWSER,NATIVE_DATE_FORMAT,SUPPORTS_INPUT_TYPE_DATE,isCompleteDateInput,isInputDateSupported,parseDateString}from"./utils.js";import"../tslib.es6-37ebddc5.js";import"react";import"react-merge-refs";import"classnames";import"../calendar/component.js";import"../index-c2eb1564.js";import"../index-b3701cc2.js";import"../index-ae15a0be.js";import"../index-56ce4174.js";import"../utils/format-date/index.js";import"../index-ae4d9938.js";import"../index-8f7a5ca7.js";import"../index-84b4a7ac.js";import"../calendar/components/days-table/component.js";import"react-transition-group";import"../capitalize-f8bb79f7.js";import"../isSymbol-1a3d2667.js";import"../_commonjsHelpers-dcbaeef0.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-8f665160.js";import"../index-8aa0fea7.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../calendar/utils.js";import"../calendar/components/header/сomponent.js";import"../ChevronBackS-15f88336.js";import"../calendar/components/select-button/сomponent.js";import"../calendar/components/months-table/сomponent.js";import"../index-c9ab9c54.js";import"../flex-columns/component.js";import"../calendar/use-calendar.js";import"../index-84f184c7.js";import"../masked-input/component.js";import"../input/component.js";import"../form-control/component.js";import"../popover/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-3da196cb.js";import"../ClockCircleM-f6a62a84.js";import"../CloseS-cc43983c.js";import"../toast-notifier/use-timer.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"../index-
|
|
1
|
+
import{p as e}from"../index-8f7a5ca7.js";import"../index-ae15a0be.js";import"../index-b3701cc2.js";import"../index-84b4a7ac.js";var t="dd.MM.yyyy",d="yyyy-MM-dd",n=[/\d/,/\d/,".",/\d/,/\d/,".",/\d/,/\d/,/\d/,/\d/],i="undefined"!=typeof window,r=i&&u(),a=function(e){return e.length===n.length},o=function(d,n){return void 0===n&&(n=t),e(d,n,new Date)};function u(){var e=document.createElement("input");return e.setAttribute("type","date"),e.setAttribute("value","a"),"a"!==e.value}export{t as DATE_FORMAT,n as DATE_MASK,i as IS_BROWSER,d as NATIVE_DATE_FORMAT,r as SUPPORTS_INPUT_TYPE_DATE,a as isCompleteDateInput,u as isInputDateSupported,o as parseDateString};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as r,i as u}from"./isSymbol-
|
|
1
|
+
import{_ as r,i as u}from"./isSymbol-1a3d2667.js";var f=function(r,u){for(var f=-1,n=null==r?0:r.length,t=Array(n);++f<n;)t[f]=u(r[f],f,r);return t},n=Array.isArray,t=1/0,e=r?r.prototype:void 0,o=e?e.toString:void 0;var a=function r(e){if("string"==typeof e)return e;if(n(e))return f(e,r)+"";if(u(e))return o?o.call(e):"";var a=e+"";return"0"==a&&1/e==-t?"-0":a};var i=function(r){return null==r?"":a(r)};var d=function(r,u,f){var n=-1,t=r.length;u<0&&(u=-u>t?0:t+u),(f=f>t?t:f)<0&&(f+=t),t=u>f?0:f-u>>>0,u>>>=0;for(var e=Array(t);++n<t;)e[n]=r[n+u];return e};var v=function(r,u,f){var n=r.length;return f=void 0===f?n:f,!u&&f>=n?r:d(r,u,f)},c=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var l=function(r){return c.test(r)};var s=function(r){return r.split("")},p="\\ud800-\\udfff",g="["+p+"]",y="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",h="\\ud83c[\\udffb-\\udfff]",A="[^"+p+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",b="(?:"+y+"|"+h+")"+"?",x="[\\ufe0e\\ufe0f]?",C=x+b+("(?:\\u200d(?:"+[A,j,m].join("|")+")"+x+b+")*"),E="(?:"+[A+y+"?",y,j,m,g].join("|")+")",R=RegExp(h+"(?="+h+")|"+E+C,"g");var S=function(r){return r.match(R)||[]};var w=function(r){return l(r)?S(r):s(r)};var L=function(r){return function(u){u=i(u);var f=l(u)?w(u):void 0,n=f?f[0]:u.charAt(0),t=f?v(f,1).join(""):u.slice(1);return n[r]()+t}}("toUpperCase");var U=function(r){return L(i(r).toLowerCase())};export{U as c};
|
package/dist/card/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import{CardImages as i}from"./images/index.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{CardImages as i}from"./images/index.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"swiper/react";import"../image/image-base.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"swiper/swiper.min.css";var m={component:"index-module_component__ovb41",full:"index-module_full__mqhKr",titleWrap:"index-module_titleWrap__UsXkt",content:"index-module_content__taI9l"},r=function(r){var n=r.view,a=void 0===n?"default":n,s=r.bottomAddons,p=r.images,l=void 0===p?[]:p,c=r.orientation,d=void 0===c?"horizontal":c,g=r.title,u=r.subtitle,v=r.titleAddons;return e.createElement("div",{className:t([m.component,m[a]])},!!l.length&&e.createElement(i,{orientation:d,images:l,view:a}),e.createElement("div",{className:m.content},e.createElement("div",{className:m.titleWrap},e.createElement(o.Text,{view:"title",color:"primary",weight:"medium",tag:"div"},g),v),e.createElement(o.Text,{weight:"medium",view:"caps",tag:"div",className:m.subtitle,color:"secondary"},u),s))};export{r as Card};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Swiper as o,SwiperSlide as i}from"swiper/react";import{ImageBase as r}from"../../image/image-base.js";import"swiper/swiper.min.css";import"../../use-image-render-component-
|
|
1
|
+
import e from"react";import t from"classnames";import{Swiper as o,SwiperSlide as i}from"swiper/react";import{ImageBase as r}from"../../image/image-base.js";import"swiper/swiper.min.css";import"../../use-image-render-component-244bbfba.js";import"../../spinner/component.js";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-fb18c2e8.js";import"../../typography/title/index.js";import"../../tslib.es6-37ebddc5.js";import"../../typography/title/component.js";import"../../image/types.js";import"../../image/utils.js";var n={container:"index-module_container__Mgsi8",content:"index-module_content__kPkqx",full:"index-module_full__0jSVz",vertical:"index-module_vertical__dSwj7",horizontal:"index-module_horizontal__vc5Qw"},m=function(m){var a=m.images,s=void 0===a?[]:a,p=m.orientation,c=void 0===p?"horizontal":p,l=m.view,d=void 0===l?"default":l;return e.createElement("div",{className:t([n[c],n.container])},e.createElement("div",{className:t([n.content,n[d]])},s.length>1?e.createElement(o,{spaceBetween:0,slidesPerView:1},s.map((function(t){return e.createElement(i,{key:t},e.createElement(r,{src:t}))}))):e.createElement(r,{src:s[0]})))};export{m as CardImages};
|
package/dist/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Card}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{Card}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"./images/index.js";import"swiper/react";import"../image/image-base.js";import"../use-image-render-component-244bbfba.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"swiper/swiper.min.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{B as Base}from"../../component-
|
|
1
|
+
import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{B as Base}from"../../component-b2780668.js";import"../../typography/text/component.js";import"../../colors.module-fb18c2e8.js";import"../../typography/title/index.js";import"../../tslib.es6-37ebddc5.js";import"../../typography/title/component.js";import"../pure/component.js";
|
package/dist/cell/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as Cell}from"../component-
|
|
1
|
+
export{C as Cell}from"../component-b2780668.js";import"./pure/component.js";import"react";import"classnames";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";
|
package/dist/cell/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../component-
|
|
1
|
+
export * from "../component-b2780668";
|
package/dist/cell/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as Cell}from"../component-
|
|
1
|
+
export{C as Cell}from"../component-b2780668.js";import"react";import"classnames";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-fb18c2e8.js";import"../typography/title/index.js";import"../tslib.es6-37ebddc5.js";import"../typography/title/component.js";import"./pure/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as r}from"../../tslib.es6-
|
|
1
|
+
import{_ as e,a as r}from"../../tslib.es6-37ebddc5.js";import d,{forwardRef as o}from"react";import l from"classnames";import{getDataTestId as a}from"../../__internal/utils/getDataTestId.js";var i={component:"index-module_component__iR2UT",s:"index-module_s__GdoGW",m:"index-module_m__JynKE",l:"index-module_l__cl-vr",horizontal:"index-module_horizontal__4AlHR",normalOrder:"index-module_normalOrder__DKaDw",reverseOrder:"index-module_reverseOrder__1O-1g",vertical:"index-module_vertical__qSAhd",addon:"index-module_addon__BlWHe",child:"index-module_child__LJU5r"},n=o((function(o,n){var t,m=o.slot,s=o.size,_=void 0===s?"m":s,c=o.order,v=void 0===c?"normal":c,u=o.direction,x=void 0===u?"horizontal":u,h=o.children,p=o.className,O=o.dataTestId,f=e(o,["slot","size","order","direction","children","className","dataTestId"]),z=((t={})[i.normalOrder]="normal"===v&&m,t[i.reverseOrder]="reverse"===v&&m,t[i[x]]=!0,t);return d.createElement("div",r({ref:n,className:l(i.component,i[_],r({},z),p),"data-test-id":a("cell-pure",O,!0)},f),m&&d.createElement("div",{className:l(i.addon,r({},z))},m),d.createElement("div",{className:l(i.child,r({},z))},h))}));export{n as Pure};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as n}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as n}from"../tslib.es6-37ebddc5.js";import d,{forwardRef as a,useRef as t}from"react";import o from"react-merge-refs";import{C as l,M as m}from"../MinusM-11b0c225.js";import i from"classnames";import{useFocus as c}from"../hooks/useFocus/index.js";var s={component:"index-module_component__DBof3",start:"index-module_start__-eplp",center:"index-module_center__7CPIE",addons:"index-module_addons__verD6",block:"index-module_block__n--Tz",box:"index-module_box__ymkhL",m:"index-module_m__3-tIu",content:"index-module_content__tOYo0",s:"index-module_s__uZFU0",disabled:"index-module_disabled__-UN4G",checked:"index-module_checked__ZISV3",indeterminate:"index-module_indeterminate__DwM3O",focused:"index-module_focused__d0Y-b",label:"index-module_label__gLQhs",hint:"index-module_hint__OQ8A5",indeterminateIcon:"index-module_indeterminateIcon__d-ME1"},r=a((function(a,r){var _,u=a.checked,b=a.label,x=a.hint,h=a.size,p=void 0===h?"m":h,k=a.align,f=void 0===k?"center":k,E=a.addons,N=a.block,g=a.onChange,I=a.className,v=a.name,C=a.disabled,M=a.dataTestId,j=a.indeterminate,y=void 0!==j&&j,z=e(a,["checked","label","hint","size","align","addons","block","onChange","className","name","disabled","dataTestId","indeterminate"]),D=t(null),O=c(D,"keyboard")[0];return d.createElement("label",{className:i(s.component,s[p],s[f],I,(_={},_[s.disabled]=C,_[s.checked]=u,_[s.indeterminate]=y,_[s.focused]=O,_[s.block]=N,_)),ref:o([D,r])},d.createElement("span",{className:s.box},d.createElement("input",n({type:"checkbox",onChange:function(e){g&&g(e,{checked:e.target.checked,name:v})},disabled:C,checked:u,"data-test-id":M},z)),u&&d.createElement(l,null),y&&!u&&d.createElement("div",{className:s.indeterminateIcon},d.createElement(m,null))),(b||x)&&d.createElement("span",{className:s.content},b&&d.createElement("span",{className:s.label},b),x&&d.createElement("span",{className:s.hint},x)),E&&d.createElement("span",{className:s.addons},E))}));r.defaultProps={indeterminate:!1};export{r as Checkbox};
|
package/dist/checkbox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Checkbox}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Checkbox}from"./component.js";import"../tslib.es6-37ebddc5.js";import"react";import"react-merge-refs";import"../MinusM-11b0c225.js";import"classnames";import"../hooks/useFocus/index.js";
|