.root { display: flex; flex-direction: row; gap: 0.5rem; &[data-connected="true"] { &[data-size="xs"] { gap: 2px; height: 32px; & > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; } &:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } } &[data-size="s"] { gap: 2px; height: 40px; & > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; } &:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } } &[data-size="m"] { gap: 2px; height: 56px; & > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-small) !important; } &:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-small) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-small) !important; } } } &[data-size="l"] { gap: 2px; height: 96px; & > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: var(--uk-sys-shape-corner-large) !important; border-bottom-right-radius: var(--uk-sys-shape-corner-large) !important; } &:not(:first-child):not(:active) { border-top-left-radius: var(--uk-sys-shape-corner-large) !important; border-bottom-left-radius: var(--uk-sys-shape-corner-large) !important; } } } &[data-size="xl"] { gap: 2px; height: 136px; & > button:not([disabled]) { &:not(:last-child):not(:active) { border-top-right-radius: 20px !important; border-bottom-right-radius: 20px !important; } &:not(:first-child):not(:active) { border-top-left-radius: 20px !important; border-bottom-left-radius: 20px !important; } } } } &:not([data-connected="true"]) { &[data-size="xs"] { gap: 18px; height: 32px; } &[data-size="s"] { gap: 12px; height: 40px; } &[data-size="m"] { gap: 8px; height: 56px; } &[data-size="l"] { gap: 8px; height: 96px; } &[data-size="xl"] { gap: 8px; height: 136px; } } &[data-align="start"] { margin-right: auto; } &[data-align="end"] { margin-left: auto; } }