From c81c232c59a01021fc5bba7d446431ee25c4ebe3 Mon Sep 17 00:00:00 2001 From: gucal Date: Thu, 21 Mar 2024 15:10:53 +0300 Subject: [PATCH 1/3] New component - ButtonGroup --- components/doc/button/buttonsetdoc.js | 21 +- components/lib/buttongroup/ButtonGroup.js | 32 + components/lib/buttongroup/ButtonGroupBase.js | 15 + components/lib/buttongroup/buttongroup.d.ts | 0 components/lib/buttongroup/package.json | 7 + components/lib/componentbase/ComponentBase.js | 12 +- components/lib/dataview/DataViewBase.js | 2 +- .../lib/selectbutton/SelectButtonBase.js | 2 +- public/themes/arya-blue/theme.css | 124 ++-- public/themes/arya-green/theme.css | 124 ++-- public/themes/arya-orange/theme.css | 124 ++-- public/themes/bootstrap4-dark-blue/theme.css | 144 ++--- public/themes/bootstrap4-light-blue/theme.css | 144 ++--- public/themes/fluent-light/theme.css | 124 ++-- public/themes/lara-dark-amber/theme.css | 222 +++---- public/themes/lara-dark-blue/theme.css | 222 +++---- public/themes/lara-dark-cyan/theme.css | 222 +++---- public/themes/lara-dark-green/theme.css | 222 +++---- public/themes/lara-dark-indigo/theme.css | 222 +++---- public/themes/lara-dark-pink/theme.css | 222 +++---- public/themes/lara-dark-teal/theme.css | 222 +++---- public/themes/lara-light-amber/theme.css | 222 +++---- public/themes/lara-light-blue/theme.css | 222 +++---- public/themes/lara-light-cyan/theme.css | 222 +++---- public/themes/lara-light-green/theme.css | 222 +++---- public/themes/lara-light-indigo/theme.css | 222 +++---- public/themes/lara-light-pink/theme.css | 222 +++---- public/themes/lara-light-teal/theme.css | 222 +++---- public/themes/luna-amber/theme.css | 124 ++-- public/themes/luna-blue/theme.css | 124 ++-- public/themes/luna-green/theme.css | 124 ++-- public/themes/luna-pink/theme.css | 124 ++-- public/themes/md-dark-indigo/theme.css | 588 ++++++++--------- public/themes/md-light-indigo/theme.css | 311 ++++----- public/themes/mdc-dark-indigo/theme.css | 601 ++++++++---------- public/themes/mdc-light-indigo/theme.css | 311 ++++----- public/themes/mira/theme.css | 124 ++-- public/themes/nano/theme.css | 124 ++-- public/themes/nova-accent/theme.css | 124 ++-- public/themes/nova-alt/theme.css | 124 ++-- public/themes/nova/theme.css | 124 ++-- public/themes/rhea/theme.css | 124 ++-- public/themes/saga-blue/theme.css | 124 ++-- public/themes/saga-green/theme.css | 124 ++-- public/themes/saga-orange/theme.css | 124 ++-- public/themes/soho-dark/theme.css | 194 +++--- public/themes/soho-light/theme.css | 144 ++--- public/themes/tailwind-light/theme.css | 124 ++-- public/themes/vela-blue/theme.css | 124 ++-- public/themes/vela-green/theme.css | 124 ++-- public/themes/vela-orange/theme.css | 124 ++-- public/themes/viva-dark/theme.css | 146 ++--- public/themes/viva-light/theme.css | 146 ++--- 53 files changed, 3573 insertions(+), 4959 deletions(-) create mode 100644 components/lib/buttongroup/ButtonGroup.js create mode 100644 components/lib/buttongroup/ButtonGroupBase.js create mode 100644 components/lib/buttongroup/buttongroup.d.ts create mode 100644 components/lib/buttongroup/package.json diff --git a/components/doc/button/buttonsetdoc.js b/components/doc/button/buttonsetdoc.js index 4cab4858f8..7a700123a9 100644 --- a/components/doc/button/buttonsetdoc.js +++ b/components/doc/button/buttonsetdoc.js @@ -1,28 +1,30 @@ import { DocSectionCode } from '@/components/doc/common/docsectioncode'; import { DocSectionText } from '@/components/doc/common/docsectiontext'; import { Button } from '@/components/lib/button/Button'; +import { ButtonGroup } from '@/components/lib/buttongroup/ButtonGroup'; export function ButtonSetDoc(props) { const code = { basic: ` - +