@trendyol/baklava 3.4.0-beta.2 → 3.4.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/baklava-react.d.ts +262 -307
- package/dist/baklava-react.d.ts.map +1 -1
- package/dist/baklava-react.js +1 -1
- package/dist/baklava-react.js.map +3 -3
- package/dist/baklava-svelte.d.ts +807 -0
- package/dist/baklava-vue.d.ts +26 -24
- package/dist/baklava.d.ts +22 -18
- package/dist/baklava.d.ts.map +1 -1
- package/dist/baklava.js +1 -1
- package/dist/{chunk-SBCJY5IU.js → chunk-23AVKNCC.js} +2 -2
- package/dist/chunk-3IZAFXL6.js +59 -0
- package/dist/chunk-3IZAFXL6.js.map +7 -0
- package/dist/{chunk-5TPDRTCU.js → chunk-3MLXIDOD.js} +2 -2
- package/dist/{chunk-BH64QNLE.js → chunk-3OQA4BKQ.js} +2 -2
- package/dist/chunk-5NSAJ3SX.js +23 -0
- package/dist/chunk-5NSAJ3SX.js.map +7 -0
- package/dist/{chunk-5EAI6722.js → chunk-5QGKDF4O.js} +2 -2
- package/dist/{chunk-MWFGDECP.js → chunk-6XM52E7W.js} +2 -2
- package/dist/{chunk-GISZRI4I.js → chunk-7HEDOM2M.js} +2 -2
- package/dist/chunk-7N7YHRPA.js +22 -0
- package/dist/chunk-7N7YHRPA.js.map +7 -0
- package/dist/{chunk-DE3A37FL.js → chunk-BCRV6HG6.js} +2 -2
- package/dist/chunk-BDTCJ2JC.js +16 -0
- package/dist/chunk-BDTCJ2JC.js.map +7 -0
- package/dist/chunk-BWWXE4SL.js +2 -0
- package/dist/{chunk-RQOF4US5.js → chunk-C2UDBDKV.js} +7 -5
- package/dist/chunk-C2UDBDKV.js.map +7 -0
- package/dist/{chunk-J5YZ4HBV.js → chunk-DPKNQOJX.js} +2 -2
- package/dist/chunk-FANRUDPK.js +5 -0
- package/dist/chunk-FANRUDPK.js.map +7 -0
- package/dist/{chunk-P5TOP3NH.js → chunk-FCOVZEHC.js} +2 -2
- package/dist/{chunk-IKYI4JCF.js → chunk-FS3MTRC3.js} +2 -2
- package/dist/{chunk-MWG4TBH7.js → chunk-GBJ4SP2Y.js} +2 -2
- package/dist/chunk-GBJ4SP2Y.js.map +7 -0
- package/dist/{chunk-ZLJF4SVG.js → chunk-HD7EU6S5.js} +2 -2
- package/dist/chunk-IEFQ6PGY.js +80 -0
- package/dist/chunk-IEFQ6PGY.js.map +7 -0
- package/dist/chunk-IR2QY2VG.js +24 -0
- package/dist/chunk-IR2QY2VG.js.map +7 -0
- package/dist/chunk-JN5BKKQZ.js +14 -0
- package/dist/chunk-JN5BKKQZ.js.map +7 -0
- package/dist/{chunk-EZJ3WW6Y.js → chunk-JTNWYMYZ.js} +2 -2
- package/dist/{chunk-2IJL7HNY.js → chunk-KYLWO3YR.js} +33 -21
- package/dist/chunk-KYLWO3YR.js.map +7 -0
- package/dist/{chunk-ERL6CBPO.js → chunk-LCAPXVGE.js} +2 -2
- package/dist/{chunk-NXVLNG4L.js → chunk-LIUATY6B.js} +2 -2
- package/dist/{chunk-JC4VETUE.js → chunk-LZ6VDMPM.js} +2 -2
- package/dist/chunk-M4E4CVZ4.js +18 -0
- package/dist/{chunk-HSVSMABT.js.map → chunk-M4E4CVZ4.js.map} +2 -2
- package/dist/{chunk-4UO3W4WP.js → chunk-NM74WWXQ.js} +2 -2
- package/dist/{chunk-4BLKAURK.js → chunk-NW7MDZJB.js} +2 -2
- package/dist/{chunk-ZE7GYACV.js → chunk-OYHUG47P.js} +2 -2
- package/dist/{chunk-H4WETBHJ.js → chunk-P4S537UY.js} +2 -2
- package/dist/{chunk-UOGCEUXK.js → chunk-RCHKJINV.js} +2 -2
- package/dist/{chunk-STZJ3LBU.js → chunk-UF5VCR36.js} +2 -2
- package/dist/{chunk-T5MEA7JO.js → chunk-UGRBWOQE.js} +2 -2
- package/dist/{chunk-QDYWH7BU.js → chunk-UK2ZEQBN.js} +2 -2
- package/dist/{chunk-QKII4FCI.js → chunk-UV7BOOVA.js} +2 -2
- package/dist/{chunk-QF4LGACD.js → chunk-WZBUJ4ER.js} +2 -2
- package/dist/chunk-XCSIJWLQ.js +2 -0
- package/dist/{chunk-DNSU2ZXO.js.map → chunk-XCSIJWLQ.js.map} +2 -2
- package/dist/{chunk-WPESQSKX.js → chunk-YH3MSMXL.js} +2 -2
- package/dist/{chunk-G4DOH6BQ.js → chunk-Z2AZS34W.js} +2 -2
- package/dist/chunk-Z5ZIVLUH.js +37 -0
- package/dist/chunk-Z5ZIVLUH.js.map +7 -0
- package/dist/components/accordion-group/accordion/bl-accordion.d.ts +1 -0
- package/dist/components/accordion-group/accordion/bl-accordion.d.ts.map +1 -1
- package/dist/components/accordion-group/accordion/bl-accordion.js +1 -1
- package/dist/components/accordion-group/bl-accordion-group.js +1 -1
- package/dist/components/accordion-group/bl-accordion-group.test.d.ts.map +1 -1
- package/dist/components/alert/bl-alert.js +1 -1
- package/dist/components/badge/bl-badge.js +1 -1
- package/dist/components/button/bl-button.js +1 -1
- package/dist/components/calendar/bl-calendar.constant.js +1 -1
- package/dist/components/calendar/bl-calendar.d.ts +11 -6
- package/dist/components/calendar/bl-calendar.d.ts.map +1 -1
- package/dist/components/calendar/bl-calendar.js +1 -1
- package/dist/components/calendar/bl-calendar.test.d.ts.map +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.js +1 -1
- package/dist/components/checkbox-group/checkbox/bl-checkbox.js +1 -1
- package/dist/components/datepicker/bl-datepicker.d.ts +5 -0
- package/dist/components/datepicker/bl-datepicker.d.ts.map +1 -1
- package/dist/components/datepicker/bl-datepicker.js +1 -1
- package/dist/components/dialog/bl-dialog.js +1 -1
- package/dist/components/dialog/bl-dialog.stories.js +1 -1
- package/dist/components/drawer/bl-drawer.js +1 -1
- package/dist/components/dropdown/bl-dropdown.js +1 -1
- package/dist/components/dropdown/group/bl-dropdown-group.js +1 -1
- package/dist/components/dropdown/item/bl-dropdown-item.js +1 -1
- package/dist/components/icon/bl-icon.js +1 -1
- package/dist/components/icon/icon-list.js +1 -1
- package/dist/components/input/bl-input.js +1 -1
- package/dist/components/link/bl-link.d.ts +77 -0
- package/dist/components/link/bl-link.d.ts.map +1 -0
- package/dist/components/link/bl-link.js +2 -0
- package/dist/components/link/bl-link.js.map +7 -0
- package/dist/components/link/bl-link.stories.d.ts +31 -0
- package/dist/components/link/bl-link.stories.d.ts.map +1 -0
- package/dist/components/link/bl-link.stories.js +63 -0
- package/dist/components/link/bl-link.stories.js.map +7 -0
- package/dist/components/link/bl-link.test.d.ts +2 -0
- package/dist/components/link/bl-link.test.d.ts.map +1 -0
- package/dist/components/notification/bl-notification.js +1 -1
- package/dist/components/notification/bl-notification.stories.d.ts.map +1 -1
- package/dist/components/notification/bl-notification.stories.js +20 -8
- package/dist/components/notification/bl-notification.stories.js.map +2 -2
- package/dist/components/notification/card/bl-notification-card.js +1 -1
- package/dist/components/pagination/bl-pagination.js +1 -1
- package/dist/components/popover/bl-popover.js +1 -1
- package/dist/components/progress-indicator/bl-progress-indicator.js +1 -1
- package/dist/components/radio-group/bl-radio-group.js +1 -1
- package/dist/components/radio-group/radio/bl-radio.js +1 -1
- package/dist/components/select/bl-select.d.ts +1 -0
- package/dist/components/select/bl-select.d.ts.map +1 -1
- package/dist/components/select/bl-select.js +1 -1
- package/dist/components/select/option/bl-select-option.d.ts +5 -0
- package/dist/components/select/option/bl-select-option.d.ts.map +1 -1
- package/dist/components/select/option/bl-select-option.js +1 -1
- package/dist/components/spinner/bl-spinner.js +1 -1
- package/dist/components/split-button/bl-split-button.js +1 -1
- package/dist/components/stepper/bl-stepper-item.d.ts +107 -0
- package/dist/components/stepper/bl-stepper-item.d.ts.map +1 -0
- package/dist/components/stepper/bl-stepper-item.js +2 -0
- package/dist/components/stepper/bl-stepper-item.js.map +7 -0
- package/dist/components/stepper/bl-stepper-item.test.d.ts +2 -0
- package/dist/components/stepper/bl-stepper-item.test.d.ts.map +1 -0
- package/dist/components/stepper/bl-stepper.d.ts +46 -0
- package/dist/components/stepper/bl-stepper.d.ts.map +1 -0
- package/dist/components/stepper/bl-stepper.js +2 -0
- package/dist/components/stepper/bl-stepper.js.map +7 -0
- package/dist/components/stepper/bl-stepper.stories.d.ts +23 -0
- package/dist/components/stepper/bl-stepper.stories.d.ts.map +1 -0
- package/dist/components/stepper/bl-stepper.stories.js +100 -0
- package/dist/components/stepper/bl-stepper.stories.js.map +7 -0
- package/dist/components/stepper/bl-stepper.test.d.ts +2 -0
- package/dist/components/stepper/bl-stepper.test.d.ts.map +1 -0
- package/dist/components/switch/bl-switch.js +1 -1
- package/dist/components/tab-group/bl-tab-group.js +1 -1
- package/dist/components/tab-group/tab/bl-tab.js +1 -1
- package/dist/components/tab-group/tab-panel/bl-tab-panel.js +1 -1
- package/dist/components/table/bl-table.js +1 -1
- package/dist/components/table/table-body/bl-table-body.d.ts +5 -1
- package/dist/components/table/table-body/bl-table-body.d.ts.map +1 -1
- package/dist/components/table/table-body/bl-table-body.js +1 -1
- package/dist/components/table/table-cell/bl-table-cell.js +1 -1
- package/dist/components/table/table-header/bl-table-header.js +1 -1
- package/dist/components/table/table-header-cell/bl-table-header-cell.js +1 -1
- package/dist/components/table/table-row/bl-table-row.js +1 -1
- package/dist/components/tag/bl-tag.js +1 -1
- package/dist/components/textarea/bl-textarea.js +1 -1
- package/dist/components/tooltip/bl-tooltip.js +1 -1
- package/dist/custom-elements.json +10157 -2901
- package/dist/generated/locale-codes.d.ts +2 -2
- package/dist/generated/locale-codes.d.ts.map +1 -1
- package/dist/generated/locale-codes.js +1 -1
- package/dist/generated/locales/ar.d.ts +14 -0
- package/dist/generated/locales/ar.d.ts.map +1 -0
- package/dist/generated/locales/ar.js +2 -0
- package/dist/generated/locales/ar.js.map +7 -0
- package/dist/generated/locales/ro.d.ts +14 -0
- package/dist/generated/locales/ro.d.ts.map +1 -0
- package/dist/generated/locales/ro.js +2 -0
- package/dist/generated/locales/ro.js.map +7 -0
- package/dist/generated/locales/tr.d.ts +4 -0
- package/dist/generated/locales/tr.d.ts.map +1 -1
- package/dist/generated/locales/tr.js +1 -1
- package/dist/generated/locales/tr.js.map +4 -4
- package/dist/localization.d.ts +2 -1
- package/dist/localization.d.ts.map +1 -1
- package/dist/localization.js +1 -1
- package/dist/localization.js.map +3 -3
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.d.ts +4 -0
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.d.ts.map +1 -1
- package/dist/themes/dark.css +2 -0
- package/dist/themes/dark.css.map +7 -0
- package/dist/themes/default.css +1 -1
- package/dist/themes/default.css.map +2 -2
- package/dist/utilities/format-to-date-array.d.ts +1 -1
- package/dist/utilities/format-to-date-array.d.ts.map +1 -1
- package/package.json +5 -6
- package/dist/chunk-2IJL7HNY.js.map +0 -7
- package/dist/chunk-7F6RR2JV.js +0 -2
- package/dist/chunk-7F6RR2JV.js.map +0 -7
- package/dist/chunk-APLBTZ36.js +0 -24
- package/dist/chunk-APLBTZ36.js.map +0 -7
- package/dist/chunk-DNSU2ZXO.js +0 -2
- package/dist/chunk-HSVSMABT.js +0 -7
- package/dist/chunk-HYBPEELZ.js +0 -5
- package/dist/chunk-HYBPEELZ.js.map +0 -7
- package/dist/chunk-IZ2LK5GK.js +0 -2
- package/dist/chunk-MWG4TBH7.js.map +0 -7
- package/dist/chunk-OTAAXK2L.js +0 -84
- package/dist/chunk-OTAAXK2L.js.map +0 -7
- package/dist/chunk-RER7OLAQ.js +0 -22
- package/dist/chunk-RER7OLAQ.js.map +0 -7
- package/dist/chunk-RQOF4US5.js.map +0 -7
- package/dist/chunk-WC5CTIZH.js +0 -59
- package/dist/chunk-WC5CTIZH.js.map +0 -7
- package/dist/chunk-Y2Q465TD.js +0 -2
- package/dist/chunk-Y2Q465TD.js.map +0 -7
- /package/dist/{chunk-SBCJY5IU.js.map → chunk-23AVKNCC.js.map} +0 -0
- /package/dist/{chunk-5TPDRTCU.js.map → chunk-3MLXIDOD.js.map} +0 -0
- /package/dist/{chunk-BH64QNLE.js.map → chunk-3OQA4BKQ.js.map} +0 -0
- /package/dist/{chunk-5EAI6722.js.map → chunk-5QGKDF4O.js.map} +0 -0
- /package/dist/{chunk-MWFGDECP.js.map → chunk-6XM52E7W.js.map} +0 -0
- /package/dist/{chunk-GISZRI4I.js.map → chunk-7HEDOM2M.js.map} +0 -0
- /package/dist/{chunk-DE3A37FL.js.map → chunk-BCRV6HG6.js.map} +0 -0
- /package/dist/{chunk-IZ2LK5GK.js.map → chunk-BWWXE4SL.js.map} +0 -0
- /package/dist/{chunk-J5YZ4HBV.js.map → chunk-DPKNQOJX.js.map} +0 -0
- /package/dist/{chunk-P5TOP3NH.js.map → chunk-FCOVZEHC.js.map} +0 -0
- /package/dist/{chunk-IKYI4JCF.js.map → chunk-FS3MTRC3.js.map} +0 -0
- /package/dist/{chunk-ZLJF4SVG.js.map → chunk-HD7EU6S5.js.map} +0 -0
- /package/dist/{chunk-EZJ3WW6Y.js.map → chunk-JTNWYMYZ.js.map} +0 -0
- /package/dist/{chunk-ERL6CBPO.js.map → chunk-LCAPXVGE.js.map} +0 -0
- /package/dist/{chunk-NXVLNG4L.js.map → chunk-LIUATY6B.js.map} +0 -0
- /package/dist/{chunk-JC4VETUE.js.map → chunk-LZ6VDMPM.js.map} +0 -0
- /package/dist/{chunk-4UO3W4WP.js.map → chunk-NM74WWXQ.js.map} +0 -0
- /package/dist/{chunk-4BLKAURK.js.map → chunk-NW7MDZJB.js.map} +0 -0
- /package/dist/{chunk-ZE7GYACV.js.map → chunk-OYHUG47P.js.map} +0 -0
- /package/dist/{chunk-H4WETBHJ.js.map → chunk-P4S537UY.js.map} +0 -0
- /package/dist/{chunk-UOGCEUXK.js.map → chunk-RCHKJINV.js.map} +0 -0
- /package/dist/{chunk-STZJ3LBU.js.map → chunk-UF5VCR36.js.map} +0 -0
- /package/dist/{chunk-T5MEA7JO.js.map → chunk-UGRBWOQE.js.map} +0 -0
- /package/dist/{chunk-QDYWH7BU.js.map → chunk-UK2ZEQBN.js.map} +0 -0
- /package/dist/{chunk-QKII4FCI.js.map → chunk-UV7BOOVA.js.map} +0 -0
- /package/dist/{chunk-QF4LGACD.js.map → chunk-WZBUJ4ER.js.map} +0 -0
- /package/dist/{chunk-WPESQSKX.js.map → chunk-YH3MSMXL.js.map} +0 -0
- /package/dist/{chunk-G4DOH6BQ.js.map → chunk-Z2AZS34W.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/notification/bl-notification.stories.ts"],
|
|
4
|
-
"sourcesContent": ["import { Meta, StoryObj } from \"@storybook/web-components\";\nimport { html } from \"lit\";\nimport { ifDefined } from \"lit/directives/if-defined.js\";\nimport { fullscreenLayout } from \"../../utilities/chromatic-decorators\";\nimport type { Notification, NotificationProps } from \"./bl-notification\";\n\nconst meta: Meta = {\n title: \"Components/Notification\",\n component: \"bl-notification\",\n parameters: {\n chromatic: {\n viewports: [1000],\n },\n },\n decorators: [fullscreenLayout],\n argTypes: {\n // Notification Card Props\n duration: {\n control: \"number\",\n description: \"Duration in seconds\",\n defaultValue: 7,\n },\n caption: {\n control: \"text\",\n description: \"Caption of the notification\",\n },\n description: {\n control: \"text\",\n description: \"Description of the notification. Required.\",\n },\n icon: {\n control: \"text\",\n defaultValue: \"true\",\n description:\n \"Icon of the notification. If provided with a string, it will be used as an icon name. If provided with a boolean, it will use the default icon or no icon.\",\n },\n variant: {\n options: [\"info\", \"warning\", \"success\", \"error\"],\n default: \"info\",\n control: { type: \"select\" },\n description: \"Variant of the notification\",\n },\n permanent: {\n control: \"boolean\",\n defaultValue: false,\n description:\n \"If true, the notification will not have duration and will be removed when the user clicks on the close button.\",\n },\n primaryAction: {\n control: \"object\",\n description: \"Primary action of the notification. onClick and label properties are required.\",\n },\n secondaryAction: {\n control: \"object\",\n description:\n \"Secondary action of the notification. onClick and label properties are required.\",\n },\n },\n args: {\n noAnimation: false,\n duration: 20,\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n icon: \"true\",\n variant: \"info\",\n permanent: false,\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n};\n\nexport default meta;\n\nconst addNotification = (options: NotificationProps) => {\n const el = document.querySelector(\"bl-notification\");\n\n return el?.addNotification(options);\n};\n\nconst stringifyArgs = (args: NotificationArgs | NotificationProps) => {\n return JSON.stringify(args, null, 6);\n};\n\nexport type NotificationArgs = {\n noAnimation: boolean;\n duration: number;\n} & NotificationProps;\n\nexport type Story = StoryObj<NotificationArgs>;\n\nconst BasicTemplate = (args: NotificationArgs) => html`\n <bl-notification\n ?no-animation=${args.noAnimation}\n duration=${ifDefined(args.duration)}\n ></bl-notification>\n`;\n\nconst NotificationCreator = (args: NotificationProps, buttonLabel = \"Add Notification\") => {\n const slug = buttonLabel.toLowerCase().replace(/\\s/g, \"-\");\n\n return html`\n <bl-button id=${slug}>${buttonLabel}</bl-button>\n\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n const addButton = document.querySelector(\"bl-button#${slug}\");\n\n addButton.addEventListener(\"bl-click\", () => {\n notificationElement.addNotification(${stringifyArgs(args)});\n });\n })();\n </script>\n `;\n};\n\nexport const AddExample: Story = {\n render(args: NotificationArgs) {\n return html`${BasicTemplate(args)} ${NotificationCreator(args)} `;\n },\n args: {\n duration: 60,\n primaryAction: undefined,\n secondaryAction: undefined,\n },\n play: ({ args }) => {\n addNotification(args);\n addNotification({ ...args, variant: \"success\" });\n addNotification({ ...args, variant: \"warning\" });\n addNotification({ ...args, variant: \"error\" });\n },\n};\n\nexport const RemoveExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <bl-button>Remove Notification</bl-button>\n\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n const removeButton = document.querySelector(\"bl-button\");\n\n const notification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n });\n\n removeButton.addEventListener(\"bl-click\", () => {\n notification.remove(); // notificationElement.removeNotification(notification.id);\n });\n })();\n </script>\n `;\n },\n};\n\nexport const RemoveAwaitExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <bl-button>Remove Notifications</bl-button>\n\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n const removeButton = document.querySelector(\"bl-button\");\n\n const firstNotification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n });\n\n const secondNotification = notificationElement.addNotification({\n caption: \"Notification Caption Second\",\n description: \"Notification Description Second\",\n permanent: true,\n });\n\n const thirdNotification = notificationElement.addNotification({\n caption: \"Notification Caption Third\",\n description: \"Notification Description Third\",\n permanent: true,\n });\n\n removeButton.addEventListener(\"bl-click\", async () => {\n await secondNotification.remove();\n await thirdNotification.remove();\n await firstNotification.remove();\n });\n })();\n </script>\n `;\n },\n};\n\nexport const PrimaryActionExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n\n notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: () => {\n window.alert(\"Primary Action Clicked\");\n },\n },\n });\n })();\n </script>\n `;\n },\n};\n\nexport const SecondaryActionExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n\n notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: () => {\n window.alert(\"Primary Action Clicked\");\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: () => {\n window.alert(\"Secondary Action Clicked\");\n },\n },\n });\n })();\n </script>\n `;\n },\n};\n\nexport const ActionsRemoveExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n const notificationElement = document.querySelector(\"bl-notification\");\n\n const notification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: notification => {\n notification.remove();\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: notification => {\n notification.remove();\n },\n },\n });\n })();\n </script>\n `;\n },\n play: () => {\n addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: (notification: Notification) => {\n notification.remove();\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: (notification: Notification) => {\n notification.remove();\n },\n },\n });\n },\n};\n\nexport const PermanentExample: Story = {\n render(args: NotificationArgs) {\n return html` ${BasicTemplate(args)} ${NotificationCreator(args)} `;\n },\n args: {\n permanent: true,\n },\n play: ({ args }) => {\n addNotification(args);\n },\n};\n\nexport const VariantsExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: info\",\n permanent: true,\n variant: \"info\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Info\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: success\",\n permanent: true,\n variant: \"success\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Success\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: warning\",\n permanent: true,\n variant: \"warning\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Warning\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: error\",\n permanent: true,\n variant: \"error\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Error\"\n )}\n `;\n },\n play: () => {\n const variants = [\"info\", \"success\", \"warning\", \"error\"] as const;\n\n for (const variant of variants) {\n addNotification({\n caption: \"Notification Caption\",\n description: `Notification Variant: ${variant}`,\n permanent: true,\n variant,\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n });\n }\n },\n};\n\nexport const RTLExample: Story = {\n render(args: NotificationArgs) {\n return html`\n <div class=\"rtl-container\" dir=\"rtl\" lang=\"ar\">\n ${BasicTemplate(args)}\n ${NotificationCreator(\n {\n caption: \"\u0631\u0633\u0627\u0644\u0629 \u062A\u0631\u062D\u064A\u0628\",\n description: \"\u0645\u0631\u062D\u0628\u0627\u064B \u0628\u0643 \u0641\u064A \u062A\u0637\u0628\u064A\u0642\u0646\u0627! \u0646\u062A\u0645\u0646\u0649 \u0644\u0643 \u062A\u062C\u0631\u0628\u0629 \u0645\u0645\u062A\u0639\u0629.\",\n duration: 7,\n variant: \"info\" as const,\n icon: true,\n primaryAction: {\n label: \"\u0627\u0628\u062F\u0623 \u0627\u0644\u0622\u0646\",\n onClick() {},\n },\n },\n \"Info\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0645\u0647\u0645\u0629\",\n description: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0645\u0647\u0645\u062A\u0643 \u0628\u0646\u062C\u0627\u062D.\",\n duration: 10,\n variant: \"success\" as const,\n icon: true,\n },\n \"Success\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062A\u0646\u0628\u064A\u0647 \u0627\u0644\u062A\u062E\u0632\u064A\u0646\",\n description: \"\u0645\u0633\u0627\u062D\u0629 \u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0645\u0646\u062E\u0641\u0636\u0629.\",\n duration: 15,\n variant: \"warning\" as const,\n icon: true,\n primaryAction: {\n label: \"\u062A\u0631\u0642\u064A\u0629\",\n onClick() {},\n },\n secondaryAction: {\n label: \"\u0627\u0639\u0631\u0641 \u0627\u0644\u0645\u0632\u064A\u062F\",\n onClick() {},\n },\n },\n \"Warning\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0627\u062A\u0635\u0627\u0644\",\n description: \"\u062A\u0639\u0630\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.\",\n duration: 20,\n variant: \"error\" as const,\n icon: true,\n primaryAction: {\n label: \"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629\",\n onClick() {},\n },\n },\n \"Error\"\n )}\n </div>\n\n <style>\n .rtl-container {\n width: 100%;\n min-height: 100%;\n padding: 1rem;\n }\n </style>\n `;\n },\n play: () => {\n const rtlNotifications: NotificationProps[] = [\n {\n caption: \"\u0631\u0633\u0627\u0644\u0629 \u062A\u0631\u062D\u064A\u0628\",\n description: \"\u0645\u0631\u062D\u0628\u0627\u064B \u0628\u0643 \u0641\u064A \u062A\u0637\u0628\u064A\u0642\u0646\u0627! \u0646\u062A\u0645\u0646\u0649 \u0644\u0643 \u062A\u062C\u0631\u0628\u0629 \u0645\u0645\u062A\u0639\u0629.\",\n duration: 7,\n variant: \"info\",\n icon: true,\n primaryAction: {\n label: \"\u0627\u0628\u062F\u0623 \u0627\u0644\u0622\u0646\",\n onClick() {},\n },\n },\n {\n caption: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0645\u0647\u0645\u0629\",\n description: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0645\u0647\u0645\u062A\u0643 \u0628\u0646\u062C\u0627\u062D.\",\n duration: 10,\n variant: \"success\",\n icon: true,\n },\n {\n caption: \"\u062A\u0646\u0628\u064A\u0647 \u0627\u0644\u062A\u062E\u0632\u064A\u0646\",\n description: \"\u0645\u0633\u0627\u062D\u0629 \u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0645\u0646\u062E\u0641\u0636\u0629.\",\n duration: 15,\n variant: \"warning\",\n icon: true,\n primaryAction: {\n label: \"\u062A\u0631\u0642\u064A\u0629\",\n onClick() {},\n },\n secondaryAction: {\n label: \"\u0627\u0639\u0631\u0641 \u0627\u0644\u0645\u0632\u064A\u062F\",\n onClick() {},\n },\n },\n {\n caption: \"\u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0627\u062A\u0635\u0627\u0644\",\n description: \"\u062A\u0639\u0630\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.\",\n duration: 20,\n variant: \"error\",\n icon: true,\n primaryAction: {\n label: \"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629\",\n onClick() {},\n },\n },\n ];\n\n // Add RTL notifications\n rtlNotifications.forEach((notification, index) => {\n setTimeout(() => {\n const rtlContainer = document.querySelector<HTMLElement & { addNotification: typeof addNotification }>(\".rtl-container bl-notification\");\n\n rtlContainer?.addNotification(notification);\n }, index * 300);\n });\n },\n args: {\n noAnimation: true,\n duration: 7,\n },\n};\n"],
|
|
5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AAAA,
|
|
4
|
+
"sourcesContent": ["import { Meta, StoryObj } from \"@storybook/web-components\";\nimport { html } from \"lit\";\nimport { ifDefined } from \"lit/directives/if-defined.js\";\nimport { fullscreenLayout } from \"../../utilities/chromatic-decorators\";\nimport type { Notification, NotificationProps } from \"./bl-notification\";\n\nconst meta: Meta = {\n title: \"Components/Notification\",\n component: \"bl-notification\",\n parameters: {\n chromatic: {\n viewports: [1000],\n },\n },\n decorators: [fullscreenLayout],\n argTypes: {\n // Notification Card Props\n duration: {\n control: \"number\",\n description: \"Duration in seconds\",\n defaultValue: 7,\n },\n caption: {\n control: \"text\",\n description: \"Caption of the notification\",\n },\n description: {\n control: \"text\",\n description: \"Description of the notification. Required.\",\n },\n icon: {\n control: \"text\",\n defaultValue: \"true\",\n description:\n \"Icon of the notification. If provided with a string, it will be used as an icon name. If provided with a boolean, it will use the default icon or no icon.\",\n },\n variant: {\n options: [\"info\", \"warning\", \"success\", \"error\"],\n default: \"info\",\n control: { type: \"select\" },\n description: \"Variant of the notification\",\n },\n permanent: {\n control: \"boolean\",\n defaultValue: false,\n description:\n \"If true, the notification will not have duration and will be removed when the user clicks on the close button.\",\n },\n primaryAction: {\n control: \"object\",\n description: \"Primary action of the notification. onClick and label properties are required.\",\n },\n secondaryAction: {\n control: \"object\",\n description:\n \"Secondary action of the notification. onClick and label properties are required.\",\n },\n },\n args: {\n noAnimation: false,\n duration: 20,\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n icon: \"true\",\n variant: \"info\",\n permanent: false,\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n};\n\nexport default meta;\n\nconst addNotification = (options: NotificationProps) => {\n const el = document.querySelector(\"bl-notification\");\n\n return el?.addNotification(options);\n};\n\nconst stringifyArgs = (args: NotificationArgs | NotificationProps) => {\n return JSON.stringify(args, null, 6);\n};\n\nexport type NotificationArgs = {\n noAnimation: boolean;\n duration: number;\n} & NotificationProps;\n\nexport type Story = StoryObj<NotificationArgs>;\n\nconst BasicTemplate = (args: NotificationArgs) => html`\n <bl-notification\n ?no-animation=${args.noAnimation}\n duration=${ifDefined(args.duration)}\n ></bl-notification>\n`;\n\nconst NotificationCreator = (args: NotificationProps, buttonLabel = \"Add Notification\") => {\n const slug = buttonLabel.toLowerCase().replace(/\\s/g, \"-\");\n\n return html`\n <bl-button id=${slug}>${buttonLabel}</bl-button>\n\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n const addButton = document.querySelector(\"bl-button#${slug}\");\n\n addButton.addEventListener(\"bl-click\", () => {\n notificationElement.addNotification(${stringifyArgs(args)});\n });\n })();\n </script>\n `;\n};\n\nexport const AddExample: Story = {\n render(args: NotificationArgs) {\n return html`${BasicTemplate(args)} ${NotificationCreator(args)} `;\n },\n args: {\n duration: 60,\n primaryAction: undefined,\n secondaryAction: undefined,\n },\n play: ({ args }) => {\n addNotification(args);\n addNotification({ ...args, variant: \"success\" });\n addNotification({ ...args, variant: \"warning\" });\n addNotification({ ...args, variant: \"error\" });\n },\n};\n\nexport const RemoveExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <bl-button>Remove Notification</bl-button>\n\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n const removeButton = document.querySelector(\"bl-button\");\n\n const notification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n });\n\n removeButton.addEventListener(\"bl-click\", () => {\n notification.remove(); // notificationElement.removeNotification(notification.id);\n });\n })();\n </script>\n `;\n },\n};\n\nexport const RemoveAwaitExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <bl-button>Remove Notifications</bl-button>\n\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n const removeButton = document.querySelector(\"bl-button\");\n\n const firstNotification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n });\n\n const secondNotification = notificationElement.addNotification({\n caption: \"Notification Caption Second\",\n description: \"Notification Description Second\",\n permanent: true,\n });\n\n const thirdNotification = notificationElement.addNotification({\n caption: \"Notification Caption Third\",\n description: \"Notification Description Third\",\n permanent: true,\n });\n\n removeButton.addEventListener(\"bl-click\", async () => {\n await secondNotification.remove();\n await thirdNotification.remove();\n await firstNotification.remove();\n });\n })();\n </script>\n `;\n },\n};\n\nexport const PrimaryActionExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n\n notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: () => {\n window.alert(\"Primary Action Clicked\");\n },\n },\n });\n })();\n </script>\n `;\n },\n};\n\nexport const SecondaryActionExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n\n notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: () => {\n window.alert(\"Primary Action Clicked\");\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: () => {\n window.alert(\"Secondary Action Clicked\");\n },\n },\n });\n })();\n </script>\n `;\n },\n};\n\nexport const ActionsRemoveExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n <script>\n (function () {\n window?.__applyStorybookTheme?.();\n\n const notificationElement = document.querySelector(\"bl-notification\");\n\n const notification = notificationElement.addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: notification => {\n notification.remove();\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: notification => {\n notification.remove();\n },\n },\n });\n })();\n </script>\n `;\n },\n play: () => {\n addNotification({\n caption: \"Notification Caption\",\n description: \"Notification Description\",\n permanent: true,\n primaryAction: {\n label: \"Primary Action\",\n onClick: (notification: Notification) => {\n notification.remove();\n },\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick: (notification: Notification) => {\n notification.remove();\n },\n },\n });\n },\n};\n\nexport const PermanentExample: Story = {\n render(args: NotificationArgs) {\n return html` ${BasicTemplate(args)} ${NotificationCreator(args)} `;\n },\n args: {\n permanent: true,\n },\n play: ({ args }) => {\n addNotification(args);\n },\n};\n\nexport const VariantsExample: Story = {\n render(args: NotificationArgs) {\n return html`\n ${BasicTemplate(args)}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: info\",\n permanent: true,\n variant: \"info\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Info\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: success\",\n permanent: true,\n variant: \"success\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Success\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: warning\",\n permanent: true,\n variant: \"warning\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Warning\"\n )}\n ${NotificationCreator(\n {\n caption: \"Notification Caption\",\n description: \"Notification Variant: error\",\n permanent: true,\n variant: \"error\",\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n },\n \"Error\"\n )}\n `;\n },\n play: () => {\n const variants = [\"info\", \"success\", \"warning\", \"error\"] as const;\n\n for (const variant of variants) {\n addNotification({\n caption: \"Notification Caption\",\n description: `Notification Variant: ${variant}`,\n permanent: true,\n variant,\n primaryAction: {\n label: \"Primary Action\",\n onClick() {},\n },\n secondaryAction: {\n label: \"Secondary Action\",\n onClick() {},\n },\n });\n }\n },\n};\n\nexport const RTLExample: Story = {\n render(args: NotificationArgs) {\n return html`\n <div class=\"rtl-container\" dir=\"rtl\" lang=\"ar\">\n ${BasicTemplate(args)}\n ${NotificationCreator(\n {\n caption: \"\u0631\u0633\u0627\u0644\u0629 \u062A\u0631\u062D\u064A\u0628\",\n description: \"\u0645\u0631\u062D\u0628\u0627\u064B \u0628\u0643 \u0641\u064A \u062A\u0637\u0628\u064A\u0642\u0646\u0627! \u0646\u062A\u0645\u0646\u0649 \u0644\u0643 \u062A\u062C\u0631\u0628\u0629 \u0645\u0645\u062A\u0639\u0629.\",\n duration: 7,\n variant: \"info\" as const,\n icon: true,\n primaryAction: {\n label: \"\u0627\u0628\u062F\u0623 \u0627\u0644\u0622\u0646\",\n onClick() {},\n },\n },\n \"Info\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0645\u0647\u0645\u0629\",\n description: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0645\u0647\u0645\u062A\u0643 \u0628\u0646\u062C\u0627\u062D.\",\n duration: 10,\n variant: \"success\" as const,\n icon: true,\n },\n \"Success\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062A\u0646\u0628\u064A\u0647 \u0627\u0644\u062A\u062E\u0632\u064A\u0646\",\n description: \"\u0645\u0633\u0627\u062D\u0629 \u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0645\u0646\u062E\u0641\u0636\u0629.\",\n duration: 15,\n variant: \"warning\" as const,\n icon: true,\n primaryAction: {\n label: \"\u062A\u0631\u0642\u064A\u0629\",\n onClick() {},\n },\n secondaryAction: {\n label: \"\u0627\u0639\u0631\u0641 \u0627\u0644\u0645\u0632\u064A\u062F\",\n onClick() {},\n },\n },\n \"Warning\"\n )}\n ${NotificationCreator(\n {\n caption: \"\u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0627\u062A\u0635\u0627\u0644\",\n description: \"\u062A\u0639\u0630\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.\",\n duration: 20,\n variant: \"error\" as const,\n icon: true,\n primaryAction: {\n label: \"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629\",\n onClick() {},\n },\n },\n \"Error\"\n )}\n </div>\n\n <style>\n .rtl-container {\n width: 100%;\n min-height: 100%;\n padding: 1rem;\n }\n </style>\n `;\n },\n play: () => {\n const rtlNotifications: NotificationProps[] = [\n {\n caption: \"\u0631\u0633\u0627\u0644\u0629 \u062A\u0631\u062D\u064A\u0628\",\n description: \"\u0645\u0631\u062D\u0628\u0627\u064B \u0628\u0643 \u0641\u064A \u062A\u0637\u0628\u064A\u0642\u0646\u0627! \u0646\u062A\u0645\u0646\u0649 \u0644\u0643 \u062A\u062C\u0631\u0628\u0629 \u0645\u0645\u062A\u0639\u0629.\",\n duration: 7,\n variant: \"info\",\n icon: true,\n primaryAction: {\n label: \"\u0627\u0628\u062F\u0623 \u0627\u0644\u0622\u0646\",\n onClick() {},\n },\n },\n {\n caption: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0645\u0647\u0645\u0629\",\n description: \"\u062A\u0645 \u0625\u0643\u0645\u0627\u0644 \u0645\u0647\u0645\u062A\u0643 \u0628\u0646\u062C\u0627\u062D.\",\n duration: 10,\n variant: \"success\",\n icon: true,\n },\n {\n caption: \"\u062A\u0646\u0628\u064A\u0647 \u0627\u0644\u062A\u062E\u0632\u064A\u0646\",\n description: \"\u0645\u0633\u0627\u062D\u0629 \u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0645\u0646\u062E\u0641\u0636\u0629.\",\n duration: 15,\n variant: \"warning\",\n icon: true,\n primaryAction: {\n label: \"\u062A\u0631\u0642\u064A\u0629\",\n onClick() {},\n },\n secondaryAction: {\n label: \"\u0627\u0639\u0631\u0641 \u0627\u0644\u0645\u0632\u064A\u062F\",\n onClick() {},\n },\n },\n {\n caption: \"\u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0627\u062A\u0635\u0627\u0644\",\n description: \"\u062A\u0639\u0630\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.\",\n duration: 20,\n variant: \"error\",\n icon: true,\n primaryAction: {\n label: \"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629\",\n onClick() {},\n },\n },\n ];\n\n // Add RTL notifications\n rtlNotifications.forEach((notification, index) => {\n setTimeout(() => {\n const rtlContainer = document.querySelector<HTMLElement & { addNotification: typeof addNotification }>(\".rtl-container bl-notification\");\n\n rtlContainer?.addNotification(notification);\n }, index * 300);\n });\n },\n args: {\n noAnimation: true,\n duration: 7,\n },\n};\n"],
|
|
5
|
+
"mappings": "2KAMA,IAAMA,EAAa,CACjB,MAAO,0BACP,UAAW,kBACX,WAAY,CACV,UAAW,CACT,UAAW,CAAC,GAAI,CAClB,CACF,EACA,WAAY,CAACC,CAAgB,EAC7B,SAAU,CAER,SAAU,CACR,QAAS,SACT,YAAa,sBACb,aAAc,CAChB,EACA,QAAS,CACP,QAAS,OAC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P,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,mBACP,SAAU,CAAC,CACb,CACF,EACA,SACF;AAAA,QACEA,EACA,CACE,QAAS,uBACT,YAAa,gCACb,UAAW,GACX,QAAS,UACT,cAAe,CACb,MAAO,iBACP,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,mBACP,SAAU,CAAC,CACb,CACF,EACA,SACF;AAAA,QACEA,EACA,CACE,QAAS,uBACT,YAAa,8BACb,UAAW,GACX,QAAS,QACT,cAAe,CACb,MAAO,iBACP,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,mBACP,SAAU,CAAC,CACb,CACF,EACA,OACF;AAAA,KAEJ,EACA,KAAM,IAAM,CACV,IAAMkB,EAAW,CAAC,OAAQ,UAAW,UAAW,OAAO,EAEvD,QAAWC,KAAWD,EACpB3B,EAAgB,CACd,QAAS,uBACT,YAAa,yBAAyB4B,IACtC,UAAW,GACX,QAAAA,EACA,cAAe,CACb,MAAO,iBACP,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,mBACP,SAAU,CAAC,CACb,CACF,CAAC,CAEL,CACF,EAEaC,EAAoB,CAC/B,OAAOzB,EAAwB,CAC7B,OAAOE;AAAA;AAAA,UAEDD,EAAcD,CAAI;AAAA,UAClBK,EACA,CACE,QAAS,gEACT,YAAa,wNACb,SAAU,EACV,QAAS,OACT,KAAM,GACN,cAAe,CACb,MAAO,oDACP,SAAU,CAAC,CACb,CACF,EACA,MACF;AAAA,UACEA,EACA,CACE,QAAS,mFACT,YAAa,6GACb,SAAU,GACV,QAAS,UACT,KAAM,EACR,EACA,SACF;AAAA,UACEA,EACA,CACE,QAAS,4EACT,YAAa,oKACb,SAAU,GACV,QAAS,UACT,KAAM,GACN,cAAe,CACb,MAAO,iCACP,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,gEACP,SAAU,CAAC,CACb,CACF,EACA,SACF;AAAA,UACEA,EACA,CACE,QAAS,6EACT,YAAa,yOACb,SAAU,GACV,QAAS,QACT,KAAM,GACN,cAAe,CACb,MAAO,kFACP,SAAU,CAAC,CACb,CACF,EACA,OACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAWN,EACA,KAAM,IAAM,CACoC,CAC5C,CACE,QAAS,gEACT,YAAa,wNACb,SAAU,EACV,QAAS,OACT,KAAM,GACN,cAAe,CACb,MAAO,oDACP,SAAU,CAAC,CACb,CACF,EACA,CACE,QAAS,mFACT,YAAa,6GACb,SAAU,GACV,QAAS,UACT,KAAM,EACR,EACA,CACE,QAAS,4EACT,YAAa,oKACb,SAAU,GACV,QAAS,UACT,KAAM,GACN,cAAe,CACb,MAAO,iCACP,SAAU,CAAC,CACb,EACA,gBAAiB,CACf,MAAO,gEACP,SAAU,CAAC,CACb,CACF,EACA,CACE,QAAS,6EACT,YAAa,yOACb,SAAU,GACV,QAAS,QACT,KAAM,GACN,cAAe,CACb,MAAO,kFACP,SAAU,CAAC,CACb,CACF,CACF,EAGiB,QAAQ,CAACe,EAAcM,IAAU,CAChD,WAAW,IAAM,CACf,IAAMC,EAAe,SAAS,cAAyE,gCAAgC,EAEvIA,GAAA,MAAAA,EAAc,gBAAgBP,EAChC,EAAGM,EAAQ,GAAG,CAChB,CAAC,CACH,EACA,KAAM,CACJ,YAAa,GACb,SAAU,CACZ,CACF",
|
|
6
6
|
"names": ["meta", "fullscreenLayout", "bl_notification_stories_default", "addNotification", "options", "el", "stringifyArgs", "args", "BasicTemplate", "x", "l", "_a", "NotificationCreator", "buttonLabel", "slug", "__template", "AddExample", "_b", "RemoveExample", "_c", "RemoveAwaitExample", "_d", "PrimaryActionExample", "_e", "SecondaryActionExample", "_f", "ActionsRemoveExample", "notification", "PermanentExample", "VariantsExample", "variants", "variant", "RTLExample", "index", "rtlContainer"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-
|
|
1
|
+
import{a,b}from"../../../chunk-7HEDOM2M.js";import"../../../chunk-ECPWEUBG.js";import"../../../chunk-DINNT5P2.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-BWWXE4SL.js";export{a as CloseSource,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-notification-card.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-P4S537UY.js";import"../../chunk-KYLWO3YR.js";import"../../chunk-5NSAJ3SX.js";import"../../chunk-ECPWEUBG.js";import"../../chunk-6XM52E7W.js";import"../../chunk-EZSEQHRH.js";import"../../chunk-3IZAFXL6.js";import"../../chunk-23PSWIUF.js";import"../../chunk-IPYZIIRV.js";import"../../chunk-NM74WWXQ.js";import"../../chunk-OYHUG47P.js";import"../../chunk-EG7U7PM3.js";import"../../chunk-AYJMIZZ3.js";import"../../chunk-XDUIVR6I.js";import"../../chunk-HZ6A5QFC.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-HBPBDC7T.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-pagination.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-RCHKJINV.js";import"../../chunk-EZSEQHRH.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-popover.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-UK2ZEQBN.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-progress-indicator.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as a,e as b,f as c}from"../../chunk-
|
|
1
|
+
import{d as a,e as b,f as c}from"../../chunk-FS3MTRC3.js";import"../../chunk-XDUIVR6I.js";import"../../chunk-HZ6A5QFC.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{b as blChangeEventName,a as blRadioGroupTag,c as default};
|
|
2
2
|
//# sourceMappingURL=bl-radio-group.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../../chunk-
|
|
1
|
+
import{a,b,c}from"../../../chunk-FS3MTRC3.js";import"../../../chunk-XDUIVR6I.js";import"../../../chunk-HZ6A5QFC.js";import"../../../chunk-6LT7O7T2.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-7GK5LKBV.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-BWWXE4SL.js";export{b as blCheckedEventName,a as blRadioTag,c as default};
|
|
2
2
|
//# sourceMappingURL=bl-radio.js.map
|
|
@@ -147,6 +147,7 @@ export default class BlSelect<ValueType extends FormValue = string> extends BlSe
|
|
|
147
147
|
close(): void;
|
|
148
148
|
private _interactOutsideHandler;
|
|
149
149
|
private _setupPopover;
|
|
150
|
+
private _handleToggleButtonClick;
|
|
150
151
|
connectedCallback(): void;
|
|
151
152
|
disconnectedCallback(): void;
|
|
152
153
|
private inputTemplate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bl-select.d.ts","s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B,OAAO,CAAC,wBAAwB;IAYhC,OAAO,CAAC,gBAAgB;IA8BxB,OAAO,CAAC,cAAc;IAmBtB,OAAO,CAAC,yBAAyB;IAkBjC,SAAS,CAAC,YAAY,IAAI,IAAI;IAY9B,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,cAAc;IAapD;;;OAGG;IACH,cAAc,CAAC,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC;IAkBhD;;;OAGG;IACH,gBAAgB,CAAC,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC;CAGnD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-KYLWO3YR.js";import"../../chunk-5NSAJ3SX.js";import"../../chunk-ECPWEUBG.js";import"../../chunk-6XM52E7W.js";import"../../chunk-EZSEQHRH.js";import"../../chunk-NM74WWXQ.js";import"../../chunk-OYHUG47P.js";import"../../chunk-EG7U7PM3.js";import"../../chunk-AYJMIZZ3.js";import"../../chunk-XDUIVR6I.js";import"../../chunk-HZ6A5QFC.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-HBPBDC7T.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-select.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CSSResultGroup, LitElement } from "lit";
|
|
2
2
|
import { FormValue } from "@open-wc/form-helpers";
|
|
3
|
+
import { BaklavaIcon } from "../../icon/icon-list";
|
|
3
4
|
export default class BlSelectOption<ValueType extends FormValue = string> extends LitElement {
|
|
4
5
|
static get styles(): CSSResultGroup;
|
|
5
6
|
private _value;
|
|
@@ -20,6 +21,10 @@ export default class BlSelectOption<ValueType extends FormValue = string> extend
|
|
|
20
21
|
* Sets option as selected state
|
|
21
22
|
*/
|
|
22
23
|
selected: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the name of the icon
|
|
26
|
+
*/
|
|
27
|
+
icon?: BaklavaIcon;
|
|
23
28
|
multiple: boolean;
|
|
24
29
|
/**
|
|
25
30
|
* Fires when clicked on the option
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bl-select-option.d.ts","sourceRoot":"","sources":["../../../../src/components/select/option/bl-select-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"bl-select-option.d.ts","sourceRoot":"","sources":["../../../../src/components/select/option/bl-select-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKnD,MAAM,CAAC,OAAO,OAAO,cAAc,CAAC,SAAS,SAAS,SAAS,GAAG,MAAM,CAAE,SAAQ,UAAU;IAC1F,MAAM,KAAK,MAAM,IAAI,cAAc,CAElC;IAED,OAAO,CAAC,MAAM,CAAY;IAG1B;;OAEG;IACH,IACI,KAAK,IAAI,SAAS,CAErB;IAED,IAAI,KAAK,CAAC,GAAG,EAAE,SAAS,EAEvB;IAED;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,CAAC,EAAE,WAAW,CAAC;IAGnB,QAAQ,UAAS;IAEjB;;OAEG;IACwB,OAAO,CAAC,SAAS,CAA6C;IAEzF;;OAEG;IACgB,OAAO,CAAC,OAAO,CAA6C;IAE/E;;OAEG;IACe,OAAO,CAAC,MAAM,CAA6C;IAErD,OAAO,CAAC,WAAW,CAAc;IAEzD;;OAEG;IACH,KAAK;IAQL;;OAEG;IACH,IAAI;IAKJ,OAAO,CAAC,QAAQ,CAA6B;IAE7C,OAAO,CAAC,oBAAoB;IAgB5B,OAAO,CAAC,sBAAsB;IAa9B,MAAM;IAMN,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,iBAAiB;IAKzB,iBAAiB;IAYjB,oBAAoB;CAIrB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,cAAc,CAAC;KACpC;CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-5NSAJ3SX.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-select-option.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-OYHUG47P.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as blSpinnerTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-spinner.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-LIUATY6B.js";import"../../chunk-FANRUDPK.js";import"../../chunk-IPYZIIRV.js";import"../../chunk-NM74WWXQ.js";import"../../chunk-OYHUG47P.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as blSplitButtonTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-split-button.js.map
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { CSSResultGroup, LitElement, TemplateResult } from "lit";
|
|
2
|
+
import "../icon/bl-icon";
|
|
3
|
+
import { BaklavaIcon } from "../icon/icon-list";
|
|
4
|
+
export type StepperItemVariant = "default" | "active" | "success" | "error";
|
|
5
|
+
export type StepperType = "dot" | "number" | "icon";
|
|
6
|
+
export type StepperDirection = "horizontal" | "vertical";
|
|
7
|
+
/**
|
|
8
|
+
* @tag bl-stepper-item
|
|
9
|
+
* @summary Baklava Stepper Item component for individual steps in a stepper
|
|
10
|
+
*
|
|
11
|
+
* @slot default - Step content (title and description)
|
|
12
|
+
*/
|
|
13
|
+
export default class BlStepperItem extends LitElement {
|
|
14
|
+
static get styles(): CSSResultGroup;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
static get shadowRootOptions(): {
|
|
19
|
+
delegatesFocus: boolean;
|
|
20
|
+
mode: ShadowRootMode;
|
|
21
|
+
slotAssignment?: SlotAssignmentMode | undefined;
|
|
22
|
+
customElements?: CustomElementRegistry | undefined;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Defines stepper item's id
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Defines stepper item's status
|
|
30
|
+
*/
|
|
31
|
+
variant: StepperItemVariant;
|
|
32
|
+
/**
|
|
33
|
+
* Internal variant state that includes hover
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
private _internalVariant;
|
|
37
|
+
/**
|
|
38
|
+
* Defines stepper item's interaction
|
|
39
|
+
*/
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* If stepper type is icon, it should be rendered on stepper items
|
|
43
|
+
*/
|
|
44
|
+
icon: BaklavaIcon;
|
|
45
|
+
/**
|
|
46
|
+
* Defines stepper item's main title
|
|
47
|
+
*/
|
|
48
|
+
title: string;
|
|
49
|
+
/**
|
|
50
|
+
* Defines stepper item's description
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
/**
|
|
54
|
+
* Internal state to show leading connector (line before the step)
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
showLeadingConnector: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Internal state to show trailing connector (line after the step)
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
showTrailingConnector: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Internal state to track stepper type from parent
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
stepperType: StepperType;
|
|
68
|
+
/**
|
|
69
|
+
* Internal state to track stepper direction from parent
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
direction: StepperDirection;
|
|
73
|
+
/**
|
|
74
|
+
* Internal state to track stepper usage from parent
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
stepUsage: "clickable" | "non-clickable";
|
|
78
|
+
/**
|
|
79
|
+
* Fires when stepper item is clicked
|
|
80
|
+
*/
|
|
81
|
+
private onItemClick;
|
|
82
|
+
willUpdate(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
83
|
+
private get isClickable();
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
get stepNumber(): number;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
get shouldShowIcon(): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
get iconName(): BaklavaIcon;
|
|
96
|
+
private handleClick;
|
|
97
|
+
private handleKeyDown;
|
|
98
|
+
private handleMouseEnter;
|
|
99
|
+
private handleMouseLeave;
|
|
100
|
+
render(): TemplateResult;
|
|
101
|
+
}
|
|
102
|
+
declare global {
|
|
103
|
+
interface HTMLElementTagNameMap {
|
|
104
|
+
"bl-stepper-item": BlStepperItem;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=bl-stepper-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bl-stepper-item.d.ts","sourceRoot":"","sources":["../../../src/components/stepper/bl-stepper-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAKvE,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AACpD,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,UAAU,CAAC;AAEzD;;;;;GAKG;AAGH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU;IACnD,MAAM,KAAK,MAAM,IAAI,cAAc,CAElC;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB;;;;;MAE3B;IAED;;OAEG;IAEH,EAAE,EAAE,MAAM,CAAM;IAEhB;;OAEG;IAEH,OAAO,EAAE,kBAAkB,CAAa;IAExC;;;OAGG;IACH,OAAO,CAAC,gBAAgB,CAAyC;IAEjE;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,EAAE,WAAW,CAAW;IAE5B;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,WAAW,SAAM;IAEjB;;;OAGG;IAEH,oBAAoB,UAAS;IAE7B;;;OAGG;IAEH,qBAAqB,UAAQ;IAE7B;;;OAGG;IAEH,WAAW,EAAE,WAAW,CAAS;IAEjC;;;OAGG;IAEH,SAAS,EAAE,gBAAgB,CAAgB;IAE3C;;;OAGG;IAEH,SAAS,EAAE,WAAW,GAAG,eAAe,CAAe;IAEvD;;OAEG;IAC6B,OAAO,CAAC,WAAW,CAA0B;IAE7E,UAAU,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IASpE,OAAO,KAAK,WAAW,GAEtB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAUvB;IAED;;OAEG;IACH,IAAI,cAAc,IAAI,OAAO,CAQ5B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,WAAW,CAW1B;IAED,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,gBAAgB;IAOxB,OAAO,CAAC,gBAAgB;IAOxB,MAAM,IAAI,cAAc;CA0EzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../chunk-Z5ZIVLUH.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
|
+
//# sourceMappingURL=bl-stepper-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bl-stepper-item.test.d.ts","sourceRoot":"","sources":["../../../src/components/stepper/bl-stepper-item.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CSSResultGroup, LitElement, TemplateResult } from "lit";
|
|
2
|
+
import "./bl-stepper-item";
|
|
3
|
+
export type StepperType = "dot" | "number" | "icon";
|
|
4
|
+
export type StepperDirection = "horizontal" | "vertical";
|
|
5
|
+
export type StepperUsage = "clickable" | "non-clickable";
|
|
6
|
+
/**
|
|
7
|
+
* @tag bl-stepper
|
|
8
|
+
* @summary Baklava Stepper component for displaying progress through a sequence of steps
|
|
9
|
+
*
|
|
10
|
+
* @slot default - Stepper items
|
|
11
|
+
*/
|
|
12
|
+
export default class BlStepper extends LitElement {
|
|
13
|
+
static get styles(): CSSResultGroup;
|
|
14
|
+
/**
|
|
15
|
+
* Defines stepper render style
|
|
16
|
+
*/
|
|
17
|
+
type: StepperType;
|
|
18
|
+
/**
|
|
19
|
+
* Defines stepper direction is horizontal or vertical
|
|
20
|
+
*/
|
|
21
|
+
direction: StepperDirection;
|
|
22
|
+
/**
|
|
23
|
+
* Defines stepper usage is clickable or non-clickable
|
|
24
|
+
*/
|
|
25
|
+
usage: StepperUsage;
|
|
26
|
+
private get stepperItemsArray();
|
|
27
|
+
/**
|
|
28
|
+
* Fires when stepper state changes
|
|
29
|
+
*/
|
|
30
|
+
private onStepperChange;
|
|
31
|
+
private get totalSteps();
|
|
32
|
+
private get activeStep();
|
|
33
|
+
private handleItemClick;
|
|
34
|
+
private handleKeyDown;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
firstUpdated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
37
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
38
|
+
private updateStepperItems;
|
|
39
|
+
render(): TemplateResult;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
"bl-stepper": BlStepper;
|
|
44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AS,CAAC;KACzB;CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../chunk-BDTCJ2JC.js";import"../../chunk-Z5ZIVLUH.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-3OQA4BKQ.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-3USCFSFQ.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";export{a as default};
|
|
2
|
+
//# sourceMappingURL=bl-stepper.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/web-components";
|
|
2
|
+
interface StepperArgs {
|
|
3
|
+
type?: "dot" | "number" | "icon";
|
|
4
|
+
direction?: "horizontal" | "vertical";
|
|
5
|
+
usage?: "clickable" | "non-clickable";
|
|
6
|
+
customStyles?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const meta: Meta<StepperArgs>;
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<StepperArgs>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
export declare const DotType: Story;
|
|
13
|
+
export declare const NumberType: Story;
|
|
14
|
+
export declare const IconType: Story;
|
|
15
|
+
export declare const VerticalDirection: Story;
|
|
16
|
+
export declare const NonClickable: Story;
|
|
17
|
+
export declare const WithErrorState: Story;
|
|
18
|
+
export declare const WithDisabledItems: Story;
|
|
19
|
+
export declare const MinimalSteps: Story;
|
|
20
|
+
export declare const ManySteps: Story;
|
|
21
|
+
export declare const WithoutDescriptions: Story;
|
|
22
|
+
export declare const InteractiveExample: Story;
|
|
23
|
+
//# sourceMappingURL=bl-stepper.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bl-stepper.stories.d.ts","sourceRoot":"","sources":["../../../src/components/stepper/bl-stepper.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAOhE,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,KAAK,CAAC,EAAE,WAAW,GAAG,eAAe,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAKD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,WAAW,CAgE3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AAgBnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAmBtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAO/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAgE1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAc/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAqBvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAcjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KA8DhC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import{a as n}from"../../chunk-M4E4CVZ4.js";import{a as l}from"../../chunk-DINNT5P2.js";import{b as s}from"../../chunk-4OT5AMS5.js";import"../../chunk-BWWXE4SL.js";var c="https://www.figma.com/design/RrcLH0mWpIUy4vwuTlDeKN/Baklava-Design-Guide?node-id=23617-1414",d="https://github.com/Trendyol/baklava/blob/main/src/components/stepper/doc/ADR.md",b={title:"Components/Stepper",component:"bl-stepper",parameters:{chromatic:{viewports:[1e3]},controls:{exclude:["customStyles"]},docs:{description:{component:`<div class="bl-docs-container"><p class="bl-docs-description">The Stepper component displays progress through a sequence of steps. It supports different visual styles (dot, number, icon), directions (horizontal, vertical), and usage modes (clickable, non-clickable). Maximum 9 items are allowed.</p><div class="bl-docs-links" style="display: flex; gap: var(--bl-size-2xs); margin-top: var(--bl-size-m);"><bl-badge icon="document"<bl-link variant='inline' href='`+d+`' target='_blank'>ADR</bl-link></bl-badge><bl-badge icon="puzzle"<bl-link variant='inline' href='`+c+"' target='_blank'>Figma</bl-link></bl-badge></div></div>"}}},decorators:[n],argTypes:{type:{control:{type:"select"},options:["dot","number","icon"],description:"Stepper render style",table:{type:{summary:"StepperType"},defaultValue:{summary:"dot"}}},direction:{control:{type:"select"},options:["horizontal","vertical"],description:"Stepper direction",table:{type:{summary:"StepperDirection"},defaultValue:{summary:"horizontal"}}},usage:{control:{type:"select"},options:["clickable","non-clickable"],description:"Stepper usage mode",table:{type:{summary:"StepperUsage"},defaultValue:{summary:"clickable"}}}}},S=b,o=i=>s`
|
|
2
|
+
<bl-stepper
|
|
3
|
+
type=${l(i.type)}
|
|
4
|
+
direction=${l(i.direction)}
|
|
5
|
+
usage=${l(i.usage)}
|
|
6
|
+
style=${l(i.customStyles)}
|
|
7
|
+
>
|
|
8
|
+
<bl-stepper-item id="1" title="Step 1" description="First step description" variant="success"></bl-stepper-item>
|
|
9
|
+
<bl-stepper-item id="2" title="Step 2" description="Second step description" variant="active"></bl-stepper-item>
|
|
10
|
+
<bl-stepper-item id="3" title="Step 3" description="Third step description" variant="default"></bl-stepper-item>
|
|
11
|
+
<bl-stepper-item id="4" title="Step 4" description="Fourth step description" variant="default"></bl-stepper-item>
|
|
12
|
+
</bl-stepper>
|
|
13
|
+
`,y={args:{type:"dot",direction:"horizontal",usage:"clickable"},render:o},f={args:{type:"dot",direction:"horizontal",usage:"clickable"},render:o},g={args:{type:"number",direction:"horizontal",usage:"clickable"},render:o},h={args:{type:"icon",direction:"horizontal",usage:"clickable"},render:i=>s`
|
|
14
|
+
<bl-stepper
|
|
15
|
+
type=${l(i.type)}
|
|
16
|
+
direction=${l(i.direction)}
|
|
17
|
+
usage=${l(i.usage)}
|
|
18
|
+
style=${l(i.customStyles)}
|
|
19
|
+
>
|
|
20
|
+
<bl-stepper-item id="1" title="Step 1" description="First step description" variant="success" icon="check"></bl-stepper-item>
|
|
21
|
+
<bl-stepper-item id="2" title="Step 2" description="Second step description" variant="active" icon="settings"></bl-stepper-item>
|
|
22
|
+
<bl-stepper-item id="3" title="Step 3" description="Third step description" variant="default" icon="clock"></bl-stepper-item>
|
|
23
|
+
<bl-stepper-item id="4" title="Step 4" description="Fourth step description" variant="default" icon="lock"></bl-stepper-item>
|
|
24
|
+
</bl-stepper>
|
|
25
|
+
`},k={args:{type:"number",direction:"vertical",usage:"clickable"},render:o},z={args:{type:"dot",direction:"horizontal",usage:"non-clickable"},render:()=>s`
|
|
26
|
+
<div style="display: flex; flex-direction: column; gap: var(--bl-size-m);">
|
|
27
|
+
<bl-stepper type="dot" direction="horizontal" usage="non-clickable" id="non-clickable-stepper">
|
|
28
|
+
<bl-stepper-item id="1" title="Account Setup" description="Create your account" variant="success"></bl-stepper-item>
|
|
29
|
+
<bl-stepper-item id="2" title="Profile Information" description="Add your details" variant="active"></bl-stepper-item>
|
|
30
|
+
<bl-stepper-item id="3" title="Preferences" description="Set your preferences" variant="default"></bl-stepper-item>
|
|
31
|
+
<bl-stepper-item id="4" title="Confirmation" description="Review and confirm" variant="default"></bl-stepper-item>
|
|
32
|
+
</bl-stepper>
|
|
33
|
+
|
|
34
|
+
<div style="display: flex; gap: var(--bl-size-xs);">
|
|
35
|
+
<bl-button variant="secondary" size="small" @click=${()=>{let p=document.getElementById("non-clickable-stepper").querySelectorAll("bl-stepper-item"),e=0;if(p.forEach((t,r)=>{t.variant==="active"&&(e=r)}),e>0){let t=e-1;p.forEach((r,a)=>{a===t?r.variant="active":a<t?r.variant="success":r.variant="default"})}}}>Previous</bl-button>
|
|
36
|
+
|
|
37
|
+
<bl-button variant="primary" size="small" @click=${()=>{let p=document.getElementById("non-clickable-stepper").querySelectorAll("bl-stepper-item"),e=0;if(p.forEach((t,r)=>{t.variant==="active"&&(e=r)}),e<p.length-1){let t=e+1;p.forEach((r,a)=>{a===t?r.variant="active":a<t?r.variant="success":r.variant="default"})}}}>Next</bl-button>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`},I={args:{type:"number",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
41
|
+
<bl-stepper type="number" direction="horizontal" usage="clickable">
|
|
42
|
+
<bl-stepper-item id="1" title="Step 1" description="First step description" variant="success"></bl-stepper-item>
|
|
43
|
+
<bl-stepper-item id="2" title="Step 2" description="Second step description" variant="active"></bl-stepper-item>
|
|
44
|
+
<bl-stepper-item id="3" title="Step 3" description="Third step description" variant="error"></bl-stepper-item>
|
|
45
|
+
<bl-stepper-item id="4" title="Step 4" description="Fourth step description" variant="default"></bl-stepper-item>
|
|
46
|
+
</bl-stepper>
|
|
47
|
+
`},B={args:{type:"dot",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
48
|
+
<bl-stepper type="dot" direction="horizontal" usage="clickable">
|
|
49
|
+
<bl-stepper-item id="1" title="Step 1" description="First step description" variant="success"></bl-stepper-item>
|
|
50
|
+
<bl-stepper-item id="2" title="Step 2" description="Second step description" variant="active"></bl-stepper-item>
|
|
51
|
+
<bl-stepper-item id="3" title="Step 3" description="Third step description" variant="default" disabled></bl-stepper-item>
|
|
52
|
+
<bl-stepper-item id="4" title="Step 4" description="Fourth step description" variant="default"></bl-stepper-item>
|
|
53
|
+
</bl-stepper>
|
|
54
|
+
`},x={args:{type:"number",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
55
|
+
<bl-stepper type="number" direction="horizontal" usage="clickable">
|
|
56
|
+
<bl-stepper-item id="1" title="Step 1" variant="active"></bl-stepper-item>
|
|
57
|
+
<bl-stepper-item id="2" title="Step 2" variant="default"></bl-stepper-item>
|
|
58
|
+
</bl-stepper>
|
|
59
|
+
`},A={args:{type:"dot",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
60
|
+
<bl-stepper type="dot" direction="horizontal" usage="clickable">
|
|
61
|
+
<bl-stepper-item id="1" title="Step 1" variant="success"></bl-stepper-item>
|
|
62
|
+
<bl-stepper-item id="2" title="Step 2" variant="success"></bl-stepper-item>
|
|
63
|
+
<bl-stepper-item id="3" title="Step 3" variant="success"></bl-stepper-item>
|
|
64
|
+
<bl-stepper-item id="4" title="Step 4" variant="active"></bl-stepper-item>
|
|
65
|
+
<bl-stepper-item id="5" title="Step 5" variant="default"></bl-stepper-item>
|
|
66
|
+
<bl-stepper-item id="6" title="Step 6" variant="default"></bl-stepper-item>
|
|
67
|
+
<bl-stepper-item id="7" title="Step 7" variant="default"></bl-stepper-item>
|
|
68
|
+
<bl-stepper-item id="8" title="Step 8" variant="default"></bl-stepper-item>
|
|
69
|
+
<bl-stepper-item id="9" title="Step 9" variant="default"></bl-stepper-item>
|
|
70
|
+
<bl-stepper-item id="10" title="Step 10" variant="default"></bl-stepper-item>
|
|
71
|
+
<bl-stepper-item id="11" title="Step 11" variant="default"></bl-stepper-item>
|
|
72
|
+
</bl-stepper>
|
|
73
|
+
`},E={args:{type:"number",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
74
|
+
<bl-stepper type="number" direction="horizontal" usage="clickable">
|
|
75
|
+
<bl-stepper-item id="1" title="Step 1" variant="success"></bl-stepper-item>
|
|
76
|
+
<bl-stepper-item id="2" title="Step 2" variant="active"></bl-stepper-item>
|
|
77
|
+
<bl-stepper-item id="3" title="Step 3" variant="default"></bl-stepper-item>
|
|
78
|
+
<bl-stepper-item id="4" title="Step 4" variant="default"></bl-stepper-item>
|
|
79
|
+
</bl-stepper>
|
|
80
|
+
`},$={args:{type:"number",direction:"horizontal",usage:"clickable"},render:()=>s`
|
|
81
|
+
<div style="display: flex; flex-direction: column; gap: var(--bl-size-m);">
|
|
82
|
+
<bl-stepper type="number" direction="horizontal" usage="clickable" id="interactive-stepper">
|
|
83
|
+
<bl-stepper-item id="1" title="Account Setup" description="Create your account" variant="success"></bl-stepper-item>
|
|
84
|
+
<bl-stepper-item id="2" title="Profile Information" description="Add your details" variant="active"></bl-stepper-item>
|
|
85
|
+
<bl-stepper-item id="3" title="Preferences" description="Set your preferences" variant="default"></bl-stepper-item>
|
|
86
|
+
<bl-stepper-item id="4" title="Confirmation" description="Review and confirm" variant="default"></bl-stepper-item>
|
|
87
|
+
</bl-stepper>
|
|
88
|
+
|
|
89
|
+
<div style="display: flex; gap: var(--bl-size-xs);">
|
|
90
|
+
<bl-button variant="secondary" size="small" @click=${()=>{document.getElementById("interactive-stepper").querySelectorAll("bl-stepper-item").forEach((e,t)=>{t===0?e.variant="active":t<1?e.variant="success":e.variant="default"})}}>Go to Step 1</bl-button>
|
|
91
|
+
|
|
92
|
+
<bl-button variant="secondary" size="small" @click=${()=>{document.getElementById("interactive-stepper").querySelectorAll("bl-stepper-item").forEach((e,t)=>{t===1?e.variant="active":t<1?e.variant="success":e.variant="default"})}}>Go to Step 2</bl-button>
|
|
93
|
+
|
|
94
|
+
<bl-button variant="secondary" size="small" @click=${()=>{document.getElementById("interactive-stepper").querySelectorAll("bl-stepper-item").forEach((e,t)=>{t===2?e.variant="active":t<2?e.variant="success":e.variant="default"})}}>Go to Step 3</bl-button>
|
|
95
|
+
|
|
96
|
+
<bl-button variant="secondary" size="small" @click=${()=>{document.getElementById("interactive-stepper").querySelectorAll("bl-stepper-item").forEach((e,t)=>{t===3?e.variant="active":t<3?e.variant="success":e.variant="default"})}}>Go to Step 4</bl-button>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
`};export{y as Default,f as DotType,h as IconType,$ as InteractiveExample,A as ManySteps,x as MinimalSteps,z as NonClickable,g as NumberType,k as VerticalDirection,B as WithDisabledItems,I as WithErrorState,E as WithoutDescriptions,S as default};
|
|
100
|
+
//# sourceMappingURL=bl-stepper.stories.js.map
|