@egen-civitas/esm-styleguide 1.0.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/README.md +7 -0
- package/dist/_all.scss +29 -0
- package/dist/_carbon-bridge.scss +194 -0
- package/dist/_glass.scss +75 -0
- package/dist/_overrides.scss +767 -0
- package/dist/_panel.scss +123 -0
- package/dist/_vars.scss +111 -0
- package/dist/brand.d.ts +8 -0
- package/dist/brand.d.ts.map +1 -0
- package/dist/brand.js +18 -0
- package/dist/breakpoints/index.d.ts +12 -0
- package/dist/breakpoints/index.d.ts.map +1 -0
- package/dist/breakpoints/index.js +28 -0
- package/dist/cards/card-header.component.d.ts +12 -0
- package/dist/cards/card-header.component.d.ts.map +1 -0
- package/dist/cards/card-header.component.js +22 -0
- package/dist/cards/card-header.module.scss +45 -0
- package/dist/cards/card-header.stories.js +32 -0
- package/dist/cards/decorated-card/_decoration-bleed.scss +26 -0
- package/dist/cards/decorated-card/card-decorations.d.ts +9 -0
- package/dist/cards/decorated-card/card-decorations.d.ts.map +1 -0
- package/dist/cards/decorated-card/card-decorations.js +106 -0
- package/dist/cards/decorated-card/decorated-card.component.d.ts +25 -0
- package/dist/cards/decorated-card/decorated-card.component.d.ts.map +1 -0
- package/dist/cards/decorated-card/decorated-card.component.js +134 -0
- package/dist/cards/decorated-card/decorated-card.module.scss +357 -0
- package/dist/cards/decorated-card/decorated-card.types.d.ts +26 -0
- package/dist/cards/decorated-card/decorated-card.types.d.ts.map +1 -0
- package/dist/cards/decorated-card/decorated-card.types.js +1 -0
- package/dist/cards/decorated-card/index.d.ts +3 -0
- package/dist/cards/decorated-card/index.d.ts.map +1 -0
- package/dist/cards/decorated-card/index.js +2 -0
- package/dist/cards/index.d.ts +3 -0
- package/dist/cards/index.d.ts.map +1 -0
- package/dist/cards/index.js +2 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.d.ts +21 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.js +130 -0
- package/dist/carousel/circular-gallery/circular-gallery.module.scss +165 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.d.ts +17 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.js +1 -0
- package/dist/carousel/circular-gallery/gallery-image.component.d.ts +23 -0
- package/dist/carousel/circular-gallery/gallery-image.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/gallery-image.component.js +151 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.d.ts +10 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.js +54 -0
- package/dist/carousel/circular-gallery/index.d.ts +3 -0
- package/dist/carousel/circular-gallery/index.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/index.js +2 -0
- package/dist/carousel/image-swiper/image-swiper.component.d.ts +18 -0
- package/dist/carousel/image-swiper/image-swiper.component.d.ts.map +1 -0
- package/dist/carousel/image-swiper/image-swiper.component.js +200 -0
- package/dist/carousel/image-swiper/image-swiper.module.scss +43 -0
- package/dist/carousel/image-swiper/image-swiper.types.d.ts +17 -0
- package/dist/carousel/image-swiper/image-swiper.types.d.ts.map +1 -0
- package/dist/carousel/image-swiper/image-swiper.types.js +1 -0
- package/dist/carousel/image-swiper/index.d.ts +3 -0
- package/dist/carousel/image-swiper/index.d.ts.map +1 -0
- package/dist/carousel/image-swiper/index.js +2 -0
- package/dist/carousel/index.d.ts +5 -0
- package/dist/carousel/index.d.ts.map +1 -0
- package/dist/carousel/index.js +9 -0
- package/dist/carousel/slider/carousel.component.d.ts +29 -0
- package/dist/carousel/slider/carousel.component.d.ts.map +1 -0
- package/dist/carousel/slider/carousel.component.js +108 -0
- package/dist/carousel/slider/index.d.ts +9 -0
- package/dist/carousel/slider/index.d.ts.map +1 -0
- package/dist/carousel/slider/index.js +7 -0
- package/dist/carousel/slider/slider-container.component.d.ts +11 -0
- package/dist/carousel/slider/slider-container.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider-container.component.js +21 -0
- package/dist/carousel/slider/slider-dot-button.component.d.ts +12 -0
- package/dist/carousel/slider/slider-dot-button.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider-dot-button.component.js +29 -0
- package/dist/carousel/slider/slider.component.d.ts +11 -0
- package/dist/carousel/slider/slider.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider.component.js +17 -0
- package/dist/carousel/slider/slider.context.d.ts +16 -0
- package/dist/carousel/slider/slider.context.d.ts.map +1 -0
- package/dist/carousel/slider/slider.context.js +9 -0
- package/dist/carousel/slider/slider.module.scss +176 -0
- package/dist/carousel/slider/slider.types.d.ts +40 -0
- package/dist/carousel/slider/slider.types.d.ts.map +1 -0
- package/dist/carousel/slider/slider.types.js +1 -0
- package/dist/carousel/slider/thumbs-slider.component.d.ts +16 -0
- package/dist/carousel/slider/thumbs-slider.component.d.ts.map +1 -0
- package/dist/carousel/slider/thumbs-slider.component.js +45 -0
- package/dist/carousel/testimonial-card/index.d.ts +4 -0
- package/dist/carousel/testimonial-card/index.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/index.js +3 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.d.ts +29 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.js +79 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.module.scss +18 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.d.ts +36 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.js +98 -0
- package/dist/carousel/testimonial-card/testimonial-card.module.scss +73 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.d.ts +65 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.js +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.d.ts +33 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.js +195 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.module.scss +210 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.d.ts +36 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.js +1 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.d.ts +15 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.js +99 -0
- package/dist/cascading-nav-dropdown/index.d.ts +4 -0
- package/dist/cascading-nav-dropdown/index.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/index.js +3 -0
- package/dist/classification-tags/classification-tags.component.d.ts +32 -0
- package/dist/classification-tags/classification-tags.component.d.ts.map +1 -0
- package/dist/classification-tags/classification-tags.component.js +40 -0
- package/dist/classification-tags/index.d.ts +2 -0
- package/dist/classification-tags/index.d.ts.map +1 -0
- package/dist/classification-tags/index.js +1 -0
- package/dist/components/_breadcrumbs.scss +11 -0
- package/dist/components/_canvas.scss +8 -0
- package/dist/components/_general.scss +121 -0
- package/dist/components/_main-content.scss +24 -0
- package/dist/components/_panel-overrides.scss +150 -0
- package/dist/config-schema.d.ts +43 -0
- package/dist/config-schema.d.ts.map +1 -0
- package/dist/config-schema.js +107 -0
- package/dist/containers/folder-gallery/folder-gallery.component.d.ts +24 -0
- package/dist/containers/folder-gallery/folder-gallery.component.d.ts.map +1 -0
- package/dist/containers/folder-gallery/folder-gallery.component.js +168 -0
- package/dist/containers/folder-gallery/folder-gallery.module.scss +201 -0
- package/dist/containers/folder-gallery/folder-gallery.types.d.ts +27 -0
- package/dist/containers/folder-gallery/folder-gallery.types.d.ts.map +1 -0
- package/dist/containers/folder-gallery/folder-gallery.types.js +1 -0
- package/dist/containers/folder-gallery/index.d.ts +3 -0
- package/dist/containers/folder-gallery/index.d.ts.map +1 -0
- package/dist/containers/folder-gallery/index.js +2 -0
- package/dist/containers/index.d.ts +3 -0
- package/dist/containers/index.d.ts.map +1 -0
- package/dist/containers/index.js +8 -0
- package/dist/containers/layout-grid/index.d.ts +3 -0
- package/dist/containers/layout-grid/index.d.ts.map +1 -0
- package/dist/containers/layout-grid/index.js +2 -0
- package/dist/containers/layout-grid/layout-grid.component.d.ts +30 -0
- package/dist/containers/layout-grid/layout-grid.component.d.ts.map +1 -0
- package/dist/containers/layout-grid/layout-grid.component.js +152 -0
- package/dist/containers/layout-grid/layout-grid.module.scss +143 -0
- package/dist/containers/layout-grid/layout-grid.types.d.ts +19 -0
- package/dist/containers/layout-grid/layout-grid.types.d.ts.map +1 -0
- package/dist/containers/layout-grid/layout-grid.types.js +1 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts +24 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts.map +1 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.js +133 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.module.scss +38 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.stories.js +64 -0
- package/dist/custom-overflow-menu/index.d.ts +2 -0
- package/dist/custom-overflow-menu/index.d.ts.map +1 -0
- package/dist/custom-overflow-menu/index.js +1 -0
- package/dist/dashboard-extension/dashboard.module.scss +13 -0
- package/dist/dashboard-extension/index.d.ts +13 -0
- package/dist/dashboard-extension/index.d.ts.map +1 -0
- package/dist/dashboard-extension/index.js +59 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts +5 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts.map +1 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.js +24 -0
- package/dist/data-table-batch-actions/index.d.ts +2 -0
- package/dist/data-table-batch-actions/index.d.ts.map +1 -0
- package/dist/data-table-batch-actions/index.js +1 -0
- package/dist/datepicker/auto-close-dialog.component.d.ts +7 -0
- package/dist/datepicker/auto-close-dialog.component.d.ts.map +1 -0
- package/dist/datepicker/auto-close-dialog.component.js +16 -0
- package/dist/datepicker/calendar-popover.component.d.ts +28 -0
- package/dist/datepicker/calendar-popover.component.d.ts.map +1 -0
- package/dist/datepicker/calendar-popover.component.js +68 -0
- package/dist/datepicker/date-picker-icon.component.d.ts +9 -0
- package/dist/datepicker/date-picker-icon.component.d.ts.map +1 -0
- package/dist/datepicker/date-picker-icon.component.js +23 -0
- package/dist/datepicker/date-picker-input.component.d.ts +12 -0
- package/dist/datepicker/date-picker-input.component.d.ts.map +1 -0
- package/dist/datepicker/date-picker-input.component.js +70 -0
- package/dist/datepicker/date-range-picker.stories.js +44 -0
- package/dist/datepicker/date-segment.component.d.ts +11 -0
- package/dist/datepicker/date-segment.component.d.ts.map +1 -0
- package/dist/datepicker/date-segment.component.js +53 -0
- package/dist/datepicker/datepicker.module.scss +502 -0
- package/dist/datepicker/datepicker.stories.js +47 -0
- package/dist/datepicker/defaults.d.ts +10 -0
- package/dist/datepicker/defaults.d.ts.map +1 -0
- package/dist/datepicker/defaults.js +8 -0
- package/dist/datepicker/egen-date-picker.component.d.ts +27 -0
- package/dist/datepicker/egen-date-picker.component.d.ts.map +1 -0
- package/dist/datepicker/egen-date-picker.component.js +142 -0
- package/dist/datepicker/egen-date-range-picker.component.d.ts +22 -0
- package/dist/datepicker/egen-date-range-picker.component.d.ts.map +1 -0
- package/dist/datepicker/egen-date-range-picker.component.js +172 -0
- package/dist/datepicker/hooks.d.ts +911 -0
- package/dist/datepicker/hooks.d.ts.map +1 -0
- package/dist/datepicker/hooks.js +103 -0
- package/dist/datepicker/i18n-wrapper.component.d.ts +7 -0
- package/dist/datepicker/i18n-wrapper.component.d.ts.map +1 -0
- package/dist/datepicker/i18n-wrapper.component.js +8 -0
- package/dist/datepicker/index.d.ts +3 -0
- package/dist/datepicker/index.d.ts.map +1 -0
- package/dist/datepicker/index.js +2 -0
- package/dist/datepicker/month-year.component.d.ts +11 -0
- package/dist/datepicker/month-year.component.d.ts.map +1 -0
- package/dist/datepicker/month-year.component.js +80 -0
- package/dist/datepicker/types.d.ts +31 -0
- package/dist/datepicker/types.d.ts.map +1 -0
- package/dist/datepicker/types.js +3 -0
- package/dist/datepicker/utils.d.ts +16 -0
- package/dist/datepicker/utils.d.ts.map +1 -0
- package/dist/datepicker/utils.js +35 -0
- package/dist/declarations.d.js +0 -0
- package/dist/dialogs/card-modal/card-modal.animations.d.ts +5 -0
- package/dist/dialogs/card-modal/card-modal.animations.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.animations.js +102 -0
- package/dist/dialogs/card-modal/card-modal.component.d.ts +40 -0
- package/dist/dialogs/card-modal/card-modal.component.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.component.js +284 -0
- package/dist/dialogs/card-modal/card-modal.module.scss +103 -0
- package/dist/dialogs/card-modal/card-modal.types.d.ts +64 -0
- package/dist/dialogs/card-modal/card-modal.types.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.types.js +1 -0
- package/dist/dialogs/card-modal/index.d.ts +4 -0
- package/dist/dialogs/card-modal/index.d.ts.map +1 -0
- package/dist/dialogs/card-modal/index.js +3 -0
- package/dist/dialogs/index.d.ts +2 -0
- package/dist/dialogs/index.d.ts.map +1 -0
- package/dist/dialogs/index.js +12 -0
- package/dist/empty-card/empty-card-registration.d.ts +2 -0
- package/dist/empty-card/empty-card-registration.d.ts.map +1 -0
- package/dist/empty-card/empty-card-registration.js +5 -0
- package/dist/empty-card/empty-card.component.d.ts +18 -0
- package/dist/empty-card/empty-card.component.d.ts.map +1 -0
- package/dist/empty-card/empty-card.component.js +52 -0
- package/dist/empty-card/empty-card.module.scss +27 -0
- package/dist/empty-card/empty-card.stories.js +23 -0
- package/dist/empty-card/empty-data-illustration.svg +1 -0
- package/dist/empty-card/index.d.ts +2 -0
- package/dist/empty-card/index.d.ts.map +1 -0
- package/dist/empty-card/index.js +1 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts +19 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts.map +1 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.js +137 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.module.scss +23 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts +9 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.js +207 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.module.scss +47 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts +12 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.js +15 -0
- package/dist/entity-banner/contact-details/types.d.ts +48 -0
- package/dist/entity-banner/contact-details/types.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/types.js +1 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts +14 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.js +12 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts +11 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.js +9 -0
- package/dist/entity-banner/contact-details/useRelationships.d.ts +35 -0
- package/dist/entity-banner/contact-details/useRelationships.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useRelationships.js +37 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts +9 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts.map +1 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.js +77 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts +9 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts.map +1 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.js +72 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.module.scss +165 -0
- package/dist/entity-banner/index.d.ts +5 -0
- package/dist/entity-banner/index.d.ts.map +1 -0
- package/dist/entity-banner/index.js +4 -0
- package/dist/entity-photo/entity-photo.component.d.ts +21 -0
- package/dist/entity-photo/entity-photo.component.d.ts.map +1 -0
- package/dist/entity-photo/entity-photo.component.js +111 -0
- package/dist/entity-photo/entity-photo.module.scss +21 -0
- package/dist/entity-photo/index.d.ts +3 -0
- package/dist/entity-photo/index.d.ts.map +1 -0
- package/dist/entity-photo/index.js +2 -0
- package/dist/entity-photo/placeholder-icon.component.d.ts +9 -0
- package/dist/entity-photo/placeholder-icon.component.d.ts.map +1 -0
- package/dist/entity-photo/placeholder-icon.component.js +26 -0
- package/dist/entity-photo/useEntityPhoto.d.ts +29 -0
- package/dist/entity-photo/useEntityPhoto.d.ts.map +1 -0
- package/dist/entity-photo/useEntityPhoto.js +37 -0
- package/dist/error-state/error-state.component.d.ts +11 -0
- package/dist/error-state/error-state.component.d.ts.map +1 -0
- package/dist/error-state/error-state.component.js +32 -0
- package/dist/error-state/error-state.module.scss +21 -0
- package/dist/error-state/error-state.stories.js +32 -0
- package/dist/error-state/index.d.ts +2 -0
- package/dist/error-state/index.d.ts.map +1 -0
- package/dist/error-state/index.js +1 -0
- package/dist/fields/dynamic-field.component.d.ts +39 -0
- package/dist/fields/dynamic-field.component.d.ts.map +1 -0
- package/dist/fields/dynamic-field.component.js +169 -0
- package/dist/fields/dynamic-field.module.scss +474 -0
- package/dist/fields/dynamic-field.stories.js +103 -0
- package/dist/fields/dynamic-field.types.d.ts +70 -0
- package/dist/fields/dynamic-field.types.d.ts.map +1 -0
- package/dist/fields/dynamic-field.types.js +7 -0
- package/dist/fields/field-icon.component.d.ts +11 -0
- package/dist/fields/field-icon.component.d.ts.map +1 -0
- package/dist/fields/field-icon.component.js +16 -0
- package/dist/fields/index.d.ts +3 -0
- package/dist/fields/index.d.ts.map +1 -0
- package/dist/fields/index.js +2 -0
- package/dist/fields/kinetic-label.component.d.ts +16 -0
- package/dist/fields/kinetic-label.component.d.ts.map +1 -0
- package/dist/fields/kinetic-label.component.js +53 -0
- package/dist/fields/use-field-validation.hook.d.ts +12 -0
- package/dist/fields/use-field-validation.hook.d.ts.map +1 -0
- package/dist/fields/use-field-validation.hook.js +72 -0
- package/dist/fields/validation-icon.component.d.ts +10 -0
- package/dist/fields/validation-icon.component.d.ts.map +1 -0
- package/dist/fields/validation-icon.component.js +40 -0
- package/dist/glass-card/index.d.ts +3 -0
- package/dist/glass-card/index.d.ts.map +1 -0
- package/dist/glass-card/index.js +2 -0
- package/dist/glass-card/liquid-glass-card.component.d.ts +23 -0
- package/dist/glass-card/liquid-glass-card.component.d.ts.map +1 -0
- package/dist/glass-card/liquid-glass-card.component.js +175 -0
- package/dist/glass-card/liquid-glass-card.module.scss +154 -0
- package/dist/glass-card/liquid-glass-card.types.d.ts +27 -0
- package/dist/glass-card/liquid-glass-card.types.d.ts.map +1 -0
- package/dist/glass-card/liquid-glass-card.types.js +1 -0
- package/dist/icons/error-filled.icon.d.ts +18 -0
- package/dist/icons/error-filled.icon.d.ts.map +1 -0
- package/dist/icons/error-filled.icon.js +22 -0
- package/dist/icons/icon-registration.d.ts +2 -0
- package/dist/icons/icon-registration.d.ts.map +1 -0
- package/dist/icons/icon-registration.js +191 -0
- package/dist/icons/icons.d.ts +334 -0
- package/dist/icons/icons.d.ts.map +1 -0
- package/dist/icons/icons.js +916 -0
- package/dist/icons/icons.module.scss +5 -0
- package/dist/icons/icons.stories.js +61 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/svgs/activity.svg +1 -0
- package/dist/icons/svgs/add.svg +1 -0
- package/dist/icons/svgs/arrow-down.svg +1 -0
- package/dist/icons/svgs/arrow-left.svg +1 -0
- package/dist/icons/svgs/arrow-right.svg +1 -0
- package/dist/icons/svgs/arrow-up.svg +1 -0
- package/dist/icons/svgs/baby.svg +1 -0
- package/dist/icons/svgs/calendar--heat-map.svg +1 -0
- package/dist/icons/svgs/calendar.svg +1 -0
- package/dist/icons/svgs/caret-down.svg +1 -0
- package/dist/icons/svgs/caret-left.svg +1 -0
- package/dist/icons/svgs/caret-right.svg +1 -0
- package/dist/icons/svgs/caret-up.svg +1 -0
- package/dist/icons/svgs/chart-average.svg +1 -0
- package/dist/icons/svgs/chart-line.svg +1 -0
- package/dist/icons/svgs/checkmark--filled.svg +1 -0
- package/dist/icons/svgs/checkmark--outline.svg +1 -0
- package/dist/icons/svgs/chemistry.svg +1 -0
- package/dist/icons/svgs/chevron-down.svg +1 -0
- package/dist/icons/svgs/chevron-left.svg +1 -0
- package/dist/icons/svgs/chevron-right.svg +1 -0
- package/dist/icons/svgs/chevron-up.svg +1 -0
- package/dist/icons/svgs/close--filled.svg +1 -0
- package/dist/icons/svgs/close--outline.svg +1 -0
- package/dist/icons/svgs/close.svg +1 -0
- package/dist/icons/svgs/document-attachment.svg +1 -0
- package/dist/icons/svgs/document.svg +1 -0
- package/dist/icons/svgs/download.svg +1 -0
- package/dist/icons/svgs/drug-order.svg +1 -0
- package/dist/icons/svgs/edit.svg +1 -0
- package/dist/icons/svgs/event-schedule.svg +1 -0
- package/dist/icons/svgs/events.svg +1 -0
- package/dist/icons/svgs/gender-female.svg +1 -0
- package/dist/icons/svgs/gender-male.svg +1 -0
- package/dist/icons/svgs/gender-other.svg +1 -0
- package/dist/icons/svgs/gender-unknown.svg +1 -0
- package/dist/icons/svgs/generic-order-type.svg +1 -0
- package/dist/icons/svgs/group-access.svg +1 -0
- package/dist/icons/svgs/group.svg +1 -0
- package/dist/icons/svgs/hospital-bed.svg +1 -0
- package/dist/icons/svgs/image-medical.svg +1 -0
- package/dist/icons/svgs/information--filled.svg +1 -0
- package/dist/icons/svgs/information--square.svg +1 -0
- package/dist/icons/svgs/information.svg +1 -0
- package/dist/icons/svgs/inventory-management.svg +1 -0
- package/dist/icons/svgs/lab-order.svg +1 -0
- package/dist/icons/svgs/list-checked.svg +1 -0
- package/dist/icons/svgs/location.svg +1 -0
- package/dist/icons/svgs/material-order.svg +1 -0
- package/dist/icons/svgs/maximize.svg +1 -0
- package/dist/icons/svgs/medication.svg +1 -0
- package/dist/icons/svgs/message-queue.svg +1 -0
- package/dist/icons/svgs/microscope.svg +1 -0
- package/dist/icons/svgs/money.svg +1 -0
- package/dist/icons/svgs/mother.svg +1 -0
- package/dist/icons/svgs/movement.svg +1 -0
- package/dist/icons/svgs/overflow-menu--horizontal.svg +1 -0
- package/dist/icons/svgs/overflow-menu--vertical.svg +1 -0
- package/dist/icons/svgs/password.svg +1 -0
- package/dist/icons/svgs/pedestrian-family.svg +1 -0
- package/dist/icons/svgs/pen.svg +1 -0
- package/dist/icons/svgs/printer.svg +1 -0
- package/dist/icons/svgs/procedure-order.svg +1 -0
- package/dist/icons/svgs/programs.svg +1 -0
- package/dist/icons/svgs/referral-order.svg +1 -0
- package/dist/icons/svgs/renew.svg +1 -0
- package/dist/icons/svgs/report.svg +1 -0
- package/dist/icons/svgs/reset.svg +1 -0
- package/dist/icons/svgs/save.svg +1 -0
- package/dist/icons/svgs/search.svg +1 -0
- package/dist/icons/svgs/settings.svg +1 -0
- package/dist/icons/svgs/shopping-cart--arrow-down.svg +1 -0
- package/dist/icons/svgs/shopping-cart.svg +1 -0
- package/dist/icons/svgs/sticky-note-add.svg +1 -0
- package/dist/icons/svgs/switcher.svg +1 -0
- package/dist/icons/svgs/syringe.svg +1 -0
- package/dist/icons/svgs/table-of-contents.svg +1 -0
- package/dist/icons/svgs/table.svg +1 -0
- package/dist/icons/svgs/time.svg +1 -0
- package/dist/icons/svgs/tools.svg +1 -0
- package/dist/icons/svgs/translate.svg +1 -0
- package/dist/icons/svgs/trash-can.svg +1 -0
- package/dist/icons/svgs/tree-view--alt.svg +1 -0
- package/dist/icons/svgs/user-avatar.svg +1 -0
- package/dist/icons/svgs/user-follow.svg +1 -0
- package/dist/icons/svgs/user-xray.svg +1 -0
- package/dist/icons/svgs/user.svg +1 -0
- package/dist/icons/svgs/view-off.svg +1 -0
- package/dist/icons/svgs/view.svg +1 -0
- package/dist/icons/svgs/warning.svg +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +26 -0
- package/dist/internal.d.ts +43 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +42 -0
- package/dist/left-nav/index.d.ts +24 -0
- package/dist/left-nav/index.d.ts.map +1 -0
- package/dist/left-nav/index.js +58 -0
- package/dist/left-nav/left-nav.module.scss +43 -0
- package/dist/location-picker/index.d.ts +2 -0
- package/dist/location-picker/index.d.ts.map +1 -0
- package/dist/location-picker/index.js +1 -0
- package/dist/location-picker/location-picker.component.d.ts +11 -0
- package/dist/location-picker/location-picker.component.d.ts.map +1 -0
- package/dist/location-picker/location-picker.component.js +114 -0
- package/dist/location-picker/location-picker.module.scss +71 -0
- package/dist/location-picker/location-picker.resource.d.ts +53 -0
- package/dist/location-picker/location-picker.resource.d.ts.map +1 -0
- package/dist/location-picker/location-picker.resource.js +98 -0
- package/dist/logo/_logo.scss +34 -0
- package/dist/logo/egen-logo-full.svg +1 -0
- package/dist/logo/egen-logo-icon.svg +1 -0
- package/dist/logo/egen-logo-partial.svg +1 -0
- package/dist/logo/egen-logo-white.svg +1 -0
- package/dist/logo/index.d.ts +8 -0
- package/dist/logo/index.d.ts.map +1 -0
- package/dist/logo/index.js +22 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.d.ts +30 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.js +327 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.module.scss +335 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.d.ts +37 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.js +1 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.d.ts +9 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.js +16 -0
- package/dist/master-detail/entity-detail-browser/index.d.ts +4 -0
- package/dist/master-detail/entity-detail-browser/index.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/index.js +3 -0
- package/dist/master-detail/index.d.ts +2 -0
- package/dist/master-detail/index.d.ts.map +1 -0
- package/dist/master-detail/index.js +7 -0
- package/dist/modals/_modals.scss +13 -0
- package/dist/modals/index.d.ts +26 -0
- package/dist/modals/index.d.ts.map +1 -0
- package/dist/modals/index.js +173 -0
- package/dist/notifications/_actionable-notifications.scss +23 -0
- package/dist/notifications/_notifications.scss +22 -0
- package/dist/notifications/actionable-notification.component.d.ts +21 -0
- package/dist/notifications/actionable-notification.component.d.ts.map +1 -0
- package/dist/notifications/actionable-notification.component.js +26 -0
- package/dist/notifications/actionable-notification.stories.js +48 -0
- package/dist/notifications/active-actionable-notifications.component.d.ts +9 -0
- package/dist/notifications/active-actionable-notifications.component.d.ts.map +1 -0
- package/dist/notifications/active-actionable-notifications.component.js +21 -0
- package/dist/notifications/active-notifications.component.d.ts +9 -0
- package/dist/notifications/active-notifications.component.d.ts.map +1 -0
- package/dist/notifications/active-notifications.component.js +21 -0
- package/dist/notifications/index.d.ts +20 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +78 -0
- package/dist/notifications/notification.component.d.ts +20 -0
- package/dist/notifications/notification.component.d.ts.map +1 -0
- package/dist/notifications/notification.component.js +15 -0
- package/dist/notifications/notification.stories.js +54 -0
- package/dist/numeric-datapoint/index.d.ts +4 -0
- package/dist/numeric-datapoint/index.d.ts.map +1 -0
- package/dist/numeric-datapoint/index.js +3 -0
- package/dist/numeric-datapoint/interpretation-utils.d.ts +27 -0
- package/dist/numeric-datapoint/interpretation-utils.d.ts.map +1 -0
- package/dist/numeric-datapoint/interpretation-utils.js +66 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts +44 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts.map +1 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.js +110 -0
- package/dist/numeric-datapoint/numeric-datapoint.module.scss +141 -0
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts +13 -0
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts.map +1 -0
- package/dist/numeric-datapoint/use-concept-reference-range.js +31 -0
- package/dist/page-header/index.d.ts +2 -0
- package/dist/page-header/index.d.ts.map +1 -0
- package/dist/page-header/index.js +1 -0
- package/dist/page-header/page-header.component.d.ts +61 -0
- package/dist/page-header/page-header.component.d.ts.map +1 -0
- package/dist/page-header/page-header.component.js +89 -0
- package/dist/page-header/page-header.module.scss +28 -0
- package/dist/page-header/page-header.stories.js +21 -0
- package/dist/pagination/index.d.ts +2 -0
- package/dist/pagination/index.d.ts.map +1 -0
- package/dist/pagination/index.js +1 -0
- package/dist/pagination/pagination.component.d.ts +23 -0
- package/dist/pagination/pagination.component.d.ts.map +1 -0
- package/dist/pagination/pagination.component.js +49 -0
- package/dist/pagination/pagination.module.scss +66 -0
- package/dist/pagination/pagination.stories.js +45 -0
- package/dist/pictograms/index.d.ts +2 -0
- package/dist/pictograms/index.d.ts.map +1 -0
- package/dist/pictograms/index.js +1 -0
- package/dist/pictograms/pictogram-registration.d.ts +2 -0
- package/dist/pictograms/pictogram-registration.d.ts.map +1 -0
- package/dist/pictograms/pictogram-registration.js +62 -0
- package/dist/pictograms/pictograms.d.ts +66 -0
- package/dist/pictograms/pictograms.d.ts.map +1 -0
- package/dist/pictograms/pictograms.js +281 -0
- package/dist/pictograms/pictograms.module.scss +5 -0
- package/dist/pictograms/pictograms.stories.js +47 -0
- package/dist/pictograms/svgs/appointments.svg +1 -0
- package/dist/pictograms/svgs/assessment-1.svg +1 -0
- package/dist/pictograms/svgs/assessment-2.svg +1 -0
- package/dist/pictograms/svgs/blood-bank.svg +1 -0
- package/dist/pictograms/svgs/cardiology.svg +1 -0
- package/dist/pictograms/svgs/ct-scan.svg +1 -0
- package/dist/pictograms/svgs/dentistry.svg +1 -0
- package/dist/pictograms/svgs/emergency-department.svg +1 -0
- package/dist/pictograms/svgs/facility.svg +1 -0
- package/dist/pictograms/svgs/geriatrics.svg +1 -0
- package/dist/pictograms/svgs/gynaecology.svg +1 -0
- package/dist/pictograms/svgs/in-patient.svg +1 -0
- package/dist/pictograms/svgs/inventory.svg +1 -0
- package/dist/pictograms/svgs/labs-2.svg +1 -0
- package/dist/pictograms/svgs/labs.svg +1 -0
- package/dist/pictograms/svgs/obstetrics.svg +1 -0
- package/dist/pictograms/svgs/patient-search.svg +1 -0
- package/dist/pictograms/svgs/patients.svg +1 -0
- package/dist/pictograms/svgs/payments-desk.svg +1 -0
- package/dist/pictograms/svgs/pharmacy-1.svg +1 -0
- package/dist/pictograms/svgs/pharmacy-2.svg +1 -0
- package/dist/pictograms/svgs/registration.svg +1 -0
- package/dist/pictograms/svgs/service-queues.svg +1 -0
- package/dist/pictograms/svgs/transfer.svg +1 -0
- package/dist/pictograms/svgs/triage.svg +1 -0
- package/dist/pictograms/svgs/x-ray.svg +1 -0
- package/dist/public.d.ts +38 -0
- package/dist/public.d.ts.map +1 -0
- package/dist/public.js +34 -0
- package/dist/responsive-wrapper/index.d.ts +2 -0
- package/dist/responsive-wrapper/index.d.ts.map +1 -0
- package/dist/responsive-wrapper/index.js +1 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.d.ts +12 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.d.ts.map +1 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.js +20 -0
- package/dist/responsive-wrapper/responsive-wrapper.stories.js +28 -0
- package/dist/selections/index.d.ts +3 -0
- package/dist/selections/index.d.ts.map +1 -0
- package/dist/selections/index.js +8 -0
- package/dist/selections/interactive-selector/index.d.ts +3 -0
- package/dist/selections/interactive-selector/index.d.ts.map +1 -0
- package/dist/selections/interactive-selector/index.js +2 -0
- package/dist/selections/interactive-selector/interactive-selector.component.d.ts +37 -0
- package/dist/selections/interactive-selector/interactive-selector.component.d.ts.map +1 -0
- package/dist/selections/interactive-selector/interactive-selector.component.js +154 -0
- package/dist/selections/interactive-selector/interactive-selector.module.scss +212 -0
- package/dist/selections/interactive-selector/interactive-selector.types.d.ts +32 -0
- package/dist/selections/interactive-selector/interactive-selector.types.d.ts.map +1 -0
- package/dist/selections/interactive-selector/interactive-selector.types.js +1 -0
- package/dist/selections/select-popover/index.d.ts +5 -0
- package/dist/selections/select-popover/index.d.ts.map +1 -0
- package/dist/selections/select-popover/index.js +4 -0
- package/dist/selections/select-popover/select-avatar.component.d.ts +9 -0
- package/dist/selections/select-popover/select-avatar.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-avatar.component.js +19 -0
- package/dist/selections/select-popover/select-content.component.d.ts +5 -0
- package/dist/selections/select-popover/select-content.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-content.component.js +198 -0
- package/dist/selections/select-popover/select-popover.module.scss +230 -0
- package/dist/selections/select-popover/select-popover.types.d.ts +56 -0
- package/dist/selections/select-popover/select-popover.types.d.ts.map +1 -0
- package/dist/selections/select-popover/select-popover.types.js +9 -0
- package/dist/selections/select-popover/select-trigger.component.d.ts +5 -0
- package/dist/selections/select-popover/select-trigger.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-trigger.component.js +46 -0
- package/dist/selections/select-popover/select.component.d.ts +19 -0
- package/dist/selections/select-popover/select.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select.component.js +61 -0
- package/dist/sheet/index.d.ts +15 -0
- package/dist/sheet/index.d.ts.map +1 -0
- package/dist/sheet/index.js +13 -0
- package/dist/sheet/sheet-content.component.d.ts +21 -0
- package/dist/sheet/sheet-content.component.d.ts.map +1 -0
- package/dist/sheet/sheet-content.component.js +224 -0
- package/dist/sheet/sheet-overlay.component.d.ts +8 -0
- package/dist/sheet/sheet-overlay.component.d.ts.map +1 -0
- package/dist/sheet/sheet-overlay.component.js +36 -0
- package/dist/sheet/sheet-parts.component.d.ts +23 -0
- package/dist/sheet/sheet-parts.component.d.ts.map +1 -0
- package/dist/sheet/sheet-parts.component.js +20 -0
- package/dist/sheet/sheet-portal.component.d.ts +9 -0
- package/dist/sheet/sheet-portal.component.d.ts.map +1 -0
- package/dist/sheet/sheet-portal.component.js +17 -0
- package/dist/sheet/sheet-root.component.d.ts +25 -0
- package/dist/sheet/sheet-root.component.d.ts.map +1 -0
- package/dist/sheet/sheet-root.component.js +36 -0
- package/dist/sheet/sheet-trigger.component.d.ts +15 -0
- package/dist/sheet/sheet-trigger.component.d.ts.map +1 -0
- package/dist/sheet/sheet-trigger.component.js +45 -0
- package/dist/sheet/sheet.context.d.ts +16 -0
- package/dist/sheet/sheet.context.d.ts.map +1 -0
- package/dist/sheet/sheet.context.js +9 -0
- package/dist/sheet/sheet.module.scss +143 -0
- package/dist/snackbars/_snackbars.scss +31 -0
- package/dist/snackbars/active-snackbar.component.d.ts +10 -0
- package/dist/snackbars/active-snackbar.component.d.ts.map +1 -0
- package/dist/snackbars/active-snackbar.component.js +25 -0
- package/dist/snackbars/index.d.ts +14 -0
- package/dist/snackbars/index.d.ts.map +1 -0
- package/dist/snackbars/index.js +37 -0
- package/dist/snackbars/snackbar.component.d.ts +23 -0
- package/dist/snackbars/snackbar.component.d.ts.map +1 -0
- package/dist/snackbars/snackbar.component.js +64 -0
- package/dist/snackbars/snackbar.module.scss +30 -0
- package/dist/snackbars/snackbar.stories.js +68 -0
- package/dist/spinner/_spinner.scss +14 -0
- package/dist/spinner/index.d.ts +3 -0
- package/dist/spinner/index.d.ts.map +1 -0
- package/dist/spinner/index.js +10 -0
- package/dist/staggered-menu/index.d.ts +3 -0
- package/dist/staggered-menu/index.d.ts.map +1 -0
- package/dist/staggered-menu/index.js +2 -0
- package/dist/staggered-menu/menu-toggle-button.component.d.ts +22 -0
- package/dist/staggered-menu/menu-toggle-button.component.d.ts.map +1 -0
- package/dist/staggered-menu/menu-toggle-button.component.js +235 -0
- package/dist/staggered-menu/staggered-menu-panel.component.d.ts +57 -0
- package/dist/staggered-menu/staggered-menu-panel.component.d.ts.map +1 -0
- package/dist/staggered-menu/staggered-menu-panel.component.js +389 -0
- package/dist/svg-utils.d.ts +17 -0
- package/dist/svg-utils.d.ts.map +1 -0
- package/dist/svg-utils.js +69 -0
- package/dist/test-utils.d.ts +7 -0
- package/dist/test-utils.d.ts.map +1 -0
- package/dist/test-utils.js +17 -0
- package/dist/toasts/_toasts.scss +22 -0
- package/dist/toasts/active-toasts.component.d.ts +10 -0
- package/dist/toasts/active-toasts.component.d.ts.map +1 -0
- package/dist/toasts/active-toasts.component.js +27 -0
- package/dist/toasts/index.d.ts +14 -0
- package/dist/toasts/index.d.ts.map +1 -0
- package/dist/toasts/index.js +39 -0
- package/dist/toasts/toast-kind.config.d.ts +15 -0
- package/dist/toasts/toast-kind.config.d.ts.map +1 -0
- package/dist/toasts/toast-kind.config.js +33 -0
- package/dist/toasts/toast-progress-bar.component.d.ts +13 -0
- package/dist/toasts/toast-progress-bar.component.d.ts.map +1 -0
- package/dist/toasts/toast-progress-bar.component.js +36 -0
- package/dist/toasts/toast.component.d.ts +24 -0
- package/dist/toasts/toast.component.d.ts.map +1 -0
- package/dist/toasts/toast.component.js +175 -0
- package/dist/toasts/toast.module.scss +181 -0
- package/dist/toasts/toast.stories.js +112 -0
- package/dist/toasts/toast.types.d.ts +45 -0
- package/dist/toasts/toast.types.d.ts.map +1 -0
- package/dist/toasts/toast.types.js +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +17 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.d.ts +16 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.d.ts.map +1 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.js +79 -0
- package/dist/workspaces/action-menu-button/action-menu-button.module.scss +111 -0
- package/dist/workspaces/container/action-menu.component.d.ts +10 -0
- package/dist/workspaces/container/action-menu.component.d.ts.map +1 -0
- package/dist/workspaces/container/action-menu.component.js +40 -0
- package/dist/workspaces/container/action-menu.module.scss +89 -0
- package/dist/workspaces/container/workspace-container.component.d.ts +68 -0
- package/dist/workspaces/container/workspace-container.component.d.ts.map +1 -0
- package/dist/workspaces/container/workspace-container.component.js +227 -0
- package/dist/workspaces/container/workspace-renderer.component.d.ts +9 -0
- package/dist/workspaces/container/workspace-renderer.component.d.ts.map +1 -0
- package/dist/workspaces/container/workspace-renderer.component.js +46 -0
- package/dist/workspaces/container/workspace.module.scss +276 -0
- package/dist/workspaces/index.d.ts +6 -0
- package/dist/workspaces/index.d.ts.map +1 -0
- package/dist/workspaces/index.js +5 -0
- package/dist/workspaces/notification/workspace-notification.component.d.ts +7 -0
- package/dist/workspaces/notification/workspace-notification.component.d.ts.map +1 -0
- package/dist/workspaces/notification/workspace-notification.component.js +89 -0
- package/dist/workspaces/notification/workspace-notification.module.scss +5 -0
- package/dist/workspaces/public.d.ts +5 -0
- package/dist/workspaces/public.d.ts.map +1 -0
- package/dist/workspaces/public.js +3 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.d.ts +12 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.d.ts.map +1 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.js +38 -0
- package/dist/workspaces/workspaces.d.ts +254 -0
- package/dist/workspaces/workspaces.d.ts.map +1 -0
- package/dist/workspaces/workspaces.js +504 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.d.ts +38 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.d.ts.map +1 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.js +112 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.module.scss +113 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.d.ts +17 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.d.ts.map +1 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.js +46 -0
- package/dist/workspaces2/action-menu2/action-menu2.module.scss +87 -0
- package/dist/workspaces2/active-workspace-window.component.d.ts +12 -0
- package/dist/workspaces2/active-workspace-window.component.d.ts.map +1 -0
- package/dist/workspaces2/active-workspace-window.component.js +150 -0
- package/dist/workspaces2/index.d.ts +4 -0
- package/dist/workspaces2/index.d.ts.map +1 -0
- package/dist/workspaces2/index.js +3 -0
- package/dist/workspaces2/scope-utils.d.ts +10 -0
- package/dist/workspaces2/scope-utils.d.ts.map +1 -0
- package/dist/workspaces2/scope-utils.js +30 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.d.ts +2 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.d.ts.map +1 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.js +82 -0
- package/dist/workspaces2/workspace-windows-and-menu.module.scss +32 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.d.ts +12 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.d.ts.map +1 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.js +45 -0
- package/dist/workspaces2/workspace2-close-prompt.module.scss +8 -0
- package/dist/workspaces2/workspace2.component.d.ts +51 -0
- package/dist/workspaces2/workspace2.component.d.ts.map +1 -0
- package/dist/workspaces2/workspace2.component.js +160 -0
- package/dist/workspaces2/workspace2.d.ts +187 -0
- package/dist/workspaces2/workspace2.d.ts.map +1 -0
- package/dist/workspaces2/workspace2.js +566 -0
- package/dist/workspaces2/workspace2.module.scss +228 -0
- package/mock-jest.tsx +220 -0
- package/mock.tsx +222 -0
- package/package.json +146 -0
- package/src/_vars.scss +111 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** @category Fields */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface KineticLabelProps {
|
|
4
|
+
label: string;
|
|
5
|
+
active: boolean;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Label dont chaque lettre s'anime individuellement (décalage vertical +
|
|
10
|
+
* changement de couleur, en cascade via `staggerChildren`) lorsque le champ
|
|
11
|
+
* est actif (focus ou déjà rempli) — utilisé par `DynamicField`
|
|
12
|
+
* `variant="kinetic"`.
|
|
13
|
+
*/
|
|
14
|
+
export declare const KineticLabel: React.FC<KineticLabelProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=kinetic-label.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kinetic-label.component.d.ts","sourceRoot":"","sources":["../../src/fields/kinetic-label.component.tsx"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,OAAO,KAAK,MAAM,OAAO,CAAC;AAuB1B,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAepD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** @category Fields */ import React from "react";
|
|
3
|
+
import { motion } from "framer-motion";
|
|
4
|
+
import styles from "./dynamic-field.module.scss";
|
|
5
|
+
const containerVariants = {
|
|
6
|
+
initial: {},
|
|
7
|
+
animate: {
|
|
8
|
+
transition: {
|
|
9
|
+
staggerChildren: 0.05
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const letterVariants = {
|
|
14
|
+
initial: {
|
|
15
|
+
y: 0,
|
|
16
|
+
color: 'var(--colors-surface-foreground)'
|
|
17
|
+
},
|
|
18
|
+
animate: {
|
|
19
|
+
y: '-120%',
|
|
20
|
+
color: 'var(--colors-surface-muted-foreground)',
|
|
21
|
+
transition: {
|
|
22
|
+
type: 'spring',
|
|
23
|
+
stiffness: 300,
|
|
24
|
+
damping: 20
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Label dont chaque lettre s'anime individuellement (décalage vertical +
|
|
30
|
+
* changement de couleur, en cascade via `staggerChildren`) lorsque le champ
|
|
31
|
+
* est actif (focus ou déjà rempli) — utilisé par `DynamicField`
|
|
32
|
+
* `variant="kinetic"`.
|
|
33
|
+
*/ export const KineticLabel = ({ label, active, required })=>/*#__PURE__*/ _jsxs(motion.span, {
|
|
34
|
+
className: styles.kineticLabel,
|
|
35
|
+
variants: containerVariants,
|
|
36
|
+
initial: "initial",
|
|
37
|
+
animate: active ? 'animate' : 'initial',
|
|
38
|
+
"aria-hidden": "true",
|
|
39
|
+
children: [
|
|
40
|
+
label.split('').map((char, index)=>/*#__PURE__*/ _jsx(motion.span, {
|
|
41
|
+
className: styles.kineticLetter,
|
|
42
|
+
variants: letterVariants,
|
|
43
|
+
style: {
|
|
44
|
+
willChange: 'transform'
|
|
45
|
+
},
|
|
46
|
+
children: char === ' ' ? '\u00A0' : char
|
|
47
|
+
}, index)),
|
|
48
|
+
required && /*#__PURE__*/ _jsx("span", {
|
|
49
|
+
className: styles.requiredMark,
|
|
50
|
+
children: " *"
|
|
51
|
+
})
|
|
52
|
+
]
|
|
53
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ValidationConfig, ValidationRule } from './dynamic-field.types.js';
|
|
2
|
+
export interface UseFieldValidationResult {
|
|
3
|
+
currentValidation: ValidationRule | null;
|
|
4
|
+
isAnimating: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Évalue en temps réel la première règle en échec (ou la règle de succès) parmi
|
|
8
|
+
* `validation.rules`, déclenche une micro-vibration (si supportée et autorisée)
|
|
9
|
+
* lors d'un changement de sévérité, et notifie `onValidationChange`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useFieldValidation(inputValue: string, validation: ValidationConfig, onValidationChange?: (validation: ValidationRule | null) => void): UseFieldValidationResult;
|
|
12
|
+
//# sourceMappingURL=use-field-validation.hook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-field-validation.hook.d.ts","sourceRoot":"","sources":["../../src/fields/use-field-validation.hook.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAsB,MAAM,0BAA0B,CAAC;AAQrG,MAAM,WAAW,wBAAwB;IACvC,iBAAiB,EAAE,cAAc,GAAG,IAAI,CAAC;IACzC,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,gBAAgB,EAC5B,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,GAC/D,wBAAwB,CAqD1B"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/** @category Fields */ import { useEffect, useState } from "react";
|
|
2
|
+
const vibrationPatterns = {
|
|
3
|
+
error: [
|
|
4
|
+
100,
|
|
5
|
+
50,
|
|
6
|
+
100
|
|
7
|
+
],
|
|
8
|
+
warning: [
|
|
9
|
+
50,
|
|
10
|
+
30,
|
|
11
|
+
50
|
|
12
|
+
],
|
|
13
|
+
success: [
|
|
14
|
+
30
|
|
15
|
+
]
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Évalue en temps réel la première règle en échec (ou la règle de succès) parmi
|
|
19
|
+
* `validation.rules`, déclenche une micro-vibration (si supportée et autorisée)
|
|
20
|
+
* lors d'un changement de sévérité, et notifie `onValidationChange`.
|
|
21
|
+
*/ export function useFieldValidation(inputValue, validation, onValidationChange) {
|
|
22
|
+
const [currentValidation, setCurrentValidation] = useState(null);
|
|
23
|
+
const [isAnimating, setIsAnimating] = useState(false);
|
|
24
|
+
const triggerVibration = (type)=>{
|
|
25
|
+
if (!validation.triggerVibration) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
setIsAnimating(true);
|
|
29
|
+
if (typeof navigator !== 'undefined' && navigator.vibrate) {
|
|
30
|
+
navigator.vibrate(vibrationPatterns[type]);
|
|
31
|
+
}
|
|
32
|
+
setTimeout(()=>setIsAnimating(false), 600);
|
|
33
|
+
};
|
|
34
|
+
useEffect(()=>{
|
|
35
|
+
if (!validation.realTimeValidation || !inputValue || validation.rules.length === 0) {
|
|
36
|
+
setCurrentValidation(null);
|
|
37
|
+
onValidationChange?.(null);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
const failedRule = validation.rules.find((rule)=>!rule.regex.test(inputValue));
|
|
41
|
+
if (failedRule) {
|
|
42
|
+
if (currentValidation?.type !== failedRule.type) {
|
|
43
|
+
triggerVibration(failedRule.type);
|
|
44
|
+
}
|
|
45
|
+
setCurrentValidation(failedRule);
|
|
46
|
+
onValidationChange?.(failedRule);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const successRule = validation.rules.find((rule)=>rule.type === 'success' && rule.regex.test(inputValue));
|
|
50
|
+
if (successRule) {
|
|
51
|
+
if (currentValidation?.type !== 'success') {
|
|
52
|
+
triggerVibration('success');
|
|
53
|
+
}
|
|
54
|
+
setCurrentValidation(successRule);
|
|
55
|
+
onValidationChange?.(successRule);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
setCurrentValidation(null);
|
|
59
|
+
onValidationChange?.(null);
|
|
60
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
61
|
+
}, [
|
|
62
|
+
inputValue,
|
|
63
|
+
validation.rules,
|
|
64
|
+
validation.realTimeValidation,
|
|
65
|
+
currentValidation?.type,
|
|
66
|
+
onValidationChange
|
|
67
|
+
]);
|
|
68
|
+
return {
|
|
69
|
+
currentValidation,
|
|
70
|
+
isAnimating
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @category Fields */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { ValidationRule } from './dynamic-field.types.js';
|
|
4
|
+
interface ValidationIconProps {
|
|
5
|
+
currentValidation: ValidationRule | null;
|
|
6
|
+
showIcons: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const ValidationIcon: React.FC<ValidationIconProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=validation-icon.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-icon.component.d.ts","sourceRoot":"","sources":["../../src/fields/validation-icon.component.tsx"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,0BAA0B,CAAC;AASnF,UAAU,mBAAmB;IAC3B,iBAAiB,EAAE,cAAc,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8BxD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/** @category Fields */ import React, { useEffect, useState } from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { CheckmarkFilledIcon, WarningIcon } from "../icons/icons.js";
|
|
5
|
+
import { ErrorFilledIcon } from "../icons/error-filled.icon.js";
|
|
6
|
+
import styles from "./dynamic-field.module.scss";
|
|
7
|
+
const severityIcons = {
|
|
8
|
+
success: CheckmarkFilledIcon,
|
|
9
|
+
warning: WarningIcon,
|
|
10
|
+
error: ErrorFilledIcon
|
|
11
|
+
};
|
|
12
|
+
export const ValidationIcon = ({ currentValidation, showIcons })=>{
|
|
13
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
14
|
+
useEffect(()=>{
|
|
15
|
+
if (currentValidation && showIcons) {
|
|
16
|
+
const timeout = setTimeout(()=>setIsVisible(true), 50);
|
|
17
|
+
return ()=>clearTimeout(timeout);
|
|
18
|
+
}
|
|
19
|
+
setIsVisible(false);
|
|
20
|
+
}, [
|
|
21
|
+
currentValidation,
|
|
22
|
+
showIcons
|
|
23
|
+
]);
|
|
24
|
+
if (!showIcons || !currentValidation) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
const Icon = severityIcons[currentValidation.type];
|
|
28
|
+
if (!Icon) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return /*#__PURE__*/ _jsx("div", {
|
|
32
|
+
className: classNames(styles.validationIcon, styles[`validationIcon--${currentValidation.type}`], {
|
|
33
|
+
[styles['validationIcon--visible']]: isVisible
|
|
34
|
+
}),
|
|
35
|
+
children: /*#__PURE__*/ _jsx(Icon, {
|
|
36
|
+
className: styles.validationIconGlyph,
|
|
37
|
+
size: 16
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/glass-card/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** @category LiquidGlassCard */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { LiquidGlassCardProps } from './liquid-glass-card.types.js';
|
|
4
|
+
/**
|
|
5
|
+
* `LiquidGlassCard` — enveloppe tout contenu dans un effet de "verre liquide" :
|
|
6
|
+
* fond flouté et légèrement distordu (filtre SVG `feTurbulence` +
|
|
7
|
+
* `feDisplacementMap`), reflets internes et lueur externe configurables en
|
|
8
|
+
* intensité. Peut être glissable (`draggable`) et/ou dépliable (`expandable`).
|
|
9
|
+
*
|
|
10
|
+
* Composant purement visuel : il ne pose AUCUNE couleur de fond opaque — le
|
|
11
|
+
* flou révèle ce qu'il y a derrière lui. Un consommateur (ex. `Toast`) ajoute
|
|
12
|
+
* sa propre teinte via `className`/`style`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <LiquidGlassCard blurIntensity="lg" shadowIntensity="md" glowIntensity="sm" borderRadius="1rem">
|
|
17
|
+
* <p>Contenu</p>
|
|
18
|
+
* </LiquidGlassCard>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const LiquidGlassCard: React.FC<LiquidGlassCardProps>;
|
|
22
|
+
export default LiquidGlassCard;
|
|
23
|
+
//# sourceMappingURL=liquid-glass-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquid-glass-card.component.d.ts","sourceRoot":"","sources":["../../src/glass-card/liquid-glass-card.component.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGzE;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkH1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/** @category LiquidGlassCard */ import React, { useId, useState } from "react";
|
|
3
|
+
import { motion } from "framer-motion";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import styles from "./liquid-glass-card.module.scss";
|
|
6
|
+
/**
|
|
7
|
+
* `LiquidGlassCard` — enveloppe tout contenu dans un effet de "verre liquide" :
|
|
8
|
+
* fond flouté et légèrement distordu (filtre SVG `feTurbulence` +
|
|
9
|
+
* `feDisplacementMap`), reflets internes et lueur externe configurables en
|
|
10
|
+
* intensité. Peut être glissable (`draggable`) et/ou dépliable (`expandable`).
|
|
11
|
+
*
|
|
12
|
+
* Composant purement visuel : il ne pose AUCUNE couleur de fond opaque — le
|
|
13
|
+
* flou révèle ce qu'il y a derrière lui. Un consommateur (ex. `Toast`) ajoute
|
|
14
|
+
* sa propre teinte via `className`/`style`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <LiquidGlassCard blurIntensity="lg" shadowIntensity="md" glowIntensity="sm" borderRadius="1rem">
|
|
19
|
+
* <p>Contenu</p>
|
|
20
|
+
* </LiquidGlassCard>
|
|
21
|
+
* ```
|
|
22
|
+
*/ export const LiquidGlassCard = ({ children, className, draggable = false, expandable = false, width, height, expandedWidth, expandedHeight, blurIntensity = 'xl', shadowIntensity = 'md', glowIntensity = 'sm', borderRadius = '0px', style, onClick })=>{
|
|
23
|
+
const [isExpanded, setIsExpanded] = useState(false);
|
|
24
|
+
// Id de filtre SVG unique par instance — l'original codait en dur
|
|
25
|
+
// id="glass-blur", invalide dès que 2 cartes sont montées à la fois
|
|
26
|
+
// (ex. plusieurs toasts affichés en même temps) : tous les <div> référençant
|
|
27
|
+
// url(#glass-blur) pointaient alors vers le PREMIER filtre du DOM,
|
|
28
|
+
// ignorant silencieusement leurs propres réglages.
|
|
29
|
+
const filterId = `egen-glass-blur-${useId().replace(/:/g, '')}`;
|
|
30
|
+
const handleToggleExpansion = (e)=>{
|
|
31
|
+
if (!expandable) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const target = e.target;
|
|
35
|
+
if (target.closest('a, button, input, select, textarea')) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
setIsExpanded((prev)=>!prev);
|
|
39
|
+
};
|
|
40
|
+
const containerVariants = expandable ? {
|
|
41
|
+
collapsed: {
|
|
42
|
+
width: width || 'auto',
|
|
43
|
+
height: height || 'auto',
|
|
44
|
+
transition: {
|
|
45
|
+
duration: 0.4,
|
|
46
|
+
ease: [
|
|
47
|
+
0.5,
|
|
48
|
+
1.5,
|
|
49
|
+
0.5,
|
|
50
|
+
1
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
expanded: {
|
|
55
|
+
width: expandedWidth || 'auto',
|
|
56
|
+
height: expandedHeight || 'auto',
|
|
57
|
+
transition: {
|
|
58
|
+
duration: 0.4,
|
|
59
|
+
ease: [
|
|
60
|
+
0.5,
|
|
61
|
+
1.5,
|
|
62
|
+
0.5,
|
|
63
|
+
1
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
} : undefined;
|
|
68
|
+
const isMotion = draggable || expandable;
|
|
69
|
+
const MotionComponent = isMotion ? motion.div : 'div';
|
|
70
|
+
const motionProps = isMotion ? {
|
|
71
|
+
variants: expandable ? containerVariants : undefined,
|
|
72
|
+
animate: expandable ? isExpanded ? 'expanded' : 'collapsed' : undefined,
|
|
73
|
+
onClick: expandable ? handleToggleExpansion : onClick,
|
|
74
|
+
drag: draggable,
|
|
75
|
+
dragConstraints: draggable ? {
|
|
76
|
+
left: 0,
|
|
77
|
+
right: 0,
|
|
78
|
+
top: 0,
|
|
79
|
+
bottom: 0
|
|
80
|
+
} : undefined,
|
|
81
|
+
dragElastic: draggable ? 0.3 : undefined,
|
|
82
|
+
dragTransition: draggable ? {
|
|
83
|
+
bounceStiffness: 300,
|
|
84
|
+
bounceDamping: 10,
|
|
85
|
+
power: 0.3
|
|
86
|
+
} : undefined,
|
|
87
|
+
whileDrag: draggable ? {
|
|
88
|
+
scale: 1.02
|
|
89
|
+
} : undefined,
|
|
90
|
+
whileHover: {
|
|
91
|
+
scale: 1.01
|
|
92
|
+
},
|
|
93
|
+
whileTap: {
|
|
94
|
+
scale: 0.98
|
|
95
|
+
}
|
|
96
|
+
} : {
|
|
97
|
+
onClick
|
|
98
|
+
};
|
|
99
|
+
return /*#__PURE__*/ _jsxs(_Fragment, {
|
|
100
|
+
children: [
|
|
101
|
+
/*#__PURE__*/ _jsx("svg", {
|
|
102
|
+
className: styles.hiddenFilterSvg,
|
|
103
|
+
"aria-hidden": "true",
|
|
104
|
+
children: /*#__PURE__*/ _jsx("defs", {
|
|
105
|
+
children: /*#__PURE__*/ _jsxs("filter", {
|
|
106
|
+
id: filterId,
|
|
107
|
+
x: "0",
|
|
108
|
+
y: "0",
|
|
109
|
+
width: "100%",
|
|
110
|
+
height: "100%",
|
|
111
|
+
filterUnits: "objectBoundingBox",
|
|
112
|
+
children: [
|
|
113
|
+
/*#__PURE__*/ _jsx("feTurbulence", {
|
|
114
|
+
type: "fractalNoise",
|
|
115
|
+
baseFrequency: "0.003 0.007",
|
|
116
|
+
numOctaves: 1,
|
|
117
|
+
result: "turbulence"
|
|
118
|
+
}),
|
|
119
|
+
/*#__PURE__*/ _jsx("feDisplacementMap", {
|
|
120
|
+
in: "SourceGraphic",
|
|
121
|
+
in2: "turbulence",
|
|
122
|
+
scale: "200",
|
|
123
|
+
xChannelSelector: "R",
|
|
124
|
+
yChannelSelector: "G"
|
|
125
|
+
})
|
|
126
|
+
]
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
}),
|
|
130
|
+
/*#__PURE__*/ _jsxs(MotionComponent, {
|
|
131
|
+
className: classNames(styles.card, {
|
|
132
|
+
[styles['card--draggable']]: draggable,
|
|
133
|
+
[styles['card--expandable']]: expandable
|
|
134
|
+
}, className),
|
|
135
|
+
style: {
|
|
136
|
+
borderRadius,
|
|
137
|
+
...width && !expandable ? {
|
|
138
|
+
width
|
|
139
|
+
} : undefined,
|
|
140
|
+
...height && !expandable ? {
|
|
141
|
+
height
|
|
142
|
+
} : undefined,
|
|
143
|
+
...style
|
|
144
|
+
},
|
|
145
|
+
...motionProps,
|
|
146
|
+
children: [
|
|
147
|
+
/*#__PURE__*/ _jsx("div", {
|
|
148
|
+
className: classNames(styles.bendLayer, styles[`blur--${blurIntensity}`]),
|
|
149
|
+
style: {
|
|
150
|
+
borderRadius,
|
|
151
|
+
filter: `url(#${filterId})`
|
|
152
|
+
}
|
|
153
|
+
}),
|
|
154
|
+
/*#__PURE__*/ _jsx("div", {
|
|
155
|
+
className: classNames(styles.faceLayer, styles[`glow--${glowIntensity}`]),
|
|
156
|
+
style: {
|
|
157
|
+
borderRadius
|
|
158
|
+
}
|
|
159
|
+
}),
|
|
160
|
+
/*#__PURE__*/ _jsx("div", {
|
|
161
|
+
className: classNames(styles.edgeLayer, styles[`shadow--${shadowIntensity}`]),
|
|
162
|
+
style: {
|
|
163
|
+
borderRadius
|
|
164
|
+
}
|
|
165
|
+
}),
|
|
166
|
+
/*#__PURE__*/ _jsx("div", {
|
|
167
|
+
className: styles.content,
|
|
168
|
+
children: children
|
|
169
|
+
})
|
|
170
|
+
]
|
|
171
|
+
})
|
|
172
|
+
]
|
|
173
|
+
});
|
|
174
|
+
};
|
|
175
|
+
export default LiquidGlassCard;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// EGEN — LiquidGlassCard
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Structure à 4 couches empilées (identique à l'original) :
|
|
5
|
+
// 0. bendLayer — flou de fond + distorsion SVG (feTurbulence/feDisplacementMap)
|
|
6
|
+
// 10. faceLayer — lueur externe (glow)
|
|
7
|
+
// 20. edgeLayer — reflets internes (highlight)
|
|
8
|
+
// 30. content — le contenu réel
|
|
9
|
+
//
|
|
10
|
+
// Couleurs : var(--colors-surface-translucent) (blanc/noir translucide déjà
|
|
11
|
+
// adapté clair/sombre par le thème) moduléé via color-mix() pour les
|
|
12
|
+
// différentes intensités, + var(--shadows-*) pour la composante d'ombre
|
|
13
|
+
// portée. Zéro rgba() figé — voir docs/guide-composants-et-theme.md §5.
|
|
14
|
+
// ============================================================================
|
|
15
|
+
|
|
16
|
+
.hiddenFilterSvg {
|
|
17
|
+
position: absolute;
|
|
18
|
+
width: 0;
|
|
19
|
+
height: 0;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card {
|
|
24
|
+
position: relative;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.card--draggable {
|
|
28
|
+
cursor: grab;
|
|
29
|
+
|
|
30
|
+
&:active {
|
|
31
|
+
cursor: grabbing;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.card--expandable {
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.bendLayer,
|
|
40
|
+
.faceLayer,
|
|
41
|
+
.edgeLayer {
|
|
42
|
+
position: absolute;
|
|
43
|
+
inset: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bendLayer {
|
|
47
|
+
z-index: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.faceLayer {
|
|
51
|
+
z-index: 10;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.edgeLayer {
|
|
55
|
+
z-index: 20;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.content {
|
|
59
|
+
position: relative;
|
|
60
|
+
z-index: 30;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// ── Flou de fond (dimensions — pas des couleurs, littéral autorisé) ────────
|
|
64
|
+
|
|
65
|
+
.blur--sm {
|
|
66
|
+
backdrop-filter: blur(4px);
|
|
67
|
+
-webkit-backdrop-filter: blur(4px);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.blur--md {
|
|
71
|
+
backdrop-filter: blur(12px);
|
|
72
|
+
-webkit-backdrop-filter: blur(12px);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.blur--lg {
|
|
76
|
+
backdrop-filter: blur(16px);
|
|
77
|
+
-webkit-backdrop-filter: blur(16px);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.blur--xl {
|
|
81
|
+
backdrop-filter: blur(24px);
|
|
82
|
+
-webkit-backdrop-filter: blur(24px);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// ── Lueur externe (glow) ─────────────────────────────────────────────────────
|
|
86
|
+
// Ombre portée pilotée par les tokens --shadows-* du thème + halo translucide
|
|
87
|
+
// dont l'intensité augmente avec le niveau (color-mix sur --colors-surface-translucent).
|
|
88
|
+
|
|
89
|
+
.glow--none {
|
|
90
|
+
box-shadow: var(--shadows-xs), 0 0 12px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 5%, transparent);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.glow--xs {
|
|
94
|
+
box-shadow: var(--shadows-xs), 0 0 16px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 8%, transparent);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.glow--sm {
|
|
98
|
+
box-shadow: var(--shadows-sm), 0 0 24px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 10%, transparent);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.glow--md {
|
|
102
|
+
box-shadow: var(--shadows-md), 0 0 32px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 15%, transparent);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.glow--lg {
|
|
106
|
+
box-shadow: var(--shadows-lg), 0 0 40px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 20%, transparent);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.glow--xl {
|
|
110
|
+
box-shadow: var(--shadows-xl), 0 0 48px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 25%, transparent);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.glow--2xl {
|
|
114
|
+
box-shadow: var(--shadows-2xl), 0 0 60px color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 30%, transparent);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ── Reflets internes (highlight) ────────────────────────────────────────────
|
|
118
|
+
// Ombres internes croisées (haut-gauche/bas-droite), intensité croissante,
|
|
119
|
+
// pilotées par --colors-surface-translucent (blanc en thème clair, adapté
|
|
120
|
+
// automatiquement en thème sombre).
|
|
121
|
+
|
|
122
|
+
.shadow--none {
|
|
123
|
+
box-shadow: inset 0 0 0 0 transparent;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.shadow--xs {
|
|
127
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 30%, transparent);
|
|
128
|
+
box-shadow: inset 1px 1px 1px 0 #{$c}, inset -1px -1px 1px 0 #{$c};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.shadow--sm {
|
|
132
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 35%, transparent);
|
|
133
|
+
box-shadow: inset 2px 2px 2px 0 #{$c}, inset -2px -2px 2px 0 #{$c};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.shadow--md {
|
|
137
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 45%, transparent);
|
|
138
|
+
box-shadow: inset 3px 3px 3px 0 #{$c}, inset -3px -3px 3px 0 #{$c};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.shadow--lg {
|
|
142
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 50%, transparent);
|
|
143
|
+
box-shadow: inset 4px 4px 4px 0 #{$c}, inset -4px -4px 4px 0 #{$c};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.shadow--xl {
|
|
147
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 55%, transparent);
|
|
148
|
+
box-shadow: inset 6px 6px 6px 0 #{$c}, inset -6px -6px 6px 0 #{$c};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.shadow--2xl {
|
|
152
|
+
$c: color-mix(in srgb, var(--colors-surface-translucent, rgba(255, 255, 255, 0.55)) 60%, transparent);
|
|
153
|
+
box-shadow: inset 8px 8px 8px 0 #{$c}, inset -8px -8px 8px 0 #{$c};
|
|
154
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @category LiquidGlassCard */
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
export type GlassBlurIntensity = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type GlassShadowIntensity = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
|
+
export type GlassGlowIntensity = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
6
|
+
export interface LiquidGlassCardProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Rend la carte glissable (drag libre, revient à sa position au relâchement). */
|
|
10
|
+
draggable?: boolean;
|
|
11
|
+
/** Rend la carte cliquable pour basculer entre une taille repliée et une taille dépliée. */
|
|
12
|
+
expandable?: boolean;
|
|
13
|
+
width?: string;
|
|
14
|
+
height?: string;
|
|
15
|
+
expandedWidth?: string;
|
|
16
|
+
expandedHeight?: string;
|
|
17
|
+
/** Intensité du flou de fond (verre dépoli). */
|
|
18
|
+
blurIntensity?: GlassBlurIntensity;
|
|
19
|
+
/** Intensité de l'ombre interne (reflet de bordure du verre). */
|
|
20
|
+
shadowIntensity?: GlassShadowIntensity;
|
|
21
|
+
/** Intensité de la lueur externe (glow) sous la carte. */
|
|
22
|
+
glowIntensity?: GlassGlowIntensity;
|
|
23
|
+
borderRadius?: string;
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=liquid-glass-card.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquid-glass-card.types.d.ts","sourceRoot":"","sources":["../../src/glass-card/liquid-glass-card.types.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AACrF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEnF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,iEAAiE;IACjE,eAAe,CAAC,EAAE,oBAAoB,CAAC;IACvC,0DAA0D;IAC1D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/** @category LiquidGlassCard */ export { };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @category Fields */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface ErrorFilledIconProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Icône "erreur" (cercle plein + point d'exclamation), calquée sur le pictogramme
|
|
9
|
+
* `error--filled` de Carbon Design System. Ni le set EGEN (`icons.tsx`) ni
|
|
10
|
+
* `@carbon/react/icons` n'exposent une variante strictement équivalente aux deux
|
|
11
|
+
* autres sévérités déjà couvertes (succès → `CheckmarkFilledIcon`, avertissement →
|
|
12
|
+
* `WarningIcon`), d'où ce SVG inline — voir guide §9.3. `currentColor` uniquement :
|
|
13
|
+
* aucune couleur n'est figée ici, elle est héritée du texte du parent (lui-même
|
|
14
|
+
* piloté par `var(--colors-{success|warning|error}-*)`).
|
|
15
|
+
*/
|
|
16
|
+
export declare const ErrorFilledIcon: React.FC<ErrorFilledIconProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=error-filled.icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-filled.icon.d.ts","sourceRoot":"","sources":["../../src/icons/error-filled.icon.tsx"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAY1D,CAAC"}
|