mosuk-ui 1.0.6 → 1.0.8
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/component/component.module.css +1 -20
- package/components/actions/button/skeleton/component.js +1 -1
- package/components/actions/icon/component/component.module.css +2 -20
- package/components/actions/icon/skeleton/component.js +1 -1
- package/components/actions/input/(search)/component/component.js +1 -1
- package/components/actions/input/component/component.module.css +1 -23
- package/components/actions/textarea/(autosize)/component/component.d.ts +3 -0
- package/components/actions/textarea/(autosize)/component/component.interface.d.ts +1 -0
- package/components/{display/image/skeleton → actions/textarea/(autosize)/component}/component.js +4 -3
- package/components/actions/textarea/(autosize)/component/component.module.css +11 -0
- package/components/actions/textarea/(autosize)/component/index.d.ts +6 -0
- package/components/actions/textarea/(autosize)/component/index.js +2 -0
- package/components/actions/textarea/component/component.d.ts +1 -1
- package/components/actions/textarea/component/component.interface.d.ts +0 -1
- package/components/actions/textarea/component/component.js +5 -65
- package/components/actions/textarea/component/component.module.css +1 -23
- package/components/actions/toggle/component/component.module.css +3 -9
- package/components/actions/toggle/skeleton/component.js +1 -1
- package/components/actions/toggle/skeleton/component.module.css +3 -5
- package/components/collections/accordion/component/component.module.css +9 -22
- package/components/collections/accordion/component/index.d.ts +5 -5
- package/components/collections/accordion/component/index.js +2 -2
- package/components/collections/accordion/component/item/header/trigger/component.d.ts +3 -0
- package/components/collections/accordion/component/item/header/{content → trigger}/component.interface.d.ts +1 -1
- package/components/collections/accordion/component/item/header/{content → trigger}/component.js +3 -2
- package/components/collections/breadcrumbs/component/{button → .partials/components/button}/component.interface.d.ts +1 -1
- package/components/collections/breadcrumbs/component/{button → .partials/components/button}/component.js +2 -2
- package/components/collections/breadcrumbs/component/{component.js → .partials/components/component.js} +3 -3
- package/components/collections/breadcrumbs/component/{icon → .partials/components/icon}/component.interface.d.ts +1 -1
- package/components/collections/breadcrumbs/component/{icon → .partials/components/icon}/component.js +2 -2
- package/components/collections/breadcrumbs/component/index.d.ts +6 -6
- package/components/collections/breadcrumbs/component/index.js +3 -3
- package/components/collections/breadcrumbs/skeleton/.partials/components/button/component.interface.d.ts +3 -0
- package/components/collections/breadcrumbs/skeleton/{button → .partials/components/button}/component.js +2 -2
- package/components/collections/breadcrumbs/skeleton/{component.js → .partials/components/component.js} +3 -2
- package/components/collections/breadcrumbs/skeleton/.partials/components/icon/component.interface.d.ts +3 -0
- package/components/collections/breadcrumbs/skeleton/{icon → .partials/components/icon}/component.js +2 -2
- package/components/collections/breadcrumbs/skeleton/index.d.ts +6 -6
- package/components/collections/breadcrumbs/skeleton/index.js +3 -3
- package/components/display/card/component/component.module.css +1 -19
- package/components/display/empty/component/buttons/component.d.ts +3 -0
- package/components/display/{image/component/image → empty/component/buttons}/component.interface.d.ts +1 -1
- package/components/display/{image/component → empty/component/buttons}/component.js +3 -3
- package/components/display/empty/component/component.d.ts +3 -6
- package/components/display/empty/component/component.interface.d.ts +5 -10
- package/components/display/empty/component/component.js +4 -19
- package/components/display/empty/component/component.module.css +31 -15
- package/components/display/empty/component/content/component.d.ts +3 -0
- package/components/{layouts/tabbar/skeleton → display/empty/component/content}/component.interface.d.ts +1 -1
- package/components/{containers/article/component → display/empty/component/content}/component.js +3 -3
- package/components/display/empty/component/content/description/component.d.ts +3 -0
- package/components/display/empty/component/content/description/component.interface.d.ts +5 -0
- package/components/display/empty/component/content/description/component.js +30 -0
- package/components/display/empty/component/content/title/component.d.ts +3 -0
- package/components/display/empty/component/content/title/component.interface.d.ts +5 -0
- package/components/display/{row/component → empty/component/content/title}/component.js +4 -4
- package/components/display/empty/component/icon/component.d.ts +3 -0
- package/components/{containers/content/component → display/empty/component/icon}/component.interface.d.ts +1 -1
- package/components/{containers/content/component → display/empty/component/icon}/component.js +3 -3
- package/components/display/empty/component/index.d.ts +28 -13
- package/components/display/empty/component/index.js +14 -9
- package/components/display/file/(files)/component/component.js +1 -1
- package/components/display/file/(files)/component/file/component.interface.d.ts +1 -1
- package/components/display/file/(files)/component/file/component.js +2 -2
- package/components/display/file/(files)/component/index.d.ts +1 -1
- package/components/display/file/(files)/component/index.js +1 -1
- package/components/display/file/component/file/component.js +2 -2
- package/components/display/image/(images)/component/component.js +1 -1
- package/components/display/image/(images)/component/image/component.interface.d.ts +1 -1
- package/components/display/image/(images)/component/image/component.js +2 -2
- package/components/display/image/component/components/component.d.ts +3 -0
- package/components/display/{row/component → image/component/components}/component.interface.d.ts +1 -1
- package/components/display/image/component/{image → components}/component.js +10 -16
- package/components/display/image/component/constants/placeholder/constants.d.ts +3 -0
- package/components/display/image/component/constants/placeholder/constants.js +3 -0
- package/components/display/image/component/index.d.ts +3 -10
- package/components/display/image/component/index.js +2 -5
- package/components/display/image/skeleton/components/component.d.ts +3 -0
- package/components/display/image/skeleton/components/component.interface.d.ts +5 -0
- package/components/display/image/skeleton/components/component.js +31 -0
- package/components/display/image/skeleton/index.d.ts +2 -9
- package/components/display/image/skeleton/index.js +2 -5
- package/components/forms/fieldset/component/component.module.css +22 -0
- package/components/integrations/tbank/terminal/skeleton/component.js +3 -5
- package/components/integrations/tbank/terminal/skeleton/component.module.css +5 -0
- package/components/layouts/header/component/{component.d.ts → .partials/components/component.d.ts} +1 -1
- package/components/{display/image/component → layouts/header/component/.partials/components}/component.interface.d.ts +1 -1
- package/components/layouts/header/{skeleton → component/.partials/components}/component.js +3 -3
- package/components/layouts/header/component/index.d.ts +2 -2
- package/components/layouts/header/component/index.js +1 -1
- package/components/layouts/sidebar/component/component.module.css +0 -7
- package/components/{containers/article/component → layouts/tabbar/component/.partials/components}/component.interface.d.ts +1 -1
- package/components/layouts/tabbar/{skeleton → component/.partials/components}/component.js +2 -2
- package/components/layouts/tabbar/component/index.d.ts +2 -2
- package/components/layouts/tabbar/component/index.js +1 -1
- package/components/texts/hint/component/component.d.ts +1 -1
- package/components/texts/hint/component/component.js +0 -3
- package/components/texts/hint/component/component.module.css +8 -6
- package/components/texts/hint/component/index.d.ts +3 -5
- package/components/texts/hint/component/index.js +3 -5
- package/package.json +7 -91
- package/providers/alerts/provider.module.css +13 -13
- package/styles/{utilities/actions/button/[size]/size.css → components/actions/button/[size]/style.css} +0 -72
- package/styles/components/actions/button/style.css +1 -0
- package/styles/{utilities/actions/icon/[size]/size.css → components/actions/icon/[size]/style.css} +0 -72
- package/styles/components/actions/icon/style.css +1 -0
- package/styles/components/actions/input/style.css +1 -0
- package/styles/components/actions/textarea/style.css +1 -0
- package/styles/components/style.css +6 -0
- package/styles/libs/swiper/style.css +5 -0
- package/styles/style.css +1 -0
- package/styles/utilities/action/fill/style.css +10 -0
- package/styles/utilities/action/glass/style.css +12 -0
- package/styles/utilities/action/outline/style.css +6 -0
- package/styles/utilities/action/style.css +4 -0
- package/styles/utilities/action/transparent/style.css +5 -0
- package/styles/utilities/style.css +1 -6
- package/components/actions/button/(delete)/component/component.d.ts +0 -3
- package/components/actions/button/(delete)/component/component.interface.d.ts +0 -12
- package/components/actions/button/(delete)/component/component.js +0 -64
- package/components/actions/button/(delete)/component/component.module.css +0 -32
- package/components/actions/button/(delete)/component/index.d.ts +0 -5
- package/components/actions/button/(delete)/component/index.js +0 -4
- package/components/actions/button/(status)/component/component.d.ts +0 -3
- package/components/actions/button/(status)/component/component.interface.d.ts +0 -22
- package/components/actions/button/(status)/component/component.js +0 -124
- package/components/actions/button/(status)/component/component.module.css +0 -26
- package/components/actions/button/(status)/component/index.d.ts +0 -5
- package/components/actions/button/(status)/component/index.js +0 -4
- package/components/actions/button/(submit)/component/component.d.ts +0 -3
- package/components/actions/button/(submit)/component/component.interface.d.ts +0 -24
- package/components/actions/button/(submit)/component/component.js +0 -66
- package/components/actions/button/(submit)/component/component.module.css +0 -76
- package/components/actions/button/(submit)/component/index.d.ts +0 -5
- package/components/actions/button/(submit)/component/index.js +0 -4
- package/components/actions/button/skeleton/component.module.css +0 -53
- package/components/actions/icon/(delete)/component/component.d.ts +0 -3
- package/components/actions/icon/(delete)/component/component.interface.d.ts +0 -12
- package/components/actions/icon/(delete)/component/component.js +0 -64
- package/components/actions/icon/(delete)/component/component.module.css +0 -32
- package/components/actions/icon/(delete)/component/index.d.ts +0 -5
- package/components/actions/icon/(delete)/component/index.js +0 -4
- package/components/actions/icon/skeleton/component.module.css +0 -64
- package/components/collections/accordion/component/item/header/content/component.d.ts +0 -3
- package/components/collections/breadcrumbs/component/component.module.css +0 -68
- package/components/collections/breadcrumbs/skeleton/button/component.interface.d.ts +0 -3
- package/components/collections/breadcrumbs/skeleton/component.module.css +0 -56
- package/components/collections/breadcrumbs/skeleton/icon/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/component/body/component.d.ts +0 -3
- package/components/collections/table/(pagination)/component/body/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/component/body/component.js +0 -34
- package/components/collections/table/(pagination)/component/body/row/component.d.ts +0 -3
- package/components/collections/table/(pagination)/component/body/row/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/component/body/row/component.js +0 -35
- package/components/collections/table/(pagination)/component/component.d.ts +0 -4
- package/components/collections/table/(pagination)/component/component.interface.d.ts +0 -9
- package/components/collections/table/(pagination)/component/component.js +0 -34
- package/components/collections/table/(pagination)/component/component.module.css +0 -111
- package/components/collections/table/(pagination)/component/head/column/component.d.ts +0 -3
- package/components/collections/table/(pagination)/component/head/column/component.interface.d.ts +0 -4
- package/components/collections/table/(pagination)/component/head/column/component.js +0 -49
- package/components/collections/table/(pagination)/component/head/component.d.ts +0 -3
- package/components/collections/table/(pagination)/component/head/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/component/head/component.js +0 -35
- package/components/collections/table/(pagination)/component/index.d.ts +0 -33
- package/components/collections/table/(pagination)/component/index.js +0 -13
- package/components/collections/table/(pagination)/skeleton/body/component.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/body/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/body/component.js +0 -29
- package/components/collections/table/(pagination)/skeleton/component.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/component.interface.js +0 -1
- package/components/collections/table/(pagination)/skeleton/component.js +0 -29
- package/components/collections/table/(pagination)/skeleton/component.module.css +0 -37
- package/components/collections/table/(pagination)/skeleton/head/column/component.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/head/column/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/head/column/component.interface.js +0 -1
- package/components/collections/table/(pagination)/skeleton/head/column/component.js +0 -33
- package/components/collections/table/(pagination)/skeleton/head/component.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/head/component.interface.d.ts +0 -3
- package/components/collections/table/(pagination)/skeleton/head/component.interface.js +0 -1
- package/components/collections/table/(pagination)/skeleton/head/component.js +0 -30
- package/components/collections/table/(pagination)/skeleton/index.d.ts +0 -33
- package/components/collections/table/(pagination)/skeleton/index.js +0 -13
- package/components/collections/table/(stacked)/component/component.d.ts +0 -7
- package/components/collections/table/(stacked)/component/component.interface.d.ts +0 -7
- package/components/collections/table/(stacked)/component/component.interface.js +0 -1
- package/components/collections/table/(stacked)/component/component.js +0 -79
- package/components/collections/table/(stacked)/component/component.module.css +0 -23
- package/components/collections/table/(stacked)/component/index.d.ts +0 -13
- package/components/collections/table/(stacked)/component/index.js +0 -7
- package/components/containers/article/component/component.d.ts +0 -3
- package/components/containers/article/component/component.interface.js +0 -1
- package/components/containers/article/component/component.module.css +0 -10
- package/components/containers/article/component/index.d.ts +0 -5
- package/components/containers/article/component/index.js +0 -4
- package/components/containers/buttons/component/component.d.ts +0 -3
- package/components/containers/buttons/component/component.interface.d.ts +0 -4
- package/components/containers/buttons/component/component.interface.js +0 -1
- package/components/containers/buttons/component/component.js +0 -29
- package/components/containers/buttons/component/component.module.css +0 -13
- package/components/containers/buttons/component/index.d.ts +0 -5
- package/components/containers/buttons/component/index.js +0 -4
- package/components/containers/content/component/component.d.ts +0 -3
- package/components/containers/content/component/component.interface.js +0 -1
- package/components/containers/content/component/component.module.css +0 -20
- package/components/containers/content/component/index.d.ts +0 -6
- package/components/containers/content/component/index.js +0 -2
- package/components/containers/hr/component/component.d.ts +0 -3
- package/components/containers/hr/component/component.interface.d.ts +0 -3
- package/components/containers/hr/component/component.interface.js +0 -1
- package/components/containers/hr/component/component.js +0 -29
- package/components/containers/hr/component/component.module.css +0 -7
- package/components/containers/hr/component/index.d.ts +0 -5
- package/components/containers/hr/component/index.js +0 -4
- package/components/display/image/component/component.d.ts +0 -3
- package/components/display/image/component/component.interface.js +0 -1
- package/components/display/image/component/component.module.css +0 -54
- package/components/display/image/component/image/component.d.ts +0 -3
- package/components/display/image/component/image/component.interface.js +0 -1
- package/components/display/image/skeleton/component.d.ts +0 -3
- package/components/display/image/skeleton/component.interface.d.ts +0 -4
- package/components/display/image/skeleton/component.interface.js +0 -1
- package/components/display/image/skeleton/component.module.css +0 -31
- package/components/display/image/skeleton/image/component.d.ts +0 -3
- package/components/display/image/skeleton/image/component.interface.d.ts +0 -2
- package/components/display/image/skeleton/image/component.interface.js +0 -1
- package/components/display/image/skeleton/image/component.js +0 -29
- package/components/display/row/component/component.d.ts +0 -3
- package/components/display/row/component/component.interface.js +0 -1
- package/components/display/row/component/component.module.css +0 -26
- package/components/display/row/component/index.d.ts +0 -5
- package/components/display/row/component/index.js +0 -4
- package/components/layouts/header/component/component.interface.d.ts +0 -13
- package/components/layouts/header/component/component.interface.js +0 -1
- package/components/layouts/header/component/component.js +0 -95
- package/components/layouts/header/component/component.module.css +0 -27
- package/components/layouts/header/skeleton/component.d.ts +0 -3
- package/components/layouts/header/skeleton/component.interface.d.ts +0 -5
- package/components/layouts/header/skeleton/component.interface.js +0 -1
- package/components/layouts/header/skeleton/component.module.css +0 -23
- package/components/layouts/header/skeleton/index.d.ts +0 -6
- package/components/layouts/header/skeleton/index.js +0 -2
- package/components/layouts/tabbar/component/component.interface.d.ts +0 -13
- package/components/layouts/tabbar/component/component.interface.js +0 -1
- package/components/layouts/tabbar/component/component.js +0 -95
- package/components/layouts/tabbar/component/component.module.css +0 -33
- package/components/layouts/tabbar/skeleton/component.d.ts +0 -3
- package/components/layouts/tabbar/skeleton/component.interface.js +0 -1
- package/components/layouts/tabbar/skeleton/component.module.css +0 -33
- package/components/layouts/tabbar/skeleton/index.d.ts +0 -6
- package/components/layouts/tabbar/skeleton/index.js +0 -2
- package/components/overlays/dropdown/(pagination)/sort/component/component.d.ts +0 -4
- package/components/overlays/dropdown/(pagination)/sort/component/component.interface.d.ts +0 -10
- package/components/overlays/dropdown/(pagination)/sort/component/component.interface.js +0 -1
- package/components/overlays/dropdown/(pagination)/sort/component/component.js +0 -49
- package/components/overlays/dropdown/(pagination)/sort/component/component.module.css +0 -108
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/component.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/component.interface.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/component.interface.js +0 -1
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/component.js +0 -36
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/button/component.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/button/component.interface.d.ts +0 -4
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/button/component.interface.js +0 -1
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/button/component.js +0 -43
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/component.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/component.interface.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/component.interface.js +0 -1
- package/components/overlays/dropdown/(pagination)/sort/component/dropdown/content/component.js +0 -35
- package/components/overlays/dropdown/(pagination)/sort/component/index.d.ts +0 -33
- package/components/overlays/dropdown/(pagination)/sort/component/index.js +0 -13
- package/components/overlays/dropdown/(pagination)/sort/component/trigger/component.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/trigger/component.interface.d.ts +0 -3
- package/components/overlays/dropdown/(pagination)/sort/component/trigger/component.interface.js +0 -1
- package/components/overlays/dropdown/(pagination)/sort/component/trigger/component.js +0 -33
- package/hooks/auth/hook.d.ts +0 -2
- package/hooks/auth/hook.interface.d.ts +0 -9
- package/hooks/auth/hook.interface.js +0 -1
- package/hooks/auth/hook.js +0 -16
- package/hooks/auth/index.d.ts +0 -6
- package/hooks/auth/index.js +0 -2
- package/providers/auth/context/context.d.ts +0 -2
- package/providers/auth/context/context.interface.d.ts +0 -9
- package/providers/auth/context/context.interface.js +0 -1
- package/providers/auth/context/context.js +0 -2
- package/providers/auth/index.d.ts +0 -5
- package/providers/auth/index.js +0 -5
- package/providers/auth/provider.d.ts +0 -3
- package/providers/auth/provider.interface.d.ts +0 -4
- package/providers/auth/provider.interface.js +0 -1
- package/providers/auth/provider.js +0 -40
- package/services/auth/index.d.ts +0 -4
- package/services/auth/index.js +0 -2
- package/services/auth/service.d.ts +0 -7
- package/services/auth/service.interface.d.ts +0 -1
- package/services/auth/service.interface.js +0 -1
- package/services/auth/service.js +0 -33
- package/styles/utilities/actions/button/[color]/fill.css +0 -393
- package/styles/utilities/actions/button/[color]/glass.css +0 -77
- package/styles/utilities/actions/button/[color]/outline.css +0 -395
- package/styles/utilities/actions/button/[color]/transparent.css +0 -65
- package/styles/utilities/actions/button/style.css +0 -6
- package/styles/utilities/actions/icon/[color]/fill.css +0 -395
- package/styles/utilities/actions/icon/[color]/glass.css +0 -77
- package/styles/utilities/actions/icon/[color]/outline.css +0 -395
- package/styles/utilities/actions/icon/[color]/transparent.css +0 -65
- package/styles/utilities/actions/icon/style.css +0 -6
- package/styles/utilities/actions/input/[color]/fill.css +0 -395
- package/styles/utilities/actions/input/[color]/glass.css +0 -77
- package/styles/utilities/actions/input/[color]/outline.css +0 -392
- package/styles/utilities/actions/input/[color]/transparent.css +0 -65
- package/styles/utilities/actions/input/style.css +0 -6
- package/styles/utilities/actions/textarea/[color]/fill.css +0 -395
- package/styles/utilities/actions/textarea/[color]/glass.css +0 -25
- package/styles/utilities/actions/textarea/[color]/outline.css +0 -392
- package/styles/utilities/actions/textarea/[color]/transparent.css +0 -65
- package/styles/utilities/actions/textarea/style.css +0 -6
- /package/components/actions/{button/(delete) → textarea/(autosize)}/component/component.interface.js +0 -0
- /package/components/{actions/button/(status)/component → collections/accordion/component/item/header/trigger}/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/component/{button → .partials/components/button}/component.d.ts +0 -0
- /package/components/{actions/button/(submit)/component → collections/breadcrumbs/component/.partials/components/button}/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/component/{component.d.ts → .partials/components/component.d.ts} +0 -0
- /package/components/collections/breadcrumbs/component/{component.interface.d.ts → .partials/components/component.interface.d.ts} +0 -0
- /package/components/{actions/icon/(delete)/component → collections/breadcrumbs/component/.partials/components}/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/component/{icon → .partials/components/icon}/component.d.ts +0 -0
- /package/components/collections/{accordion/component/item/header/content → breadcrumbs/component/.partials/components/icon}/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/skeleton/{button → .partials/components/button}/component.d.ts +0 -0
- /package/components/collections/breadcrumbs/{component → skeleton/.partials/components}/button/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/skeleton/{component.d.ts → .partials/components/component.d.ts} +0 -0
- /package/components/collections/breadcrumbs/skeleton/{component.interface.d.ts → .partials/components/component.interface.d.ts} +0 -0
- /package/components/collections/breadcrumbs/{component → skeleton/.partials/components}/component.interface.js +0 -0
- /package/components/collections/breadcrumbs/skeleton/{icon → .partials/components/icon}/component.d.ts +0 -0
- /package/components/collections/breadcrumbs/{component → skeleton/.partials/components}/icon/component.interface.js +0 -0
- /package/components/{collections/breadcrumbs/skeleton/button → display/empty/component/buttons}/component.interface.js +0 -0
- /package/components/{collections/breadcrumbs/skeleton → display/empty/component/content}/component.interface.js +0 -0
- /package/components/{collections/breadcrumbs/skeleton/icon → display/empty/component/content/description}/component.interface.js +0 -0
- /package/components/{collections/table/(pagination)/component/body → display/empty/component/content/title}/component.interface.js +0 -0
- /package/components/{collections/table/(pagination)/component/body/row → display/empty/component/icon}/component.interface.js +0 -0
- /package/components/{collections/table/(pagination)/component → display/image/component/components}/component.interface.js +0 -0
- /package/components/{collections/table/(pagination)/component/head/column → display/image/skeleton/components}/component.interface.js +0 -0
- /package/components/{collections/table/(pagination)/component/head → layouts/header/component/.partials/components}/component.interface.js +0 -0
- /package/components/layouts/tabbar/component/{component.d.ts → .partials/components/component.d.ts} +0 -0
- /package/components/{collections/table/(pagination)/skeleton/body → layouts/tabbar/component/.partials/components}/component.interface.js +0 -0
- /package/styles/{utilities/actions/input/[size]/size.css → components/actions/input/[size]/style.css} +0 -0
- /package/styles/{utilities/actions/textarea/[size]/size.css → components/actions/textarea/[size]/style.css} +0 -0
- /package/styles/{utilities → components}/overlays/scrollbar/style.css +0 -0
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
padding-left: calc(var(--spacing, .25rem) * 4);
|
|
22
22
|
padding-right: calc(var(--spacing, .25rem) * 4);
|
|
23
23
|
|
|
24
|
-
border-radius: calc(infinity * 1px);
|
|
25
24
|
border: none;
|
|
25
|
+
border-radius: calc(infinity * 1px);
|
|
26
26
|
outline: none;
|
|
27
27
|
|
|
28
28
|
user-select: none;
|
|
@@ -36,28 +36,9 @@
|
|
|
36
36
|
min-width: calc(var(--spacing, .25rem) * 3.5);
|
|
37
37
|
min-height: calc(var(--spacing, .25rem) * 3.5);
|
|
38
38
|
|
|
39
|
-
color: var(--color-gray-500, oklch(0.551 0.027 264.364));
|
|
40
|
-
|
|
41
39
|
transition: all 200ms ease-in-out;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
|
-
&:hover {
|
|
45
|
-
background-color: var(--color-gray-100, oklch(0.967 0.003 264.542));
|
|
46
|
-
color: var(--color-primary-500, #0074e7);
|
|
47
|
-
|
|
48
|
-
svg {
|
|
49
|
-
color: var(--color-primary-500, #0074e7);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:not(:hover) {
|
|
54
|
-
transition: all 600ms ease-in-out;
|
|
55
|
-
|
|
56
|
-
svg {
|
|
57
|
-
transition: all 600ms ease-in-out;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
42
|
&:disabled {
|
|
62
43
|
opacity: 0.5;
|
|
63
44
|
cursor: not-allowed;
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
25
|
import { Skeleton } from '../../../display/skeleton/component/component';
|
|
26
|
-
import styles from '
|
|
26
|
+
import styles from './../component/component.module.css';
|
|
27
27
|
export function ButtonSkeleton(_a) {
|
|
28
28
|
var rest = __rest(_a, []);
|
|
29
29
|
return (React.createElement(Skeleton, __assign({}, rest, { className: classNames('mosuk-button-skeleton', styles.button, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
color: var(--color-gray-500, oklch(0.551 0.027 264.364));
|
|
15
15
|
|
|
16
16
|
padding: calc(var(--spacing, .25rem) * 2.25);
|
|
17
|
+
|
|
18
|
+
border: none;
|
|
17
19
|
border-radius: calc(infinity * 1px);
|
|
18
20
|
outline: none;
|
|
19
21
|
|
|
@@ -29,31 +31,11 @@
|
|
|
29
31
|
svg {
|
|
30
32
|
width: 100%;
|
|
31
33
|
height: 100%;
|
|
32
|
-
|
|
33
|
-
color: var(--color-gray-500, oklch(0.551 0.027 264.364));
|
|
34
|
-
|
|
35
34
|
outline: none;
|
|
36
35
|
|
|
37
36
|
transition: all 0.2s ease-in-out;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
&:hover {
|
|
41
|
-
background-color: var(--color-gray-100, oklch(0.967 0.003 264.542));
|
|
42
|
-
color: var(--color-primary-500, #0074e7);
|
|
43
|
-
|
|
44
|
-
svg {
|
|
45
|
-
color: var(--color-primary-500, #0074e7);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:not(:hover) {
|
|
50
|
-
transition: all 600ms ease-in-out;
|
|
51
|
-
|
|
52
|
-
svg {
|
|
53
|
-
transition: all 600ms ease-in-out;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
39
|
&:disabled {
|
|
58
40
|
opacity: 0.5;
|
|
59
41
|
cursor: not-allowed;
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
25
|
import { Skeleton } from '../../../display/skeleton/component/component';
|
|
26
|
-
import styles from '
|
|
26
|
+
import styles from './../component/component.module.css';
|
|
27
27
|
export function IconSkeleton(_a) {
|
|
28
28
|
var rest = __rest(_a, []);
|
|
29
29
|
return (React.createElement(Skeleton, __assign({}, rest, { className: classNames('mosuk-icon-skeleton', styles.icon, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
@@ -51,5 +51,5 @@ export function InputSearch(_a) {
|
|
|
51
51
|
}
|
|
52
52
|
}, 500);
|
|
53
53
|
};
|
|
54
|
-
return (React.createElement(Input, __assign({}, rest, { placeholder: (_b = rest === null || rest === void 0 ? void 0 : rest.placeholder) !== null && _b !== void 0 ? _b : '
|
|
54
|
+
return (React.createElement(Input, __assign({}, rest, { placeholder: (_b = rest === null || rest === void 0 ? void 0 : rest.placeholder) !== null && _b !== void 0 ? _b : 'Поиск', value: searchValue, onChange: handleInputChange })));
|
|
55
55
|
}
|
|
@@ -4,22 +4,13 @@
|
|
|
4
4
|
appearance: none;
|
|
5
5
|
|
|
6
6
|
width: 100%;
|
|
7
|
-
height: calc(var(--spacing, 0.25rem) * 8);
|
|
8
7
|
|
|
9
8
|
display: block;
|
|
10
9
|
|
|
11
|
-
background-color: white;
|
|
12
10
|
color: var(--color-black, #000);
|
|
13
|
-
|
|
14
11
|
font-size: var(--text-base, 1rem);
|
|
15
|
-
text-wrap: nowrap;
|
|
16
|
-
|
|
17
|
-
padding-left: calc(var(--spacing, 0.25rem) * 3.5);
|
|
18
|
-
padding-right: calc(var(--spacing, 0.25rem) * 3.5);
|
|
19
|
-
|
|
20
|
-
border-radius: calc(infinity * 1px);
|
|
21
|
-
border: 1px solid var(--color-gray-200, oklch(0.928 0.006 264.531));
|
|
22
12
|
|
|
13
|
+
border: 1px solid transparent;
|
|
23
14
|
outline: none;
|
|
24
15
|
|
|
25
16
|
transition: all 200ms ease-in-out;
|
|
@@ -28,23 +19,10 @@
|
|
|
28
19
|
color: var(--color-gray-500, oklch(0.551 0.027 264.364));
|
|
29
20
|
}
|
|
30
21
|
|
|
31
|
-
&:hover {
|
|
32
|
-
border: 1px solid var(--color-primary-200, oklch(0.928 0.006 264.531));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:not(:hover) {
|
|
36
|
-
transition: all 600ms ease-in-out;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
22
|
&:read-only {
|
|
40
23
|
opacity: 50%;
|
|
41
24
|
pointer-events: none;
|
|
42
25
|
}
|
|
43
|
-
|
|
44
|
-
&:focus {
|
|
45
|
-
border: 1px solid var(--color-primary-500, oklch(0.551 0.027 264.364));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
26
|
}
|
|
49
27
|
}
|
|
50
28
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { TextareaAutosizeProps } from 'react-textarea-autosize';
|
package/components/{display/image/skeleton → actions/textarea/(autosize)/component}/component.js
RENAMED
|
@@ -22,9 +22,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import
|
|
25
|
+
import TextareaAutosizePrimitive from 'react-textarea-autosize';
|
|
26
|
+
import { Textarea } from '../../component/component';
|
|
26
27
|
import styles from './component.module.css';
|
|
27
|
-
export function
|
|
28
|
+
export function TextareaAutosize(_a) {
|
|
28
29
|
var rest = __rest(_a, []);
|
|
29
|
-
return (React.createElement(
|
|
30
|
+
return (React.createElement(Textarea, __assign({}, rest, { as: TextareaAutosizePrimitive, className: classNames(styles.textarea, rest === null || rest === void 0 ? void 0 : rest.className) })));
|
|
30
31
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextareaAutosize as Component } from './component';
|
|
2
|
+
import { TextareaAutosizeProps as ComponentProps } from './component.interface';
|
|
3
|
+
export declare const TextareaAutosize: typeof Component;
|
|
4
|
+
export declare namespace TextareaAutosize {
|
|
5
|
+
type Props = ComponentProps;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React, { ElementType } from 'react';
|
|
2
2
|
import { TextareaProps } from './component.interface';
|
|
3
|
-
export declare function Textarea<C extends ElementType = 'textarea'>({ as,
|
|
3
|
+
export declare function Textarea<C extends ElementType = 'textarea'>({ as, ...rest }: TextareaProps<C>): React.JSX.Element;
|
|
@@ -21,73 +21,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
|
-
import React, {
|
|
24
|
+
import React, { useId } from 'react';
|
|
25
25
|
import styles from './component.module.css';
|
|
26
26
|
export function Textarea(_a) {
|
|
27
27
|
var _b, _c;
|
|
28
|
-
var as = _a.as,
|
|
28
|
+
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
29
29
|
var Component = (as || 'textarea');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
var _e = rest, onChange = _e.onChange, style = _e.style, propRef = _e.ref, restProps = __rest(_e, ["onChange", "style", "ref"]);
|
|
34
|
-
var resize = useCallback(function (el) {
|
|
35
|
-
if (!el)
|
|
36
|
-
return;
|
|
37
|
-
// Проверяем, виден ли элемент
|
|
38
|
-
var isVisible = el.offsetParent !== null;
|
|
39
|
-
if (!isVisible)
|
|
40
|
-
return;
|
|
41
|
-
el.style.transition = 'none';
|
|
42
|
-
// Используем 1px вместо auto - не вызывает скролл страницы
|
|
43
|
-
el.style.height = '1px';
|
|
44
|
-
el.style.height = "".concat(el.scrollHeight, "px");
|
|
45
|
-
// Восстанавливаем transition в следующем фрейме
|
|
46
|
-
requestAnimationFrame(function () {
|
|
47
|
-
if (el.style.transition) {
|
|
48
|
-
el.style.transition = '';
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}, []);
|
|
52
|
-
var setRefs = useCallback(function (node) {
|
|
53
|
-
textareaRef.current = node instanceof HTMLTextAreaElement ? node : null;
|
|
54
|
-
if (propRef) {
|
|
55
|
-
if (typeof propRef === 'function') {
|
|
56
|
-
propRef(node);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
propRef.current = node;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}, [propRef]);
|
|
63
|
-
// Перерасчет при изменении value или defaultValue
|
|
64
|
-
useEffect(function () {
|
|
65
|
-
if (shouldAutosize && textareaRef.current) {
|
|
66
|
-
resize(textareaRef.current);
|
|
67
|
-
}
|
|
68
|
-
}, [shouldAutosize, resize, restProps === null || restProps === void 0 ? void 0 : restProps.value, restProps === null || restProps === void 0 ? void 0 : restProps.defaultValue]);
|
|
69
|
-
// Отслеживаем появление элемента в DOM (для tabs с keepMounted)
|
|
70
|
-
useEffect(function () {
|
|
71
|
-
if (!shouldAutosize || !textareaRef.current)
|
|
72
|
-
return;
|
|
73
|
-
var observer = new IntersectionObserver(function (entries) {
|
|
74
|
-
entries.forEach(function (entry) {
|
|
75
|
-
if (entry.isIntersecting && textareaRef.current) {
|
|
76
|
-
// Элемент стал видимым - пересчитываем высоту
|
|
77
|
-
resize(textareaRef.current);
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}, { threshold: 0.01 });
|
|
81
|
-
observer.observe(textareaRef.current);
|
|
82
|
-
return function () {
|
|
83
|
-
observer.disconnect();
|
|
84
|
-
};
|
|
85
|
-
}, [shouldAutosize, resize]);
|
|
86
|
-
var handleChange = useCallback(function (e) {
|
|
87
|
-
if (shouldAutosize && (e === null || e === void 0 ? void 0 : e.currentTarget) instanceof HTMLTextAreaElement) {
|
|
88
|
-
resize(e.currentTarget);
|
|
89
|
-
}
|
|
90
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(e);
|
|
91
|
-
}, [onChange, shouldAutosize, resize]);
|
|
92
|
-
return (React.createElement(Component, __assign({}, restProps, { ref: setRefs, id: restProps.id, name: (_b = restProps.name) !== null && _b !== void 0 ? _b : restProps.id, rows: (_c = restProps === null || restProps === void 0 ? void 0 : restProps.rows) !== null && _c !== void 0 ? _c : 3, onChange: handleChange, style: shouldAutosize ? __assign(__assign({}, style), { overflowY: 'hidden' }) : style, className: classNames('mosuk-textarea', styles.textarea, restProps === null || restProps === void 0 ? void 0 : restProps.className) }), restProps === null || restProps === void 0 ? void 0 : restProps.children));
|
|
30
|
+
var id = (_b = rest === null || rest === void 0 ? void 0 : rest.id) !== null && _b !== void 0 ? _b : useId();
|
|
31
|
+
var name = (_c = rest === null || rest === void 0 ? void 0 : rest.name) !== null && _c !== void 0 ? _c : id;
|
|
32
|
+
return (React.createElement(Component, __assign({}, rest, { ref: rest === null || rest === void 0 ? void 0 : rest.ref, id: id, name: name, className: classNames('mosuk-textarea', styles.textarea, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
93
33
|
}
|
|
@@ -4,22 +4,13 @@
|
|
|
4
4
|
resize: none;
|
|
5
5
|
|
|
6
6
|
width: 100%;
|
|
7
|
-
min-height: calc(var(--spacing, .25rem) * 8);
|
|
8
7
|
|
|
9
8
|
display: block;
|
|
10
9
|
|
|
11
|
-
background-color: white;
|
|
12
10
|
color: var(--color-black, #000);
|
|
13
|
-
|
|
14
11
|
font-size: var(--text-base, 1rem);
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
padding-left: calc(var(--spacing, 0.25rem) * 3.5);
|
|
18
|
-
padding-right: calc(var(--spacing, 0.25rem) * 3.5);
|
|
19
|
-
padding-top: calc(var(--spacing, .25rem) * 1);
|
|
20
|
-
|
|
21
|
-
border-radius: var(--radius-2xl, 1rem);
|
|
22
|
-
border: 1px solid var(--color-gray-200, oklch(0.928 0.006 264.531));
|
|
13
|
+
border: 1px solid transparent;
|
|
23
14
|
outline: none;
|
|
24
15
|
|
|
25
16
|
transition: all 200ms ease-in-out;
|
|
@@ -28,23 +19,10 @@
|
|
|
28
19
|
color: var(--color-gray-500, oklch(0.551 0.027 264.364));
|
|
29
20
|
}
|
|
30
21
|
|
|
31
|
-
&:hover {
|
|
32
|
-
border: 1px solid var(--color-primary-200, oklch(0.928 0.006 264.531));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:not(:hover) {
|
|
36
|
-
transition: all 600ms ease-in-out;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
22
|
&:read-only {
|
|
40
23
|
opacity: 50%;
|
|
41
24
|
pointer-events: none;
|
|
42
25
|
}
|
|
43
|
-
|
|
44
|
-
&:focus {
|
|
45
|
-
border: 1px solid var(--color-primary-500, oklch(0.551 0.027 264.364));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
26
|
}
|
|
49
27
|
}
|
|
50
28
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer mosuk-ui {
|
|
2
2
|
@layer index-21 {
|
|
3
3
|
:where(.toggle) {
|
|
4
|
-
--toggle-padding:
|
|
4
|
+
--toggle-padding: 0px;
|
|
5
5
|
--toggle-indicator-width: unset;
|
|
6
6
|
--toggle-indicator-translate-x: var(--toggle-padding);
|
|
7
7
|
}
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
gap: calc(var(--spacing, .25rem) * 1);
|
|
22
22
|
|
|
23
|
-
background-color: var(--color-white, #ffffff);
|
|
24
|
-
|
|
25
23
|
padding: var(--toggle-padding);
|
|
26
24
|
|
|
27
25
|
border-radius: calc(infinity * 1px);
|
|
28
|
-
border: 1px solid
|
|
26
|
+
border: 1px solid transparent;
|
|
27
|
+
outline: none;
|
|
29
28
|
|
|
30
29
|
&::-webkit-scrollbar {
|
|
31
30
|
display: none;
|
|
@@ -49,11 +48,6 @@
|
|
|
49
48
|
&:hover,
|
|
50
49
|
&.active {
|
|
51
50
|
color: var(--color-primary-500, #0074e7);
|
|
52
|
-
background-color: transparent;
|
|
53
|
-
|
|
54
|
-
& svg {
|
|
55
|
-
color: var(--color-primary-500, #0074e7);
|
|
56
|
-
}
|
|
57
51
|
}
|
|
58
52
|
}
|
|
59
53
|
|
|
@@ -26,5 +26,5 @@ import styles from './component.module.css';
|
|
|
26
26
|
export function ToggleSkeleton(_a) {
|
|
27
27
|
var as = _a.as, rest = __rest(_a, ["as"]);
|
|
28
28
|
var Component = (as || 'div');
|
|
29
|
-
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-toggle', styles.toggle, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
29
|
+
return (React.createElement(Component, __assign({}, rest, { className: classNames('mosuk-toggle-skeleton', styles.toggle, rest === null || rest === void 0 ? void 0 : rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
30
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer mosuk-ui {
|
|
2
2
|
@layer index-21 {
|
|
3
3
|
:where(.toggle) {
|
|
4
|
-
--toggle-padding:
|
|
4
|
+
--toggle-padding: 0px;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.toggle {
|
|
@@ -18,13 +18,11 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
gap: calc(var(--spacing, .25rem) * 1);
|
|
20
20
|
|
|
21
|
-
background-color: color-mix(in oklab, var(--color-white) 50%, transparent);
|
|
22
|
-
backdrop-filter: blur(18px);
|
|
23
|
-
|
|
24
21
|
padding: var(--toggle-padding);
|
|
25
22
|
|
|
26
23
|
border-radius: calc(infinity * 1px);
|
|
27
|
-
border: 1px solid
|
|
24
|
+
border: 1px solid transparent;
|
|
25
|
+
outline: none;
|
|
28
26
|
|
|
29
27
|
&::-webkit-scrollbar {
|
|
30
28
|
display: none;
|
|
@@ -5,34 +5,21 @@
|
|
|
5
5
|
.header {
|
|
6
6
|
width: 100%;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
gap: calc(var(--spacing, .25rem) * 4);
|
|
12
|
-
|
|
13
|
-
.headerContent {
|
|
8
|
+
.trigger {
|
|
14
9
|
width: 100%;
|
|
15
|
-
|
|
16
|
-
text-align: left;
|
|
17
|
-
|
|
18
|
-
cursor: pointer;
|
|
19
10
|
}
|
|
20
11
|
}
|
|
21
|
-
}
|
|
22
12
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
.content {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
height: var(--accordion-panel-height);
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
transition: height 150ms ease-out;
|
|
28
18
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
&[data-starting-style],
|
|
34
|
-
&[data-ending-style] {
|
|
35
|
-
height: 0;
|
|
19
|
+
&[data-starting-style],
|
|
20
|
+
&[data-ending-style] {
|
|
21
|
+
height: 0;
|
|
22
|
+
}
|
|
36
23
|
}
|
|
37
24
|
}
|
|
38
25
|
}
|
|
@@ -6,12 +6,12 @@ import { AccordionContent as BaseAccordionContent } from './item/content/compone
|
|
|
6
6
|
import { AccordionContentProps } from './item/content/component.interface';
|
|
7
7
|
import { AccordionHeader as BaseAccordionHeader } from './item/header/component';
|
|
8
8
|
import { AccordionHeaderProps } from './item/header/component.interface';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { AccordionHeaderTrigger as BaseAccordionHeaderTrigger } from './item/header/trigger/component';
|
|
10
|
+
import { AccordionHeaderTriggerProps } from './item/header/trigger/component.interface';
|
|
11
11
|
export declare const Accordion: typeof BaseAccordion & {
|
|
12
12
|
Item: typeof BaseAccordionItem;
|
|
13
13
|
Header: typeof BaseAccordionHeader & {
|
|
14
|
-
|
|
14
|
+
Trigger: typeof BaseAccordionHeaderTrigger;
|
|
15
15
|
};
|
|
16
16
|
Content: typeof BaseAccordionContent;
|
|
17
17
|
};
|
|
@@ -22,8 +22,8 @@ export declare namespace Accordion {
|
|
|
22
22
|
}
|
|
23
23
|
namespace Header {
|
|
24
24
|
type Props = AccordionHeaderProps;
|
|
25
|
-
namespace
|
|
26
|
-
type Props =
|
|
25
|
+
namespace Trigger {
|
|
26
|
+
type Props = AccordionHeaderTriggerProps;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
namespace Content {
|
|
@@ -2,11 +2,11 @@ import { Accordion as BaseAccordion } from './component';
|
|
|
2
2
|
import { AccordionItem as BaseAccordionItem } from './item/component';
|
|
3
3
|
import { AccordionContent as BaseAccordionContent } from './item/content/component';
|
|
4
4
|
import { AccordionHeader as BaseAccordionHeader } from './item/header/component';
|
|
5
|
-
import {
|
|
5
|
+
import { AccordionHeaderTrigger as BaseAccordionHeaderTrigger } from './item/header/trigger/component';
|
|
6
6
|
export var Accordion = Object.assign(BaseAccordion, {
|
|
7
7
|
Item: BaseAccordionItem,
|
|
8
8
|
Header: Object.assign(BaseAccordionHeader, {
|
|
9
|
-
|
|
9
|
+
Trigger: BaseAccordionHeaderTrigger,
|
|
10
10
|
}),
|
|
11
11
|
Content: BaseAccordionContent,
|
|
12
12
|
});
|
package/components/collections/accordion/component/item/header/{content → trigger}/component.js
RENAMED
|
@@ -23,7 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { Accordion as BaseAccordion } from '@base-ui/react/accordion';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
|
-
|
|
26
|
+
import styles from '../../../component.module.css';
|
|
27
|
+
export function AccordionHeaderTrigger(_a) {
|
|
27
28
|
var rest = __rest(_a, []);
|
|
28
|
-
return (React.createElement(BaseAccordion.Trigger, __assign({}, rest, { className: classNames('mosuk-accordion-item-header-
|
|
29
|
+
return (React.createElement(BaseAccordion.Trigger, __assign({}, rest, { className: classNames('mosuk-accordion-item-header-trigger', styles.trigger, rest.className) }), rest === null || rest === void 0 ? void 0 : rest.children));
|
|
29
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
|
-
import { ButtonProps } from '
|
|
2
|
+
import { ButtonProps } from '../../../../../../actions/button/component/component.interface';
|
|
3
3
|
export interface BreadcrumbsButtonProps extends ButtonProps<ElementType> {
|
|
4
4
|
}
|
|
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import { Button } from '
|
|
26
|
-
import styles from '
|
|
25
|
+
import { Button } from '../../../../../../actions/button/component/component';
|
|
26
|
+
import styles from '../../styles/style.module.css';
|
|
27
27
|
export function BreadcrumbsButton(_a) {
|
|
28
28
|
var _b;
|
|
29
29
|
var rest = __rest(_a, []);
|
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import React, { Children, isValidElement } from 'react';
|
|
24
24
|
import { FreeMode, Mousewheel } from 'swiper/modules';
|
|
25
25
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
26
|
-
import { BreadcrumbsButtonSkeleton } from '
|
|
27
|
-
import { BreadcrumbsIconSkeleton } from '
|
|
26
|
+
import { BreadcrumbsButtonSkeleton } from '../../../skeleton/.partials/components/button/component';
|
|
27
|
+
import { BreadcrumbsIconSkeleton } from '../../../skeleton/.partials/components/icon/component';
|
|
28
|
+
import styles from '../styles/style.module.css';
|
|
28
29
|
import { BreadcrumbsButton } from './button/component';
|
|
29
|
-
import styles from './component.module.css';
|
|
30
30
|
import { BreadcrumbsIcon } from './icon/component';
|
|
31
31
|
export function Breadcrumbs(_a) {
|
|
32
32
|
var _b, _c, _d, _e, _f;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
2
|
+
import { IconProps } from '../../../../../../actions/icon/component/component.interface';
|
|
3
3
|
export interface BreadcrumbsIconProps extends IconProps<ElementType> {
|
|
4
4
|
}
|
package/components/collections/breadcrumbs/component/{icon → .partials/components/icon}/component.js
RENAMED
|
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import { Icon } from '
|
|
26
|
-
import styles from '
|
|
25
|
+
import { Icon } from '../../../../../../actions/icon/component/component';
|
|
26
|
+
import styles from '../../styles/style.module.css';
|
|
27
27
|
export function BreadcrumbsIcon(_a) {
|
|
28
28
|
var _b;
|
|
29
29
|
var rest = __rest(_a, []);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BreadcrumbsButton } from '
|
|
2
|
-
import { BreadcrumbsButtonProps } from '
|
|
3
|
-
import { Breadcrumbs as BaseBreadcrumbs } from '
|
|
4
|
-
import type { BreadcrumbsProps } from '
|
|
5
|
-
import { BreadcrumbsIcon } from '
|
|
6
|
-
import { BreadcrumbsIconProps } from '
|
|
1
|
+
import { BreadcrumbsButton } from './.partials/components/button/component';
|
|
2
|
+
import { BreadcrumbsButtonProps } from './.partials/components/button/component.interface';
|
|
3
|
+
import { Breadcrumbs as BaseBreadcrumbs } from './.partials/components/component';
|
|
4
|
+
import type { BreadcrumbsProps } from './.partials/components/component.interface';
|
|
5
|
+
import { BreadcrumbsIcon } from './.partials/components/icon/component';
|
|
6
|
+
import { BreadcrumbsIconProps } from './.partials/components/icon/component.interface';
|
|
7
7
|
export declare const Breadcrumbs: typeof BaseBreadcrumbs & {
|
|
8
8
|
Icon: typeof BreadcrumbsIcon;
|
|
9
9
|
Button: typeof BreadcrumbsButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BreadcrumbsButton } from '
|
|
2
|
-
import { Breadcrumbs as BaseBreadcrumbs } from '
|
|
3
|
-
import { BreadcrumbsIcon } from '
|
|
1
|
+
import { BreadcrumbsButton } from './.partials/components/button/component';
|
|
2
|
+
import { Breadcrumbs as BaseBreadcrumbs } from './.partials/components/component';
|
|
3
|
+
import { BreadcrumbsIcon } from './.partials/components/icon/component';
|
|
4
4
|
export var Breadcrumbs = Object.assign(BaseBreadcrumbs, {
|
|
5
5
|
Icon: BreadcrumbsIcon,
|
|
6
6
|
Button: BreadcrumbsButton,
|
|
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import { ButtonSkeleton } from '
|
|
26
|
-
import styles from '
|
|
25
|
+
import { ButtonSkeleton } from '../../../../../../actions/button/skeleton/component';
|
|
26
|
+
import styles from '../../styles/style.module.css';
|
|
27
27
|
export function BreadcrumbsButtonSkeleton(_a) {
|
|
28
28
|
var _b;
|
|
29
29
|
var rest = __rest(_a, []);
|