@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const shadowsDark = [
|
|
4
|
+
"none",
|
|
5
|
+
"0px 1px 2px 0px rgba(0, 0, 0, 0.40)",
|
|
6
|
+
"0px 1px 2px 0px rgba(0, 0, 0, 0.40), 0px 1px 3px 0px rgba(0, 0, 0, 0.45)",
|
|
7
|
+
"0px 2px 4px -2px rgba(0, 0, 0, 0.40), 0px 4px 8px -2px rgba(0, 0, 0, 0.50)",
|
|
8
|
+
"0px 2px 6px -2px rgba(0, 0, 0, 0.35), 0px 12px 16px -4px rgba(0, 0, 0, 0.50)",
|
|
9
|
+
"0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12)",
|
|
10
|
+
"0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",
|
|
11
|
+
"0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)",
|
|
12
|
+
"0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)",
|
|
13
|
+
// Additional shadows for MUI compatibility (9-24)
|
|
14
|
+
"0px 5px 5px -3px rgba(0, 0, 0, 0.20), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)",
|
|
15
|
+
"0px 5px 6px -3px rgba(0, 0, 0, 0.20), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)",
|
|
16
|
+
"0px 6px 6px -3px rgba(0, 0, 0, 0.20), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)",
|
|
17
|
+
"0px 6px 7px -4px rgba(0, 0, 0, 0.20), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)",
|
|
18
|
+
"0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)",
|
|
19
|
+
"0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)",
|
|
20
|
+
"0px 7px 9px -4px rgba(0, 0, 0, 0.20), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)",
|
|
21
|
+
"0px 8px 9px -5px rgba(0, 0, 0, 0.20), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)",
|
|
22
|
+
"0px 8px 10px -5px rgba(0, 0, 0, 0.20), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)",
|
|
23
|
+
"0px 8px 11px -5px rgba(0, 0, 0, 0.20), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)",
|
|
24
|
+
"0px 9px 11px -5px rgba(0, 0, 0, 0.20), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)",
|
|
25
|
+
"0px 9px 12px -6px rgba(0, 0, 0, 0.20), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)",
|
|
26
|
+
"0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)",
|
|
27
|
+
"0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)",
|
|
28
|
+
"0px 10px 14px -6px rgba(0, 0, 0, 0.20), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)",
|
|
29
|
+
"0px 11px 14px -7px rgba(0, 0, 0, 0.20), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)"
|
|
30
|
+
];
|
|
31
|
+
exports.shadowsDark = shadowsDark;
|
|
32
|
+
//# sourceMappingURL=shadows.dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.dark.js","sources":["../../../../src/theme/shadows.dark.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { ThemeOptions } from '@mui/material';\n\n//\n//\n\nexport const shadowsDark: ThemeOptions['shadows'] = [\n 'none',\n '0px 1px 2px 0px rgba(0, 0, 0, 0.40)',\n '0px 1px 2px 0px rgba(0, 0, 0, 0.40), 0px 1px 3px 0px rgba(0, 0, 0, 0.45)',\n '0px 2px 4px -2px rgba(0, 0, 0, 0.40), 0px 4px 8px -2px rgba(0, 0, 0, 0.50)',\n '0px 2px 6px -2px rgba(0, 0, 0, 0.35), 0px 12px 16px -4px rgba(0, 0, 0, 0.50)',\n '0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12)',\n '0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)',\n '0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)',\n '0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)',\n // Additional shadows for MUI compatibility (9-24)\n '0px 5px 5px -3px rgba(0, 0, 0, 0.20), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)',\n '0px 5px 6px -3px rgba(0, 0, 0, 0.20), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)',\n '0px 6px 6px -3px rgba(0, 0, 0, 0.20), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)',\n '0px 6px 7px -4px rgba(0, 0, 0, 0.20), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)',\n '0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)',\n '0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)',\n '0px 7px 9px -4px rgba(0, 0, 0, 0.20), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)',\n '0px 8px 9px -5px rgba(0, 0, 0, 0.20), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)',\n '0px 8px 10px -5px rgba(0, 0, 0, 0.20), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)',\n '0px 8px 11px -5px rgba(0, 0, 0, 0.20), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)',\n '0px 9px 11px -5px rgba(0, 0, 0, 0.20), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)',\n '0px 9px 12px -6px rgba(0, 0, 0, 0.20), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)',\n '0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)',\n '0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)',\n '0px 10px 14px -6px rgba(0, 0, 0, 0.20), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)',\n '0px 11px 14px -7px rgba(0, 0, 0, 0.20), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)',\n] as unknown as ThemeOptions['shadows'];\n"],"names":[],"mappings":";;AAMO,MAAM,cAAuC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const material = require("@mui/material");
|
|
4
|
+
const components = require("./components.js");
|
|
5
|
+
const palette_dark = require("./palette.dark.js");
|
|
6
|
+
const shadows_dark = require("./shadows.dark.js");
|
|
7
|
+
const typography = require("./typography.js");
|
|
8
|
+
const themeParcelDark = material.createTheme({
|
|
9
|
+
shape: {
|
|
10
|
+
borderRadius: 8,
|
|
11
|
+
standardBorderRadius: 12
|
|
12
|
+
},
|
|
13
|
+
typography: typography.typography,
|
|
14
|
+
components: components.components,
|
|
15
|
+
palette: palette_dark.paletteDark,
|
|
16
|
+
shadows: shadows_dark.shadowsDark
|
|
17
|
+
});
|
|
18
|
+
exports.themeParcelDark = themeParcelDark;
|
|
19
|
+
//# sourceMappingURL=theme.dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.dark.js","sources":["../../../../src/theme/theme.dark.ts"],"sourcesContent":["import { createTheme } from '@mui/material';\n\nimport { components } from './components';\nimport { paletteDark } from './palette.dark';\nimport { shadowsDark } from './shadows.dark';\nimport { typography } from './typography';\n\n//\n//\n\nexport const themeParcelDark = createTheme({\n shape: {\n borderRadius: 8,\n standardBorderRadius: 12,\n },\n typography,\n components,\n palette: paletteDark,\n shadows: shadowsDark,\n});\n"],"names":["createTheme","typography","components","paletteDark","shadowsDark"],"mappings":";;;;;;;AAUO,MAAM,kBAAkBA,SAAAA,YAAY;AAAA,EACzC,OAAO;AAAA,IACL,cAAc;AAAA,IACd,sBAAsB;AAAA,EAAA;AAAA,EACxB,YACAC,WAAAA;AAAAA,EAAA,YACAC,WAAAA;AAAAA,EACA,SAASC,aAAAA;AAAAA,EACT,SAASC,aAAAA;AACX,CAAC;;"}
|
|
@@ -2,6 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTheme, Dialog, DialogTitle, DialogContent, DialogActions } from "@mui/material";
|
|
3
3
|
import { AppTypography } from "./app-typography.js";
|
|
4
4
|
import { StackColumn } from "./stack-column.js";
|
|
5
|
+
const resolveSlotProps = (slot) => typeof slot === "function" ? {} : slot ?? {};
|
|
5
6
|
const AppDialog = ({
|
|
6
7
|
title,
|
|
7
8
|
description,
|
|
@@ -25,13 +26,13 @@ const AppDialog = ({
|
|
|
25
26
|
slotProps: {
|
|
26
27
|
paper: {
|
|
27
28
|
elevation: 4,
|
|
28
|
-
...slotProps?.paper
|
|
29
|
+
...resolveSlotProps(slotProps?.paper)
|
|
29
30
|
},
|
|
30
31
|
backdrop: {
|
|
31
32
|
sx: {
|
|
32
33
|
backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : ""
|
|
33
34
|
},
|
|
34
|
-
...slotProps?.backdrop
|
|
35
|
+
...resolveSlotProps(slotProps?.backdrop)
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
38
|
...props,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-dialog.js","sources":["../../../../src/components/app-dialog.tsx"],"sourcesContent":["import {\n Dialog,\n DialogProps,\n DialogActions,\n DialogActionsProps,\n DialogContent,\n DialogContentProps,\n DialogTitle,\n DialogTitleProps,\n StackProps,\n useTheme,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\n\n//\n//\n\nexport type AppDialogProps = DialogProps & {\n title?: React.ReactNode;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n titleStackProps?: StackProps;\n titleProps?: DialogTitleProps;\n actions?: React.ReactNode;\n actionsProps?: DialogActionsProps;\n children?: React.ReactNode;\n dialogContentProps?: DialogContentProps;\n darkerBackdrop?: boolean;\n};\n\nexport const AppDialog = ({\n title,\n description,\n descriptionProps,\n children,\n titleStackProps,\n actions,\n titleProps,\n actionsProps,\n darkerBackdrop,\n dialogContentProps,\n slotProps,\n ...props\n}: AppDialogProps) => {\n const theme = useTheme();\n\n return (\n <Dialog\n fullWidth\n maxWidth=\"sm\"\n slotProps={{\n paper: {\n elevation: 4,\n ...slotProps?.paper,\n },\n backdrop: {\n sx: {\n backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : '',\n },\n ...slotProps?.backdrop,\n },\n }}\n {...props}\n >\n {(title || description) && (\n <DialogTitle {...titleProps}>\n <StackColumn {...titleStackProps} gap={3}>\n {title}\n {description && (\n <AppTypography variant=\"body2\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n </StackColumn>\n </DialogTitle>\n )}\n <DialogContent {...dialogContentProps}>{children}</DialogContent>\n\n {actions && <DialogActions {...actionsProps}>{actions}</DialogActions>}\n </Dialog>\n );\n};\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"app-dialog.js","sources":["../../../../src/components/app-dialog.tsx"],"sourcesContent":["import {\n Dialog,\n DialogProps,\n DialogActions,\n DialogActionsProps,\n DialogContent,\n DialogContentProps,\n DialogTitle,\n DialogTitleProps,\n StackProps,\n useTheme,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\n\n//\n//\n\nconst resolveSlotProps = <T,>(slot: T | ((...args: unknown[]) => T) | undefined): Partial<T> =>\n typeof slot === 'function' ? {} : ((slot ?? {}) as Partial<T>);\n\nexport type AppDialogProps = DialogProps & {\n title?: React.ReactNode;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n titleStackProps?: StackProps;\n titleProps?: DialogTitleProps;\n actions?: React.ReactNode;\n actionsProps?: DialogActionsProps;\n children?: React.ReactNode;\n dialogContentProps?: DialogContentProps;\n darkerBackdrop?: boolean;\n};\n\nexport const AppDialog = ({\n title,\n description,\n descriptionProps,\n children,\n titleStackProps,\n actions,\n titleProps,\n actionsProps,\n darkerBackdrop,\n dialogContentProps,\n slotProps,\n ...props\n}: AppDialogProps) => {\n const theme = useTheme();\n\n return (\n <Dialog\n fullWidth\n maxWidth=\"sm\"\n slotProps={{\n paper: {\n elevation: 4,\n ...resolveSlotProps(slotProps?.paper),\n },\n backdrop: {\n sx: {\n backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : '',\n },\n ...resolveSlotProps(slotProps?.backdrop),\n },\n }}\n {...props}\n >\n {(title || description) && (\n <DialogTitle {...titleProps}>\n <StackColumn {...titleStackProps} gap={3}>\n {title}\n {description && (\n <AppTypography variant=\"body2\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n </StackColumn>\n </DialogTitle>\n )}\n <DialogContent {...dialogContentProps}>{children}</DialogContent>\n\n {actions && <DialogActions {...actionsProps}>{actions}</DialogActions>}\n </Dialog>\n );\n};\n"],"names":[],"mappings":";;;;AAkBA,MAAM,mBAAmB,CAAK,SAC5B,OAAO,SAAS,aAAa,CAAA,IAAO,QAAQ,CAAA;AAevC,MAAM,YAAY,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAsB;AACpB,QAAM,QAAQ,SAAA;AAEd,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAS;AAAA,MACT,UAAS;AAAA,MACT,WAAW;AAAA,QACT,OAAO;AAAA,UACL,WAAW;AAAA,UACX,GAAG,iBAAiB,WAAW,KAAK;AAAA,QAAA;AAAA,QAEtC,UAAU;AAAA,UACR,IAAI;AAAA,YACF,iBAAiB,iBAAiB,MAAM,QAAQ,WAAW,eAAe;AAAA,UAAA;AAAA,UAE5E,GAAG,iBAAiB,WAAW,QAAQ;AAAA,QAAA;AAAA,MACzC;AAAA,MAED,GAAG;AAAA,MAEF,UAAA;AAAA,SAAA,SAAS,gBACT,oBAAC,aAAA,EAAa,GAAG,YACf,+BAAC,aAAA,EAAa,GAAG,iBAAiB,KAAK,GACpC,UAAA;AAAA,UAAA;AAAA,UACA,eACC,oBAAC,eAAA,EAAc,SAAQ,SAAS,GAAG,kBAChC,UAAA,YAAA,CACH;AAAA,QAAA,EAAA,CAEJ,EAAA,CACF;AAAA,QAEF,oBAAC,eAAA,EAAe,GAAG,oBAAqB,SAAA,CAAS;AAAA,QAEhD,WAAW,oBAAC,eAAA,EAAe,GAAG,cAAe,UAAA,QAAA,CAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG5D;"}
|
|
@@ -67,6 +67,9 @@ const AppListItem = ({
|
|
|
67
67
|
textLabel,
|
|
68
68
|
tooltip && /* @__PURE__ */ jsx(AppIconWithTooltip, { tooltip, iconProps: { sx: { fontSize: 16 } } })
|
|
69
69
|
] }),
|
|
70
|
+
slotProps: textLabelProps?.primary ? textLabelProps.slotProps : {
|
|
71
|
+
primary: { component: "div" }
|
|
72
|
+
},
|
|
70
73
|
...textLabelProps
|
|
71
74
|
}
|
|
72
75
|
),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-list-item.js","sources":["../../../../src/components/app-list-item.tsx"],"sourcesContent":["import React from 'react';\n\nimport {\n ListItem,\n ListItemIcon,\n ListItemIconProps,\n ListItemProps,\n ListItemText,\n ListItemTextProps,\n styled,\n} from '@mui/material';\n\nimport { AppIconWithTooltip } from './app-icon-with-tooltip';\nimport { AppOverflownTextWithTooltip } from './app-overflown-text-with-tooltip';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppListItemProps = {\n icon?: React.ReactNode;\n iconProps?: ListItemIconProps;\n textLabel?: React.ReactNode;\n textLabelProps?: ListItemTextProps;\n textDescription?: React.ReactNode;\n textContent?: React.ReactNode;\n textContentProps?: AppTypographyProps;\n children?: React.ReactNode;\n labelSuffix?: React.ReactNode;\n tooltip?: string;\n} & Omit<ListItemProps, 'value'>;\n\nexport const AppListItem = ({\n icon,\n iconProps,\n textLabel,\n textDescription,\n textLabelProps = {},\n textContent,\n textContentProps,\n children,\n labelSuffix,\n tooltip,\n ...props\n}: AppListItemProps) => {\n if (typeof textDescription === 'string') {\n textLabelProps.secondary = (\n <AppOverflownTextWithTooltip\n title={textDescription}\n typographyProps={{ variant: 'body2', color: 'text.tertiary' }}\n twoLines\n />\n );\n } else if (textDescription) {\n textLabelProps.secondary = (\n <AppTypography variant=\"caption\" color=\"text.tertiary\">\n {textDescription}\n </AppTypography>\n );\n }\n\n //\n\n if (typeof textLabel === 'string') {\n textLabel = (\n <AppOverflownTextWithTooltip\n title={textLabel}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n />\n );\n } else {\n textLabel = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textLabel}\n </AppTypography>\n );\n }\n\n if (labelSuffix) {\n textLabel = (\n <StackRow overflow=\"hidden\">\n {textLabel}\n {labelSuffix}\n </StackRow>\n );\n }\n\n //\n\n if (typeof textContent === 'string') {\n textContent = (\n <AppOverflownTextWithTooltip\n title={textContent}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n twoLines\n />\n );\n } else if (textContent) {\n textContent = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textContent}\n </AppTypography>\n );\n }\n\n return (\n <ListItemStyled {...props}>\n {icon && <ListItemIcon {...iconProps}>{icon}</ListItemIcon>}\n {(textLabel || textLabelProps) && (\n <ListItemText\n primary={\n <StackRow gap={0.75}>\n {textLabel}\n\n {tooltip && (\n <AppIconWithTooltip tooltip={tooltip} iconProps={{ sx: { fontSize: 16 } }} />\n )}\n </StackRow>\n }\n {...textLabelProps}\n />\n )}\n {textContent && (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...textContentProps}>\n {textContent}\n </AppTypography>\n )}\n {children}\n </ListItemStyled>\n );\n};\n\ntype AppListItemContentProps = AppTypographyProps;\n\nexport const AppListItemContent: React.FC<AppListItemContentProps> = ({ children, ...props }) => {\n return (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...props}>\n {children}\n </AppTypography>\n );\n};\n\n//\n\nconst ListItemStyled = styled(ListItem)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1.5),\n '.MuiListItemText-root': {\n minWidth: 200,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0.5),\n margin: theme.spacing(0.125),\n },\n}));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,cAAc,CAAC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAA;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAwB;AACtB,MAAI,OAAO,oBAAoB,UAAU;AACvC,mBAAe,YACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,gBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGd,WAAW,iBAAiB;AAC1B,mBAAe,YACb,oBAAC,eAAA,EAAc,SAAQ,WAAU,OAAM,iBACpC,UAAA,gBAAA,CACH;AAAA,EAEJ;AAIA,MAAI,OAAO,cAAc,UAAU;AACjC,gBACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,iBAAA;AAAA,MAAiB;AAAA,IAAA;AAAA,EAGnE,OAAO;AACL,oCACG,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAClC,UAAA,WACH;AAAA,EAEJ;AAEA,MAAI,aAAa;AACf,gBACE,qBAAC,UAAA,EAAS,UAAS,UAChB,UAAA;AAAA,MAAA;AAAA,MACA;AAAA,IAAA,GACH;AAAA,EAEJ;AAIA,MAAI,OAAO,gBAAgB,UAAU;AACnC,kBACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,iBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGd,WAAW,aAAa;AACtB,sCACG,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAClC,UAAA,aACH;AAAA,EAEJ;AAEA,SACE,qBAAC,gBAAA,EAAgB,GAAG,OACjB,UAAA;AAAA,IAAA,QAAQ,oBAAC,cAAA,EAAc,GAAG,WAAY,UAAA,MAAK;AAAA,KAC1C,aAAa,mBACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SACE,qBAAC,UAAA,EAAS,KAAK,MACZ,UAAA;AAAA,UAAA;AAAA,UAEA,WACC,oBAAC,oBAAA,EAAmB,SAAkB,WAAW,EAAE,IAAI,EAAE,UAAU,GAAA,IAAK,CAAG;AAAA,QAAA,GAE/E;AAAA,
|
|
1
|
+
{"version":3,"file":"app-list-item.js","sources":["../../../../src/components/app-list-item.tsx"],"sourcesContent":["import React from 'react';\n\nimport {\n ListItem,\n ListItemIcon,\n ListItemIconProps,\n ListItemProps,\n ListItemText,\n ListItemTextProps,\n styled,\n} from '@mui/material';\n\nimport { AppIconWithTooltip } from './app-icon-with-tooltip';\nimport { AppOverflownTextWithTooltip } from './app-overflown-text-with-tooltip';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppListItemProps = {\n icon?: React.ReactNode;\n iconProps?: ListItemIconProps;\n textLabel?: React.ReactNode;\n textLabelProps?: ListItemTextProps;\n textDescription?: React.ReactNode;\n textContent?: React.ReactNode;\n textContentProps?: AppTypographyProps;\n children?: React.ReactNode;\n labelSuffix?: React.ReactNode;\n tooltip?: string;\n} & Omit<ListItemProps, 'value'>;\n\nexport const AppListItem = ({\n icon,\n iconProps,\n textLabel,\n textDescription,\n textLabelProps = {},\n textContent,\n textContentProps,\n children,\n labelSuffix,\n tooltip,\n ...props\n}: AppListItemProps) => {\n if (typeof textDescription === 'string') {\n textLabelProps.secondary = (\n <AppOverflownTextWithTooltip\n title={textDescription}\n typographyProps={{ variant: 'body2', color: 'text.tertiary' }}\n twoLines\n />\n );\n } else if (textDescription) {\n textLabelProps.secondary = (\n <AppTypography variant=\"caption\" color=\"text.tertiary\">\n {textDescription}\n </AppTypography>\n );\n }\n\n //\n\n if (typeof textLabel === 'string') {\n textLabel = (\n <AppOverflownTextWithTooltip\n title={textLabel}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n />\n );\n } else {\n textLabel = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textLabel}\n </AppTypography>\n );\n }\n\n if (labelSuffix) {\n textLabel = (\n <StackRow overflow=\"hidden\">\n {textLabel}\n {labelSuffix}\n </StackRow>\n );\n }\n\n //\n\n if (typeof textContent === 'string') {\n textContent = (\n <AppOverflownTextWithTooltip\n title={textContent}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n twoLines\n />\n );\n } else if (textContent) {\n textContent = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textContent}\n </AppTypography>\n );\n }\n\n return (\n <ListItemStyled {...props}>\n {icon && <ListItemIcon {...iconProps}>{icon}</ListItemIcon>}\n {(textLabel || textLabelProps) && (\n <ListItemText\n primary={\n <StackRow gap={0.75}>\n {textLabel}\n\n {tooltip && (\n <AppIconWithTooltip tooltip={tooltip} iconProps={{ sx: { fontSize: 16 } }} />\n )}\n </StackRow>\n }\n slotProps={\n textLabelProps?.primary\n ? textLabelProps.slotProps\n : {\n primary: { component: 'div' },\n }\n }\n {...textLabelProps}\n />\n )}\n {textContent && (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...textContentProps}>\n {textContent}\n </AppTypography>\n )}\n {children}\n </ListItemStyled>\n );\n};\n\ntype AppListItemContentProps = AppTypographyProps;\n\nexport const AppListItemContent: React.FC<AppListItemContentProps> = ({ children, ...props }) => {\n return (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...props}>\n {children}\n </AppTypography>\n );\n};\n\n//\n\nconst ListItemStyled = styled(ListItem)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1.5),\n '.MuiListItemText-root': {\n minWidth: 200,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0.5),\n margin: theme.spacing(0.125),\n },\n}));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,cAAc,CAAC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAA;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAwB;AACtB,MAAI,OAAO,oBAAoB,UAAU;AACvC,mBAAe,YACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,gBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGd,WAAW,iBAAiB;AAC1B,mBAAe,YACb,oBAAC,eAAA,EAAc,SAAQ,WAAU,OAAM,iBACpC,UAAA,gBAAA,CACH;AAAA,EAEJ;AAIA,MAAI,OAAO,cAAc,UAAU;AACjC,gBACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,iBAAA;AAAA,MAAiB;AAAA,IAAA;AAAA,EAGnE,OAAO;AACL,oCACG,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAClC,UAAA,WACH;AAAA,EAEJ;AAEA,MAAI,aAAa;AACf,gBACE,qBAAC,UAAA,EAAS,UAAS,UAChB,UAAA;AAAA,MAAA;AAAA,MACA;AAAA,IAAA,GACH;AAAA,EAEJ;AAIA,MAAI,OAAO,gBAAgB,UAAU;AACnC,kBACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,iBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGd,WAAW,aAAa;AACtB,sCACG,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAClC,UAAA,aACH;AAAA,EAEJ;AAEA,SACE,qBAAC,gBAAA,EAAgB,GAAG,OACjB,UAAA;AAAA,IAAA,QAAQ,oBAAC,cAAA,EAAc,GAAG,WAAY,UAAA,MAAK;AAAA,KAC1C,aAAa,mBACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SACE,qBAAC,UAAA,EAAS,KAAK,MACZ,UAAA;AAAA,UAAA;AAAA,UAEA,WACC,oBAAC,oBAAA,EAAmB,SAAkB,WAAW,EAAE,IAAI,EAAE,UAAU,GAAA,IAAK,CAAG;AAAA,QAAA,GAE/E;AAAA,QAEF,WACE,gBAAgB,UACZ,eAAe,YACf;AAAA,UACE,SAAS,EAAE,WAAW,MAAA;AAAA,QAAM;AAAA,QAGnC,GAAG;AAAA,MAAA;AAAA,IAAA;AAAA,IAGP,mCACE,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAAkB,GAAG,kBACvD,UAAA,YAAA,CACH;AAAA,IAED;AAAA,EAAA,GACH;AAEJ;AAIO,MAAM,qBAAwD,CAAC,EAAE,UAAU,GAAG,YAAY;AAC/F,SACE,oBAAC,iBAAc,SAAQ,SAAQ,OAAM,kBAAkB,GAAG,OACvD,UACH;AAEJ;AAIA,MAAM,iBAAiB,OAAO,QAAQ,EAAE,CAAC,EAAE,aAAa;AAAA,EACtD,SAAS;AAAA,EACT,KAAK,MAAM,QAAQ,GAAG;AAAA,EACtB,yBAAyB;AAAA,IACvB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,eAAe;AAAA,IACf,KAAK,MAAM,QAAQ,GAAG;AAAA,IACtB,QAAQ,MAAM,QAAQ,KAAK;AAAA,EAAA;AAE/B,EAAE;"}
|
|
@@ -10,13 +10,13 @@ const MuiAlert = {
|
|
|
10
10
|
},
|
|
11
11
|
"&.MuiAlert-colorError": {
|
|
12
12
|
color: "inherit",
|
|
13
|
-
borderColor: theme.palette.
|
|
14
|
-
background: theme.palette.
|
|
13
|
+
borderColor: theme.palette._components.alert.error.border,
|
|
14
|
+
background: theme.palette._components.alert.error.background,
|
|
15
15
|
".MuiAlert-icon": {
|
|
16
|
-
color: theme.palette.
|
|
16
|
+
color: theme.palette._components.alert.error.icon
|
|
17
17
|
},
|
|
18
18
|
".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
|
|
19
|
-
fill: theme.palette.
|
|
19
|
+
fill: theme.palette._components.alert.error.color
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
".MuiTypography-root.MuiAlertTitle-root": {
|
|
@@ -43,35 +43,35 @@ const MuiAlert = {
|
|
|
43
43
|
},
|
|
44
44
|
"&.MuiAlert-colorWarning": {
|
|
45
45
|
color: "inherit",
|
|
46
|
-
borderColor: theme.palette.
|
|
47
|
-
background: theme.palette.
|
|
46
|
+
borderColor: theme.palette._components.alert.warning.border,
|
|
47
|
+
background: theme.palette._components.alert.warning.background,
|
|
48
48
|
".MuiAlert-icon": {
|
|
49
|
-
color: theme.palette.
|
|
49
|
+
color: theme.palette._components.alert.warning.icon
|
|
50
50
|
},
|
|
51
51
|
".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
|
|
52
|
-
fill:
|
|
52
|
+
fill: theme.palette._components.alert.warning.color
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"&.MuiAlert-colorInfo": {
|
|
56
56
|
color: "inherit",
|
|
57
|
-
borderColor: theme.palette.
|
|
58
|
-
background: theme.palette.
|
|
57
|
+
borderColor: theme.palette._components.alert.info.border,
|
|
58
|
+
background: theme.palette._components.alert.info.background,
|
|
59
59
|
".MuiAlert-icon": {
|
|
60
|
-
color: theme.palette.
|
|
60
|
+
color: theme.palette._components.alert.info.icon
|
|
61
61
|
},
|
|
62
62
|
".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
|
|
63
|
-
fill: theme.palette.
|
|
63
|
+
fill: theme.palette._components.alert.info.color
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"&.MuiAlert-colorSuccess": {
|
|
67
67
|
color: "inherit",
|
|
68
|
-
borderColor: theme.palette.
|
|
69
|
-
background: theme.palette.
|
|
68
|
+
borderColor: theme.palette._components.alert.success.border,
|
|
69
|
+
background: theme.palette._components.alert.success.background,
|
|
70
70
|
".MuiAlert-icon": {
|
|
71
|
-
color: theme.palette.
|
|
71
|
+
color: theme.palette._components.alert.success.icon
|
|
72
72
|
},
|
|
73
73
|
".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
|
|
74
|
-
fill: theme.palette.
|
|
74
|
+
fill: theme.palette._components.alert.success.color
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '&.MuiAlert-colorError': {\n color: 'inherit',\n borderColor: theme.palette.
|
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '&.MuiAlert-colorError': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.error.border,\n background: theme.palette._components.alert.error.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.error.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.error.color,\n },\n },\n '.MuiTypography-root.MuiAlertTitle-root': {\n margin: 0,\n },\n '.MuiAlert-icon': {\n flex: 0,\n paddingBlock: theme.spacing(0.75),\n alignItems: 'flex-start',\n },\n '.MuiAlert-message': {\n flex: 1,\n paddingBlock: theme.spacing(0.75),\n display: 'flex',\n alignItems: 'center',\n },\n '.MuiAlert-action': {\n paddingTop: theme.spacing(0.25),\n marginRight: 0,\n alignItems: 'flex-start',\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(0.5),\n },\n },\n '&.MuiAlert-colorWarning': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.warning.border,\n background: theme.palette._components.alert.warning.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.warning.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.warning.color,\n },\n },\n '&.MuiAlert-colorInfo': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.info.border,\n background: theme.palette._components.alert.info.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.info.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.info.color,\n },\n },\n '&.MuiAlert-colorSuccess': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.success.border,\n background: theme.palette._components.alert.success.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.success.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.success.color,\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAOO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,aAAa;AAAA,MACb,aAAa;AAAA,MACb,cAAc;AAAA,MACd,UAAU;AAAA,MACV,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,QAC9B,eAAe,MAAM,QAAQ,CAAC;AAAA,MAAA;AAAA,MAEhC,yBAAyB;AAAA,QACvB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QACnD,YAAY,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QAClD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QAAA;AAAA,QAE/C,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QAAA;AAAA,MAC9C;AAAA,MAEF,0CAA0C;AAAA,QACxC,QAAQ;AAAA,MAAA;AAAA,MAEV,kBAAkB;AAAA,QAChB,MAAM;AAAA,QACN,cAAc,MAAM,QAAQ,IAAI;AAAA,QAChC,YAAY;AAAA,MAAA;AAAA,MAEd,qBAAqB;AAAA,QACnB,MAAM;AAAA,QACN,cAAc,MAAM,QAAQ,IAAI;AAAA,QAChC,SAAS;AAAA,QACT,YAAY;AAAA,MAAA;AAAA,MAEd,oBAAoB;AAAA,QAClB,YAAY,MAAM,QAAQ,IAAI;AAAA,QAC9B,aAAa;AAAA,QACb,YAAY;AAAA,QACZ,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,UAC9B,aAAa,MAAM,QAAQ,GAAG;AAAA,QAAA;AAAA,MAChC;AAAA,MAEF,2BAA2B;AAAA,QACzB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACrD,YAAY,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACpD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,QAEjD,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChD;AAAA,MAEF,wBAAwB;AAAA,QACtB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QAClD,YAAY,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QACjD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QAAA;AAAA,QAE9C,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,KAAK;AAAA,QAAA;AAAA,MAC7C;AAAA,MAEF,2BAA2B;AAAA,QACzB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACrD,YAAY,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACpD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,QAEjD,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChD;AAAA,IACF;AAAA,EACF;AAEJ;"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { palette } from "../palette.js";
|
|
2
|
-
import { shadows } from "../shadows.js";
|
|
3
1
|
const MuiAppBar = {
|
|
4
2
|
styleOverrides: {
|
|
5
3
|
root: ({ theme }) => ({
|
|
6
|
-
boxShadow: shadows
|
|
4
|
+
boxShadow: theme.shadows[4],
|
|
7
5
|
input: {
|
|
8
6
|
fontSize: 14,
|
|
9
7
|
"&:-webkit-autofill": {
|
|
@@ -124,8 +122,8 @@ const MuiAppBar = {
|
|
|
124
122
|
{
|
|
125
123
|
props: { color: "transparent" },
|
|
126
124
|
style: ({ theme: theme2 }) => ({
|
|
127
|
-
backgroundColor: palette
|
|
128
|
-
boxShadow: shadows
|
|
125
|
+
backgroundColor: theme2.palette.background.default,
|
|
126
|
+
boxShadow: theme2.shadows[0],
|
|
129
127
|
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
|
|
130
128
|
"& .MuiTextField-root": {
|
|
131
129
|
"& .MuiOutlinedInput-root": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\
|
|
1
|
+
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.default,\n boxShadow: theme.shadows[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["theme"],"mappings":"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"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
const MuiCard = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => ({
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
4
|
borderRadius: 16,
|
|
5
5
|
"& > .MuiCardContent-root:last-child": {
|
|
6
6
|
paddingBottom: 16
|
|
7
7
|
},
|
|
8
8
|
"& .MuiCardContent-root .MuiCardContent-root": {
|
|
9
9
|
borderRadius: 8,
|
|
10
|
-
border:
|
|
10
|
+
border: `1px solid ${theme.palette.outlined?.outlined_2}`,
|
|
11
11
|
padding: 16
|
|
12
12
|
},
|
|
13
13
|
"& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root": {
|
|
14
14
|
borderRadius: 4,
|
|
15
|
-
backgroundColor:
|
|
15
|
+
backgroundColor: theme.palette.background.gray,
|
|
16
16
|
border: "none"
|
|
17
17
|
},
|
|
18
18
|
form: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: () => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border:
|
|
1
|
+
{"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border: `1px solid ${theme.palette.outlined?.outlined_2}`,\n padding: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 4,\n backgroundColor: theme.palette.background.gray,\n border: 'none',\n },\n\n form: {\n marginBottom: 0,\n },\n\n '& .MuiList-root:last-child .MuiListItem-root:last-of-type': {\n borderBottom: 'none',\n paddingBottom: 0,\n },\n }),\n },\n };\n"],"names":[],"mappings":"AAMO,MAAM,UACX;AAAA,EACE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,cAAc;AAAA,MAEd,uCAAuC;AAAA,QACrC,eAAe;AAAA,MAAA;AAAA,MAGjB,+CAA+C;AAAA,QAC7C,cAAc;AAAA,QACd,QAAQ,aAAa,MAAM,QAAQ,UAAU,UAAU;AAAA,QACvD,SAAS;AAAA,MAAA;AAAA,MAGX,oEAAoE;AAAA,QAClE,cAAc;AAAA,QACd,iBAAiB,MAAM,QAAQ,WAAW;AAAA,QAC1C,QAAQ;AAAA,MAAA;AAAA,MAGV,MAAM;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA,MAGhB,8DAA8D;AAAA,QAC5D,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paper.js","sources":["../../../../../src/theme/components/paper.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiPaper: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiPaper'] = {\n styleOverrides: {\n root: {\n border:
|
|
1
|
+
{"version":3,"file":"paper.js","sources":["../../../../../src/theme/components/paper.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiPaper: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiPaper'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: `1px solid ${theme.palette.outlined?.outlined_2}`,\n }),\n },\n};\n"],"names":[],"mappings":"AAMO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ,aAAa,MAAM,QAAQ,UAAU,UAAU;AAAA,IAAA;AAAA,EACzD;AAEJ;"}
|
|
@@ -29,10 +29,10 @@ const MuiTable = {
|
|
|
29
29
|
};
|
|
30
30
|
const MuiTableRow = {
|
|
31
31
|
styleOverrides: {
|
|
32
|
-
root: ({ ownerState }) => ({
|
|
32
|
+
root: ({ theme, ownerState }) => ({
|
|
33
33
|
...ownerState["disable-row-hover"] ? {} : {
|
|
34
34
|
"&:hover": {
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: theme.palette.background.gray
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sources":["../../../../../src/theme/components/table.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTable: Components<Theme & CssVarsTheme>['MuiTable'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n\n '.MuiTableHead-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n background: theme.palette.background.gray,\n verticalAlign: 'baseline',\n },\n whiteSpace: 'nowrap',\n },\n\n '.MuiTableBody-root': {\n '.MuiTableRow-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n },\n },\n\n '.MuiTableRow-root:last-child': {\n '.MuiTableCell-root': {\n borderBottom: 'none',\n },\n },\n },\n }),\n },\n};\n\nexport const MuiTableRow: Components<Theme & CssVarsTheme>['MuiTableRow'] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState['disable-row-hover']\n ? {}\n : {\n '&:hover': {\n backgroundColor:
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../../../../../src/theme/components/table.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTable: Components<Theme & CssVarsTheme>['MuiTable'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n\n '.MuiTableHead-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n background: theme.palette.background.gray,\n verticalAlign: 'baseline',\n },\n whiteSpace: 'nowrap',\n },\n\n '.MuiTableBody-root': {\n '.MuiTableRow-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n },\n },\n\n '.MuiTableRow-root:last-child': {\n '.MuiTableCell-root': {\n borderBottom: 'none',\n },\n },\n },\n }),\n },\n};\n\nexport const MuiTableRow: Components<Theme & CssVarsTheme>['MuiTableRow'] = {\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n ...(ownerState['disable-row-hover']\n ? {}\n : {\n '&:hover': {\n backgroundColor: theme.palette.background.gray,\n },\n }),\n }),\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,WAAyD;AAAA,EACpE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,MAER,sBAAsB;AAAA,QACpB,sBAAsB;AAAA,UACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UACxD,YAAY,MAAM,QAAQ,WAAW;AAAA,UACrC,eAAe;AAAA,QAAA;AAAA,QAEjB,YAAY;AAAA,MAAA;AAAA,MAGd,sBAAsB;AAAA,QACpB,qBAAqB;AAAA,UACnB,sBAAsB;AAAA,YACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,YAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAAA;AAAA,QAC1D;AAAA,QAGF,gCAAgC;AAAA,UAC9B,sBAAsB;AAAA,YACpB,cAAc;AAAA,UAAA;AAAA,QAChB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;AAEO,MAAM,cAA+D;AAAA,EAC1E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,OAAO,kBAAkB;AAAA,MAChC,GAAI,WAAW,mBAAmB,IAC9B,KACA;AAAA,QACE,WAAW;AAAA,UACT,iBAAiB,MAAM,QAAQ,WAAW;AAAA,QAAA;AAAA,MAC5C;AAAA,IACF;AAAA,EACN;AAEJ;"}
|