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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@layer mosuk-ui {
|
|
2
|
+
@layer index-17 {
|
|
3
|
+
:root {
|
|
4
|
+
--bleed: calc(var(--spacing, 0.25rem) * 24);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.viewport {
|
|
8
|
+
position: fixed;
|
|
9
|
+
inset: 0;
|
|
10
|
+
z-index: 200;
|
|
11
|
+
|
|
12
|
+
touch-action: none;
|
|
13
|
+
|
|
14
|
+
.backdrop {
|
|
15
|
+
position: fixed;
|
|
16
|
+
inset: 0;
|
|
17
|
+
|
|
18
|
+
width: 100%;
|
|
19
|
+
min-height: 100dvh;
|
|
20
|
+
|
|
21
|
+
background-color: rgba(0, 0, 0, calc((1 - var(--drawer-swipe-progress, 0)) * 0.1));
|
|
22
|
+
backdrop-filter: blur(calc((1 - var(--drawer-swipe-progress, 0)) * 2px));
|
|
23
|
+
|
|
24
|
+
transition-duration: 200ms;
|
|
25
|
+
transition-property: background-color, backdrop-filter;
|
|
26
|
+
transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
|
|
27
|
+
|
|
28
|
+
&[data-starting-style],
|
|
29
|
+
&[data-ending-style] {
|
|
30
|
+
background-color: rgba(0, 0, 0, 0);
|
|
31
|
+
backdrop-filter: blur(0);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&[data-swiping] {
|
|
35
|
+
transition-duration: 0ms;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-ending-style] {
|
|
39
|
+
transition-duration: calc(var(--drawer-swipe-strength) * 200ms);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.popup {
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
|
|
46
|
+
background-color: var(--color-white);
|
|
47
|
+
|
|
48
|
+
outline: none;
|
|
49
|
+
|
|
50
|
+
box-shadow: 0 25px 50px -12px rgba(249, 250, 251, var(--tw-shadow-alpha, 0.5));
|
|
51
|
+
|
|
52
|
+
will-change: transform;
|
|
53
|
+
transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
54
|
+
|
|
55
|
+
&[data-swiping] {
|
|
56
|
+
user-select: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-ending-style] {
|
|
60
|
+
transition-duration: calc(var(--drawer-swipe-strength) * 400ms);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.handle {
|
|
64
|
+
position: fixed;
|
|
65
|
+
z-index: 10;
|
|
66
|
+
|
|
67
|
+
background-color: color-mix(in oklab, var(--color-gray-400) 50%, transparent);
|
|
68
|
+
backdrop-filter: blur(4px);
|
|
69
|
+
|
|
70
|
+
border-radius: calc(infinity * 1px);
|
|
71
|
+
|
|
72
|
+
transition-duration: 200ms;
|
|
73
|
+
|
|
74
|
+
&:not(:hover) {
|
|
75
|
+
transition-duration: 600ms;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.content {
|
|
80
|
+
overflow-y: auto;
|
|
81
|
+
touch-action: auto;
|
|
82
|
+
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: var(--drawer-frontmost-height, 100%);
|
|
85
|
+
|
|
86
|
+
padding: calc(var(--spacing, 0.25rem) * 3);
|
|
87
|
+
|
|
88
|
+
&::-webkit-scrollbar {
|
|
89
|
+
display: none;
|
|
90
|
+
width: 0;
|
|
91
|
+
height: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* swipeDirection styles */
|
|
98
|
+
|
|
99
|
+
.viewport {
|
|
100
|
+
&:has(.popup[data-swipe-direction='down']) {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: flex-end;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:has(.popup[data-swipe-direction='left']) {
|
|
107
|
+
display: flex;
|
|
108
|
+
justify-content: flex-start;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:has(.popup[data-swipe-direction='right']) {
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: flex-end;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.popup {
|
|
117
|
+
&[data-swipe-direction='down'] {
|
|
118
|
+
width: 100%;
|
|
119
|
+
height: fit-content;
|
|
120
|
+
max-width: var(--container-lg, 512px);
|
|
121
|
+
max-height: calc(100dvh - var(--bleed));
|
|
122
|
+
|
|
123
|
+
border-top-left-radius: var(--radius-3xl, 1.5rem);
|
|
124
|
+
border-top-right-radius: var(--radius-3xl, 1.5rem);
|
|
125
|
+
|
|
126
|
+
transform: translateY(var(--drawer-swipe-movement-y));
|
|
127
|
+
|
|
128
|
+
&[data-starting-style],
|
|
129
|
+
&[data-ending-style] {
|
|
130
|
+
transform: translateY(100dvh);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.handle {
|
|
134
|
+
top: calc(var(--spacing, 0.25rem) * 2);
|
|
135
|
+
left: 0;
|
|
136
|
+
right: 0;
|
|
137
|
+
bottom: auto;
|
|
138
|
+
|
|
139
|
+
width: calc(var(--spacing, 0.25rem) * 24);
|
|
140
|
+
height: calc(var(--spacing, 0.25rem) * 1);
|
|
141
|
+
|
|
142
|
+
margin-inline: auto;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:has(.handle) {
|
|
146
|
+
.content {
|
|
147
|
+
padding-top: calc(var(--spacing, 0.25rem) * 8);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&[data-swipe-direction='left'] {
|
|
153
|
+
width: var(--container-lg, 512px);
|
|
154
|
+
height: 100%;
|
|
155
|
+
max-width: calc(100vw - var(--bleed));
|
|
156
|
+
max-height: 100%;
|
|
157
|
+
|
|
158
|
+
transform: translateX(var(--drawer-swipe-movement-x) * -1);
|
|
159
|
+
|
|
160
|
+
&[data-starting-style],
|
|
161
|
+
&[data-ending-style] {
|
|
162
|
+
transform: translateX(-100dvw);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.handle {
|
|
166
|
+
top: 0;
|
|
167
|
+
left: auto;
|
|
168
|
+
right: calc(var(--spacing, 0.25rem) * 2);
|
|
169
|
+
bottom: 0;
|
|
170
|
+
|
|
171
|
+
width: calc(var(--spacing, 0.25rem) * 1);
|
|
172
|
+
height: calc(var(--spacing, 0.25rem) * 24);
|
|
173
|
+
|
|
174
|
+
margin: auto 0;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&[data-swipe-direction='right'] {
|
|
179
|
+
width: var(--container-lg, 512px);
|
|
180
|
+
height: 100%;
|
|
181
|
+
max-width: calc(100vw - var(--bleed));
|
|
182
|
+
max-height: 100%;
|
|
183
|
+
|
|
184
|
+
transform: translateX(var(--drawer-swipe-movement-x));
|
|
185
|
+
|
|
186
|
+
&[data-starting-style],
|
|
187
|
+
&[data-ending-style] {
|
|
188
|
+
transform: translateX(100dvw);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.handle {
|
|
192
|
+
top: 0;
|
|
193
|
+
left: calc(var(--spacing, 0.25rem) * 2);
|
|
194
|
+
right: auto;
|
|
195
|
+
bottom: 0;
|
|
196
|
+
|
|
197
|
+
width: calc(var(--spacing, 0.25rem) * 1);
|
|
198
|
+
height: calc(var(--spacing, 0.25rem) * 24);
|
|
199
|
+
|
|
200
|
+
margin: auto 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DrawerClose } from './close/component';
|
|
2
|
+
import { DrawerCloseProps } from './close/component.interface';
|
|
3
|
+
import { Drawer as Component } from './component';
|
|
4
|
+
import { DrawerProps as ComponentProps } from './component.interface';
|
|
5
|
+
import { DrawerOpen } from './open/component';
|
|
6
|
+
import { DrawerOpenProps } from './open/component.interface';
|
|
7
|
+
import { DrawerPortal } from './portal/component';
|
|
8
|
+
import { DrawerPortalProps } from './portal/component.interface';
|
|
9
|
+
import { DrawerPortalViewportBackdrop } from './portal/viewport/backdrop/component';
|
|
10
|
+
import { DrawerPortalViewportBackdropProps } from './portal/viewport/backdrop/component.interface';
|
|
11
|
+
import { DrawerPortalViewport } from './portal/viewport/component';
|
|
12
|
+
import { DrawerPortalViewportProps } from './portal/viewport/component.interface';
|
|
13
|
+
import { DrawerPortalViewportPopup } from './portal/viewport/popup/component';
|
|
14
|
+
import { DrawerPortalViewportPopupProps } from './portal/viewport/popup/component.interface';
|
|
15
|
+
import { DrawerPortalViewportPopupContent } from './portal/viewport/popup/content/component';
|
|
16
|
+
import { DrawerPortalViewportPopupContentProps } from './portal/viewport/popup/content/component.interface';
|
|
17
|
+
import { DrawerPortalViewportPopupHandle } from './portal/viewport/popup/handle/component';
|
|
18
|
+
import { DrawerPortalViewportPopupHandleProps } from './portal/viewport/popup/handle/component.interface';
|
|
19
|
+
export declare const Drawer: typeof Component & {
|
|
20
|
+
Open: typeof DrawerOpen;
|
|
21
|
+
Close: typeof DrawerClose;
|
|
22
|
+
Portal: typeof DrawerPortal & {
|
|
23
|
+
Viewport: typeof DrawerPortalViewport & {
|
|
24
|
+
Backdrop: typeof DrawerPortalViewportBackdrop;
|
|
25
|
+
Popup: typeof DrawerPortalViewportPopup & {
|
|
26
|
+
Handle: typeof DrawerPortalViewportPopupHandle;
|
|
27
|
+
Content: typeof DrawerPortalViewportPopupContent;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare namespace Drawer {
|
|
33
|
+
type Props = ComponentProps;
|
|
34
|
+
namespace Open {
|
|
35
|
+
type Props = DrawerOpenProps;
|
|
36
|
+
}
|
|
37
|
+
namespace Close {
|
|
38
|
+
type Props = DrawerCloseProps;
|
|
39
|
+
}
|
|
40
|
+
namespace Portal {
|
|
41
|
+
type Props = DrawerPortalProps;
|
|
42
|
+
namespace Viewport {
|
|
43
|
+
type Props = DrawerPortalViewportProps;
|
|
44
|
+
namespace Backdrop {
|
|
45
|
+
type Props = DrawerPortalViewportBackdropProps;
|
|
46
|
+
}
|
|
47
|
+
namespace Popup {
|
|
48
|
+
type Props = DrawerPortalViewportPopupProps;
|
|
49
|
+
namespace Handle {
|
|
50
|
+
type Props = DrawerPortalViewportPopupHandleProps;
|
|
51
|
+
}
|
|
52
|
+
namespace Content {
|
|
53
|
+
type Props = DrawerPortalViewportPopupContentProps;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DrawerClose } from './close/component';
|
|
2
|
+
import { Drawer as Component } from './component';
|
|
3
|
+
import { DrawerOpen } from './open/component';
|
|
4
|
+
import { DrawerPortal } from './portal/component';
|
|
5
|
+
import { DrawerPortalViewportBackdrop } from './portal/viewport/backdrop/component';
|
|
6
|
+
import { DrawerPortalViewport } from './portal/viewport/component';
|
|
7
|
+
import { DrawerPortalViewportPopup } from './portal/viewport/popup/component';
|
|
8
|
+
import { DrawerPortalViewportPopupContent } from './portal/viewport/popup/content/component';
|
|
9
|
+
import { DrawerPortalViewportPopupHandle } from './portal/viewport/popup/handle/component';
|
|
10
|
+
export var Drawer = Object.assign(Component, {
|
|
11
|
+
Open: DrawerOpen,
|
|
12
|
+
Close: DrawerClose,
|
|
13
|
+
Portal: Object.assign(DrawerPortal, {
|
|
14
|
+
Viewport: Object.assign(DrawerPortalViewport, {
|
|
15
|
+
Backdrop: DrawerPortalViewportBackdrop,
|
|
16
|
+
Popup: Object.assign(DrawerPortalViewportPopup, {
|
|
17
|
+
Handle: DrawerPortalViewportPopupHandle,
|
|
18
|
+
Content: DrawerPortalViewportPopupContent,
|
|
19
|
+
}),
|
|
20
|
+
}),
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -20,11 +20,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { DrawerPreview as BaseUiDrawer } from '@base-ui/react';
|
|
23
24
|
import classNames from 'classnames';
|
|
24
25
|
import React from 'react';
|
|
25
|
-
|
|
26
|
-
import styles from '../component.module.css';
|
|
27
|
-
export function H2Icon(_a) {
|
|
26
|
+
export function DrawerOpen(_a) {
|
|
28
27
|
var rest = __rest(_a, []);
|
|
29
|
-
return (React.createElement(
|
|
28
|
+
return (React.createElement(BaseUiDrawer.Trigger, __assign({}, rest, { className: classNames('mosuk-drawer-open', rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
29
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { DrawerPreview as BaseUiDrawer } from '@base-ui/react';
|
|
24
|
+
import classNames from 'classnames';
|
|
25
|
+
import React from 'react';
|
|
26
|
+
export function DrawerPortal(_a) {
|
|
27
|
+
var rest = __rest(_a, []);
|
|
28
|
+
return (React.createElement(BaseUiDrawer.Portal, __assign({}, rest, { className: classNames('mosuk-drawer-portal', rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { DrawerPreview as BaseUiDrawer } from '@base-ui/react';
|
|
24
|
+
import classNames from 'classnames';
|
|
25
|
+
import React from 'react';
|
|
26
|
+
import styles from '../../../component.module.css';
|
|
27
|
+
export function DrawerPortalViewportBackdrop(_a) {
|
|
28
|
+
var rest = __rest(_a, []);
|
|
29
|
+
return (React.createElement(BaseUiDrawer.Backdrop, __assign({}, rest, { className: classNames('mosuk-drawer-portal-viewport-backdrop', styles.backdrop, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
|
+
}
|
|
@@ -20,11 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { DrawerPreview as BaseUiDrawer } from '@base-ui/react';
|
|
23
24
|
import classNames from 'classnames';
|
|
24
25
|
import React from 'react';
|
|
25
26
|
import styles from '../../component.module.css';
|
|
26
|
-
export function
|
|
27
|
+
export function DrawerPortalViewport(_a) {
|
|
27
28
|
var rest = __rest(_a, []);
|
|
28
|
-
|
|
29
|
-
return (React.createElement(Component, __assign({}, rest, { ref: rest === null || rest === void 0 ? void 0 : rest.ref, className: classNames('mosuk-dialog-dialog-footer', styles.footer, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
29
|
+
return (React.createElement(BaseUiDrawer.Viewport, __assign({}, rest, { className: classNames('mosuk-drawer-portal-viewport', styles.viewport, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
30
|
}
|
|
@@ -20,11 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { DrawerPreview as BaseUiDrawer } from '@base-ui/react';
|
|
23
24
|
import classNames from 'classnames';
|
|
24
25
|
import React from 'react';
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
export function H1IconSKeleton(_a) {
|
|
26
|
+
import styles from '../../../component.module.css';
|
|
27
|
+
export function DrawerPortalViewportPopup(_a) {
|
|
28
28
|
var rest = __rest(_a, []);
|
|
29
|
-
return (React.createElement(
|
|
29
|
+
return (React.createElement(BaseUiDrawer.Popup, __assign({}, rest, { className: classNames('mosuk-drawer-portal-viewport-popup', styles.popup, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
30
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
|
+
import { DrawerPortalViewportPopupContentProps } from './component.interface';
|
|
3
|
+
export declare function DrawerPortalViewportPopupContent<C extends ElementType = 'div'>({ as, ...rest }: DrawerPortalViewportPopupContentProps<C>): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ElementType, Ref } from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type DrawerPortalViewportPopupContentProps<C extends ElementType = 'div'> = {
|
|
3
3
|
as?: C;
|
|
4
4
|
ref?: Ref<any>;
|
|
5
5
|
} & Omit<ComponentPropsWithoutRef<C>, 'as' | 'ref'>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import classNames from 'classnames';
|
|
24
|
+
import React from 'react';
|
|
25
|
+
import styles from '../../../../component.module.css';
|
|
26
|
+
export function DrawerPortalViewportPopupContent(_a) {
|
|
27
|
+
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
28
|
+
var Component = (as || 'div');
|
|
29
|
+
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-drawer-portal-viewport-popup-content', styles.content, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
|
+
import { DrawerPortalViewportPopupHandleProps } from './component.interface';
|
|
3
|
+
export declare function DrawerPortalViewportPopupHandle<C extends ElementType = 'div'>({ as, ...rest }: DrawerPortalViewportPopupHandleProps<C>): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ElementType, Ref } from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type DrawerPortalViewportPopupHandleProps<C extends ElementType = 'div'> = {
|
|
3
3
|
as?: C;
|
|
4
4
|
ref?: Ref<any>;
|
|
5
5
|
} & Omit<ComponentPropsWithoutRef<C>, 'as' | 'ref'>;
|
|
@@ -22,9 +22,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import styles from '
|
|
26
|
-
export function
|
|
25
|
+
import styles from '../../../../component.module.css';
|
|
26
|
+
export function DrawerPortalViewportPopupHandle(_a) {
|
|
27
27
|
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
28
|
-
var Component = (as || '
|
|
29
|
-
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-
|
|
28
|
+
var Component = (as || 'div');
|
|
29
|
+
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-drawer-portal-wviewport-popup-handle', styles.handle, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
30
|
}
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import { Popover } from '@base-ui
|
|
23
|
+
import { Popover } from '@base-ui/react/popover';
|
|
24
24
|
import React from 'react';
|
|
25
25
|
import styles from './component.module.css';
|
|
26
26
|
export function Dropdown(_a) {
|
|
@@ -22,9 +22,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import styles from '
|
|
26
|
-
export function
|
|
25
|
+
import styles from './component.module.css';
|
|
26
|
+
export function Observer(_a) {
|
|
27
27
|
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
28
|
-
var Component = (as || '
|
|
29
|
-
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-
|
|
28
|
+
var Component = (as || 'aside');
|
|
29
|
+
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-observer', styles.observer, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
30
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ElementType, Ref } from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type ObserverProps<C extends ElementType = 'aside'> = {
|
|
3
3
|
as?: C;
|
|
4
4
|
ref?: Ref<any>;
|
|
5
5
|
} & Omit<ComponentPropsWithoutRef<C>, 'as' | 'ref'>;
|