diff --git a/api-generator/components/splitter.js b/api-generator/components/splitter.js index f4ca77238..17b03c700 100644 --- a/api-generator/components/splitter.js +++ b/api-generator/components/splitter.js @@ -22,7 +22,13 @@ const SplitterProps = [ type: "string", default: "storage", description: 'Defines where a stateful splitter keeps its state, valid values are "session" for sessionStorage and "local" for localStorage.' - } + }, + { + name: "step", + type: "number", + default: "1", + description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys." + }, ]; const SplitterEvents = [ diff --git a/public/themes/arya-blue/theme.css b/public/themes/arya-blue/theme.css index a2743666f..26d42c024 100644 --- a/public/themes/arya-blue/theme.css +++ b/public/themes/arya-blue/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #93cbf9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #383838; } diff --git a/public/themes/arya-green/theme.css b/public/themes/arya-green/theme.css index 4038866eb..75838ede2 100644 --- a/public/themes/arya-green/theme.css +++ b/public/themes/arya-green/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #a7d8a9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #383838; } diff --git a/public/themes/arya-orange/theme.css b/public/themes/arya-orange/theme.css index 5aa34bd75..2f1b739c4 100644 --- a/public/themes/arya-orange/theme.css +++ b/public/themes/arya-orange/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #ffe284; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #383838; } diff --git a/public/themes/arya-purple/theme.css b/public/themes/arya-purple/theme.css index c756b4ba3..3675561f9 100644 --- a/public/themes/arya-purple/theme.css +++ b/public/themes/arya-purple/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #cf95d9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #383838; } diff --git a/public/themes/bootstrap4-dark-blue/theme.css b/public/themes/bootstrap4-dark-blue/theme.css index f847c33c4..851bf5a7a 100644 --- a/public/themes/bootstrap4-dark-blue/theme.css +++ b/public/themes/bootstrap4-dark-blue/theme.css @@ -3980,6 +3980,12 @@ transition: color 0.15s, box-shadow 0.15s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #e3f3fe; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #3f4b5b; } diff --git a/public/themes/bootstrap4-dark-purple/theme.css b/public/themes/bootstrap4-dark-purple/theme.css index 503dc2c05..68dbc2275 100644 --- a/public/themes/bootstrap4-dark-purple/theme.css +++ b/public/themes/bootstrap4-dark-purple/theme.css @@ -3980,6 +3980,12 @@ transition: color 0.15s, box-shadow 0.15s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #f0e6f5; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #3f4b5b; } diff --git a/public/themes/bootstrap4-light-blue/theme.css b/public/themes/bootstrap4-light-blue/theme.css index 2390d0b3c..8d919a8a3 100644 --- a/public/themes/bootstrap4-light-blue/theme.css +++ b/public/themes/bootstrap4-light-blue/theme.css @@ -3980,6 +3980,12 @@ transition: box-shadow 0.15s; background: #efefef; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(38, 143, 255, 0.5); + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/bootstrap4-light-purple/theme.css b/public/themes/bootstrap4-light-purple/theme.css index a10ba79b5..66758b350 100644 --- a/public/themes/bootstrap4-light-purple/theme.css +++ b/public/themes/bootstrap4-light-purple/theme.css @@ -3980,6 +3980,12 @@ transition: box-shadow 0.15s; background: #efefef; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(136, 60, 174, 0.5); + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/fluent-light/theme.css b/public/themes/fluent-light/theme.css index 87dc9ed12..ae920359e 100644 --- a/public/themes/fluent-light/theme.css +++ b/public/themes/fluent-light/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #faf9f8; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset inset 0 0 0 1px #605e5c; + border-radius: 2px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #edebe9; } diff --git a/public/themes/lara-dark-blue/theme.css b/public/themes/lara-dark-blue/theme.css index 272f00bf2..b81e81c1f 100644 --- a/public/themes/lara-dark-blue/theme.css +++ b/public/themes/lara-dark-blue/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(147, 197, 253, 0.5); + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #0b213f; } diff --git a/public/themes/lara-dark-indigo/theme.css b/public/themes/lara-dark-indigo/theme.css index a369599b8..dff59a8ad 100644 --- a/public/themes/lara-dark-indigo/theme.css +++ b/public/themes/lara-dark-indigo/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(165, 180, 252, 0.5); + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #0b213f; } diff --git a/public/themes/lara-dark-purple/theme.css b/public/themes/lara-dark-purple/theme.css index bff25b86a..ab219c042 100644 --- a/public/themes/lara-dark-purple/theme.css +++ b/public/themes/lara-dark-purple/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(196, 181, 253, 0.5); + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #0b213f; } diff --git a/public/themes/lara-dark-teal/theme.css b/public/themes/lara-dark-teal/theme.css index 409a14f14..145fcc1f4 100644 --- a/public/themes/lara-dark-teal/theme.css +++ b/public/themes/lara-dark-teal/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem rgba(94, 234, 212, 0.5); + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #0b213f; } diff --git a/public/themes/lara-light-blue/theme.css b/public/themes/lara-light-blue/theme.css index f8d20c2ab..4d8e822a2 100644 --- a/public/themes/lara-light-blue/theme.css +++ b/public/themes/lara-light-blue/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #BFDBFE; + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/lara-light-indigo/theme.css b/public/themes/lara-light-indigo/theme.css index 7c884b1ed..3911a6789 100644 --- a/public/themes/lara-light-indigo/theme.css +++ b/public/themes/lara-light-indigo/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #C7D2FE; + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/lara-light-purple/theme.css b/public/themes/lara-light-purple/theme.css index 81c0123c8..c33211fa1 100644 --- a/public/themes/lara-light-purple/theme.css +++ b/public/themes/lara-light-purple/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #DDD6FE; + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/lara-light-teal/theme.css b/public/themes/lara-light-teal/theme.css index 5af66a576..2e5895e2e 100644 --- a/public/themes/lara-light-teal/theme.css +++ b/public/themes/lara-light-teal/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #99F6E4; + border-radius: 6px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 47748c400..1a1ad794c 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #191919; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.1rem white; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #4b4b4b; } diff --git a/public/themes/luna-blue/theme.css b/public/themes/luna-blue/theme.css index f72170438..20ac731a1 100644 --- a/public/themes/luna-blue/theme.css +++ b/public/themes/luna-blue/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #191919; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.1rem white; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #4b4b4b; } diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index 88933c4a6..d220d977d 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #191919; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.1rem white; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #4b4b4b; } diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index d20736f18..ea45686d1 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #191919; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.1rem white; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #4b4b4b; } diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css index 599ed0afe..5d2933bc1 100644 --- a/public/themes/md-dark-deeppurple/theme.css +++ b/public/themes/md-dark-deeppurple/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(255, 255, 255, 0.12); } diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css index ecacbc7c6..9b5ad5744 100644 --- a/public/themes/md-dark-indigo/theme.css +++ b/public/themes/md-dark-indigo/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(255, 255, 255, 0.12); } diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css index b2d6d8bbb..70ccf44ab 100644 --- a/public/themes/md-light-deeppurple/theme.css +++ b/public/themes/md-light-deeppurple/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(0, 0, 0, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(0, 0, 0, 0.12); } diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css index df26594af..1ec3758a9 100644 --- a/public/themes/md-light-indigo/theme.css +++ b/public/themes/md-light-indigo/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(0, 0, 0, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(0, 0, 0, 0.12); } diff --git a/public/themes/mdc-dark-deeppurple/theme.css b/public/themes/mdc-dark-deeppurple/theme.css index d0975a36b..80a775496 100644 --- a/public/themes/mdc-dark-deeppurple/theme.css +++ b/public/themes/mdc-dark-deeppurple/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(255, 255, 255, 0.12); } diff --git a/public/themes/mdc-dark-indigo/theme.css b/public/themes/mdc-dark-indigo/theme.css index ee4e67393..85373fef5 100644 --- a/public/themes/mdc-dark-indigo/theme.css +++ b/public/themes/mdc-dark-indigo/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(255, 255, 255, 0.12); } diff --git a/public/themes/mdc-light-deeppurple/theme.css b/public/themes/mdc-light-deeppurple/theme.css index 0880f7075..1476ca2ce 100644 --- a/public/themes/mdc-light-deeppurple/theme.css +++ b/public/themes/mdc-light-deeppurple/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(0, 0, 0, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(0, 0, 0, 0.12); } diff --git a/public/themes/mdc-light-indigo/theme.css b/public/themes/mdc-light-indigo/theme.css index 56ee8b872..a571e0254 100644 --- a/public/themes/mdc-light-indigo/theme.css +++ b/public/themes/mdc-light-indigo/theme.css @@ -3992,6 +3992,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(0, 0, 0, 0.04); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset none; + border-radius: 4px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: rgba(0, 0, 0, 0.12); } diff --git a/public/themes/nova-accent/theme.css b/public/themes/nova-accent/theme.css index 6413a854a..71f3031b5 100644 --- a/public/themes/nova-accent/theme.css +++ b/public/themes/nova-accent/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #eaeaea; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #d8dae2; } diff --git a/public/themes/nova-alt/theme.css b/public/themes/nova-alt/theme.css index a260e1fc0..8a12ebda0 100644 --- a/public/themes/nova-alt/theme.css +++ b/public/themes/nova-alt/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #eaeaea; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #d8dae2; } diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index d41af0225..7c86463ab 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #eaeaea; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #c2e9d8; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #d8dae2; } diff --git a/public/themes/nova/theme.css b/public/themes/nova/theme.css index aa24c61f5..4695fbea9 100644 --- a/public/themes/nova/theme.css +++ b/public/themes/nova/theme.css @@ -3955,6 +3955,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #eaeaea; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #d8dae2; } diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 7247d16d2..fee6993b3 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -3943,6 +3943,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #eaeaea; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #e4e9ec; + border-radius: 2px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dadada; } diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index 7765ba8eb..d505cbc1c 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #a6d5fa; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index c6762998c..4009b21f6 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #b7e0b8; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index 25621b54c..61af6c20b 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #ffe69c; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 26dbca801..6627e7c7d 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: #f8f9fa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #df9eea; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #dee2e6; } diff --git a/public/themes/tailwind-light/theme.css b/public/themes/tailwind-light/theme.css index c38ab7332..14526c1ad 100644 --- a/public/themes/tailwind-light/theme.css +++ b/public/themes/tailwind-light/theme.css @@ -4003,6 +4003,12 @@ transition: none; background: #fafafa; } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #6366F1; + border-radius: 0.375rem; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #e5e7eb; } diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index ab8b68549..68ccf795e 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #93cbf9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #304562; } diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index 3ec7c31cc..dd699a640 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #a7d8a9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #304562; } diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index 31e7694a1..f4a6a230b 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #ffe284; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #304562; } diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index 7af9387b6..6101a82ec 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -3968,6 +3968,12 @@ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; background: rgba(255, 255, 255, 0.03); } +.p-splitter .p-splitter-gutter:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #cf95d9; + border-radius: 3px; +} .p-splitter .p-splitter-gutter .p-splitter-gutter-handle { background: #304562; } diff --git a/src/components/splitter/Splitter.d.ts b/src/components/splitter/Splitter.d.ts index 4e104052e..5803348e0 100644 --- a/src/components/splitter/Splitter.d.ts +++ b/src/components/splitter/Splitter.d.ts @@ -38,6 +38,11 @@ export interface SplitterProps { * Default value is 'session'. */ stateStorage?: SplitterStateStorageType; + /** + * Step factor to increment/decrement the size of the panels while pressing the arrow keys. + * Default value is 1. + */ + step?: number | undefined; } export interface SplitterSlots { diff --git a/src/components/splitter/Splitter.vue b/src/components/splitter/Splitter.vue index fdd08ce2a..ac210756c 100644 --- a/src/components/splitter/Splitter.vue +++ b/src/components/splitter/Splitter.vue @@ -1,12 +1,9 @@