diff --git a/source/php/Component/ButtonGroup/ButtonGroup.php b/source/php/Component/ButtonGroup/ButtonGroup.php deleted file mode 100644 index 0d578ca4..00000000 --- a/source/php/Component/ButtonGroup/ButtonGroup.php +++ /dev/null @@ -1,29 +0,0 @@ -data); - - if(isset($toggle) && $toggle){ - $this->data['container'] = 'js-toggle-container'; - } - - if(isset($borderColor)){ - $this->data['classList'][] = $this->getBaseClass() . '__border--' . $borderColor; - } - - if(isset($backgroundColor)){ - $this->data['classList'][] = $this->getBaseClass() . '--' . $backgroundColor; - } - - } -} \ No newline at end of file diff --git a/source/php/Component/ButtonGroup/buttonGroup.blade.php b/source/php/Component/ButtonGroup/buttonGroup.blade.php deleted file mode 100644 index ea0172f0..00000000 --- a/source/php/Component/ButtonGroup/buttonGroup.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -
- {{$slot}} - @if(isset($isSplitButton) && $isSplitButton) - @dropdown([ - 'items' => [ ['text' => 'cool'], ['text' => 'story'], ['text' => 'bro']], - 'direction' => 'bottom', - 'popup' => 'click' - ]) - @button([ - 'text' => 'Left', - 'isIconButton' => true, - 'icon' => ['size' => 'md', 'color' => 'black', 'name' => 'arrow-drop-down'], - 'size' => 'md', - - ]) - @endbutton - @enddropdown - @endif -
diff --git a/source/php/Component/ButtonGroup/buttonGroup.json b/source/php/Component/ButtonGroup/buttonGroup.json deleted file mode 100644 index 8869d2c4..00000000 --- a/source/php/Component/ButtonGroup/buttonGroup.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "slug": "buttonGroup", - "default": { - "borderColor": "primary", - "background": "primary", - "slot": "", - "container": "", - "toggle": false - }, - "description": { - "borderColor": "Primary or secondary", - "background": "Primary or secondary", - "slot": "The buttons you want to render in a group", - "toggle": "set to true will make it possible to add js-toggle-trigger to the buttons attribute list", - "container": "if toggle is set to true the js-toggle-container attribute will be applied, otherwise it's just a div" - }, - "view": "buttonGroup.blade.php", - "dependency": { - "sass": { - "components": [ - "buttonGroup", - "button", - "dropdown", - "icon" - ] - } - } -} \ No newline at end of file diff --git a/source/php/Component/Splitbutton/Splitbutton.php b/source/php/Component/Splitbutton/Splitbutton.php deleted file mode 100755 index 87c89d2d..00000000 --- a/source/php/Component/Splitbutton/Splitbutton.php +++ /dev/null @@ -1,12 +0,0 @@ -data); - } -} diff --git a/source/php/Component/Splitbutton/splitbutton.blade.php b/source/php/Component/Splitbutton/splitbutton.blade.php deleted file mode 100755 index 5129aca8..00000000 --- a/source/php/Component/Splitbutton/splitbutton.blade.php +++ /dev/null @@ -1,22 +0,0 @@ - -@buttonGroup([ - 'borderColor' => 'default', - 'attributeList' => ['js-split' => ''], - 'classList' => [$class] -]) - @button(['text' => $buttonText]) - @endbutton - @dropdown([ - 'items' => $items, - 'direction' => $dropdownDirection, - 'popup' => 'click', - 'itemElement' => 'div' - ]) - @button([ - 'style' => 'filled', - 'icon' => $icon, - 'size' => 'md' - ]) - @endbutton - @enddropdown -@endbuttonGroup diff --git a/source/php/Component/Splitbutton/splitbutton.json b/source/php/Component/Splitbutton/splitbutton.json deleted file mode 100755 index 212ea092..00000000 --- a/source/php/Component/Splitbutton/splitbutton.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "slug": "splitbutton", - "default": { - "buttonText": "Pick an item", - "icon": "arrow-drop-down", - "dropdownDirection": "bottom" - }, - "description": { - "buttonText": "The text on the actionbutton", - "icon": "The icon for the dropdown", - "dropdownDirection": "In which direction the dropdown opens" - }, - "view": "splitbutton.blade.php", - "dependency": { - "sass": { - "components": [ - "splitbutton", - "button", - "buttongroup", - "typography", - "dropdown", - "icon" - ] - } - } -} \ No newline at end of file