From a9a0afdd3e43d48c60b1c2292de65009871d256d Mon Sep 17 00:00:00 2001 From: Doug Gibson Date: Thu, 19 Dec 2024 10:05:48 -0500 Subject: [PATCH] Remove rule and nobreak args from checklist/radiolist stories to simplify them. --- .../src/components/cbp-checkbox/cbp-checklist.stories.tsx | 8 ++------ .../src/components/cbp-radio/cbp-radiolist.stories.tsx | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/packages/web-components/src/components/cbp-checkbox/cbp-checklist.stories.tsx b/packages/web-components/src/components/cbp-checkbox/cbp-checklist.stories.tsx index 3417591d..70c5517c 100644 --- a/packages/web-components/src/components/cbp-checkbox/cbp-checklist.stories.tsx +++ b/packages/web-components/src/components/cbp-checkbox/cbp-checklist.stories.tsx @@ -139,7 +139,7 @@ ChecklistHorizontal.args = { -const ChecklistMultiColumnTemplate = ({ checkboxes, gap, columns, width, rule, nobreak, label, description, fieldId, group, error, context, sx }) => { +const ChecklistMultiColumnTemplate = ({ checkboxes, gap, columns, width, label, description, fieldId, group, error, context, sx }) => { return ` - ${generateCheckboxes(context, checkboxes)} @@ -168,8 +166,6 @@ ChecklistMultiColumn.args = { gap: 'var(--cbp-space-4x)', columns: '3', width: '10rem', - rule: '', - nobreak: true, checkboxes: [ { label: "Checkbox 1", diff --git a/packages/web-components/src/components/cbp-radio/cbp-radiolist.stories.tsx b/packages/web-components/src/components/cbp-radio/cbp-radiolist.stories.tsx index f2d92b96..0473152f 100644 --- a/packages/web-components/src/components/cbp-radio/cbp-radiolist.stories.tsx +++ b/packages/web-components/src/components/cbp-radio/cbp-radiolist.stories.tsx @@ -139,7 +139,7 @@ RadioListHorizontal.args = { -const RadioListMultiColumnTemplate = ({ radios, gap, columns, width, rule, nobreak, label, description, fieldId, group, error, context, sx }) => { +const RadioListMultiColumnTemplate = ({ radios, gap, columns, width, label, description, fieldId, group, error, context, sx }) => { return ` - ${generateRadios(context, radios)} @@ -168,8 +166,6 @@ RadioListMultiColumn.args = { gap: 'var(--cbp-space-4x)', columns: '3', width: '6rem', - rule: '', - nobreak: true, radios: [ { label: "Radio 1",