Skip to content

Commit

Permalink
413-radio group docs (#690)
Browse files Browse the repository at this point in the history
* feat(storybook): initial commit

* feat(storybook): add radio group docs

* fix(ui): add feedback

* fix(storybook): change folder name

* fix(storybook): filenaming

* fix(storybook): import issues

* fix(storybook): import issue

---------

Co-authored-by: Christian Hoffmann <112889877+ChristianHoffmannS2@users.noreply.github.com>
  • Loading branch information
bar-tay and ChristianHoffmannS2 authored Jan 16, 2024
1 parent ce5a572 commit 737d57c
Show file tree
Hide file tree
Showing 14 changed files with 483 additions and 91 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { typeSafeNestedCss } from "../../../../utils/nested-typesafe-css-literals";
import { typeSafeNestedCss } from "../../../utils/nested-typesafe-css-literals";

export const styleCustom = typeSafeNestedCss`
.blr-radio:disabled {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { BlrRadioType } from './index';
import { BlrRadioRenderFunction } from './renderFunction';
import { InputSizes } from '../../../../globals/constants';
import { InputSizes } from '../../../globals/constants';
import { PureIconKeys } from '@boiler/icons';
import { Themes } from '../../../../foundation/_tokens-generated/index.themes';
import { Themes } from '../../../foundation/_tokens-generated/index.themes';
import { html } from 'lit-html';
import { action } from '@storybook/addon-actions';

// this loads the all components instances and registers their html tags
import '../../../../index';
import '../../../index';

const sharedStyles = html`
<style>
Expand All @@ -18,7 +18,7 @@ const sharedStyles = html`
`;

export default {
title: 'Design System/Web Components/Forms/Radio',
title: 'Design System/Web Components/Forms/Radio Group/Radio',
argTypes: {
theme: {
options: Themes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { LitElement, html, nothing } from 'lit';
import { classMap } from 'lit/directives/class-map.js';
import { customElement, property } from 'lit/decorators.js';
import { styleCustom } from './index.css';
import { InputSizesType } from '../../../../globals/types';
import { formDark, formLight } from '../../../../foundation/semantic-tokens/form.css';
import { radioDark, radioLight } from '../../../../foundation/component-tokens/radio.css';
import { BlrFormLabelInlineRenderFunction } from '../../../internal-components/form-label/form-label-inline/renderFunction';
import { BlrFormCaptionGroupRenderFunction } from '../../../internal-components/form-caption-group/renderFunction';
import { InputSizesType } from '../../../globals/types';
import { formDark, formLight } from '../../../foundation/semantic-tokens/form.css';
import { radioDark, radioLight } from '../../../foundation/component-tokens/radio.css';
import { BlrFormLabelInlineRenderFunction } from '../../internal-components/form-label/form-label-inline/renderFunction';
import { BlrFormCaptionGroupRenderFunction } from '../../internal-components/form-caption-group/renderFunction';
import { SizelessIconType } from '@boiler/icons';
import { ThemeType } from '../../../../foundation/_tokens-generated/index.themes';
import { BlrFormCaptionRenderFunction } from '../../../internal-components/form-caption-group/form-caption/renderFunction';
import { ThemeType } from '../../../foundation/_tokens-generated/index.themes';
import { BlrFormCaptionRenderFunction } from '../../internal-components/form-caption-group/form-caption/renderFunction';

import { TAG_NAME } from './renderFunction';

Expand Down
Loading

0 comments on commit 737d57c

Please sign in to comment.