mosuk-ui 1.0.2 → 1.0.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/components/actions/button/(status)/component/component.interface.d.ts +1 -1
- package/components/actions/button/component/component.module.css +1 -1
- package/components/actions/button/skeleton/component.module.css +7 -11
- package/components/actions/input/(mask)/(phone)/component/component.interface.d.ts +6 -0
- package/components/actions/input/(mask)/(phone)/component/index.d.ts +2 -2
- package/components/actions/input/(mask)/(phone)/component/index.js +2 -4
- package/components/actions/input/(mask)/component/component.d.ts +2 -2
- package/components/actions/input/(mask)/component/component.interface.d.ts +5 -5
- package/components/actions/input/(mask)/component/component.js +3 -2
- package/components/actions/toggle/component/button/component.props.d.ts +1 -1
- package/components/actions/toggle/component/component.js +1 -1
- package/components/actions/toggle/component/component.module.css +5 -4
- package/components/actions/toggle/component/indicator/component.js +19 -6
- package/components/actions/toggle/component/providers/context/context.interface.d.ts +1 -0
- package/components/actions/toggle/component/providers/provider.d.ts +1 -1
- package/components/actions/toggle/component/providers/provider.interface.d.ts +2 -1
- package/components/actions/toggle/component/providers/provider.js +9 -2
- package/components/actions/toggle/skeleton/button/component.d.ts +3 -0
- package/components/actions/toggle/skeleton/button/component.js +31 -0
- package/components/{overlays/dialogs/dialog/component/dialog/body/component.interface.d.ts → actions/toggle/skeleton/button/component.props.d.ts} +1 -1
- package/components/actions/toggle/skeleton/component.d.ts +3 -0
- package/components/{texts/h2/component/text → actions/toggle/skeleton}/component.js +4 -4
- package/components/actions/toggle/skeleton/component.module.css +51 -0
- package/components/{texts/h2/component/text/component.interface.d.ts → actions/toggle/skeleton/component.props.d.ts} +1 -1
- package/components/actions/toggle/skeleton/index.d.ts +13 -0
- package/components/actions/toggle/skeleton/index.js +5 -0
- package/components/collections/accordion/component/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/component.js +1 -1
- package/components/collections/accordion/component/component.module.css +0 -21
- package/components/collections/accordion/component/index.d.ts +0 -6
- package/components/collections/accordion/component/index.js +0 -2
- package/components/collections/accordion/component/item/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/item/component.js +1 -1
- package/components/collections/accordion/component/item/content/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/item/content/component.js +1 -1
- package/components/collections/accordion/component/item/header/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/item/header/component.js +1 -1
- package/components/collections/accordion/component/item/header/content/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/item/header/content/component.js +1 -1
- package/components/collections/accordion/skeleton/component.js +1 -3
- package/components/collections/breadcrumbs/component/component.js +18 -3
- package/components/collections/tabs/horizontal/component/component.interface.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/component.js +1 -1
- package/components/collections/tabs/horizontal/component/content/component.interface.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/content/component.js +1 -1
- package/components/collections/tabs/horizontal/component/head/component.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/head/component.interface.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/head/component.js +1 -1
- package/components/collections/tabs/horizontal/component/head/indicator/component.interface.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/head/indicator/component.js +1 -1
- package/components/collections/tabs/horizontal/component/head/tab/component.interface.d.ts +1 -1
- package/components/collections/tabs/horizontal/component/head/tab/component.js +1 -1
- package/components/collections/tabs/horizontal/component/index.d.ts +1 -1
- package/components/collections/tabs/vertical/component/component.interface.d.ts +1 -1
- package/components/collections/tabs/vertical/component/component.js +1 -1
- package/components/collections/tabs/vertical/component/content/component.interface.d.ts +1 -1
- package/components/collections/tabs/vertical/component/content/component.js +1 -1
- package/components/collections/tabs/vertical/component/head/component.d.ts +1 -1
- package/components/collections/tabs/vertical/component/head/component.interface.d.ts +1 -1
- package/components/collections/tabs/vertical/component/head/component.js +1 -1
- package/components/collections/tabs/vertical/component/head/indicator/component.interface.d.ts +1 -1
- package/components/collections/tabs/vertical/component/head/indicator/component.js +1 -1
- package/components/collections/tabs/vertical/component/head/tab/component.interface.d.ts +1 -1
- package/components/collections/tabs/vertical/component/head/tab/component.js +1 -1
- package/components/collections/tabs/vertical/component/index.d.ts +1 -1
- package/components/containers/grid/component/component.d.ts +2 -2
- package/components/containers/grid/component/component.interface.d.ts +5 -3
- package/components/containers/grid/component/component.js +4 -7
- package/components/containers/section/component/component.module.css +2 -0
- package/components/display/image/(images)/component/component.js +2 -11
- package/components/display/image/component/image/component.js +1 -1
- package/components/integrations/tbank/terminal/skeleton/component.js +4 -8
- package/components/integrations/yandex/maps/component/component.d.ts +2 -2
- package/components/integrations/yandex/maps/component/component.interface.d.ts +4 -2
- package/components/integrations/yandex/maps/component/component.js +11 -13
- package/components/integrations/yandex/maps/component/component.module.css +19 -1
- package/components/integrations/yandex/maps/component/controls/zoom/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/component.interface.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/component.js +22 -0
- package/components/integrations/yandex/maps/component/controls/zoom/minus/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/minus/component.interface.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/minus/component.js +11 -0
- package/components/integrations/yandex/maps/component/controls/zoom/plus/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/plus/component.interface.d.ts +3 -0
- package/components/integrations/yandex/maps/component/controls/zoom/plus/component.js +11 -0
- package/components/integrations/yandex/maps/component/default/features/layer/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/default/features/layer/component.interface.d.ts +3 -0
- package/components/integrations/yandex/maps/component/{map/default_features_layer → default/features/layer}/component.js +3 -3
- package/components/integrations/yandex/maps/component/default/scheme/layer/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/default/scheme/layer/component.interface.d.ts +3 -0
- package/components/integrations/yandex/maps/component/{map/default_scheme_layer → default/scheme/layer}/component.js +3 -3
- package/components/integrations/yandex/maps/component/feature/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/{map/feature → feature}/component.interface.d.ts +1 -1
- package/components/integrations/yandex/maps/component/{map/feature → feature}/component.js +3 -3
- package/components/integrations/yandex/maps/component/index.d.ts +58 -31
- package/components/integrations/yandex/maps/component/index.js +24 -13
- package/components/integrations/yandex/maps/component/marker/component.d.ts +3 -0
- package/components/integrations/yandex/maps/component/{map/marker → marker}/component.interface.d.ts +1 -1
- package/components/integrations/yandex/maps/component/{map/marker → marker}/component.js +3 -3
- package/components/integrations/yandex/maps/component/zoom/context.d.ts +2 -0
- package/components/integrations/yandex/maps/component/zoom/context.interface.d.ts +7 -0
- package/components/integrations/yandex/maps/component/zoom/context.js +2 -0
- package/components/integrations/yandex/maps/skeleton/component.d.ts +3 -3
- package/components/integrations/yandex/maps/skeleton/component.interface.d.ts +5 -3
- package/components/integrations/yandex/maps/skeleton/component.js +5 -3
- package/components/integrations/yandex/maps/skeleton/component.module.css +7 -6
- package/components/integrations/yandex/maps/skeleton/default/scheme/layer/component.d.ts +3 -0
- package/components/integrations/yandex/maps/skeleton/default/scheme/layer/component.image.d.ts +2 -0
- package/components/integrations/yandex/maps/skeleton/default/scheme/layer/component.image.js +2 -0
- package/components/integrations/yandex/maps/skeleton/default/scheme/layer/component.interface.d.ts +5 -0
- package/components/integrations/yandex/maps/skeleton/default/scheme/layer/component.js +39 -0
- package/components/integrations/yandex/maps/skeleton/index.d.ts +18 -10
- package/components/integrations/yandex/maps/skeleton/index.js +8 -4
- package/components/overlays/alert/component/close/component.interface.d.ts +1 -1
- package/components/overlays/alert/component/close/component.js +1 -1
- package/components/overlays/alert/component/component.interface.d.ts +1 -1
- package/components/overlays/alert/component/component.js +1 -1
- package/components/overlays/dialog/component/close/component.d.ts +3 -0
- package/components/overlays/dialog/component/close/component.interface.d.ts +3 -0
- package/components/{texts/p/component/icon → overlays/dialog/component/close}/component.js +3 -4
- package/components/overlays/dialog/component/component.d.ts +3 -0
- package/components/overlays/dialog/component/component.interface.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/(images)/dialog/images/image → dialog/component}/component.js +3 -3
- package/components/overlays/dialog/component/component.module.css +83 -0
- package/components/overlays/dialog/component/index.d.ts +52 -0
- package/components/overlays/dialog/component/index.js +20 -0
- package/components/overlays/dialog/component/open/component.d.ts +3 -0
- package/components/overlays/dialog/component/open/component.interface.d.ts +3 -0
- package/components/{texts/a/component/icon → overlays/dialog/component/open}/component.js +3 -4
- package/components/overlays/dialog/component/portal/component.d.ts +3 -0
- package/components/overlays/dialog/component/portal/component.interface.d.ts +3 -0
- package/components/{texts/h1/component/icon → overlays/dialog/component/portal}/component.js +3 -3
- package/components/overlays/dialog/component/portal/viewport/backdrop/component.d.ts +3 -0
- package/components/overlays/dialog/component/portal/viewport/backdrop/component.interface.d.ts +3 -0
- package/components/overlays/dialog/component/portal/viewport/backdrop/component.js +30 -0
- package/components/overlays/dialog/component/portal/viewport/component.d.ts +3 -0
- package/components/overlays/dialog/component/portal/viewport/component.interface.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/component/dialog/body → dialog/component/portal/viewport}/component.js +3 -3
- package/components/overlays/dialog/component/portal/viewport/popup/component.d.ts +3 -0
- package/components/overlays/dialog/component/portal/viewport/popup/component.interface.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/(images)/dialog → dialog/component/portal/viewport/popup}/component.js +4 -4
- package/components/overlays/dialog/component/portal/viewport/popup/content/component.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/component/dialog/header → dialog/component/portal/viewport/popup/content}/component.interface.d.ts +1 -1
- package/components/{texts/h1/component/text → overlays/dialog/component/portal/viewport/popup/content}/component.js +4 -4
- package/components/overlays/drawer/component/close/component.d.ts +3 -0
- package/components/overlays/drawer/component/close/component.interface.d.ts +3 -0
- package/components/{texts/h3/component/icon → overlays/drawer/component/close}/component.js +3 -4
- package/components/overlays/drawer/component/component.d.ts +3 -0
- package/components/overlays/drawer/component/component.interface.d.ts +3 -0
- package/components/overlays/drawer/component/component.js +28 -0
- package/components/overlays/drawer/component/component.module.css +206 -0
- package/components/overlays/drawer/component/index.d.ts +58 -0
- package/components/overlays/drawer/component/index.js +22 -0
- package/components/overlays/drawer/component/open/component.d.ts +3 -0
- package/components/overlays/drawer/component/open/component.interface.d.ts +3 -0
- package/components/{texts/h2/component/icon → overlays/drawer/component/open}/component.js +3 -4
- package/components/overlays/drawer/component/portal/component.d.ts +3 -0
- package/components/overlays/drawer/component/portal/component.interface.d.ts +3 -0
- package/components/overlays/drawer/component/portal/component.js +29 -0
- package/components/overlays/drawer/component/portal/viewport/backdrop/component.d.ts +3 -0
- package/components/overlays/drawer/component/portal/viewport/backdrop/component.interface.d.ts +3 -0
- package/components/overlays/drawer/component/portal/viewport/backdrop/component.js +30 -0
- package/components/overlays/drawer/component/portal/viewport/component.d.ts +3 -0
- package/components/overlays/drawer/component/portal/viewport/component.interface.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/component/dialog/footer → drawer/component/portal/viewport}/component.js +3 -3
- package/components/overlays/drawer/component/portal/viewport/popup/component.d.ts +3 -0
- package/components/overlays/drawer/component/portal/viewport/popup/component.interface.d.ts +3 -0
- package/components/{texts/h1/skeleton/icon → overlays/drawer/component/portal/viewport/popup}/component.js +4 -4
- package/components/overlays/drawer/component/portal/viewport/popup/content/component.d.ts +3 -0
- package/components/{texts/a/component/text → overlays/drawer/component/portal/viewport/popup/content}/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/portal/viewport/popup/content/component.js +30 -0
- package/components/overlays/drawer/component/portal/viewport/popup/handle/component.d.ts +3 -0
- package/components/overlays/{dialogs/dialog/component/dialog/footer → drawer/component/portal/viewport/popup/handle}/component.interface.d.ts +1 -1
- package/components/{texts/a/component/text → overlays/drawer/component/portal/viewport/popup/handle}/component.js +4 -4
- package/components/overlays/dropdown/component/component.interface.d.ts +1 -1
- package/components/overlays/dropdown/component/component.js +1 -1
- package/components/overlays/observer/component/component.d.ts +3 -0
- package/components/{texts/h3/component/text → overlays/observer/component}/component.js +4 -4
- package/components/overlays/observer/component/component.module.css +19 -0
- package/components/{texts/h3/component/text/component.interface.d.ts → overlays/observer/component/component.props.d.ts} +1 -1
- package/components/overlays/observer/component/index.d.ts +6 -0
- package/components/overlays/observer/component/index.js +2 -0
- package/components/texts/a/component/component.module.css +1 -75
- package/components/texts/a/component/index.d.ts +1 -14
- package/components/texts/a/component/index.js +1 -6
- package/components/texts/a/skeleton/component.d.ts +1 -1
- package/components/texts/a/skeleton/component.interface.d.ts +1 -1
- package/components/texts/a/skeleton/component.js +4 -4
- package/components/texts/a/skeleton/component.module.css +8 -23
- package/components/texts/a/skeleton/index.d.ts +3 -16
- package/components/texts/a/skeleton/index.js +1 -6
- package/components/texts/counter/component/component.module.css +5 -1
- package/components/texts/data/component/component.d.ts +3 -0
- package/components/texts/{p/component/text → data/component}/component.interface.d.ts +1 -1
- package/components/texts/{p/component/text → data/component}/component.js +4 -4
- package/components/texts/data/component/component.module.css +15 -0
- package/components/texts/data/component/index.d.ts +6 -0
- package/components/texts/data/component/index.js +2 -0
- package/components/texts/data/skeleton/component.d.ts +3 -0
- package/components/texts/{h1/component/text → data/skeleton}/component.interface.d.ts +1 -1
- package/components/texts/data/skeleton/component.js +31 -0
- package/components/texts/data/skeleton/component.module.css +16 -0
- package/components/texts/data/skeleton/index.d.ts +6 -0
- package/components/texts/data/skeleton/index.js +2 -0
- package/components/texts/h1/component/component.module.css +1 -41
- package/components/texts/h1/component/index.d.ts +1 -14
- package/components/texts/h1/component/index.js +1 -6
- package/components/texts/h1/skeleton/component.d.ts +1 -1
- package/components/texts/h1/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h1/skeleton/component.js +3 -2
- package/components/texts/h1/skeleton/component.module.css +8 -54
- package/components/texts/h1/skeleton/index.d.ts +3 -16
- package/components/texts/h1/skeleton/index.js +1 -6
- package/components/texts/h2/component/component.module.css +2 -42
- package/components/texts/h2/component/index.d.ts +1 -14
- package/components/texts/h2/component/index.js +1 -6
- package/components/texts/h2/skeleton/component.d.ts +1 -1
- package/components/texts/h2/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h2/skeleton/component.js +3 -2
- package/components/texts/h2/skeleton/component.module.css +7 -51
- package/components/texts/h2/skeleton/index.d.ts +3 -16
- package/components/texts/h2/skeleton/index.js +1 -6
- package/components/texts/h3/component/component.module.css +1 -41
- package/components/texts/h3/component/index.d.ts +1 -14
- package/components/texts/h3/component/index.js +1 -6
- package/components/texts/h3/skeleton/component.d.ts +1 -1
- package/components/texts/h3/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h3/skeleton/component.js +3 -2
- package/components/texts/h3/skeleton/component.module.css +6 -50
- package/components/texts/h3/skeleton/index.d.ts +3 -16
- package/components/texts/h3/skeleton/index.js +1 -6
- package/components/texts/h4/component/component.module.css +1 -45
- package/components/texts/h4/component/index.d.ts +1 -14
- package/components/texts/h4/component/index.js +1 -6
- package/components/texts/h4/skeleton/component.d.ts +1 -1
- package/components/texts/h4/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h4/skeleton/component.js +3 -2
- package/components/texts/h4/skeleton/component.module.css +6 -50
- package/components/texts/h4/skeleton/index.d.ts +3 -16
- package/components/texts/h4/skeleton/index.js +1 -6
- package/components/texts/h5/component/component.module.css +1 -41
- package/components/texts/h5/component/index.d.ts +1 -14
- package/components/texts/h5/component/index.js +1 -6
- package/components/texts/h5/skeleton/component.d.ts +1 -1
- package/components/texts/h5/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h5/skeleton/component.js +3 -2
- package/components/texts/h5/skeleton/component.module.css +6 -50
- package/components/texts/h5/skeleton/index.d.ts +3 -16
- package/components/texts/h5/skeleton/index.js +1 -6
- package/components/texts/h6/component/component.module.css +1 -41
- package/components/texts/h6/component/index.d.ts +1 -14
- package/components/texts/h6/component/index.js +1 -6
- package/components/texts/h6/skeleton/component.d.ts +1 -1
- package/components/texts/h6/skeleton/component.interface.d.ts +1 -1
- package/components/texts/h6/skeleton/component.js +3 -2
- package/components/texts/h6/skeleton/component.module.css +7 -51
- package/components/texts/h6/skeleton/index.d.ts +3 -16
- package/components/texts/h6/skeleton/index.js +1 -6
- package/components/texts/p/component/component.module.css +1 -41
- package/components/texts/p/component/index.d.ts +1 -14
- package/components/texts/p/component/index.js +1 -6
- package/components/texts/p/skeleton/component.d.ts +1 -1
- package/components/texts/p/skeleton/component.interface.d.ts +1 -1
- package/components/texts/p/skeleton/component.js +3 -2
- package/components/texts/p/skeleton/component.module.css +6 -50
- package/components/texts/p/skeleton/index.d.ts +2 -15
- package/components/texts/p/skeleton/index.js +1 -6
- package/index.css +35 -9
- package/package.json +28 -7
- package/providers/alerts/context/context.interface.d.ts +1 -1
- package/providers/alerts/list/component.js +1 -1
- package/providers/alerts/provider.js +1 -1
- package/providers/yandex/maps/context/context.d.ts +2 -2
- package/providers/yandex/maps/context/context.interface.d.ts +1 -1
- package/providers/yandex/maps/context/context.js +1 -1
- package/providers/yandex/maps/index.d.ts +4 -4
- package/providers/yandex/maps/index.js +3 -3
- package/providers/yandex/maps/provider.d.ts +2 -2
- package/providers/yandex/maps/provider.interface.d.ts +1 -1
- package/providers/yandex/maps/provider.js +6 -4
- package/styles/libs/style.css +1 -0
- package/styles/libs/swiper/style.css +14 -0
- package/styles/style.css +3 -0
- package/styles/theme/html/style.css +8 -7
- package/styles/theme/style.css +1 -0
- package/styles/utilities/actions/button/[color]/fill.css +393 -0
- package/styles/utilities/actions/button/[color]/glass.css +77 -0
- package/styles/utilities/actions/button/[color]/outline.css +395 -0
- package/styles/utilities/actions/button/[color]/transparent.css +65 -0
- package/styles/utilities/actions/button/[size]/size.css +354 -0
- package/styles/utilities/actions/button/style.css +6 -0
- package/styles/utilities/actions/icon/[color]/fill.css +395 -0
- package/styles/utilities/actions/icon/[color]/glass.css +77 -0
- package/styles/utilities/actions/icon/[color]/outline.css +395 -0
- package/styles/utilities/actions/icon/[color]/transparent.css +65 -0
- package/styles/utilities/actions/icon/[size]/size.css +379 -0
- package/styles/utilities/actions/icon/style.css +6 -0
- package/styles/utilities/actions/input/[color]/fill.css +395 -0
- package/styles/utilities/actions/input/[color]/glass.css +77 -0
- package/styles/utilities/actions/input/[color]/outline.css +392 -0
- package/styles/utilities/actions/input/[color]/transparent.css +65 -0
- package/styles/utilities/actions/input/[size]/size.css +86 -0
- package/styles/utilities/actions/input/style.css +6 -0
- package/styles/utilities/actions/textarea/[color]/fill.css +395 -0
- package/styles/utilities/actions/textarea/[color]/glass.css +25 -0
- package/styles/utilities/actions/textarea/[color]/outline.css +392 -0
- package/styles/utilities/actions/textarea/[color]/transparent.css +65 -0
- package/styles/utilities/actions/textarea/[size]/size.css +96 -0
- package/styles/utilities/actions/textarea/style.css +6 -0
- package/styles/utilities/overlays/scrollbar/style.css +13 -0
- package/styles/utilities/style.css +6 -0
- package/utilities/date/index.js +1 -1
- package/components/collections/accordion/component/item/header/icon/component.d.ts +0 -3
- package/components/collections/accordion/component/item/header/icon/component.interface.d.ts +0 -3
- package/components/collections/accordion/component/item/header/icon/component.js +0 -32
- package/components/integrations/yandex/maps/component/map/component.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/component.interface.d.ts +0 -5
- package/components/integrations/yandex/maps/component/map/component.js +0 -37
- package/components/integrations/yandex/maps/component/map/default_features_layer/component.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/default_features_layer/component.interface.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/default_scheme_layer/component.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/default_scheme_layer/component.interface.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/feature/component.d.ts +0 -3
- package/components/integrations/yandex/maps/component/map/marker/component.d.ts +0 -3
- package/components/integrations/yandex/maps/skeleton/map/component.d.ts +0 -3
- package/components/integrations/yandex/maps/skeleton/map/component.interface.d.ts +0 -3
- package/components/integrations/yandex/maps/skeleton/map/component.js +0 -32
- package/components/overlays/dialogs/dialog/(images)/component.module.css +0 -24
- package/components/overlays/dialogs/dialog/(images)/dialog/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/dialog/component.interface.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/dialog/images/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/dialog/images/component.interface.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/dialog/images/component.js +0 -47
- package/components/overlays/dialogs/dialog/(images)/dialog/images/image/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/dialog/images/image/component.interface.d.ts +0 -3
- package/components/overlays/dialogs/dialog/(images)/index.d.ts +0 -49
- package/components/overlays/dialogs/dialog/(images)/index.js +0 -16
- package/components/overlays/dialogs/dialog/component/backdrop/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/backdrop/component.interface.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/backdrop/component.js +0 -39
- package/components/overlays/dialogs/dialog/component/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/component.interface.d.ts +0 -8
- package/components/overlays/dialogs/dialog/component/component.js +0 -139
- package/components/overlays/dialogs/dialog/component/component.module.css +0 -211
- package/components/overlays/dialogs/dialog/component/context/component.d.ts +0 -2
- package/components/overlays/dialogs/dialog/component/context/component.interface.d.ts +0 -9
- package/components/overlays/dialogs/dialog/component/context/component.js +0 -2
- package/components/overlays/dialogs/dialog/component/dialog/body/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/dialog/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/dialog/component.interface.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/dialog/component.js +0 -85
- package/components/overlays/dialogs/dialog/component/dialog/footer/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/dialog/header/component.d.ts +0 -3
- package/components/overlays/dialogs/dialog/component/dialog/header/component.js +0 -30
- package/components/overlays/dialogs/dialog/component/index.d.ts +0 -43
- package/components/overlays/dialogs/dialog/component/index.js +0 -16
- package/components/texts/a/component/icon/component.d.ts +0 -3
- package/components/texts/a/component/icon/component.interface.d.ts +0 -4
- package/components/texts/a/component/text/component.d.ts +0 -3
- package/components/texts/a/skeleton/icon/component.d.ts +0 -3
- package/components/texts/a/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/a/skeleton/icon/component.js +0 -31
- package/components/texts/a/skeleton/text/component.d.ts +0 -3
- package/components/texts/a/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/a/skeleton/text/component.js +0 -31
- package/components/texts/h1/component/icon/component.d.ts +0 -3
- package/components/texts/h1/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h1/component/text/component.d.ts +0 -3
- package/components/texts/h1/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h1/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h1/skeleton/text/component.d.ts +0 -3
- package/components/texts/h1/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h1/skeleton/text/component.js +0 -30
- package/components/texts/h2/component/icon/component.d.ts +0 -3
- package/components/texts/h2/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h2/component/text/component.d.ts +0 -4
- package/components/texts/h2/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h2/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h2/skeleton/icon/component.js +0 -30
- package/components/texts/h2/skeleton/text/component.d.ts +0 -3
- package/components/texts/h2/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h2/skeleton/text/component.js +0 -30
- package/components/texts/h3/component/icon/component.d.ts +0 -3
- package/components/texts/h3/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h3/component/text/component.d.ts +0 -3
- package/components/texts/h3/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h3/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h3/skeleton/icon/component.js +0 -30
- package/components/texts/h3/skeleton/text/component.d.ts +0 -3
- package/components/texts/h3/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h3/skeleton/text/component.interface.js +0 -1
- package/components/texts/h3/skeleton/text/component.js +0 -30
- package/components/texts/h4/component/icon/component.d.ts +0 -3
- package/components/texts/h4/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h4/component/icon/component.interface.js +0 -1
- package/components/texts/h4/component/icon/component.js +0 -30
- package/components/texts/h4/component/text/component.d.ts +0 -3
- package/components/texts/h4/component/text/component.interface.d.ts +0 -5
- package/components/texts/h4/component/text/component.interface.js +0 -1
- package/components/texts/h4/component/text/component.js +0 -30
- package/components/texts/h4/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h4/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h4/skeleton/icon/component.interface.js +0 -1
- package/components/texts/h4/skeleton/icon/component.js +0 -30
- package/components/texts/h4/skeleton/text/component.d.ts +0 -3
- package/components/texts/h4/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h4/skeleton/text/component.interface.js +0 -1
- package/components/texts/h4/skeleton/text/component.js +0 -30
- package/components/texts/h5/component/icon/component.d.ts +0 -3
- package/components/texts/h5/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h5/component/icon/component.interface.js +0 -1
- package/components/texts/h5/component/icon/component.js +0 -30
- package/components/texts/h5/component/text/component.d.ts +0 -3
- package/components/texts/h5/component/text/component.interface.d.ts +0 -5
- package/components/texts/h5/component/text/component.interface.js +0 -1
- package/components/texts/h5/component/text/component.js +0 -30
- package/components/texts/h5/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h5/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h5/skeleton/icon/component.interface.js +0 -1
- package/components/texts/h5/skeleton/icon/component.js +0 -30
- package/components/texts/h5/skeleton/text/component.d.ts +0 -3
- package/components/texts/h5/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h5/skeleton/text/component.interface.js +0 -1
- package/components/texts/h5/skeleton/text/component.js +0 -30
- package/components/texts/h6/component/icon/component.d.ts +0 -3
- package/components/texts/h6/component/icon/component.interface.d.ts +0 -4
- package/components/texts/h6/component/icon/component.interface.js +0 -1
- package/components/texts/h6/component/icon/component.js +0 -30
- package/components/texts/h6/component/text/component.d.ts +0 -3
- package/components/texts/h6/component/text/component.interface.d.ts +0 -5
- package/components/texts/h6/component/text/component.interface.js +0 -1
- package/components/texts/h6/component/text/component.js +0 -30
- package/components/texts/h6/skeleton/icon/component.d.ts +0 -3
- package/components/texts/h6/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/h6/skeleton/icon/component.interface.js +0 -1
- package/components/texts/h6/skeleton/icon/component.js +0 -30
- package/components/texts/h6/skeleton/text/component.d.ts +0 -3
- package/components/texts/h6/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/h6/skeleton/text/component.interface.js +0 -1
- package/components/texts/h6/skeleton/text/component.js +0 -30
- package/components/texts/p/component/icon/component.d.ts +0 -3
- package/components/texts/p/component/icon/component.interface.d.ts +0 -4
- package/components/texts/p/component/icon/component.interface.js +0 -1
- package/components/texts/p/component/text/component.d.ts +0 -3
- package/components/texts/p/component/text/component.interface.js +0 -1
- package/components/texts/p/skeleton/icon/component.d.ts +0 -3
- package/components/texts/p/skeleton/icon/component.interface.d.ts +0 -3
- package/components/texts/p/skeleton/icon/component.interface.js +0 -1
- package/components/texts/p/skeleton/icon/component.js +0 -30
- package/components/texts/p/skeleton/text/component.d.ts +0 -3
- package/components/texts/p/skeleton/text/component.interface.d.ts +0 -4
- package/components/texts/p/skeleton/text/component.interface.js +0 -1
- package/components/texts/p/skeleton/text/component.js +0 -30
- package/styles/base/swiper/style.css +0 -9
- package/styles/theme/swiper/style.css +0 -2
- package/styles/utilities/buttons/button.css +0 -1096
- package/styles/utilities/icons/icon.css +0 -1119
- package/styles/utilities/inputs/input.css +0 -945
- package/styles/utilities/inputs/textarea.css +0 -955
- package/styles/utilities/scrollbars/scrollbar.css +0 -32
- /package/components/{collections/accordion/component/item/header/icon → actions/input/(mask)/(phone)/component}/component.interface.js +0 -0
- /package/components/{integrations/yandex/maps/component/map/component.interface.js → actions/toggle/skeleton/button/component.props.js} +0 -0
- /package/components/{integrations/yandex/maps/component/map/default_features_layer/component.interface.js → actions/toggle/skeleton/component.props.js} +0 -0
- /package/components/integrations/yandex/maps/component/{map/default_scheme_layer → controls/zoom}/component.interface.js +0 -0
- /package/components/integrations/yandex/maps/component/{map/feature → controls/zoom/minus}/component.interface.js +0 -0
- /package/components/integrations/yandex/maps/component/{map/marker → controls/zoom/plus}/component.interface.js +0 -0
- /package/components/integrations/yandex/maps/{skeleton/map → component/default/features/layer}/component.interface.js +0 -0
- /package/components/{overlays/dialogs/dialog/(images)/dialog → integrations/yandex/maps/component/default/scheme/layer}/component.interface.js +0 -0
- /package/components/{overlays/dialogs/dialog/(images)/dialog/images → integrations/yandex/maps/component/feature}/component.interface.js +0 -0
- /package/components/{overlays/dialogs/dialog/(images)/dialog/images/image → integrations/yandex/maps/component/marker}/component.interface.js +0 -0
- /package/components/{overlays/dialogs/dialog/component/backdrop/component.interface.js → integrations/yandex/maps/component/zoom/context.interface.js} +0 -0
- /package/components/{overlays/dialogs/dialog/component → integrations/yandex/maps/skeleton/default/scheme/layer}/component.interface.js +0 -0
- /package/components/overlays/{dialogs/dialog/component/context → dialog/component/close}/component.interface.js +0 -0
- /package/components/overlays/{dialogs/dialog/component/dialog/body → dialog/component}/component.interface.js +0 -0
- /package/components/overlays/{dialogs/dialog/component/dialog → dialog/component/open}/component.interface.js +0 -0
- /package/components/overlays/{dialogs/dialog/component/dialog/footer → dialog/component/portal}/component.interface.js +0 -0
- /package/components/overlays/{dialogs/dialog/component/dialog/header → dialog/component/portal/viewport/backdrop}/component.interface.js +0 -0
- /package/components/{texts/a/component/icon → overlays/dialog/component/portal/viewport}/component.interface.js +0 -0
- /package/components/{texts/a/component/text → overlays/dialog/component/portal/viewport/popup}/component.interface.js +0 -0
- /package/components/{texts/a/skeleton/icon → overlays/dialog/component/portal/viewport/popup/content}/component.interface.js +0 -0
- /package/components/{texts/a/skeleton/text → overlays/drawer/component/close}/component.interface.js +0 -0
- /package/components/{texts/h1/component/icon → overlays/drawer/component}/component.interface.js +0 -0
- /package/components/{texts/h1/component/text → overlays/drawer/component/open}/component.interface.js +0 -0
- /package/components/{texts/h1/skeleton/icon → overlays/drawer/component/portal}/component.interface.js +0 -0
- /package/components/{texts/h1/skeleton/text → overlays/drawer/component/portal/viewport/backdrop}/component.interface.js +0 -0
- /package/components/{texts/h2/component/icon → overlays/drawer/component/portal/viewport}/component.interface.js +0 -0
- /package/components/{texts/h2/component/text → overlays/drawer/component/portal/viewport/popup}/component.interface.js +0 -0
- /package/components/{texts/h2/skeleton/icon → overlays/drawer/component/portal/viewport/popup/content}/component.interface.js +0 -0
- /package/components/{texts/h2/skeleton/text → overlays/drawer/component/portal/viewport/popup/handle}/component.interface.js +0 -0
- /package/components/{texts/h3/component/icon/component.interface.js → overlays/observer/component/component.props.js} +0 -0
- /package/components/texts/{h3/component/text → data/component}/component.interface.js +0 -0
- /package/components/texts/{h3/skeleton/icon → data/skeleton}/component.interface.js +0 -0
- /package/styles/{theme → libs}/swiper/navigation/style.css +0 -0
- /package/styles/{theme → libs}/swiper/pagination/style.css +0 -0
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from './component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../component.module.css';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabsHorizontalHeadProps } from './component.interface';
|
|
3
|
-
export declare const TabsHorizontalHead: React.ForwardRefExoticComponent<TabsHorizontalHeadProps & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const TabsHorizontalHead: React.ForwardRefExoticComponent<Omit<TabsHorizontalHeadProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../component.module.css';
|
|
@@ -9,7 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
9
|
}
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
12
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import styles from '../../component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../../component.module.css';
|
|
@@ -8,7 +8,7 @@ import { TabsHorizontalHeadIndicatorProps } from './head/indicator/component.int
|
|
|
8
8
|
import { TabsHorizontalHeadTab } from './head/tab/component';
|
|
9
9
|
import { TabsHorizontalHeadTabProps } from './head/tab/component.interface';
|
|
10
10
|
export declare const TabsHorizontal: typeof TabsHorizontalComponent & {
|
|
11
|
-
Head: import("react").ForwardRefExoticComponent<TabsHorizontalHeadProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
11
|
+
Head: import("react").ForwardRefExoticComponent<Omit<TabsHorizontalHeadProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
12
12
|
Tab: typeof TabsHorizontalHeadTab;
|
|
13
13
|
Indicator: typeof TabsHorizontalHeadIndicator;
|
|
14
14
|
};
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from './component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../component.module.css';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabsVerticalHeadProps } from './component.interface';
|
|
3
|
-
export declare const TabsVerticalHead: React.ForwardRefExoticComponent<TabsVerticalHeadProps & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const TabsVerticalHead: React.ForwardRefExoticComponent<Omit<TabsVerticalHeadProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../component.module.css';
|
|
@@ -9,7 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
9
|
}
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
12
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import styles from '../../component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Tabs as TabsComponent } from '@base-ui
|
|
23
|
+
import { Tabs as TabsComponent } from '@base-ui/react/tabs';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../../component.module.css';
|
|
@@ -8,7 +8,7 @@ import { TabsVerticalHeadIndicatorProps } from './head/indicator/component.inter
|
|
|
8
8
|
import { TabsVerticalHeadTab } from './head/tab/component';
|
|
9
9
|
import { TabsVerticalHeadTabProps } from './head/tab/component.interface';
|
|
10
10
|
export declare const TabsVertical: typeof TabsVerticalComponent & {
|
|
11
|
-
Head: import("react").ForwardRefExoticComponent<TabsVerticalHeadProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
11
|
+
Head: import("react").ForwardRefExoticComponent<Omit<TabsVerticalHeadProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
12
12
|
Tab: typeof TabsVerticalHeadTab;
|
|
13
13
|
Indicator: typeof TabsVerticalHeadIndicator;
|
|
14
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
2
|
import { GridProps } from './component.interface';
|
|
3
|
-
export declare function Grid({ ...
|
|
3
|
+
export declare function Grid<C extends ElementType = 'div'>({ as, ...rest }: GridProps<C>): React.JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef, ElementType, Ref } from 'react';
|
|
2
|
+
export type GridProps<C extends ElementType = 'div'> = {
|
|
3
|
+
as?: C;
|
|
4
|
+
ref?: Ref<any>;
|
|
5
|
+
} & Omit<ComponentPropsWithoutRef<C>, 'as' | 'ref'>;
|
|
@@ -20,14 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import classNames from 'classnames';
|
|
23
24
|
import React from 'react';
|
|
24
25
|
import styles from './component.module.css';
|
|
25
26
|
export function Grid(_a) {
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
return (React.createElement(
|
|
29
|
-
' ' +
|
|
30
|
-
((_b = styles.grid) !== null && _b !== void 0 ? _b : '') +
|
|
31
|
-
' ' +
|
|
32
|
-
((_c = props === null || props === void 0 ? void 0 : props.className) !== null && _c !== void 0 ? _c : '') }), props === null || props === void 0 ? void 0 : props.children));
|
|
27
|
+
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
28
|
+
var Component = (as || 'div');
|
|
29
|
+
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-grid', styles.grid, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
33
30
|
}
|
|
@@ -20,17 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
24
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
25
|
-
if (ar || !(i in from)) {
|
|
26
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
27
|
-
ar[i] = from[i];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
31
|
-
};
|
|
32
23
|
import classNames from 'classnames';
|
|
33
|
-
import React, { Children, isValidElement, useImperativeHandle, useRef } from 'react';
|
|
24
|
+
import React, { Children, isValidElement, useImperativeHandle, useRef, } from 'react';
|
|
34
25
|
import { Pagination } from 'swiper/modules';
|
|
35
26
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
36
27
|
import { Image } from '../../component/component';
|
|
@@ -47,7 +38,7 @@ export function Images(_a) {
|
|
|
47
38
|
}
|
|
48
39
|
};
|
|
49
40
|
var totalSlides = Children.toArray(rest === null || rest === void 0 ? void 0 : rest.children).filter(function (child) { return isValidElement(child) && child.type === ImagesImage; });
|
|
50
|
-
return (React.createElement(Image, __assign({ as: Swiper }, rest, { ref: swiperRef, modules:
|
|
41
|
+
return (React.createElement(Image, __assign({ as: Swiper }, rest, { ref: swiperRef, modules: (rest === null || rest === void 0 ? void 0 : rest.modules) ? rest === null || rest === void 0 ? void 0 : rest.modules : [Pagination], speed: (_b = rest === null || rest === void 0 ? void 0 : rest.speed) !== null && _b !== void 0 ? _b : 400, spaceBetween: (_c = rest === null || rest === void 0 ? void 0 : rest.spaceBetween) !== null && _c !== void 0 ? _c : 0, slidesPerView: (_d = rest === null || rest === void 0 ? void 0 : rest.slidesPerView) !== null && _d !== void 0 ? _d : 1, draggable: (_e = rest === null || rest === void 0 ? void 0 : rest.draggable) !== null && _e !== void 0 ? _e : true, pagination: __assign({ clickable: true }, (typeof (rest === null || rest === void 0 ? void 0 : rest.pagination) === 'object' ? rest.pagination : {})), className: classNames('images', styles.images, rest === null || rest === void 0 ? void 0 : rest.className) }),
|
|
51
42
|
Children.map(rest === null || rest === void 0 ? void 0 : rest.children, function (child, index) {
|
|
52
43
|
if (isValidElement(child) && child.type === ImagesImage) {
|
|
53
44
|
return (React.createElement(SwiperSlide, { key: index, className: classNames('images-slide') }, child));
|
|
@@ -45,7 +45,7 @@ export function ImageImage(_a) {
|
|
|
45
45
|
setImageValid(false);
|
|
46
46
|
};
|
|
47
47
|
if (!src || imageValid === false) {
|
|
48
|
-
return (React.createElement(ImageMinusIcon, { className: classNames(styles.svg, rest === null || rest === void 0 ? void 0 : rest.className) }));
|
|
48
|
+
return (React.createElement(ImageMinusIcon, __assign({}, rest, { className: classNames(styles.svg, rest === null || rest === void 0 ? void 0 : rest.className) })));
|
|
49
49
|
}
|
|
50
50
|
return (React.createElement(Component, __assign({}, rest, { src: src, alt: alt || 'Изображение', onLoad: handleLoad, onError: handleError, className: classNames(styles.image, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
51
51
|
}
|
|
@@ -29,7 +29,6 @@ import { Buttons } from '../../../../containers/buttons/component';
|
|
|
29
29
|
import { Section } from '../../../../containers/section/component';
|
|
30
30
|
import { Card } from '../../../../display/card/component/component';
|
|
31
31
|
import { H1Skeleton } from '../../../../texts/h1/skeleton/component';
|
|
32
|
-
import { H1TextSkeleton } from '../../../../texts/h1/skeleton/text/component';
|
|
33
32
|
import component from '../component/component.module.css';
|
|
34
33
|
import skeleton from './component.module.css';
|
|
35
34
|
export function TBankTerminalSkeleton(_a) {
|
|
@@ -38,22 +37,19 @@ export function TBankTerminalSkeleton(_a) {
|
|
|
38
37
|
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-tbank-terminal', component.TBankTerminal, skeleton.TBankTerminal, rest === null || rest === void 0 ? void 0 : rest.className) }),
|
|
39
38
|
React.createElement(Section, { className: classNames(skeleton.Section) },
|
|
40
39
|
React.createElement(Article, { className: classNames(skeleton.Article) },
|
|
41
|
-
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) },
|
|
42
|
-
React.createElement(H1TextSkeleton, { className: classNames(skeleton.H1TextSkeleton) })),
|
|
40
|
+
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) }),
|
|
43
41
|
React.createElement(IconSkeleton, { className: classNames(skeleton.IconSkeleton) })),
|
|
44
42
|
React.createElement(Card, { className: classNames(skeleton.Amount) },
|
|
45
|
-
React.createElement(H1Skeleton,
|
|
46
|
-
React.createElement(H1TextSkeleton, { className: classNames(skeleton.Text) }))),
|
|
43
|
+
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) })),
|
|
47
44
|
React.createElement(Card, { className: classNames(skeleton.PaymentMethod) },
|
|
48
45
|
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) },
|
|
49
|
-
React.createElement(
|
|
46
|
+
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) })),
|
|
50
47
|
React.createElement(Buttons, { className: classNames(skeleton.Buttons) },
|
|
51
48
|
React.createElement(ButtonSkeleton, { className: classNames(skeleton.Button) }),
|
|
52
49
|
React.createElement(ButtonSkeleton, { className: classNames(skeleton.Button) }),
|
|
53
50
|
React.createElement(ButtonSkeleton, { className: classNames(skeleton.Button) }))),
|
|
54
51
|
React.createElement(Card, { className: classNames(skeleton.BankCard) },
|
|
55
|
-
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) },
|
|
56
|
-
React.createElement(H1TextSkeleton, { className: classNames(skeleton.H1TextSkeleton) })),
|
|
52
|
+
React.createElement(H1Skeleton, { className: classNames(skeleton.H1Skeleton) }),
|
|
57
53
|
React.createElement(Buttons, { className: classNames(skeleton.Buttons) },
|
|
58
54
|
React.createElement(ButtonSkeleton, { className: classNames(skeleton.Button) }),
|
|
59
55
|
React.createElement(ButtonSkeleton, { className: classNames(skeleton.Button) })))), rest === null || rest === void 0 ? void 0 :
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function
|
|
2
|
+
import type { YandexMapProps } from './component.interface';
|
|
3
|
+
export declare function YandexMap({ ...rest }: YandexMapProps): React.JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { YMapProps } from '@yandex/ymaps3-types';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export interface YandexMapProps extends YMapProps {
|
|
4
|
+
children?: ReactNode;
|
|
3
5
|
}
|
|
@@ -20,23 +20,21 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
|
|
28
|
-
import styles from './component.module.css';
|
|
29
|
-
export function YandexMaps(_a) {
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { YandexMapContext } from '../../../../../providers/yandex/maps/context/context';
|
|
25
|
+
import { YandexMapSkeleton } from '../skeleton/component';
|
|
26
|
+
import { YandexMapDefaultSchemeLayerSkeleton } from '../skeleton/default/scheme/layer/component';
|
|
27
|
+
export function YandexMap(_a) {
|
|
30
28
|
var rest = __rest(_a, []);
|
|
31
|
-
var
|
|
32
|
-
var context = useContext(YandexMapsContext);
|
|
29
|
+
var context = useContext(YandexMapContext);
|
|
33
30
|
if (!context) {
|
|
34
|
-
throw new Error('
|
|
31
|
+
throw new Error('YandexMap должен использоваться внутри YandexMap');
|
|
35
32
|
}
|
|
36
33
|
var api = context.api, isLoading = context.isLoading, error = context.error;
|
|
37
34
|
if (!api || isLoading || error) {
|
|
38
|
-
return (React.createElement(
|
|
39
|
-
React.createElement(
|
|
35
|
+
return (React.createElement(YandexMapSkeleton, __assign({}, rest),
|
|
36
|
+
React.createElement(YandexMapDefaultSchemeLayerSkeleton, null)));
|
|
40
37
|
}
|
|
41
|
-
|
|
38
|
+
var YMap = api.YMap;
|
|
39
|
+
return React.createElement(YMap, __assign({}, rest), rest === null || rest === void 0 ? void 0 : rest.children);
|
|
42
40
|
}
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
@layer mosuk-ui {
|
|
2
2
|
@layer index-15 {
|
|
3
|
-
.
|
|
3
|
+
.yandex_map {
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: calc(var(--spacing, .25rem) * 100);
|
|
8
8
|
}
|
|
9
|
+
|
|
10
|
+
/* Кнопки Zoom: плавное приближение/удаление при клике.
|
|
11
|
+
Анимация зума карты задаётся через duration/easing в location при onZoomIn/onZoomOut. */
|
|
12
|
+
.yandexMapsZoomPlus,
|
|
13
|
+
.yandexMapsZoomMinus {
|
|
14
|
+
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.yandexMapsZoomPlus:active,
|
|
18
|
+
.yandexMapsZoomMinus:active {
|
|
19
|
+
opacity: 0.7;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.yandexMapsZoomPlus:disabled,
|
|
23
|
+
.yandexMapsZoomMinus:disabled {
|
|
24
|
+
opacity: 0.5;
|
|
25
|
+
cursor: not-allowed;
|
|
26
|
+
}
|
|
9
27
|
}
|
|
10
28
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import { YandexMapContext } from '../../../../../../../providers/yandex/maps/context/context';
|
|
3
|
+
import styles from '../../../component.module.css';
|
|
4
|
+
import { YandexMapControlsZoomMinus } from './minus/component';
|
|
5
|
+
import { YandexMapControlsZoomPlus } from './plus/component';
|
|
6
|
+
export function YandexMapControlsZoom(props) {
|
|
7
|
+
var _a;
|
|
8
|
+
if (props === void 0) { props = {}; }
|
|
9
|
+
var context = useContext(YandexMapContext);
|
|
10
|
+
if (!(context === null || context === void 0 ? void 0 : context.api)) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
var _b = context === null || context === void 0 ? void 0 : context.api, YMapControls = _b.YMapControls, YMapControl = _b.YMapControl;
|
|
14
|
+
var position = (_a = props.position) !== null && _a !== void 0 ? _a : 'right';
|
|
15
|
+
if (!YMapControls || !YMapControl)
|
|
16
|
+
return null;
|
|
17
|
+
return (React.createElement("div", { className: 'GGGGGG absolute top-0 right-0 z-100' },
|
|
18
|
+
React.createElement(YMapControl, { transparent: true },
|
|
19
|
+
React.createElement(YandexMapControlsZoomPlus, { className: styles.yandexMapsZoomPlus })),
|
|
20
|
+
React.createElement(YMapControl, { transparent: true },
|
|
21
|
+
React.createElement(YandexMapControlsZoomMinus, { className: styles.yandexMapsZoomMinus }))));
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import { YMapZoomContext } from '../../../zoom/context';
|
|
3
|
+
export function YandexMapControlsZoomMinus(props) {
|
|
4
|
+
if (props === void 0) { props = {}; }
|
|
5
|
+
var context = useContext(YMapZoomContext);
|
|
6
|
+
if (!(context === null || context === void 0 ? void 0 : context.onZoomOut))
|
|
7
|
+
return null;
|
|
8
|
+
var onZoomOut = context.onZoomOut, zoom = context.zoom, min = context.min;
|
|
9
|
+
var isDisabled = zoom !== undefined && min !== undefined && zoom <= min;
|
|
10
|
+
return (React.createElement("button", { type: "button", onClick: onZoomOut, disabled: isDisabled, className: props.className, "aria-label": "\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u043C\u0430\u0441\u0448\u0442\u0430\u0431" }));
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import { YMapZoomContext } from '../../../zoom/context';
|
|
3
|
+
export function YandexMapControlsZoomPlus(props) {
|
|
4
|
+
if (props === void 0) { props = {}; }
|
|
5
|
+
var context = useContext(YMapZoomContext);
|
|
6
|
+
if (!(context === null || context === void 0 ? void 0 : context.onZoomIn))
|
|
7
|
+
return null;
|
|
8
|
+
var onZoomIn = context.onZoomIn, zoom = context.zoom, max = context.max;
|
|
9
|
+
var isDisabled = zoom !== undefined && max !== undefined && zoom >= max;
|
|
10
|
+
return (React.createElement("button", { type: "button", onClick: onZoomIn, disabled: isDisabled, className: props.className, "aria-label": "\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u043C\u0430\u0441\u0448\u0442\u0430\u0431" }));
|
|
11
|
+
}
|
|
@@ -10,9 +10,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import React, { useContext } from 'react';
|
|
13
|
-
import {
|
|
14
|
-
export function
|
|
15
|
-
var context = useContext(
|
|
13
|
+
import { YandexMapContext } from '../../../../../../../../providers/yandex/maps/context/context';
|
|
14
|
+
export function YandexMapDefaultFeaturesLayer(props) {
|
|
15
|
+
var context = useContext(YandexMapContext);
|
|
16
16
|
if (!context || !context.api)
|
|
17
17
|
return null;
|
|
18
18
|
var YMapDefaultFeaturesLayer = context.api.YMapDefaultFeaturesLayer;
|
|
@@ -10,9 +10,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import React, { useContext } from 'react';
|
|
13
|
-
import {
|
|
14
|
-
export function
|
|
15
|
-
var context = useContext(
|
|
13
|
+
import { YandexMapContext } from '../../../../../../../../providers/yandex/maps/context/context';
|
|
14
|
+
export function YandexMapDefaultSchemeLayer(props) {
|
|
15
|
+
var context = useContext(YandexMapContext);
|
|
16
16
|
if (!context || !context.api)
|
|
17
17
|
return null;
|
|
18
18
|
var YMapDefaultSchemeLayer = context.api.YMapDefaultSchemeLayer;
|
|
@@ -21,10 +21,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React, { useContext } from 'react';
|
|
24
|
-
import {
|
|
25
|
-
export function
|
|
24
|
+
import { YandexMapContext } from '../../../../../../providers/yandex/maps/context/context';
|
|
25
|
+
export function YandexMapFeature(_a) {
|
|
26
26
|
var rest = __rest(_a, []);
|
|
27
|
-
var context = useContext(
|
|
27
|
+
var context = useContext(YandexMapContext);
|
|
28
28
|
if (!context || !context.api)
|
|
29
29
|
return null;
|
|
30
30
|
var YMapFeature = context.api.YMapFeature;
|