@billabex/ui-components 0.0.0 → 0.1.1
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/LICENSE +21 -0
- package/README.md +135 -0
- package/dist/components/badge/badge.d.ts +19 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.recipe.d.ts +26 -0
- package/dist/components/badge/badge.recipe.d.ts.map +1 -0
- package/dist/components/badge/badge.spec.d.ts +2 -0
- package/dist/components/badge/badge.spec.d.ts.map +1 -0
- package/dist/components/badge/badge.stories.d.ts +33 -0
- package/dist/components/badge/badge.stories.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts +5 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/banner/banner.d.ts +17 -0
- package/dist/components/banner/banner.d.ts.map +1 -0
- package/dist/components/banner/banner.recipe.d.ts +31 -0
- package/dist/components/banner/banner.recipe.d.ts.map +1 -0
- package/dist/components/banner/banner.spec.d.ts +2 -0
- package/dist/components/banner/banner.spec.d.ts.map +1 -0
- package/dist/components/banner/banner.stories.d.ts +32 -0
- package/dist/components/banner/banner.stories.d.ts.map +1 -0
- package/dist/components/banner/index.d.ts +5 -0
- package/dist/components/banner/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +20 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +6 -0
- package/dist/components/breadcrumb/breadcrumb.recipe.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.spec.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb.spec.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +23 -0
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +4 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +5 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.spec.d.ts +2 -0
- package/dist/components/button/button.spec.d.ts.map +1 -0
- package/dist/components/button/button.stories.d.ts +4 -1
- package/dist/components/button/button.stories.d.ts.map +1 -1
- package/dist/components/card/card.d.ts +15 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.recipe.d.ts +10 -0
- package/dist/components/card/card.recipe.d.ts.map +1 -0
- package/dist/components/card/card.spec.d.ts +2 -0
- package/dist/components/card/card.spec.d.ts.map +1 -0
- package/dist/components/card/card.stories.d.ts +25 -0
- package/dist/components/card/card.stories.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +5 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +12 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.recipe.d.ts +11 -0
- package/dist/components/checkbox/checkbox.recipe.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.spec.d.ts +2 -0
- package/dist/components/checkbox/checkbox.spec.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.stories.d.ts +35 -0
- package/dist/components/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +13 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/divider.recipe.d.ts +14 -0
- package/dist/components/divider/divider.recipe.d.ts.map +1 -0
- package/dist/components/divider/divider.spec.d.ts +2 -0
- package/dist/components/divider/divider.spec.d.ts.map +1 -0
- package/dist/components/divider/divider.stories.d.ts +22 -0
- package/dist/components/divider/divider.stories.d.ts.map +1 -0
- package/dist/components/divider/index.d.ts +5 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-item.d.ts +18 -0
- package/dist/components/dropdown/dropdown-item.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-item.recipe.d.ts +9 -0
- package/dist/components/dropdown/dropdown-item.recipe.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-item.spec.d.ts +2 -0
- package/dist/components/dropdown/dropdown-item.spec.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-item.stories.d.ts +34 -0
- package/dist/components/dropdown/dropdown-item.stories.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-menu.d.ts +13 -0
- package/dist/components/dropdown/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-menu.recipe.d.ts +2 -0
- package/dist/components/dropdown/dropdown-menu.recipe.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-menu.spec.d.ts +2 -0
- package/dist/components/dropdown/dropdown-menu.spec.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-menu.stories.d.ts +16 -0
- package/dist/components/dropdown/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/components/dropdown/index.d.ts +7 -0
- package/dist/components/dropdown/index.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +21 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.recipe.d.ts +53 -0
- package/dist/components/empty-state/empty-state.recipe.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.spec.d.ts +2 -0
- package/dist/components/empty-state/empty-state.spec.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.stories.d.ts +35 -0
- package/dist/components/empty-state/empty-state.stories.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +5 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/filter/filter-button.d.ts +18 -0
- package/dist/components/filter/filter-button.d.ts.map +1 -0
- package/dist/components/filter/filter-button.recipe.d.ts +13 -0
- package/dist/components/filter/filter-button.recipe.d.ts.map +1 -0
- package/dist/components/filter/filter-button.spec.d.ts +2 -0
- package/dist/components/filter/filter-button.spec.d.ts.map +1 -0
- package/dist/components/filter/filter-button.stories.d.ts +29 -0
- package/dist/components/filter/filter-button.stories.d.ts.map +1 -0
- package/dist/components/filter/filter-row.d.ts +12 -0
- package/dist/components/filter/filter-row.d.ts.map +1 -0
- package/dist/components/filter/filter-row.recipe.d.ts +2 -0
- package/dist/components/filter/filter-row.recipe.d.ts.map +1 -0
- package/dist/components/filter/filter-row.spec.d.ts +2 -0
- package/dist/components/filter/filter-row.spec.d.ts.map +1 -0
- package/dist/components/filter/filter-row.stories.d.ts +16 -0
- package/dist/components/filter/filter-row.stories.d.ts.map +1 -0
- package/dist/components/filter/index.d.ts +7 -0
- package/dist/components/filter/index.d.ts.map +1 -0
- package/dist/components/form-field/form-field.d.ts +18 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -0
- package/dist/components/form-field/form-field.recipe.d.ts +13 -0
- package/dist/components/form-field/form-field.recipe.d.ts.map +1 -0
- package/dist/components/form-field/form-field.spec.d.ts +2 -0
- package/dist/components/form-field/form-field.spec.d.ts.map +1 -0
- package/dist/components/form-field/form-field.stories.d.ts +36 -0
- package/dist/components/form-field/form-field.stories.d.ts.map +1 -0
- package/dist/components/form-field/index.d.ts +4 -0
- package/dist/components/form-field/index.d.ts.map +1 -0
- package/dist/components/icon-button/icon-button.d.ts +20 -0
- package/dist/components/icon-button/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button/icon-button.recipe.d.ts +14 -0
- package/dist/components/icon-button/icon-button.recipe.d.ts.map +1 -0
- package/dist/components/icon-button/icon-button.spec.d.ts +2 -0
- package/dist/components/icon-button/icon-button.spec.d.ts.map +1 -0
- package/dist/components/icon-button/icon-button.stories.d.ts +34 -0
- package/dist/components/icon-button/icon-button.stories.d.ts.map +1 -0
- package/dist/components/icon-button/index.d.ts +5 -0
- package/dist/components/icon-button/index.d.ts.map +1 -0
- package/dist/components/info-row/index.d.ts +5 -0
- package/dist/components/info-row/index.d.ts.map +1 -0
- package/dist/components/info-row/info-row.d.ts +19 -0
- package/dist/components/info-row/info-row.d.ts.map +1 -0
- package/dist/components/info-row/info-row.recipe.d.ts +19 -0
- package/dist/components/info-row/info-row.recipe.d.ts.map +1 -0
- package/dist/components/info-row/info-row.spec.d.ts +2 -0
- package/dist/components/info-row/info-row.spec.d.ts.map +1 -0
- package/dist/components/info-row/info-row.stories.d.ts +38 -0
- package/dist/components/info-row/info-row.stories.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +4 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/input.d.ts +14 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.recipe.d.ts +17 -0
- package/dist/components/input/input.recipe.d.ts.map +1 -0
- package/dist/components/input/input.spec.d.ts +2 -0
- package/dist/components/input/input.spec.d.ts.map +1 -0
- package/dist/components/input/input.stories.d.ts +40 -0
- package/dist/components/input/input.stories.d.ts.map +1 -0
- package/dist/components/link/index.d.ts +5 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/link.d.ts +15 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/link/link.recipe.d.ts +20 -0
- package/dist/components/link/link.recipe.d.ts.map +1 -0
- package/dist/components/link/link.spec.d.ts +2 -0
- package/dist/components/link/link.spec.d.ts.map +1 -0
- package/dist/components/link/link.stories.d.ts +34 -0
- package/dist/components/link/link.stories.d.ts.map +1 -0
- package/dist/components/list-item/index.d.ts +4 -0
- package/dist/components/list-item/index.d.ts.map +1 -0
- package/dist/components/list-item/list-item.d.ts +20 -0
- package/dist/components/list-item/list-item.d.ts.map +1 -0
- package/dist/components/list-item/list-item.recipe.d.ts +14 -0
- package/dist/components/list-item/list-item.recipe.d.ts.map +1 -0
- package/dist/components/list-item/list-item.spec.d.ts +2 -0
- package/dist/components/list-item/list-item.spec.d.ts.map +1 -0
- package/dist/components/list-item/list-item.stories.d.ts +38 -0
- package/dist/components/list-item/list-item.stories.d.ts.map +1 -0
- package/dist/components/modal/index.d.ts +4 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/modal.d.ts +18 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/modal/modal.recipe.d.ts +6 -0
- package/dist/components/modal/modal.recipe.d.ts.map +1 -0
- package/dist/components/modal/modal.spec.d.ts +2 -0
- package/dist/components/modal/modal.spec.d.ts.map +1 -0
- package/dist/components/modal/modal.stories.d.ts +27 -0
- package/dist/components/modal/modal.stories.d.ts.map +1 -0
- package/dist/components/nav-item/index.d.ts +4 -0
- package/dist/components/nav-item/index.d.ts.map +1 -0
- package/dist/components/nav-item/nav-item.d.ts +18 -0
- package/dist/components/nav-item/nav-item.d.ts.map +1 -0
- package/dist/components/nav-item/nav-item.recipe.d.ts +9 -0
- package/dist/components/nav-item/nav-item.recipe.d.ts.map +1 -0
- package/dist/components/nav-item/nav-item.spec.d.ts +2 -0
- package/dist/components/nav-item/nav-item.spec.d.ts.map +1 -0
- package/dist/components/nav-item/nav-item.stories.d.ts +28 -0
- package/dist/components/nav-item/nav-item.stories.d.ts.map +1 -0
- package/dist/components/page-header/index.d.ts +4 -0
- package/dist/components/page-header/index.d.ts.map +1 -0
- package/dist/components/page-header/page-header.d.ts +12 -0
- package/dist/components/page-header/page-header.d.ts.map +1 -0
- package/dist/components/page-header/page-header.recipe.d.ts +2 -0
- package/dist/components/page-header/page-header.recipe.d.ts.map +1 -0
- package/dist/components/page-header/page-header.spec.d.ts +2 -0
- package/dist/components/page-header/page-header.spec.d.ts.map +1 -0
- package/dist/components/page-header/page-header.stories.d.ts +15 -0
- package/dist/components/page-header/page-header.stories.d.ts.map +1 -0
- package/dist/components/panel-header/index.d.ts +4 -0
- package/dist/components/panel-header/index.d.ts.map +1 -0
- package/dist/components/panel-header/panel-header.d.ts +21 -0
- package/dist/components/panel-header/panel-header.d.ts.map +1 -0
- package/dist/components/panel-header/panel-header.recipe.d.ts +6 -0
- package/dist/components/panel-header/panel-header.recipe.d.ts.map +1 -0
- package/dist/components/panel-header/panel-header.spec.d.ts +2 -0
- package/dist/components/panel-header/panel-header.spec.d.ts.map +1 -0
- package/dist/components/panel-header/panel-header.stories.d.ts +25 -0
- package/dist/components/panel-header/panel-header.stories.d.ts.map +1 -0
- package/dist/components/section-title/index.d.ts +4 -0
- package/dist/components/section-title/index.d.ts.map +1 -0
- package/dist/components/section-title/section-title.d.ts +14 -0
- package/dist/components/section-title/section-title.d.ts.map +1 -0
- package/dist/components/section-title/section-title.recipe.d.ts +12 -0
- package/dist/components/section-title/section-title.recipe.d.ts.map +1 -0
- package/dist/components/section-title/section-title.spec.d.ts +2 -0
- package/dist/components/section-title/section-title.spec.d.ts.map +1 -0
- package/dist/components/section-title/section-title.stories.d.ts +28 -0
- package/dist/components/section-title/section-title.stories.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +4 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +16 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.recipe.d.ts +19 -0
- package/dist/components/select/select.recipe.d.ts.map +1 -0
- package/dist/components/select/select.spec.d.ts +2 -0
- package/dist/components/select/select.spec.d.ts.map +1 -0
- package/dist/components/select/select.stories.d.ts +35 -0
- package/dist/components/select/select.stories.d.ts.map +1 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +16 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.recipe.d.ts +5 -0
- package/dist/components/sidebar/sidebar.recipe.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.spec.d.ts +2 -0
- package/dist/components/sidebar/sidebar.spec.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.stories.d.ts +17 -0
- package/dist/components/sidebar/sidebar.stories.d.ts.map +1 -0
- package/dist/components/stepper/index.d.ts +7 -0
- package/dist/components/stepper/index.d.ts.map +1 -0
- package/dist/components/stepper/stepper-item.d.ts +20 -0
- package/dist/components/stepper/stepper-item.d.ts.map +1 -0
- package/dist/components/stepper/stepper-item.recipe.d.ts +35 -0
- package/dist/components/stepper/stepper-item.recipe.d.ts.map +1 -0
- package/dist/components/stepper/stepper-item.spec.d.ts +2 -0
- package/dist/components/stepper/stepper-item.spec.d.ts.map +1 -0
- package/dist/components/stepper/stepper-item.stories.d.ts +35 -0
- package/dist/components/stepper/stepper-item.stories.d.ts.map +1 -0
- package/dist/components/stepper/stepper.d.ts +12 -0
- package/dist/components/stepper/stepper.d.ts.map +1 -0
- package/dist/components/stepper/stepper.recipe.d.ts +4 -0
- package/dist/components/stepper/stepper.recipe.d.ts.map +1 -0
- package/dist/components/stepper/stepper.spec.d.ts +2 -0
- package/dist/components/stepper/stepper.spec.d.ts.map +1 -0
- package/dist/components/stepper/stepper.stories.d.ts +16 -0
- package/dist/components/stepper/stepper.stories.d.ts.map +1 -0
- package/dist/components/tab-item/index.d.ts +4 -0
- package/dist/components/tab-item/index.d.ts.map +1 -0
- package/dist/components/tab-item/tab-item.d.ts +14 -0
- package/dist/components/tab-item/tab-item.d.ts.map +1 -0
- package/dist/components/tab-item/tab-item.recipe.d.ts +10 -0
- package/dist/components/tab-item/tab-item.recipe.d.ts.map +1 -0
- package/dist/components/tab-item/tab-item.spec.d.ts +2 -0
- package/dist/components/tab-item/tab-item.spec.d.ts.map +1 -0
- package/dist/components/tab-item/tab-item.stories.d.ts +28 -0
- package/dist/components/tab-item/tab-item.stories.d.ts.map +1 -0
- package/dist/components/table/index.d.ts +7 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/table/table-row.d.ts +14 -0
- package/dist/components/table/table-row.d.ts.map +1 -0
- package/dist/components/table/table-row.recipe.d.ts +11 -0
- package/dist/components/table/table-row.recipe.d.ts.map +1 -0
- package/dist/components/table/table-row.spec.d.ts +2 -0
- package/dist/components/table/table-row.spec.d.ts.map +1 -0
- package/dist/components/table/table-row.stories.d.ts +23 -0
- package/dist/components/table/table-row.stories.d.ts.map +1 -0
- package/dist/components/table/table.d.ts +14 -0
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.recipe.d.ts +3 -0
- package/dist/components/table/table.recipe.d.ts.map +1 -0
- package/dist/components/table/table.spec.d.ts +2 -0
- package/dist/components/table/table.spec.d.ts.map +1 -0
- package/dist/components/table/table.stories.d.ts +16 -0
- package/dist/components/table/table.stories.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +5 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/toast.d.ts +19 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.recipe.d.ts +18 -0
- package/dist/components/toast/toast.recipe.d.ts.map +1 -0
- package/dist/components/toast/toast.spec.d.ts +2 -0
- package/dist/components/toast/toast.spec.d.ts.map +1 -0
- package/dist/components/toast/toast.stories.d.ts +31 -0
- package/dist/components/toast/toast.stories.d.ts.map +1 -0
- package/dist/components/toggle/index.d.ts +4 -0
- package/dist/components/toggle/index.d.ts.map +1 -0
- package/dist/components/toggle/toggle.d.ts +16 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle/toggle.recipe.d.ts +33 -0
- package/dist/components/toggle/toggle.recipe.d.ts.map +1 -0
- package/dist/components/toggle/toggle.spec.d.ts +2 -0
- package/dist/components/toggle/toggle.spec.d.ts.map +1 -0
- package/dist/components/toggle/toggle.stories.d.ts +35 -0
- package/dist/components/toggle/toggle.stories.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +4 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +13 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.recipe.d.ts +2 -0
- package/dist/components/tooltip/tooltip.recipe.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.spec.d.ts +2 -0
- package/dist/components/tooltip/tooltip.spec.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.stories.d.ts +21 -0
- package/dist/components/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/index.d.ts +96 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2399 -192
- package/package.json +18 -22
- package/dist/components/button/button.test.d.ts +0 -2
- package/dist/components/button/button.test.d.ts.map +0 -1
- package/dist/preset.d.ts +0 -2
- package/dist/preset.d.ts.map +0 -1
- package/dist/preset.js +0 -130
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const checkboxRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
disabled: {
|
|
3
|
+
true: {
|
|
4
|
+
opacity: number;
|
|
5
|
+
cursor: "not-allowed";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
export declare const checkboxInputRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{}>;
|
|
10
|
+
export declare const checkboxLabelRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{}>;
|
|
11
|
+
//# sourceMappingURL=checkbox.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;EAkBzB,CAAC;AAEH,eAAO,MAAM,mBAAmB,4DAmC9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,4DAS9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.spec.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Checkbox } from './checkbox';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Checkbox;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
label: {
|
|
9
|
+
control: "text";
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
checked: {
|
|
13
|
+
control: "boolean";
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
control: "boolean";
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
args: {
|
|
22
|
+
label: string;
|
|
23
|
+
disabled: false;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default meta;
|
|
27
|
+
type Story = StoryObj<typeof meta>;
|
|
28
|
+
export declare const Default: Story;
|
|
29
|
+
export declare const Checked: Story;
|
|
30
|
+
export declare const WithoutLabel: Story;
|
|
31
|
+
export declare const Disabled: Story;
|
|
32
|
+
export declare const DisabledChecked: Story;
|
|
33
|
+
/** All states */
|
|
34
|
+
export declare const AllStates: Story;
|
|
35
|
+
//# sourceMappingURL=checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAauB,CAAC;AAElC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF,iBAAiB;AACjB,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { DividerOrientation } from './divider.recipe';
|
|
3
|
+
export interface DividerProps extends HTMLAttributes<HTMLHRElement> {
|
|
4
|
+
/** Divider orientation */
|
|
5
|
+
orientation?: DividerOrientation;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Divider — A visual separator between content sections.
|
|
9
|
+
*
|
|
10
|
+
* RSC-compatible (no `'use client'` needed).
|
|
11
|
+
*/
|
|
12
|
+
export declare function Divider({ orientation, className, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,aAAa,CAAC;IACjE,0BAA0B;IAC1B,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACtB,WAA0B,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CASd"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const dividerRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
orientation: {
|
|
3
|
+
horizontal: {
|
|
4
|
+
width: "100%";
|
|
5
|
+
height: "1px";
|
|
6
|
+
};
|
|
7
|
+
vertical: {
|
|
8
|
+
height: "100%";
|
|
9
|
+
width: "1px";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
export type DividerOrientation = "horizontal" | "vertical";
|
|
14
|
+
//# sourceMappingURL=divider.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;EAqBxB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.spec.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Divider } from './divider';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Divider;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
orientation: {
|
|
9
|
+
control: "select";
|
|
10
|
+
options: string[];
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
args: {
|
|
15
|
+
orientation: "horizontal";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Horizontal: Story;
|
|
21
|
+
export declare const Vertical: Story;
|
|
22
|
+
//# sourceMappingURL=divider.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.stories.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;CAcsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU,EAAE,KAAU,CAAC;AAEpC,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface DropdownItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Whether this item is selected */
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
/** Optional icon before the label (16px) */
|
|
6
|
+
leftIcon?: ReactNode;
|
|
7
|
+
/** Optional icon after the label (12px) */
|
|
8
|
+
rightIcon?: ReactNode;
|
|
9
|
+
/** Item label */
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* DropdownItem — A menu/dropdown item.
|
|
14
|
+
*
|
|
15
|
+
* RSC-compatible (no `'use client'` needed).
|
|
16
|
+
*/
|
|
17
|
+
export declare function DropdownItem({ selected, leftIcon, rightIcon, children, className, ...props }: DropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=dropdown-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-item.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7D,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAChF,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iBAAiB;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAoBnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-item.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-item.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;EA4C7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-item.spec.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-item.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { DropdownItem } from './dropdown-item';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DropdownItem;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
selected: {
|
|
9
|
+
control: "boolean";
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
control: "boolean";
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
children: {
|
|
17
|
+
control: "text";
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
args: {
|
|
22
|
+
children: string;
|
|
23
|
+
selected: false;
|
|
24
|
+
disabled: false;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Default: Story;
|
|
30
|
+
export declare const Selected: Story;
|
|
31
|
+
export declare const Disabled: Story;
|
|
32
|
+
/** Dropdown menu example */
|
|
33
|
+
export declare const DropdownExample: Story;
|
|
34
|
+
//# sourceMappingURL=dropdown-item.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-item.stories.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-item.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAU2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,4BAA4B;AAC5B,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface DropdownMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** DropdownItem and Divider children */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* DropdownMenu — A floating list of actions or options.
|
|
8
|
+
*
|
|
9
|
+
* Compose with `DropdownItem` and `Divider` children.
|
|
10
|
+
* RSC-compatible (no `'use client'` needed).
|
|
11
|
+
*/
|
|
12
|
+
export declare function DropdownMenu({ children, className, ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,wCAAwC;IACxC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAUnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-menu.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oHAa7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.spec.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-menu.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { DropdownMenu } from './dropdown-menu';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DropdownMenu;
|
|
6
|
+
tags: string[];
|
|
7
|
+
args: {
|
|
8
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
/** With sections */
|
|
15
|
+
export declare const WithSections: Story;
|
|
16
|
+
//# sourceMappingURL=dropdown-menu.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.stories.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,QAAA,MAAM,IAAI;;;;;;;CAc2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,oBAAoB;AACpB,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { DropdownItem } from './dropdown-item';
|
|
2
|
+
export type { DropdownItemProps } from './dropdown-item';
|
|
3
|
+
export { dropdownItemRecipe } from './dropdown-item.recipe';
|
|
4
|
+
export { DropdownMenu } from './dropdown-menu';
|
|
5
|
+
export type { DropdownMenuProps } from './dropdown-menu';
|
|
6
|
+
export { dropdownMenuRecipe } from './dropdown-menu.recipe';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { EmptyStateVariant } from './empty-state.recipe';
|
|
3
|
+
export interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Size variant */
|
|
5
|
+
variant?: EmptyStateVariant;
|
|
6
|
+
/** Optional icon or illustration */
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
/** Title text */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Optional description text */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Optional action slot (e.g. a button) */
|
|
13
|
+
action?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* EmptyState — A placeholder shown when content is empty.
|
|
17
|
+
*
|
|
18
|
+
* RSC-compatible (no `'use client'` needed).
|
|
19
|
+
*/
|
|
20
|
+
export declare function EmptyState({ variant, icon, title, description, action, className, ...props }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,mBAAmB;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,oCAAoC;IACpC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAmB,EACnB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAoBjB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const emptyStateRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
gap: "xl";
|
|
5
|
+
py: "4xl";
|
|
6
|
+
px: "2xl";
|
|
7
|
+
};
|
|
8
|
+
compact: {
|
|
9
|
+
gap: "md";
|
|
10
|
+
py: "xl";
|
|
11
|
+
px: "lg";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}>;
|
|
15
|
+
export declare const emptyStateIconRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
16
|
+
variant: {
|
|
17
|
+
default: {
|
|
18
|
+
width: "48px";
|
|
19
|
+
height: "48px";
|
|
20
|
+
};
|
|
21
|
+
compact: {
|
|
22
|
+
width: "32px";
|
|
23
|
+
height: "32px";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
export declare const emptyStateTitleRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
28
|
+
variant: {
|
|
29
|
+
default: {
|
|
30
|
+
fontSize: "body";
|
|
31
|
+
lineHeight: "body";
|
|
32
|
+
};
|
|
33
|
+
compact: {
|
|
34
|
+
fontSize: "body.sm";
|
|
35
|
+
lineHeight: "body.sm";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
export declare const emptyStateDescriptionRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
40
|
+
variant: {
|
|
41
|
+
default: {
|
|
42
|
+
fontSize: "body.sm";
|
|
43
|
+
lineHeight: "body.sm";
|
|
44
|
+
};
|
|
45
|
+
compact: {
|
|
46
|
+
fontSize: "caption";
|
|
47
|
+
lineHeight: "caption";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
51
|
+
export type EmptyStateVariant = "default" | "compact";
|
|
52
|
+
export declare const emptyStateTextRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{}>;
|
|
53
|
+
//# sourceMappingURL=empty-state.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;EA0B3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;EAsB/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;EAoBhC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;EAmBtC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtD,eAAO,MAAM,oBAAoB,4DAQ/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.spec.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { EmptyState } from './empty-state';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EmptyState;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
variant: {
|
|
9
|
+
control: "select";
|
|
10
|
+
options: string[];
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
control: "text";
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
description: {
|
|
18
|
+
control: "text";
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
args: {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
variant: "default";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof meta>;
|
|
30
|
+
export declare const Default: Story;
|
|
31
|
+
export declare const Compact: Story;
|
|
32
|
+
export declare const WithAction: Story;
|
|
33
|
+
/** Without icon */
|
|
34
|
+
export declare const NoIcon: Story;
|
|
35
|
+
//# sourceMappingURL=empty-state.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.stories.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAkByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAqBxB,CAAC;AAEF,mBAAmB;AACnB,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { EmptyState } from './empty-state';
|
|
2
|
+
export type { EmptyStateProps } from './empty-state';
|
|
3
|
+
export { emptyStateRecipe, emptyStateIconRecipe, emptyStateTitleRecipe, emptyStateDescriptionRecipe, } from './empty-state.recipe';
|
|
4
|
+
export type { EmptyStateVariant } from './empty-state.recipe';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface FilterButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Whether the filter is currently active */
|
|
4
|
+
active?: boolean;
|
|
5
|
+
/** Optional icon rendered before the label */
|
|
6
|
+
leftIcon?: ReactNode;
|
|
7
|
+
/** Optional icon rendered after the label */
|
|
8
|
+
rightIcon?: ReactNode;
|
|
9
|
+
/** Content to render inside the button */
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* FilterButton — A toggle-style button used for filtering content.
|
|
14
|
+
*
|
|
15
|
+
* RSC-compatible (no `'use client'` needed).
|
|
16
|
+
*/
|
|
17
|
+
export declare function FilterButton({ active, leftIcon, rightIcon, children, className, ...props }: FilterButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=filter-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-button.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7D,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAc,EACd,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAmBnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const filterButtonRecipe: import('../../../styled-system/types').RecipeRuntimeFn<{
|
|
2
|
+
active: {
|
|
3
|
+
true: {
|
|
4
|
+
bg: "action.primary";
|
|
5
|
+
color: "text.inverse";
|
|
6
|
+
borderColor: "action.primary";
|
|
7
|
+
_hover: {
|
|
8
|
+
bg: "action.primaryHover";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=filter-button.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-button.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-button.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;EA4C7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-button.spec.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-button.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { FilterButton } from './filter-button';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof FilterButton;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
active: {
|
|
9
|
+
control: "boolean";
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
children: {
|
|
13
|
+
control: "text";
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
args: {
|
|
18
|
+
children: string;
|
|
19
|
+
active: false;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof meta>;
|
|
24
|
+
export declare const Default: Story;
|
|
25
|
+
export declare const Active: Story;
|
|
26
|
+
export declare const WithIcons: Story;
|
|
27
|
+
/** All states side by side */
|
|
28
|
+
export declare const AllStates: Story;
|
|
29
|
+
//# sourceMappingURL=filter-button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CAY2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,8BAA8B;AAC9B,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface FilterRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** FilterButton children */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* FilterRow — A horizontal row of filter buttons.
|
|
8
|
+
*
|
|
9
|
+
* RSC-compatible (no `'use client'` needed).
|
|
10
|
+
*/
|
|
11
|
+
export declare function FilterRow({ children, className, ...props }: FilterRowProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=filter-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-row.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,4BAA4B;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAShB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-row.recipe.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-row.recipe.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,oHAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-row.spec.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-row.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { FilterRow } from './filter-row';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof FilterRow;
|
|
6
|
+
tags: string[];
|
|
7
|
+
args: {
|
|
8
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
/** Many filters */
|
|
15
|
+
export declare const ManyFilters: Story;
|
|
16
|
+
//# sourceMappingURL=filter-row.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-row.stories.d.ts","sourceRoot":"","sources":["../../../src/components/filter/filter-row.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,QAAA,MAAM,IAAI;;;;;;;CAawB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,mBAAmB;AACnB,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { FilterButton } from './filter-button';
|
|
2
|
+
export type { FilterButtonProps } from './filter-button';
|
|
3
|
+
export { filterButtonRecipe } from './filter-button.recipe';
|
|
4
|
+
export { FilterRow } from './filter-row';
|
|
5
|
+
export type { FilterRowProps } from './filter-row';
|
|
6
|
+
export { filterRowRecipe } from './filter-row.recipe';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/filter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
|