+
+
+
+
+
+ The BorderBoxControl is intended to be used within a component
+ that will provide reset controls. The button below is only for
+ convenience.
+
+
+ { /* @ts-expect-error Ignore until Popover.Slot is converted to TS */ }
+
+
+ );
+};
+export const Default = Template.bind( {} );
+Default.args = {
+ colors,
+ label: 'Borders',
+};
diff --git a/packages/components/src/border-control/stories/index.tsx b/packages/components/src/border-control/stories/index.tsx
index 59aa440591b7f3..33f28cb9bd4351 100644
--- a/packages/components/src/border-control/stories/index.tsx
+++ b/packages/components/src/border-control/stories/index.tsx
@@ -36,12 +36,12 @@ export default meta;
// Available border colors.
const colors = [
- { name: 'Blue', color: '#72aee6' },
- { name: 'Red', color: '#e65054' },
- { name: 'Yellow', color: '#f2d675' },
- { name: 'Blue', color: '#72aee6' },
- { name: 'Red', color: '#e65054' },
- { name: 'Yellow', color: '#f2d675' },
+ { name: 'Blue 20', color: '#72aee6' },
+ { name: 'Blue 40', color: '#3582c4' },
+ { name: 'Red 40', color: '#e65054' },
+ { name: 'Red 70', color: '#8a2424' },
+ { name: 'Yellow 10', color: '#f2d675' },
+ { name: 'Yellow 40', color: '#bd8600' },
];
// Multiple origin colors.
@@ -91,7 +91,7 @@ const Template: ComponentStory< typeof BorderControl > = ( {
{ ...props }
/>
- { /* @ts-expect-error Ignore until Popover is converted to TS */ }
+ { /* @ts-expect-error Ignore until Popover.Slot is converted to TS */ }