@zidsa/zidmui 2.1.8 → 2.3.0-beta.0
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/dist/illustrations/404.svg +39 -0
- package/dist/illustrations/abandoned-cart.svg +23 -0
- package/dist/illustrations/add-ons.svg +15 -0
- package/dist/illustrations/announcement.svg +31 -0
- package/dist/illustrations/barcode-with-code.svg +49 -0
- package/dist/illustrations/barcode-with-sku.svg +26 -0
- package/dist/illustrations/barcode.svg +43 -0
- package/dist/illustrations/cards-stack-notification.svg +43 -0
- package/dist/illustrations/chat-bubble-plus.svg +30 -0
- package/dist/illustrations/coins-stack-shopping-cart.svg +22 -0
- package/dist/illustrations/coins-stack.svg +20 -0
- package/dist/illustrations/congrats.svg +108 -0
- package/dist/illustrations/congratulations-rocket.svg +36 -0
- package/dist/illustrations/country-bahrain.svg +78 -0
- package/dist/illustrations/country-egypt.svg +78 -0
- package/dist/illustrations/country-iraq.svg +78 -0
- package/dist/illustrations/country-kuwait.svg +78 -0
- package/dist/illustrations/country-oman.svg +78 -0
- package/dist/illustrations/country-qatar.svg +78 -0
- package/dist/illustrations/country-saudi-arabia.svg +78 -0
- package/dist/illustrations/country-saudi-regions.svg +17 -0
- package/dist/illustrations/country-uae.svg +78 -0
- package/dist/illustrations/custom-themes.svg +95 -0
- package/dist/illustrations/customers-empty-state.svg +38 -0
- package/dist/illustrations/customers-groups-add.svg +13 -0
- package/dist/illustrations/customers-groups.svg +23 -0
- package/dist/illustrations/draft-empty.svg +48 -0
- package/dist/illustrations/empty-draft-orders.svg +55 -0
- package/dist/illustrations/empty-order.svg +58 -0
- package/dist/illustrations/empty-state-discount-coupon.svg +27 -0
- package/dist/illustrations/empty-state-page-tag.svg +15 -0
- package/dist/illustrations/empty-state-page-url.svg +10 -0
- package/dist/illustrations/empty-state-page.svg +20 -0
- package/dist/illustrations/empty-state-payout.svg +35 -0
- package/dist/illustrations/empty-state-review.svg +29 -0
- package/dist/illustrations/empty-state-trash-bin.svg +60 -0
- package/dist/illustrations/faq-no-results.svg +43 -0
- package/dist/illustrations/fire-badge.svg +14 -0
- package/dist/illustrations/inactive-shop.svg +98 -0
- package/dist/illustrations/inventory-empty-state.svg +38 -0
- package/dist/illustrations/item-list.svg +40 -0
- package/dist/illustrations/items-add.svg +38 -0
- package/dist/illustrations/opened-box-empty.svg +33 -0
- package/dist/illustrations/opened-box-zid-location.svg +64 -0
- package/dist/illustrations/page-error.svg +34 -0
- package/dist/illustrations/payment-card-add-2.svg +14 -0
- package/dist/illustrations/payment-card-add.svg +14 -0
- package/dist/illustrations/payment-card.svg +12 -0
- package/dist/illustrations/payments-links-empty-state.svg +43 -0
- package/dist/illustrations/plan-activation.svg +29 -0
- package/dist/illustrations/plan-changed.svg +32 -0
- package/dist/illustrations/plan-downgrade.svg +28 -0
- package/dist/illustrations/product-card-options.svg +55 -0
- package/dist/illustrations/product-stacked-cards.svg +46 -0
- package/dist/illustrations/raising-start.svg +14 -0
- package/dist/illustrations/raising-starter.svg +14 -0
- package/dist/illustrations/sad-icon.svg +100 -0
- package/dist/illustrations/stacked-messages-sms.svg +41 -0
- package/dist/illustrations/stacked-messages-whatsapp.svg +42 -0
- package/dist/illustrations/step-diamond-01.svg +39 -0
- package/dist/illustrations/step-heptagon-02.svg +44 -0
- package/dist/illustrations/step-heptagon-04.svg +49 -0
- package/dist/illustrations/step-heptagon-06.svg +44 -0
- package/dist/illustrations/step-heptagon-red-04.svg +44 -0
- package/dist/illustrations/step-hexagon-02.svg +44 -0
- package/dist/illustrations/step-pentagon-03.svg +39 -0
- package/dist/illustrations/step-pentagon-05.svg +39 -0
- package/dist/illustrations/step-shield-like-03.svg +44 -0
- package/dist/illustrations/vehicle.svg +80 -0
- package/dist/illustrations/whatsapp-tier1.svg +80 -0
- package/dist/illustrations/whatsapp-tier2.svg +80 -0
- package/dist/illustrations/whatsapp-tier3.svg +89 -0
- package/dist/illustrations/whatsapp-tier4.svg +80 -0
- package/dist/illustrations/whatsapp-tier5.svg +174 -0
- package/dist/illustrations/wishlist-empty.svg +48 -0
- package/dist/illustrations/zid-logo-glass-reversed.svg +26 -0
- package/dist/illustrations/zid-logo-glass.svg +26 -0
- package/dist/illustrations/zid-logo-star.svg +4 -0
- package/dist/logos/delivery/aramex.svg +14 -0
- package/dist/logos/delivery/barq.svg +14 -0
- package/dist/logos/delivery/careem.svg +14 -0
- package/dist/logos/delivery/dhl.svg +14 -0
- package/dist/logos/delivery/fedex.svg +20 -0
- package/dist/logos/delivery/imile.svg +14 -0
- package/dist/logos/delivery/parcelat.svg +14 -0
- package/dist/logos/delivery/redbox.svg +14 -0
- package/dist/logos/delivery/smsa.svg +14 -0
- package/dist/logos/delivery/spl.svg +19 -0
- package/dist/logos/delivery/zid.svg +14 -0
- package/dist/logos/payments/amex.svg +12 -0
- package/dist/logos/payments/apple-pay.svg +7 -0
- package/dist/logos/payments/google-pay.svg +7 -0
- package/dist/logos/payments/knet.svg +5 -0
- package/dist/logos/payments/mada.svg +5 -0
- package/dist/logos/payments/mastercard.svg +5 -0
- package/dist/logos/payments/mispay.svg +10 -0
- package/dist/logos/payments/samsung-pay-icon.svg +13 -0
- package/dist/logos/payments/samsung-pay-text.svg +19 -0
- package/dist/logos/payments/stc-pay.svg +6 -0
- package/dist/logos/payments/tabby.svg +12 -0
- package/dist/logos/payments/tamara-secondary.svg +10 -0
- package/dist/logos/payments/tamara.svg +63 -0
- package/dist/logos/payments/visa.svg +3 -0
- package/dist/react/cjs/components/app-dialog.js +3 -2
- package/dist/react/cjs/components/app-dialog.js.map +1 -1
- package/dist/react/cjs/components/app-list-item.js +3 -0
- package/dist/react/cjs/components/app-list-item.js.map +1 -1
- package/dist/react/cjs/theme/components/alert.js +16 -16
- package/dist/react/cjs/theme/components/alert.js.map +1 -1
- package/dist/react/cjs/theme/components/app-bar.js +3 -5
- package/dist/react/cjs/theme/components/app-bar.js.map +1 -1
- package/dist/react/cjs/theme/components/card.js +3 -3
- package/dist/react/cjs/theme/components/card.js.map +1 -1
- package/dist/react/cjs/theme/components/paper.js +3 -3
- package/dist/react/cjs/theme/components/paper.js.map +1 -1
- package/dist/react/cjs/theme/components/table.js +2 -2
- package/dist/react/cjs/theme/components/table.js.map +1 -1
- package/dist/react/cjs/theme/palette.dark.js +343 -0
- package/dist/react/cjs/theme/palette.dark.js.map +1 -0
- package/dist/react/cjs/theme/palette.js +11 -5
- package/dist/react/cjs/theme/palette.js.map +1 -1
- package/dist/react/cjs/theme/shadows.dark.js +32 -0
- package/dist/react/cjs/theme/shadows.dark.js.map +1 -0
- package/dist/react/cjs/theme/theme.dark.js +19 -0
- package/dist/react/cjs/theme/theme.dark.js.map +1 -0
- package/dist/react/es/components/app-dialog.js +3 -2
- package/dist/react/es/components/app-dialog.js.map +1 -1
- package/dist/react/es/components/app-list-item.js +3 -0
- package/dist/react/es/components/app-list-item.js.map +1 -1
- package/dist/react/es/theme/components/alert.js +16 -16
- package/dist/react/es/theme/components/alert.js.map +1 -1
- package/dist/react/es/theme/components/app-bar.js +3 -5
- package/dist/react/es/theme/components/app-bar.js.map +1 -1
- package/dist/react/es/theme/components/card.js +3 -3
- package/dist/react/es/theme/components/card.js.map +1 -1
- package/dist/react/es/theme/components/paper.js +3 -3
- package/dist/react/es/theme/components/paper.js.map +1 -1
- package/dist/react/es/theme/components/table.js +2 -2
- package/dist/react/es/theme/components/table.js.map +1 -1
- package/dist/react/es/theme/palette.dark.js +343 -0
- package/dist/react/es/theme/palette.dark.js.map +1 -0
- package/dist/react/es/theme/palette.js +11 -5
- package/dist/react/es/theme/palette.js.map +1 -1
- package/dist/react/es/theme/shadows.dark.js +32 -0
- package/dist/react/es/theme/shadows.dark.js.map +1 -0
- package/dist/react/es/theme/theme.dark.js +19 -0
- package/dist/react/es/theme/theme.dark.js.map +1 -0
- package/dist/react/types/stories/design/DeliveryLogos.stories.d.ts +12 -0
- package/dist/react/types/stories/design/Illustrations.stories.d.ts +12 -0
- package/dist/react/types/stories/design/PaymentLogos.stories.d.ts +12 -0
- package/dist/react/types/theme/palette.dark.d.ts +2 -0
- package/dist/react/types/theme/shadows.dark.d.ts +2 -0
- package/dist/react/types/theme/theme.dark.d.ts +1 -0
- package/dist/react/types/theme/types.d.ts +8 -2
- package/dist/styles/colors.css +33 -0
- package/dist/styles/root.css +10 -0
- package/dist/styles/states.css +47 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -2
- package/dist/react/cjs/stories/css/Alert.stories.js +0 -69
- package/dist/react/cjs/stories/css/Alert.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Button.stories.js +0 -133
- package/dist/react/cjs/stories/css/Button.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Card.stories.js +0 -145
- package/dist/react/cjs/stories/css/Card.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Checkbox.stories.js +0 -138
- package/dist/react/cjs/stories/css/Checkbox.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/ComponentReference.stories.js +0 -139
- package/dist/react/cjs/stories/css/ComponentReference.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Input.stories.js +0 -162
- package/dist/react/cjs/stories/css/Input.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/ListItem.stories.js +0 -166
- package/dist/react/cjs/stories/css/ListItem.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Modal.stories.js +0 -121
- package/dist/react/cjs/stories/css/Modal.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Radio.stories.js +0 -118
- package/dist/react/cjs/stories/css/Radio.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Select.stories.js +0 -187
- package/dist/react/cjs/stories/css/Select.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Status.stories.js +0 -59
- package/dist/react/cjs/stories/css/Status.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Switch.stories.js +0 -136
- package/dist/react/cjs/stories/css/Switch.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Table.stories.js +0 -171
- package/dist/react/cjs/stories/css/Table.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Tooltip.stories.js +0 -99
- package/dist/react/cjs/stories/css/Tooltip.stories.js.map +0 -1
- package/dist/react/cjs/stories/css/Utilities.stories.js +0 -136
- package/dist/react/cjs/stories/css/Utilities.stories.js.map +0 -1
- package/dist/react/cjs/stories/design/Colors.stories.js +0 -142
- package/dist/react/cjs/stories/design/Colors.stories.js.map +0 -1
- package/dist/react/cjs/stories/design/Typography.stories.js +0 -116
- package/dist/react/cjs/stories/design/Typography.stories.js.map +0 -1
- package/dist/react/cjs/stories/design/spacing/CSS.stories.js +0 -61
- package/dist/react/cjs/stories/design/spacing/CSS.stories.js.map +0 -1
- package/dist/react/cjs/stories/design/spacing/React.stories.js +0 -102
- package/dist/react/cjs/stories/design/spacing/React.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppAlert.stories.js +0 -149
- package/dist/react/cjs/stories/react/AppAlert.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppButton.stories.js +0 -93
- package/dist/react/cjs/stories/react/AppButton.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppCheckbox.stories.js +0 -67
- package/dist/react/cjs/stories/react/AppCheckbox.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppDialog.stories.js +0 -129
- package/dist/react/cjs/stories/react/AppDialog.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppDialogWithFeatures.stories.js +0 -127
- package/dist/react/cjs/stories/react/AppDialogWithFeatures.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppEmptyState.stories.js +0 -157
- package/dist/react/cjs/stories/react/AppEmptyState.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppIconButton.stories.js +0 -53
- package/dist/react/cjs/stories/react/AppIconButton.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppIconWithTooltip.stories.js +0 -36
- package/dist/react/cjs/stories/react/AppIconWithTooltip.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppInputBase.stories.js +0 -158
- package/dist/react/cjs/stories/react/AppInputBase.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppInputBaseSearch.stories.js +0 -87
- package/dist/react/cjs/stories/react/AppInputBaseSearch.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppInputRadio.stories.js +0 -262
- package/dist/react/cjs/stories/react/AppInputRadio.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppInputRadioCard.stories.js +0 -126
- package/dist/react/cjs/stories/react/AppInputRadioCard.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppListItem.stories.js +0 -123
- package/dist/react/cjs/stories/react/AppListItem.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppOverflownTextWithTooltip.stories.js +0 -41
- package/dist/react/cjs/stories/react/AppOverflownTextWithTooltip.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppPagination.stories.js +0 -71
- package/dist/react/cjs/stories/react/AppPagination.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppRadioGroup.stories.js +0 -145
- package/dist/react/cjs/stories/react/AppRadioGroup.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppStatus.stories.js +0 -68
- package/dist/react/cjs/stories/react/AppStatus.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppSwitch.stories.js +0 -138
- package/dist/react/cjs/stories/react/AppSwitch.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppTabs.stories.js +0 -100
- package/dist/react/cjs/stories/react/AppTabs.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppTooltip.stories.js +0 -119
- package/dist/react/cjs/stories/react/AppTooltip.stories.js.map +0 -1
- package/dist/react/cjs/stories/react/AppTypography.stories.js +0 -172
- package/dist/react/cjs/stories/react/AppTypography.stories.js.map +0 -1
- package/dist/react/es/stories/css/Alert.stories.js +0 -69
- package/dist/react/es/stories/css/Alert.stories.js.map +0 -1
- package/dist/react/es/stories/css/Button.stories.js +0 -133
- package/dist/react/es/stories/css/Button.stories.js.map +0 -1
- package/dist/react/es/stories/css/Card.stories.js +0 -145
- package/dist/react/es/stories/css/Card.stories.js.map +0 -1
- package/dist/react/es/stories/css/Checkbox.stories.js +0 -138
- package/dist/react/es/stories/css/Checkbox.stories.js.map +0 -1
- package/dist/react/es/stories/css/ComponentReference.stories.js +0 -139
- package/dist/react/es/stories/css/ComponentReference.stories.js.map +0 -1
- package/dist/react/es/stories/css/Input.stories.js +0 -162
- package/dist/react/es/stories/css/Input.stories.js.map +0 -1
- package/dist/react/es/stories/css/ListItem.stories.js +0 -166
- package/dist/react/es/stories/css/ListItem.stories.js.map +0 -1
- package/dist/react/es/stories/css/Modal.stories.js +0 -121
- package/dist/react/es/stories/css/Modal.stories.js.map +0 -1
- package/dist/react/es/stories/css/Radio.stories.js +0 -118
- package/dist/react/es/stories/css/Radio.stories.js.map +0 -1
- package/dist/react/es/stories/css/Select.stories.js +0 -187
- package/dist/react/es/stories/css/Select.stories.js.map +0 -1
- package/dist/react/es/stories/css/Status.stories.js +0 -59
- package/dist/react/es/stories/css/Status.stories.js.map +0 -1
- package/dist/react/es/stories/css/Switch.stories.js +0 -136
- package/dist/react/es/stories/css/Switch.stories.js.map +0 -1
- package/dist/react/es/stories/css/Table.stories.js +0 -171
- package/dist/react/es/stories/css/Table.stories.js.map +0 -1
- package/dist/react/es/stories/css/Tooltip.stories.js +0 -99
- package/dist/react/es/stories/css/Tooltip.stories.js.map +0 -1
- package/dist/react/es/stories/css/Utilities.stories.js +0 -136
- package/dist/react/es/stories/css/Utilities.stories.js.map +0 -1
- package/dist/react/es/stories/design/Colors.stories.js +0 -142
- package/dist/react/es/stories/design/Colors.stories.js.map +0 -1
- package/dist/react/es/stories/design/Typography.stories.js +0 -116
- package/dist/react/es/stories/design/Typography.stories.js.map +0 -1
- package/dist/react/es/stories/design/spacing/CSS.stories.js +0 -61
- package/dist/react/es/stories/design/spacing/CSS.stories.js.map +0 -1
- package/dist/react/es/stories/design/spacing/React.stories.js +0 -102
- package/dist/react/es/stories/design/spacing/React.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppAlert.stories.js +0 -149
- package/dist/react/es/stories/react/AppAlert.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppButton.stories.js +0 -93
- package/dist/react/es/stories/react/AppButton.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppCheckbox.stories.js +0 -67
- package/dist/react/es/stories/react/AppCheckbox.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppDialog.stories.js +0 -129
- package/dist/react/es/stories/react/AppDialog.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppDialogWithFeatures.stories.js +0 -127
- package/dist/react/es/stories/react/AppDialogWithFeatures.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppEmptyState.stories.js +0 -157
- package/dist/react/es/stories/react/AppEmptyState.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppIconButton.stories.js +0 -53
- package/dist/react/es/stories/react/AppIconButton.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppIconWithTooltip.stories.js +0 -36
- package/dist/react/es/stories/react/AppIconWithTooltip.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppInputBase.stories.js +0 -158
- package/dist/react/es/stories/react/AppInputBase.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppInputBaseSearch.stories.js +0 -87
- package/dist/react/es/stories/react/AppInputBaseSearch.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppInputRadio.stories.js +0 -262
- package/dist/react/es/stories/react/AppInputRadio.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppInputRadioCard.stories.js +0 -126
- package/dist/react/es/stories/react/AppInputRadioCard.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppListItem.stories.js +0 -123
- package/dist/react/es/stories/react/AppListItem.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppOverflownTextWithTooltip.stories.js +0 -41
- package/dist/react/es/stories/react/AppOverflownTextWithTooltip.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppPagination.stories.js +0 -71
- package/dist/react/es/stories/react/AppPagination.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppRadioGroup.stories.js +0 -145
- package/dist/react/es/stories/react/AppRadioGroup.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppStatus.stories.js +0 -68
- package/dist/react/es/stories/react/AppStatus.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppSwitch.stories.js +0 -138
- package/dist/react/es/stories/react/AppSwitch.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppTabs.stories.js +0 -100
- package/dist/react/es/stories/react/AppTabs.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppTooltip.stories.js +0 -119
- package/dist/react/es/stories/react/AppTooltip.stories.js.map +0 -1
- package/dist/react/es/stories/react/AppTypography.stories.js +0 -172
- package/dist/react/es/stories/react/AppTypography.stories.js.map +0 -1
- package/dist/react/zidmui.css +0 -3062
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
;/* empty css */
|
|
5
|
-
const sampleData = [
|
|
6
|
-
{ id: 1, name: "John Doe", email: "john@example.com", status: "Active", role: "Admin" },
|
|
7
|
-
{ id: 2, name: "Jane Smith", email: "jane@example.com", status: "Pending", role: "User" },
|
|
8
|
-
{ id: 3, name: "Bob Johnson", email: "bob@example.com", status: "Inactive", role: "User" },
|
|
9
|
-
{ id: 4, name: "Alice Brown", email: "alice@example.com", status: "Active", role: "Editor" },
|
|
10
|
-
{ id: 5, name: "Charlie Wilson", email: "charlie@example.com", status: "Active", role: "User" }
|
|
11
|
-
];
|
|
12
|
-
const meta = {
|
|
13
|
-
title: "CSS Styles/Components/Table",
|
|
14
|
-
parameters: {
|
|
15
|
-
layout: "padded"
|
|
16
|
-
},
|
|
17
|
-
tags: ["autodocs"]
|
|
18
|
-
};
|
|
19
|
-
const Variants = {
|
|
20
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "48px" }, children: [
|
|
21
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
22
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "16px", fontFamily: "var(--zid-font-family)" }, children: "Default" }),
|
|
23
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table", children: [
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
26
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
27
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
28
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
29
|
-
] }) }),
|
|
30
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.slice(0, 4).map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
31
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
32
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
33
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
34
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.status })
|
|
35
|
-
] }, row.id)) })
|
|
36
|
-
] })
|
|
37
|
-
] }),
|
|
38
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
39
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "16px", fontFamily: "var(--zid-font-family)" }, children: "Striped" }),
|
|
40
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table zid-table--striped", children: [
|
|
41
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
42
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
43
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
44
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
45
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
46
|
-
] }) }),
|
|
47
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.slice(0, 4).map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
49
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
50
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
51
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.status })
|
|
52
|
-
] }, row.id)) })
|
|
53
|
-
] })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
56
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "16px", fontFamily: "var(--zid-font-family)" }, children: "Bordered" }),
|
|
57
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table zid-table--bordered", children: [
|
|
58
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
59
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
60
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
61
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
62
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
63
|
-
] }) }),
|
|
64
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.slice(0, 4).map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
65
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
66
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
67
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
68
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.status })
|
|
69
|
-
] }, row.id)) })
|
|
70
|
-
] })
|
|
71
|
-
] }),
|
|
72
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
73
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "16px", fontFamily: "var(--zid-font-family)" }, children: "Hoverable" }),
|
|
74
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table zid-table--hoverable", children: [
|
|
75
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
78
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
79
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
80
|
-
] }) }),
|
|
81
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.slice(0, 4).map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
82
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
83
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
84
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
85
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.status })
|
|
86
|
-
] }, row.id)) })
|
|
87
|
-
] })
|
|
88
|
-
] })
|
|
89
|
-
] })
|
|
90
|
-
};
|
|
91
|
-
const statusMap = {
|
|
92
|
-
"Active": /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "zid-status zid-status--success zid-status--sm", children: [
|
|
93
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-status__dot" }),
|
|
94
|
-
"Active"
|
|
95
|
-
] }),
|
|
96
|
-
"Pending": /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "zid-status zid-status--warning zid-status--sm", children: [
|
|
97
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-status__dot" }),
|
|
98
|
-
"Pending"
|
|
99
|
-
] }),
|
|
100
|
-
"Inactive": /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "zid-status zid-status--error zid-status--sm", children: [
|
|
101
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-status__dot" }),
|
|
102
|
-
"Inactive"
|
|
103
|
-
] })
|
|
104
|
-
};
|
|
105
|
-
const WithStatusBadges = {
|
|
106
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: [
|
|
107
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "With Status Badges" }),
|
|
108
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table zid-table--hoverable", children: [
|
|
109
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
110
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
111
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
112
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
113
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Role" }),
|
|
114
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
115
|
-
] }) }),
|
|
116
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
117
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
118
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
119
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
120
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.role }),
|
|
121
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: statusMap[row.status] })
|
|
122
|
-
] }, row.id)) })
|
|
123
|
-
] })
|
|
124
|
-
] })
|
|
125
|
-
};
|
|
126
|
-
const WithActions = {
|
|
127
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: [
|
|
128
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "With Action Buttons" }),
|
|
129
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table zid-table--hoverable", children: [
|
|
130
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
131
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
132
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
133
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
134
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Actions" })
|
|
135
|
-
] }) }),
|
|
136
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: sampleData.map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
137
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.id }),
|
|
138
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.name }),
|
|
139
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: row.email }),
|
|
140
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", gap: "8px" }, children: [
|
|
141
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--primary zid-button--sm", children: "Edit" }),
|
|
142
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--error zid-button--sm", children: "Delete" })
|
|
143
|
-
] }) })
|
|
144
|
-
] }, row.id)) })
|
|
145
|
-
] })
|
|
146
|
-
] })
|
|
147
|
-
};
|
|
148
|
-
const EmptyState = {
|
|
149
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: [
|
|
150
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "Empty State" }),
|
|
151
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: "zid-table", children: [
|
|
152
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "zid-table__head", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "zid-table__row", children: [
|
|
153
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "ID" }),
|
|
154
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Name" }),
|
|
155
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Email" }),
|
|
156
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "zid-table__cell", children: "Status" })
|
|
157
|
-
] }) }),
|
|
158
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "zid-table__body", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { className: "zid-table__row", children: /* @__PURE__ */ jsxRuntime.jsx("td", { className: "zid-table__cell", colSpan: 4, style: { textAlign: "center", padding: "48px" }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { color: "var(--zid-text-secondary)", fontFamily: "var(--zid-font-family)" }, children: [
|
|
159
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "48px", marginBottom: "16px" }, children: "📭" }),
|
|
160
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "16px", fontWeight: 500, marginBottom: "8px" }, children: "No data found" }),
|
|
161
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "14px" }, children: "Try adjusting your search or filters" })
|
|
162
|
-
] }) }) }) })
|
|
163
|
-
] })
|
|
164
|
-
] })
|
|
165
|
-
};
|
|
166
|
-
exports.EmptyState = EmptyState;
|
|
167
|
-
exports.Variants = Variants;
|
|
168
|
-
exports.WithActions = WithActions;
|
|
169
|
-
exports.WithStatusBadges = WithStatusBadges;
|
|
170
|
-
exports.default = meta;
|
|
171
|
-
//# sourceMappingURL=Table.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Table.stories.js","sources":["../../../../../src/stories/css/Table.stories.tsx"],"sourcesContent":["import type { StoryObj } from '@storybook/react-vite';\nimport type { ReactNode } from 'react';\nimport '../../css/index.css';\n\nconst sampleData = [\n { id: 1, name: 'John Doe', email: 'john@example.com', status: 'Active', role: 'Admin' },\n { id: 2, name: 'Jane Smith', email: 'jane@example.com', status: 'Pending', role: 'User' },\n { id: 3, name: 'Bob Johnson', email: 'bob@example.com', status: 'Inactive', role: 'User' },\n { id: 4, name: 'Alice Brown', email: 'alice@example.com', status: 'Active', role: 'Editor' },\n { id: 5, name: 'Charlie Wilson', email: 'charlie@example.com', status: 'Active', role: 'User' },\n];\n\nconst meta = {\n title: 'CSS Styles/Components/Table',\n parameters: {\n layout: 'padded',\n },\n tags: ['autodocs'],\n};\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Variants: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '48px' }}>\n <div>\n <h3 style={{ marginBottom: '16px', fontFamily: 'var(--zid-font-family)' }}>Default</h3>\n <table className=\"zid-table\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.slice(0, 4).map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">{row.status}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n\n <div>\n <h3 style={{ marginBottom: '16px', fontFamily: 'var(--zid-font-family)' }}>Striped</h3>\n <table className=\"zid-table zid-table--striped\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.slice(0, 4).map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">{row.status}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n\n <div>\n <h3 style={{ marginBottom: '16px', fontFamily: 'var(--zid-font-family)' }}>Bordered</h3>\n <table className=\"zid-table zid-table--bordered\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.slice(0, 4).map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">{row.status}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n\n <div>\n <h3 style={{ marginBottom: '16px', fontFamily: 'var(--zid-font-family)' }}>Hoverable</h3>\n <table className=\"zid-table zid-table--hoverable\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.slice(0, 4).map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">{row.status}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n ),\n};\n\n\nconst statusMap: Record<string, ReactNode> = {\n 'Active': <span className=\"zid-status zid-status--success zid-status--sm\"><span className=\"zid-status__dot\"></span>Active</span>,\n 'Pending': <span className=\"zid-status zid-status--warning zid-status--sm\"><span className=\"zid-status__dot\"></span>Pending</span>,\n 'Inactive': <span className=\"zid-status zid-status--error zid-status--sm\"><span className=\"zid-status__dot\"></span>Inactive</span>,\n};\n\nexport const WithStatusBadges: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>With Status Badges</h3>\n <table className=\"zid-table zid-table--hoverable\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Role</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">{row.role}</td>\n <td className=\"zid-table__cell\">{statusMap[row.status]}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n ),\n};\n\nexport const WithActions: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>With Action Buttons</h3>\n <table className=\"zid-table zid-table--hoverable\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Actions</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n {sampleData.map(row => (\n <tr key={row.id} className=\"zid-table__row\">\n <td className=\"zid-table__cell\">{row.id}</td>\n <td className=\"zid-table__cell\">{row.name}</td>\n <td className=\"zid-table__cell\">{row.email}</td>\n <td className=\"zid-table__cell\">\n <div style={{ display: 'flex', gap: '8px' }}>\n <button className=\"zid-button zid-button--text zid-button--primary zid-button--sm\">Edit</button>\n <button className=\"zid-button zid-button--text zid-button--error zid-button--sm\">Delete</button>\n </div>\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n ),\n};\n\nexport const EmptyState: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>Empty State</h3>\n <table className=\"zid-table\">\n <thead className=\"zid-table__head\">\n <tr className=\"zid-table__row\">\n <th className=\"zid-table__cell\">ID</th>\n <th className=\"zid-table__cell\">Name</th>\n <th className=\"zid-table__cell\">Email</th>\n <th className=\"zid-table__cell\">Status</th>\n </tr>\n </thead>\n <tbody className=\"zid-table__body\">\n <tr className=\"zid-table__row\">\n <td className=\"zid-table__cell\" colSpan={4} style={{ textAlign: 'center', padding: '48px' }}>\n <div style={{ color: 'var(--zid-text-secondary)', fontFamily: 'var(--zid-font-family)' }}>\n <div style={{ fontSize: '48px', marginBottom: '16px' }}>📭</div>\n <div style={{ fontSize: '16px', fontWeight: 500, marginBottom: '8px' }}>No data found</div>\n <div style={{ fontSize: '14px' }}>Try adjusting your search or filters</div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n ),\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;AAIA,MAAM,aAAa;AAAA,EACjB,EAAE,IAAI,GAAG,MAAM,YAAY,OAAO,oBAAoB,QAAQ,UAAU,MAAM,QAAA;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,cAAc,OAAO,oBAAoB,QAAQ,WAAW,MAAM,OAAA;AAAA,EACjF,EAAE,IAAI,GAAG,MAAM,eAAe,OAAO,mBAAmB,QAAQ,YAAY,MAAM,OAAA;AAAA,EAClF,EAAE,IAAI,GAAG,MAAM,eAAe,OAAO,qBAAqB,QAAQ,UAAU,MAAM,SAAA;AAAA,EAClF,EAAE,IAAI,GAAG,MAAM,kBAAkB,OAAO,uBAAuB,QAAQ,UAAU,MAAM,OAAA;AACzF;AAEA,MAAM,OAAO;AAAA,EACX,OAAO;AAAA,EACP,YAAY;AAAA,IACV,QAAQ;AAAA,EAAA;AAAA,EAEV,MAAM,CAAC,UAAU;AACnB;AAKO,MAAM,WAAkB;AAAA,EAC7B,QAAQ,MACNA,2BAAAA,KAAC,OAAA,EAAI,OAAO,EAAE,SAAS,QAAQ,eAAe,UAAU,KAAK,OAAA,GAC3D,UAAA;AAAA,IAAAA,gCAAC,OAAA,EACC,UAAA;AAAA,MAAAC,2BAAAA,IAAC,MAAA,EAAG,OAAO,EAAE,cAAc,QAAQ,YAAY,yBAAA,GAA4B,UAAA,UAAA,CAAO;AAAA,MAClFD,2BAAAA,KAAC,SAAA,EAAM,WAAU,aACf,UAAA;AAAA,QAAAC,2BAAAA,IAAC,WAAM,WAAU,mBACf,UAAAD,2BAAAA,KAAC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EAAI,OAAO,EAAE,UAAU,QAAQ,YAAY,KAAK,cAAc,MAAA,GAAS,UAAA,gBAAA,CAAa;AAAA,uCACpF,OAAA,EAAI,OAAO,EAAE,UAAU,OAAA,GAAU,UAAA,uCAAA,CAAoC;AAAA,MAAA,GACxE,EAAA,CACF,GACF,EAAA,CACF;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,EAAA,CACF;AAEJ;;;;;;"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
;/* empty css */
|
|
5
|
-
const meta = {
|
|
6
|
-
title: "CSS Styles/Components/Tooltip",
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: "centered"
|
|
9
|
-
},
|
|
10
|
-
tags: ["autodocs"]
|
|
11
|
-
};
|
|
12
|
-
const Positions = {
|
|
13
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "80px", padding: "80px" }, children: [
|
|
14
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
15
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Top" }),
|
|
16
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--top", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Tooltip on top" }) })
|
|
17
|
-
] }) }),
|
|
18
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
19
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
20
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Left" }),
|
|
21
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--left", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Tooltip on left" }) })
|
|
22
|
-
] }),
|
|
23
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Right" }),
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--right", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Tooltip on right" }) })
|
|
26
|
-
] })
|
|
27
|
-
] }),
|
|
28
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
29
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Bottom" }),
|
|
30
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--bottom", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Tooltip on bottom" }) })
|
|
31
|
-
] }) })
|
|
32
|
-
] })
|
|
33
|
-
};
|
|
34
|
-
const WithTitle = {
|
|
35
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "32px", padding: "80px" }, children: [
|
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "Tooltip with Title" }),
|
|
37
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", gap: "32px", flexWrap: "wrap" }, children: [
|
|
38
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
39
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "With Title" }),
|
|
40
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip__content zid-tooltip__content--top zid-tooltip__content--multiline", children: [
|
|
41
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__title", children: "Tooltip Title" }),
|
|
42
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "This is a longer description that provides more context about the element." })
|
|
43
|
-
] })
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
46
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Help Info" }),
|
|
47
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip__content zid-tooltip__content--top zid-tooltip__content--multiline", children: [
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__title", children: "Need Help?" }),
|
|
49
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Click here to access our help center and documentation." })
|
|
50
|
-
] })
|
|
51
|
-
] })
|
|
52
|
-
] })
|
|
53
|
-
] })
|
|
54
|
-
};
|
|
55
|
-
const SimpleTooltips = {
|
|
56
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "32px", padding: "60px" }, children: [
|
|
57
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "Simple Tooltips" }),
|
|
58
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", gap: "32px", flexWrap: "wrap" }, children: [
|
|
59
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
60
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--secondary zid-button--sm", children: "Edit" }),
|
|
61
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--top", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Edit item" }) })
|
|
62
|
-
] }),
|
|
63
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
64
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--error zid-button--sm", children: "Delete" }),
|
|
65
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--top", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Delete item" }) })
|
|
66
|
-
] }),
|
|
67
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip zid-tooltip--open", children: [
|
|
68
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--secondary zid-button--sm", children: "Copy" }),
|
|
69
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--top", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "Copy to clipboard" }) })
|
|
70
|
-
] })
|
|
71
|
-
] })
|
|
72
|
-
] })
|
|
73
|
-
};
|
|
74
|
-
const Interactive = {
|
|
75
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "32px", padding: "60px" }, children: [
|
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { style: { marginBottom: "8px", fontFamily: "var(--zid-font-family)" }, children: "Interactive Demo (Hover to show)" }),
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontFamily: "var(--zid-font-family)", color: "var(--zid-text-secondary)", marginBottom: "16px" }, children: "Hover over the buttons to see tooltips appear" }),
|
|
78
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", gap: "24px", flexWrap: "wrap" }, children: [
|
|
79
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip", children: [
|
|
80
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Hover me" }),
|
|
81
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--top", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "I appear on hover!" }) })
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip", children: [
|
|
84
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--outlined zid-button--secondary zid-button--md", children: "Or me" }),
|
|
85
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--bottom", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "I appear below!" }) })
|
|
86
|
-
] }),
|
|
87
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-tooltip", children: [
|
|
88
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { className: "zid-button zid-button--text zid-button--secondary zid-button--md", children: "Me too" }),
|
|
89
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__content zid-tooltip__content--right", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-tooltip__description", children: "I appear on the right!" }) })
|
|
90
|
-
] })
|
|
91
|
-
] })
|
|
92
|
-
] })
|
|
93
|
-
};
|
|
94
|
-
exports.Interactive = Interactive;
|
|
95
|
-
exports.Positions = Positions;
|
|
96
|
-
exports.SimpleTooltips = SimpleTooltips;
|
|
97
|
-
exports.WithTitle = WithTitle;
|
|
98
|
-
exports.default = meta;
|
|
99
|
-
//# sourceMappingURL=Tooltip.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.stories.js","sources":["../../../../../src/stories/css/Tooltip.stories.tsx"],"sourcesContent":["import type { StoryObj } from '@storybook/react-vite';\nimport '../../css/index.css';\n\nconst meta = {\n title: 'CSS Styles/Components/Tooltip',\n parameters: {\n layout: 'centered',\n },\n tags: ['autodocs'],\n};\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Positions: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '80px', padding: '80px' }}>\n <div style={{ display: 'flex', justifyContent: 'center' }}>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Top</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top\">\n <div className=\"zid-tooltip__description\">Tooltip on top</div>\n </div>\n </div>\n </div>\n <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Left</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--left\">\n <div className=\"zid-tooltip__description\">Tooltip on left</div>\n </div>\n </div>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Right</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--right\">\n <div className=\"zid-tooltip__description\">Tooltip on right</div>\n </div>\n </div>\n </div>\n <div style={{ display: 'flex', justifyContent: 'center' }}>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Bottom</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--bottom\">\n <div className=\"zid-tooltip__description\">Tooltip on bottom</div>\n </div>\n </div>\n </div>\n </div>\n ),\n};\n\nexport const WithTitle: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '32px', padding: '80px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>Tooltip with Title</h3>\n <div style={{ display: 'flex', gap: '32px', flexWrap: 'wrap' }}>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">With Title</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top zid-tooltip__content--multiline\">\n <div className=\"zid-tooltip__title\">Tooltip Title</div>\n <div className=\"zid-tooltip__description\">This is a longer description that provides more context about the element.</div>\n </div>\n </div>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Help Info</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top zid-tooltip__content--multiline\">\n <div className=\"zid-tooltip__title\">Need Help?</div>\n <div className=\"zid-tooltip__description\">Click here to access our help center and documentation.</div>\n </div>\n </div>\n </div>\n </div>\n ),\n};\n\nexport const SimpleTooltips: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '32px', padding: '60px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>Simple Tooltips</h3>\n <div style={{ display: 'flex', gap: '32px', flexWrap: 'wrap' }}>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--text zid-button--secondary zid-button--sm\">Edit</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top\">\n <div className=\"zid-tooltip__description\">Edit item</div>\n </div>\n </div>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--text zid-button--error zid-button--sm\">Delete</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top\">\n <div className=\"zid-tooltip__description\">Delete item</div>\n </div>\n </div>\n <div className=\"zid-tooltip zid-tooltip--open\">\n <button className=\"zid-button zid-button--text zid-button--secondary zid-button--sm\">Copy</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top\">\n <div className=\"zid-tooltip__description\">Copy to clipboard</div>\n </div>\n </div>\n </div>\n </div>\n ),\n};\n\nexport const Interactive: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '32px', padding: '60px' }}>\n <h3 style={{ marginBottom: '8px', fontFamily: 'var(--zid-font-family)' }}>Interactive Demo (Hover to show)</h3>\n <p style={{ fontFamily: 'var(--zid-font-family)', color: 'var(--zid-text-secondary)', marginBottom: '16px' }}>Hover over the buttons to see tooltips appear</p>\n <div style={{ display: 'flex', gap: '24px', flexWrap: 'wrap' }}>\n <div className=\"zid-tooltip\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Hover me</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--top\">\n <div className=\"zid-tooltip__description\">I appear on hover!</div>\n </div>\n </div>\n <div className=\"zid-tooltip\">\n <button className=\"zid-button zid-button--outlined zid-button--secondary zid-button--md\">Or me</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--bottom\">\n <div className=\"zid-tooltip__description\">I appear below!</div>\n </div>\n </div>\n <div className=\"zid-tooltip\">\n <button className=\"zid-button zid-button--text zid-button--secondary zid-button--md\">Me too</button>\n <div className=\"zid-tooltip__content zid-tooltip__content--right\">\n <div className=\"zid-tooltip__description\">I appear on the right!</div>\n </div>\n </div>\n </div>\n </div>\n ),\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;AAGA,MAAM,OAAO;AAAA,EACX,OAAO;AAAA,EACP,YAAY;AAAA,IACV,QAAQ;AAAA,EAAA;AAAA,EAEV,MAAM,CAAC,UAAU;AACnB;AAKO,MAAM,YAAmB;AAAA,EAC9B,QAAQ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AAU,4BAA2B,UAAA,yBAAA,CAAsB,EAAA,CAClE;AAAA,MAAA,EAAA,CACF;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,EAAA,CACF;AAEJ;;;;;;"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
;/* empty css */
|
|
5
|
-
const meta = {
|
|
6
|
-
title: "CSS Styles/Utilities",
|
|
7
|
-
tags: ["autodocs"],
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: "fullscreen"
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
const UtilityClasses = {
|
|
13
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { padding: "32px", maxWidth: "900px", fontFamily: "var(--zid-font-family, system-ui)" }, children: [
|
|
14
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { style: { marginBottom: "8px" }, children: "Utility Classes" }),
|
|
15
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "#75727B", marginBottom: "32px" }, children: "Helper classes for common styling needs" }),
|
|
16
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
17
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Display" }),
|
|
18
|
-
/* @__PURE__ */ jsxRuntime.jsx("pre", { style: { background: "#1f0433", color: "#fff", padding: "16px", borderRadius: "8px", overflow: "auto", fontSize: "14px" }, children: `.zid-d-flex /* display: flex */
|
|
19
|
-
.zid-d-block /* display: block */
|
|
20
|
-
.zid-d-inline /* display: inline */
|
|
21
|
-
.zid-d-none /* display: none */
|
|
22
|
-
.zid-d-grid /* display: grid */` })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Flexbox" }),
|
|
26
|
-
/* @__PURE__ */ jsxRuntime.jsx("pre", { style: { background: "#1f0433", color: "#fff", padding: "16px", borderRadius: "8px", overflow: "auto", fontSize: "14px" }, children: `/* Direction */
|
|
27
|
-
.zid-flex-row /* flex-direction: row */
|
|
28
|
-
.zid-flex-col /* flex-direction: column */
|
|
29
|
-
|
|
30
|
-
/* Justify Content */
|
|
31
|
-
.zid-justify-start /* justify-content: flex-start */
|
|
32
|
-
.zid-justify-end /* justify-content: flex-end */
|
|
33
|
-
.zid-justify-center /* justify-content: center */
|
|
34
|
-
.zid-justify-between /* justify-content: space-between */
|
|
35
|
-
.zid-justify-around /* justify-content: space-around */
|
|
36
|
-
|
|
37
|
-
/* Align Items */
|
|
38
|
-
.zid-align-start /* align-items: flex-start */
|
|
39
|
-
.zid-align-end /* align-items: flex-end */
|
|
40
|
-
.zid-align-center /* align-items: center */
|
|
41
|
-
.zid-align-stretch /* align-items: stretch */
|
|
42
|
-
|
|
43
|
-
/* Flex Wrap */
|
|
44
|
-
.zid-flex-wrap /* flex-wrap: wrap */
|
|
45
|
-
.zid-flex-nowrap /* flex-wrap: nowrap */
|
|
46
|
-
|
|
47
|
-
/* Gap */
|
|
48
|
-
.zid-gap-1 /* gap: 8px */
|
|
49
|
-
.zid-gap-2 /* gap: 16px */
|
|
50
|
-
.zid-gap-3 /* gap: 24px */
|
|
51
|
-
.zid-gap-4 /* gap: 32px */` })
|
|
52
|
-
] }),
|
|
53
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
54
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Spacing (Margin & Padding)" }),
|
|
55
|
-
/* @__PURE__ */ jsxRuntime.jsx("pre", { style: { background: "#1f0433", color: "#fff", padding: "16px", borderRadius: "8px", overflow: "auto", fontSize: "14px" }, children: `/* Margin - all sides */
|
|
56
|
-
.zid-m-0, .zid-m-1, .zid-m-2, .zid-m-3, .zid-m-4
|
|
57
|
-
|
|
58
|
-
/* Margin - specific sides */
|
|
59
|
-
.zid-mt-{0-4} /* margin-top */
|
|
60
|
-
.zid-mr-{0-4} /* margin-right */
|
|
61
|
-
.zid-mb-{0-4} /* margin-bottom */
|
|
62
|
-
.zid-ml-{0-4} /* margin-left */
|
|
63
|
-
.zid-mx-{0-4} /* margin-left + margin-right */
|
|
64
|
-
.zid-my-{0-4} /* margin-top + margin-bottom */
|
|
65
|
-
|
|
66
|
-
/* Padding - all sides */
|
|
67
|
-
.zid-p-0, .zid-p-1, .zid-p-2, .zid-p-3, .zid-p-4
|
|
68
|
-
|
|
69
|
-
/* Padding - specific sides */
|
|
70
|
-
.zid-pt-{0-4} /* padding-top */
|
|
71
|
-
.zid-pr-{0-4} /* padding-right */
|
|
72
|
-
.zid-pb-{0-4} /* padding-bottom */
|
|
73
|
-
.zid-pl-{0-4} /* padding-left */
|
|
74
|
-
.zid-px-{0-4} /* padding-left + padding-right */
|
|
75
|
-
.zid-py-{0-4} /* padding-top + padding-bottom */` })
|
|
76
|
-
] }),
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
78
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Text" }),
|
|
79
|
-
/* @__PURE__ */ jsxRuntime.jsx("pre", { style: { background: "#1f0433", color: "#fff", padding: "16px", borderRadius: "8px", overflow: "auto", fontSize: "14px" }, children: `/* Text alignment */
|
|
80
|
-
.zid-text-left
|
|
81
|
-
.zid-text-center
|
|
82
|
-
.zid-text-right
|
|
83
|
-
|
|
84
|
-
/* Text colors */
|
|
85
|
-
.zid-text-primary
|
|
86
|
-
.zid-text-secondary
|
|
87
|
-
.zid-text-error
|
|
88
|
-
.zid-text-success
|
|
89
|
-
.zid-text-warning
|
|
90
|
-
|
|
91
|
-
/* Font weight */
|
|
92
|
-
.zid-font-regular
|
|
93
|
-
.zid-font-medium
|
|
94
|
-
.zid-font-bold` })
|
|
95
|
-
] })
|
|
96
|
-
] })
|
|
97
|
-
};
|
|
98
|
-
const UtilityExamples = {
|
|
99
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { padding: "32px", maxWidth: "900px", fontFamily: "var(--zid-font-family, system-ui)" }, children: [
|
|
100
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { style: { marginBottom: "8px" }, children: "Utility Examples" }),
|
|
101
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "#75727B", marginBottom: "32px" }, children: "Live examples of utility classes" }),
|
|
102
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
103
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Flexbox Layout" }),
|
|
104
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "zid-d-flex zid-justify-between zid-align-center zid-gap-2 zid-p-3", style: { background: "var(--zid-base-neutral, #F5F4F6)", borderRadius: "8px" }, children: [
|
|
105
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px", background: "var(--zid-primary-main, #AE72FF)", color: "white", borderRadius: "4px" }, children: "Item 1" }),
|
|
106
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px", background: "var(--zid-primary-main, #AE72FF)", color: "white", borderRadius: "4px" }, children: "Item 2" }),
|
|
107
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px", background: "var(--zid-primary-main, #AE72FF)", color: "white", borderRadius: "4px" }, children: "Item 3" })
|
|
108
|
-
] }),
|
|
109
|
-
/* @__PURE__ */ jsxRuntime.jsx("pre", { style: { background: "#1f0433", color: "#fff", padding: "12px", borderRadius: "8px", marginTop: "12px", fontSize: "13px" }, children: `<div class="zid-d-flex zid-justify-between zid-align-center zid-gap-2 zid-p-3">
|
|
110
|
-
<div>Item 1</div>
|
|
111
|
-
<div>Item 2</div>
|
|
112
|
-
<div>Item 3</div>
|
|
113
|
-
</div>` })
|
|
114
|
-
] }),
|
|
115
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
116
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Spacing" }),
|
|
117
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { background: "var(--zid-base-neutral, #F5F4F6)", borderRadius: "8px", padding: "16px" }, children: [
|
|
118
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-mb-2", style: { padding: "12px", background: "var(--zid-color-blue-200, #E9FAFA)", borderRadius: "4px" }, children: "Box with margin-bottom (zid-mb-2)" }),
|
|
119
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "zid-p-3", style: { background: "var(--zid-color-green-200, #EFFBEE)", borderRadius: "4px" }, children: "Box with padding (zid-p-3)" })
|
|
120
|
-
] })
|
|
121
|
-
] }),
|
|
122
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginBottom: "32px" }, children: [
|
|
123
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { style: { marginBottom: "16px" }, children: "Text Colors" }),
|
|
124
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "8px" }, children: [
|
|
125
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-text-primary", style: { fontSize: "16px" }, children: "Primary text color" }),
|
|
126
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-text-secondary", style: { fontSize: "16px" }, children: "Secondary text color" }),
|
|
127
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-text-error", style: { fontSize: "16px" }, children: "Error text color" }),
|
|
128
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "zid-text-success", style: { fontSize: "16px" }, children: "Success text color" })
|
|
129
|
-
] })
|
|
130
|
-
] })
|
|
131
|
-
] })
|
|
132
|
-
};
|
|
133
|
-
exports.UtilityClasses = UtilityClasses;
|
|
134
|
-
exports.UtilityExamples = UtilityExamples;
|
|
135
|
-
exports.default = meta;
|
|
136
|
-
//# sourceMappingURL=Utilities.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Utilities.stories.js","sources":["../../../../../src/stories/css/Utilities.stories.tsx"],"sourcesContent":["import type { StoryObj } from '@storybook/react-vite';\nimport '../../css/index.css';\n\nconst meta = {\n title: 'CSS Styles/Utilities',\n tags: ['autodocs'],\n parameters: {\n layout: 'fullscreen',\n },\n};\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const UtilityClasses: Story = {\n render: () => (\n <div style={{ padding: '32px', maxWidth: '900px', fontFamily: 'var(--zid-font-family, system-ui)' }}>\n <h1 style={{ marginBottom: '8px' }}>Utility Classes</h1>\n <p style={{ color: '#75727B', marginBottom: '32px' }}>Helper classes for common styling needs</p>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Display</h2>\n <pre style={{ background: '#1f0433', color: '#fff', padding: '16px', borderRadius: '8px', overflow: 'auto', fontSize: '14px' }}>\n{`.zid-d-flex /* display: flex */\n.zid-d-block /* display: block */\n.zid-d-inline /* display: inline */\n.zid-d-none /* display: none */\n.zid-d-grid /* display: grid */`}\n </pre>\n </div>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Flexbox</h2>\n <pre style={{ background: '#1f0433', color: '#fff', padding: '16px', borderRadius: '8px', overflow: 'auto', fontSize: '14px' }}>\n{`/* Direction */\n.zid-flex-row /* flex-direction: row */\n.zid-flex-col /* flex-direction: column */\n\n/* Justify Content */\n.zid-justify-start /* justify-content: flex-start */\n.zid-justify-end /* justify-content: flex-end */\n.zid-justify-center /* justify-content: center */\n.zid-justify-between /* justify-content: space-between */\n.zid-justify-around /* justify-content: space-around */\n\n/* Align Items */\n.zid-align-start /* align-items: flex-start */\n.zid-align-end /* align-items: flex-end */\n.zid-align-center /* align-items: center */\n.zid-align-stretch /* align-items: stretch */\n\n/* Flex Wrap */\n.zid-flex-wrap /* flex-wrap: wrap */\n.zid-flex-nowrap /* flex-wrap: nowrap */\n\n/* Gap */\n.zid-gap-1 /* gap: 8px */\n.zid-gap-2 /* gap: 16px */\n.zid-gap-3 /* gap: 24px */\n.zid-gap-4 /* gap: 32px */`}\n </pre>\n </div>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Spacing (Margin & Padding)</h2>\n <pre style={{ background: '#1f0433', color: '#fff', padding: '16px', borderRadius: '8px', overflow: 'auto', fontSize: '14px' }}>\n{`/* Margin - all sides */\n.zid-m-0, .zid-m-1, .zid-m-2, .zid-m-3, .zid-m-4\n\n/* Margin - specific sides */\n.zid-mt-{0-4} /* margin-top */\n.zid-mr-{0-4} /* margin-right */\n.zid-mb-{0-4} /* margin-bottom */\n.zid-ml-{0-4} /* margin-left */\n.zid-mx-{0-4} /* margin-left + margin-right */\n.zid-my-{0-4} /* margin-top + margin-bottom */\n\n/* Padding - all sides */\n.zid-p-0, .zid-p-1, .zid-p-2, .zid-p-3, .zid-p-4\n\n/* Padding - specific sides */\n.zid-pt-{0-4} /* padding-top */\n.zid-pr-{0-4} /* padding-right */\n.zid-pb-{0-4} /* padding-bottom */\n.zid-pl-{0-4} /* padding-left */\n.zid-px-{0-4} /* padding-left + padding-right */\n.zid-py-{0-4} /* padding-top + padding-bottom */`}\n </pre>\n </div>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Text</h2>\n <pre style={{ background: '#1f0433', color: '#fff', padding: '16px', borderRadius: '8px', overflow: 'auto', fontSize: '14px' }}>\n{`/* Text alignment */\n.zid-text-left\n.zid-text-center\n.zid-text-right\n\n/* Text colors */\n.zid-text-primary\n.zid-text-secondary\n.zid-text-error\n.zid-text-success\n.zid-text-warning\n\n/* Font weight */\n.zid-font-regular\n.zid-font-medium\n.zid-font-bold`}\n </pre>\n </div>\n </div>\n ),\n};\n\nexport const UtilityExamples: Story = {\n render: () => (\n <div style={{ padding: '32px', maxWidth: '900px', fontFamily: 'var(--zid-font-family, system-ui)' }}>\n <h1 style={{ marginBottom: '8px' }}>Utility Examples</h1>\n <p style={{ color: '#75727B', marginBottom: '32px' }}>Live examples of utility classes</p>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Flexbox Layout</h2>\n <div className=\"zid-d-flex zid-justify-between zid-align-center zid-gap-2 zid-p-3\" style={{ background: 'var(--zid-base-neutral, #F5F4F6)', borderRadius: '8px' }}>\n <div style={{ padding: '16px', background: 'var(--zid-primary-main, #AE72FF)', color: 'white', borderRadius: '4px' }}>Item 1</div>\n <div style={{ padding: '16px', background: 'var(--zid-primary-main, #AE72FF)', color: 'white', borderRadius: '4px' }}>Item 2</div>\n <div style={{ padding: '16px', background: 'var(--zid-primary-main, #AE72FF)', color: 'white', borderRadius: '4px' }}>Item 3</div>\n </div>\n <pre style={{ background: '#1f0433', color: '#fff', padding: '12px', borderRadius: '8px', marginTop: '12px', fontSize: '13px' }}>\n{`<div class=\"zid-d-flex zid-justify-between zid-align-center zid-gap-2 zid-p-3\">\n <div>Item 1</div>\n <div>Item 2</div>\n <div>Item 3</div>\n</div>`}\n </pre>\n </div>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Spacing</h2>\n <div style={{ background: 'var(--zid-base-neutral, #F5F4F6)', borderRadius: '8px', padding: '16px' }}>\n <div className=\"zid-mb-2\" style={{ padding: '12px', background: 'var(--zid-color-blue-200, #E9FAFA)', borderRadius: '4px' }}>\n Box with margin-bottom (zid-mb-2)\n </div>\n <div className=\"zid-p-3\" style={{ background: 'var(--zid-color-green-200, #EFFBEE)', borderRadius: '4px' }}>\n Box with padding (zid-p-3)\n </div>\n </div>\n </div>\n\n <div style={{ marginBottom: '32px' }}>\n <h2 style={{ marginBottom: '16px' }}>Text Colors</h2>\n <div style={{ display: 'flex', flexDirection: 'column', gap: '8px' }}>\n <span className=\"zid-text-primary\" style={{ fontSize: '16px' }}>Primary text color</span>\n <span className=\"zid-text-secondary\" style={{ fontSize: '16px' }}>Secondary text color</span>\n <span className=\"zid-text-error\" style={{ fontSize: '16px' }}>Error text color</span>\n <span className=\"zid-text-success\" style={{ fontSize: '16px' }}>Success text color</span>\n </div>\n </div>\n </div>\n ),\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;AAGA,MAAM,OAAO;AAAA,EACX,OAAO;AAAA,EACP,MAAM,CAAC,UAAU;AAAA,EACjB,YAAY;AAAA,IACV,QAAQ;AAAA,EAAA;AAEZ;AAKO,MAAM,iBAAwB;AAAA,EACnC,QAAQ,MACNA,2BAAAA,KAAC,OAAA,EAAI,OAAO,EAAE,SAAS,QAAQ,UAAU,SAAS,YAAY,oCAAA,GAC5D,UAAA;AAAA,IAAAC,+BAAC,QAAG,OAAO,EAAE,cAAc,MAAA,GAAS,UAAA,mBAAe;AAAA,IACnDA,2BAAAA,IAAC,OAAE,OAAO,EAAE,OAAO,WAAW,cAAc,OAAA,GAAU,UAAA,0CAAA,CAAuC;AAAA,oCAE5F,OAAA,EAAI,OAAO,EAAE,cAAc,UAC1B,UAAA;AAAA,MAAAA,+BAAC,QAAG,OAAO,EAAE,cAAc,OAAA,GAAU,UAAA,WAAO;AAAA,qCAC3C,OAAA,EAAI,OAAO,EAAE,YAAY,WAAW,OAAO,QAAQ,SAAS,QAAQ,cAAc,OAAO,UAAU,QAAQ,UAAU,UAC7H,UAAA;AAAA;AAAA;AAAA;AAAA,sCAAA,CAKO;AAAA,IAAA,GACF;AAAA,oCAEC,OAAA,EAAI,OAAO,EAAE,cAAc,UAC1B,UAAA;AAAA,MAAAA,+BAAC,QAAG,OAAO,EAAE,cAAc,OAAA,GAAU,UAAA,WA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