@licklist/design 0.78.28 → 0.78.29
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/assets/Trend-Down.svg.js +16 -0
- package/dist/assets/Trend-Up.svg.js +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/v2/components/Button/Button.d.ts +8 -4
- package/dist/v2/components/Button/Button.d.ts.map +1 -1
- package/dist/v2/components/Button/index.d.ts +2 -2
- package/dist/v2/components/Button/index.d.ts.map +1 -1
- package/dist/v2/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/v2/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/v2/components/Checkbox/index.d.ts +3 -0
- package/dist/v2/components/Checkbox/index.d.ts.map +1 -0
- package/dist/v2/components/FormField/FormField.d.ts +10 -0
- package/dist/v2/components/FormField/FormField.d.ts.map +1 -0
- package/dist/v2/components/FormField/index.d.ts +3 -0
- package/dist/v2/components/FormField/index.d.ts.map +1 -0
- package/dist/v2/components/NewInput/NewInput.d.ts +20 -0
- package/dist/v2/components/NewInput/NewInput.d.ts.map +1 -0
- package/dist/v2/components/NewInput/index.d.ts +2 -0
- package/dist/v2/components/NewInput/index.d.ts.map +1 -0
- package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts +10 -0
- package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts.map +1 -0
- package/dist/v2/components/NewPageHeader/index.d.ts +2 -0
- package/dist/v2/components/NewPageHeader/index.d.ts.map +1 -0
- package/dist/v2/components/SectionHeader/SectionHeader.d.ts +8 -0
- package/dist/v2/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/v2/components/SectionHeader/index.d.ts +3 -0
- package/dist/v2/components/SectionHeader/index.d.ts.map +1 -0
- package/dist/v2/components/Select/Select.js +128 -0
- package/dist/v2/components/Select/Select.scss.js +6 -0
- package/dist/v2/components/WYSIWYGEditor/Icons.d.ts +16 -0
- package/dist/v2/components/WYSIWYGEditor/Icons.d.ts.map +1 -0
- package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.d.ts +14 -0
- package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.d.ts.map +1 -0
- package/dist/v2/components/WYSIWYGEditor/index.d.ts +3 -0
- package/dist/v2/components/WYSIWYGEditor/index.d.ts.map +1 -0
- package/dist/v2/components/index.d.ts +22 -0
- package/dist/v2/components/index.d.ts.map +1 -0
- package/dist/v2/dashboard-analytics/blog-posts/Blog.js +103 -0
- package/dist/v2/dashboard-analytics/blog-posts/Blog.scss.js +6 -0
- package/dist/v2/dashboard-analytics/chart/Chart.js +733 -0
- package/dist/v2/dashboard-analytics/chart/Chart.scss.js +6 -0
- package/dist/v2/dashboard-analytics/dashboard/Dashboard.js +270 -0
- package/dist/v2/dashboard-analytics/dashboard/Dashboard.scss.js +6 -0
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.js +65 -0
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.scss.js +6 -0
- package/dist/v2/dashboard-analytics/venue-card/VenueCard.js +50 -0
- package/dist/v2/dashboard-analytics/venue-card/VenueCard.scss.js +6 -0
- package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.js +48 -0
- package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.scss.js +6 -0
- package/dist/v2/icons/index.js +61 -1
- package/dist/v2/index.d.ts +3 -1
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/TopNavigation.scss.js +1 -1
- package/dist/v2/pages/Settings/SettingsPage.d.ts +13 -0
- package/dist/v2/pages/Settings/SettingsPage.d.ts.map +1 -0
- package/dist/v2/pages/Settings/SettingsPage.js +88 -0
- package/dist/v2/pages/Settings/SettingsPage.scss.js +6 -0
- package/dist/v2/pages/Settings/SettingsTabs.d.ts +14 -0
- package/dist/v2/pages/Settings/SettingsTabs.d.ts.map +1 -0
- package/dist/v2/pages/Settings/SettingsTabs.js +29 -0
- package/dist/v2/pages/Settings/SettingsTabs.scss.js +6 -0
- package/dist/v2/pages/Settings/components/SidebarCustomisation.js +283 -0
- package/dist/v2/pages/Settings/components/SidebarCustomisation.scss.js +6 -0
- package/dist/v2/pages/Settings/components/SidebarNavItem.d.ts +19 -0
- package/dist/v2/pages/Settings/components/SidebarNavItem.d.ts.map +1 -0
- package/dist/v2/pages/Settings/components/SidebarNavItem.js +41 -0
- package/dist/v2/pages/Settings/components/SidebarNavItem.scss.js +6 -0
- package/dist/v2/pages/Settings/components/index.d.ts +5 -0
- package/dist/v2/pages/Settings/components/index.d.ts.map +1 -0
- package/dist/v2/pages/Settings/index.d.ts +7 -0
- package/dist/v2/pages/Settings/index.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/index.ts +3 -1
- package/src/v2/components/Alert/Alert.scss +3 -3
- package/src/v2/components/Button/Button.tsx +34 -12
- package/src/v2/components/Button/index.ts +2 -2
- package/src/v2/components/Checkbox/Checkbox.scss +211 -0
- package/src/v2/components/Checkbox/Checkbox.stories.tsx +316 -0
- package/src/v2/components/Checkbox/Checkbox.tsx +106 -0
- package/src/v2/components/Checkbox/index.ts +3 -0
- package/src/v2/components/FormField/FormField.scss +87 -0
- package/src/v2/components/FormField/FormField.stories.tsx +71 -0
- package/src/v2/components/FormField/FormField.tsx +37 -0
- package/src/v2/components/FormField/index.ts +3 -0
- package/src/v2/components/NewInput/NewInput.stories.tsx +433 -0
- package/src/v2/components/NewInput/NewInput.tsx +96 -0
- package/src/v2/components/NewInput/index.ts +1 -0
- package/src/v2/components/NewPageHeader/NewPageHeader.scss +47 -0
- package/src/v2/components/NewPageHeader/NewPageHeader.stories.tsx +44 -0
- package/src/v2/components/NewPageHeader/NewPageHeader.tsx +35 -0
- package/src/v2/components/NewPageHeader/index.ts +1 -0
- package/src/v2/components/SectionHeader/SectionHeader.scss +11 -0
- package/src/v2/components/SectionHeader/SectionHeader.tsx +15 -0
- package/src/v2/components/SectionHeader/index.ts +2 -0
- package/src/v2/components/Select/Select.scss +5 -5
- package/src/v2/components/WYSIWYGEditor/Icons.tsx +93 -0
- package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.scss +310 -0
- package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.stories.tsx +252 -0
- package/src/v2/components/WYSIWYGEditor/WYSIWYGEditor.tsx +393 -0
- package/src/v2/components/WYSIWYGEditor/index.ts +3 -0
- package/src/v2/components/index.ts +37 -0
- package/src/v2/index.ts +10 -2
- package/src/v2/navigation/DashboardLayout/TopNavigation.scss +1 -0
- package/src/v2/pages/Settings/SettingsContentPlaceholder.scss +24 -0
- package/src/v2/pages/Settings/SettingsPage.scss +52 -0
- package/src/v2/pages/Settings/SettingsPage.tsx +46 -0
- package/src/v2/pages/Settings/SettingsTabs.scss +44 -0
- package/src/v2/pages/Settings/SettingsTabs.tsx +36 -0
- package/src/v2/pages/Settings/components/SidebarCustomisation.stories.tsx +48 -0
- package/src/v2/pages/Settings/components/SidebarNavItem.scss +76 -0
- package/src/v2/pages/Settings/components/SidebarNavItem.stories.tsx +50 -0
- package/src/v2/pages/Settings/components/SidebarNavItem.tsx +52 -0
- package/src/v2/pages/Settings/components/index.ts +5 -0
- package/src/v2/pages/Settings/index.ts +8 -0
- package/src/v2/styles/components/Button.scss +51 -53
- package/src/v2/styles/form/Layout.scss +15 -0
- package/src/v2/styles/form/NewInput.scss +83 -53
- package/src/v2/styles/index.scss +1 -0
- package/src/v2/styles/tokens/_colors.scss +6 -6
- package/src/v2/styles/tokens/_typography.scss +2 -2
- package/dist/v2/navigation/icons/index.d.ts +0 -12
- package/dist/v2/navigation/icons/index.d.ts.map +0 -1
- package/src/v2/navigation/icons/index.tsx +0 -72
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-regular-emphasis-weight:500;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.heading-desktop-xxl{font-size:var(--heading-xxl-size);font-weight:var(--heading-xxl-weight);line-height:var(--heading-xxl-line)}.heading-desktop-xl,.heading-desktop-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-xl{font-size:var(--heading-xl-size);font-weight:var(--heading-xl-weight);line-height:var(--heading-xl-line)}.heading-desktop-h1{font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line)}.heading-desktop-h1,.heading-desktop-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h2{font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);line-height:var(--heading-h2-line)}.heading-desktop-h3{font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);line-height:var(--heading-h3-line)}.heading-desktop-h3,.heading-desktop-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h4{font-size:var(--heading-h4-size);font-weight:var(--heading-h4-weight);line-height:var(--heading-h4-line)}.heading-desktop-h5{font-size:var(--heading-h5-size);font-weight:var(--heading-h5-weight);line-height:var(--heading-h5-line)}.heading-desktop-h5,.heading-desktop-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h6{font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);line-height:var(--heading-h6-line)}.heading-mobile-xxl{font-size:var(--heading-xxl-mobile-size);font-weight:var(--heading-xxl-mobile-weight);line-height:var(--heading-xxl-mobile-line)}.heading-mobile-xl,.heading-mobile-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-xl{font-size:var(--heading-xl-mobile-size);font-weight:var(--heading-xl-mobile-weight);line-height:var(--heading-xl-mobile-line)}.heading-mobile-h1{font-size:var(--heading-h1-mobile-size);font-weight:var(--heading-h1-mobile-weight);line-height:var(--heading-h1-mobile-line)}.heading-mobile-h1,.heading-mobile-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h2{font-size:var(--heading-h2-mobile-size);font-weight:var(--heading-h2-mobile-weight);line-height:var(--heading-h2-mobile-line)}.heading-mobile-h3{font-size:var(--heading-h3-mobile-size);font-weight:var(--heading-h3-mobile-weight);line-height:var(--heading-h3-mobile-line)}.heading-mobile-h3,.heading-mobile-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h4{font-size:var(--heading-h4-mobile-size);font-weight:var(--heading-h4-mobile-weight);line-height:var(--heading-h4-mobile-line)}.heading-mobile-h5{font-size:var(--heading-h5-mobile-size);font-weight:var(--heading-h5-mobile-weight);line-height:var(--heading-h5-mobile-line)}.heading-mobile-h5,.heading-mobile-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h6{font-size:var(--heading-h6-mobile-size);font-weight:var(--heading-h6-mobile-weight);line-height:var(--heading-h6-mobile-line)}.body-desktop-xl{font-size:var(--text-xl-size);font-weight:var(--text-xl-weight);line-height:var(--text-xl-line)}.body-desktop-large,.body-desktop-xl{font-family:var(--font-family-sans)!important;letter-spacing:0}.body-desktop-large{font-size:var(--text-large-size);font-weight:var(--text-large-weight);line-height:var(--text-large-line)}.body-desktop-regular{font-weight:var(--text-regular-weight)}.body-desktop-regular,.body-desktop-regular-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-regular-size);letter-spacing:0;line-height:var(--text-regular-line)}.body-desktop-regular-emphasis{font-weight:var(--text-regular-emphasis-weight)}.body-desktop-small{font-weight:var(--text-small-weight)}.body-desktop-small,.body-desktop-small-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-small-emphasis{font-weight:var(--text-small-emphasis-weight)}.body-desktop-small-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);font-weight:var(--text-small-bold-weight);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-xs{font-weight:var(--text-xs-weight)}.body-desktop-xs,.body-desktop-xs-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-xs-size);letter-spacing:0;line-height:var(--text-xs-line)}.body-desktop-xs-bold{font-weight:var(--text-xs-bold-weight)}.typography-story,[id*=v2-design-system-typography] *{font-family:var(--font-family-sans)!important}.typography-story{margin:0 auto;max-width:1200px;padding:2rem}.typography-story *{font-family:inherit!important}.story-header{margin-bottom:3rem}.story-header h1{color:var(--label-primary,#121e52);font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line);margin:0 0 .5rem}.story-header h1,.story-header p{font-family:var(--font-family-sans);letter-spacing:0}.story-header p{color:var(--label-secondary,#626a90);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);margin:0}.typography-section{margin-bottom:3rem}.typography-section__title{border-bottom:2px solid var(--border-primary,#e8e9ef);color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);letter-spacing:0;line-height:var(--heading-h2-line);margin:0 0 2rem;padding-bottom:1rem}.typography-example,.typography-grid{display:grid;gap:2rem}.typography-example{align-items:center;background:var(--surface-primary,#fff);border:1px solid var(--border-primary,#e8e9ef);border-radius:8px;grid-template-columns:1fr auto;padding:1.5rem}.typography-sample{color:var(--label-primary,#121e52)}.typography-info{min-width:200px;text-align:right}.typography-name{color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-emphasis-weight);letter-spacing:0;line-height:var(--text-small-line);margin-bottom:.25rem}.typography-specs{display:flex;gap:1rem;justify-content:flex-end;margin-bottom:.25rem}.typography-size,.typography-weight{background:var(--surface-secondary,#f8f8fa);border-radius:4px;font-family:var(--font-family-sans);font-family:var(--font-family-mono);padding:.25rem .5rem}.typography-description,.typography-size,.typography-weight{color:var(--label-secondary,#626a90);font-size:var(--text-xs-size);font-weight:var(--text-xs-weight);letter-spacing:0;line-height:var(--text-xs-line)}.typography-description{font-family:var(--font-family-sans);font-style:italic}@media (max-width:768px){.typography-story{padding:1rem}.typography-example{gap:1rem;grid-template-columns:1fr}.typography-info{text-align:left}.typography-specs{justify-content:flex-start}}.chart{background-color:var(--surface-primary);border:1px solid var(--border-primary);border-radius:.5rem;box-sizing:border-box;display:flex;flex-direction:column;gap:1.4375rem;max-width:100%;min-width:0;overflow:hidden;padding:1rem;position:relative;transition:all .3s ease-in-out;width:100%}.chart--loading .chart__wrapper{opacity:.6;transition:opacity .3s ease-in-out}.chart--refreshing .chart__wrapper{opacity:.95;transition:opacity .2s ease-in-out}.chart--refreshing{border-color:#1f9ab54d}.chart[data-full-width=true] .chart__container{margin-left:-1rem;margin-right:-1rem;padding:0;width:calc(100% + 2rem)}.chart[data-full-width=true] .chart__wrapper{margin-left:0;margin-right:0;max-width:none;width:100%}@media (max-width:480px){.chart{gap:1rem;padding:.75rem}}@media (min-width:481px) and (max-width:768px){.chart{gap:1.25rem;padding:1rem}}@media (min-width:769px){.chart{gap:1.4375rem;padding:1.375rem 1rem}}.chart__header{display:flex;flex-direction:column;gap:.25rem;margin-left:.25rem}@media (min-width:768px){.chart__header{margin-left:.75rem}}.chart__title{align-items:center;color:var(--label-primary);display:flex;font-family:var(--font-family-sans);font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);gap:.5rem;letter-spacing:0;line-height:var(--heading-h3-line);line-height:1.2;margin:0;padding:0}@media (min-width:480px){.chart__title{font-size:16px}}@media (min-width:768px){.chart__title{font-size:17px;line-height:1.176}}.chart__title-refresh-indicator{animation:refreshSpin 1s linear infinite;color:var(--label-primary);font-size:12px;opacity:.7}@keyframes refreshSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.chart__subtitle{color:var(--label-secondary);font-family:var(--font-family-sans);font-size:var(--heading-h5-size);font-weight:var(--heading-h5-weight);letter-spacing:0;line-height:var(--heading-h5-line);line-height:1.4;margin:0;padding:0}@media (min-width:480px){.chart__subtitle{font-size:12.5px}}@media (min-width:768px){.chart__subtitle{font-size:13px;line-height:1.538}}.chart__container{box-sizing:border-box;margin:0 -1rem -1rem;max-width:100%;overflow:visible;padding:0;position:relative;transition:all .3s ease-in-out;width:100%}@media (max-width:480px){.chart__container{margin:0 -.75rem -.75rem;padding:0}}@media (min-width:768px){.chart__container{margin:0 -1rem -1.375rem;padding:0}}.chart__loading-overlay{align-items:center;backdrop-filter:blur(1px);background:#f8f8facc;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;transition:opacity .3s ease-in-out;z-index:10}@keyframes chartSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.chart__wrapper{box-sizing:border-box;height:220px;max-width:100%;overflow:visible;position:relative;transition:all .3s ease-in-out;width:100%}@media (min-width:480px){.chart__wrapper{height:250px}}@media (min-width:768px){.chart__wrapper{height:280px}}@media (min-width:1024px){.chart__wrapper{height:300px}}@media (min-width:1440px){.chart__wrapper{height:320px}}.chart__tooltip{background-color:#fff;border:1px solid var(--border-primary);border-radius:.5rem;box-shadow:0 4px 12px #121e521a;max-width:180px;min-width:80px;padding:.5rem}@media (min-width:480px){.chart__tooltip{max-width:190px;min-width:90px;padding:.625rem}}@media (min-width:768px){.chart__tooltip{max-width:200px;min-width:100px;padding:.75rem}}.chart__tooltip-label{color:var(--label-secondary);font-size:11px;font-weight:600;line-height:1;margin-bottom:.25rem}@media (min-width:480px){.chart__tooltip-label{font-size:12px}}@media (min-width:768px){.chart__tooltip-label{font-size:13px}}.chart__tooltip-value{color:var(--label-primary);font-size:13px;font-weight:700;line-height:1;margin-bottom:.25rem}@media (min-width:480px){.chart__tooltip-value{font-size:14px}}@media (min-width:768px){.chart__tooltip-value{font-size:15px}}.chart__tooltip-participants{color:var(--label-secondary);font-size:9px;font-weight:500;line-height:1;margin-bottom:.5rem}@media (min-width:480px){.chart__tooltip-participants{font-size:9.5px}}@media (min-width:768px){.chart__tooltip-participants{font-size:10px}}.chart__tooltip-trend{font-size:10px;font-weight:500;line-height:1;margin-bottom:.25rem}@media (min-width:480px){.chart__tooltip-trend{font-size:10.5px}}@media (min-width:768px){.chart__tooltip-trend{font-size:11px}}.chart__tooltip-trend.positive{color:var(--success-dark,#2d6b18)}.chart__tooltip-trend.negative{color:var(--error-dark,#cc3c35)}.chart__tooltip-trend.neutral{color:var(--label-secondary)}.chart__tooltip-trend-content{align-items:center;display:flex;gap:.25rem}.chart__tooltip-trend-icon{flex-shrink:0}.chart__tooltip-trend-icon.positive{color:var(--success-dark,#2d6b18)}.chart__tooltip-trend-icon.negative{color:var(--error-dark,#cc3c35)}.chart__tooltip-trend-value{font-weight:600}.chart__tooltip-comparison{color:var(--label-secondary);font-size:9px;font-weight:500;line-height:1;margin-top:.25rem}@media (min-width:480px){.chart__tooltip-comparison{font-size:9.5px}}@media (min-width:768px){.chart__tooltip-comparison{font-size:10px}}.chart :global .recharts-cartesian-axis-tick text{fill:var(--label-secondary)!important;font-family:var(--font-family-sans);font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);letter-spacing:0;line-height:var(--heading-h6-line)}@media (min-width:480px){.chart :global .recharts-cartesian-axis-tick text{font-size:10px!important}}@media (min-width:768px){.chart :global .recharts-cartesian-axis-tick text{font-size:11px!important}}.chart :global .recharts-cartesian-grid-horizontal line,.chart :global .recharts-cartesian-grid-vertical line{stroke:var(--label-secondary)!important;stroke-dasharray:3 3!important}.chart :global .recharts-tooltip-cursor{fill:#0000}.chart :global .recharts-reference-line line{stroke:var(--fill-action)!important;stroke-width:2!important;stroke-dasharray:6 4!important}.chart :global .recharts-area-dot{r:3!important}@media (min-width:480px){.chart :global .recharts-area-dot{r:3.5!important}}@media (min-width:768px){.chart :global .recharts-area-dot{r:4!important}}.chart :global .recharts-active-dot{r:5!important}@media (min-width:480px){.chart :global .recharts-active-dot{r:5.5!important}}@media (min-width:768px){.chart :global .recharts-active-dot{r:6!important}}.chart :global .recharts-responsive-container{height:100%!important;transition:all .3s ease-in-out;width:100%!important}.chart :global .recharts-surface{transition:all .3s ease-in-out;width:100%!important}.chart :global .recharts-area{filter:drop-shadow(0 2px 8px rgba(31,154,181,.15));transition:filter .3s ease-in-out}.chart :global .recharts-area:hover{filter:drop-shadow(0 4px 12px rgba(31,154,181,.25))}.chart :global .recharts-cartesian-axis.recharts-yAxis .recharts-cartesian-axis-tick text{text-anchor:end!important}.chart[data-full-width=true] :global .recharts-cartesian-axis-tick text{font-size:10px!important}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { Chart } from '../chart/Chart.js';
|
|
4
|
+
import { MetricCard } from '../metric-card/MetricCard.js';
|
|
5
|
+
import { Select } from '../../components/Select/Select.js';
|
|
6
|
+
import { VenueCard } from '../venue-card/VenueCard.js';
|
|
7
|
+
import { Blog } from '../blog-posts/Blog.js';
|
|
8
|
+
import { VenueClosedCard } from '../venue-closed-card/VenueClosedCard.js';
|
|
9
|
+
import { ReactComponent as SvgTrendUp } from '../../../assets/Trend-Up.svg.js';
|
|
10
|
+
import { ReactComponent as SvgTrendDown } from '../../../assets/Trend-Down.svg.js';
|
|
11
|
+
import './Dashboard.scss.js';
|
|
12
|
+
|
|
13
|
+
function _define_property(obj, key, value) {
|
|
14
|
+
if (key in obj) {
|
|
15
|
+
Object.defineProperty(obj, key, {
|
|
16
|
+
value: value,
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true
|
|
20
|
+
});
|
|
21
|
+
} else {
|
|
22
|
+
obj[key] = value;
|
|
23
|
+
}
|
|
24
|
+
return obj;
|
|
25
|
+
}
|
|
26
|
+
function _object_spread(target) {
|
|
27
|
+
for(var i = 1; i < arguments.length; i++){
|
|
28
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
29
|
+
var ownKeys = Object.keys(source);
|
|
30
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
31
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
32
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
ownKeys.forEach(function(key) {
|
|
36
|
+
_define_property(target, key, source[key]);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return target;
|
|
40
|
+
}
|
|
41
|
+
function ownKeys(object, enumerableOnly) {
|
|
42
|
+
var keys = Object.keys(object);
|
|
43
|
+
if (Object.getOwnPropertySymbols) {
|
|
44
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
45
|
+
if (enumerableOnly) {
|
|
46
|
+
symbols = symbols.filter(function(sym) {
|
|
47
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
keys.push.apply(keys, symbols);
|
|
51
|
+
}
|
|
52
|
+
return keys;
|
|
53
|
+
}
|
|
54
|
+
function _object_spread_props(target, source) {
|
|
55
|
+
source = source != null ? source : {};
|
|
56
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
57
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
58
|
+
} else {
|
|
59
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
60
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return target;
|
|
64
|
+
}
|
|
65
|
+
var Dashboard = function(param) {
|
|
66
|
+
var metrics = param.metrics, bookingsChart = param.bookingsChart, revenueChart = param.revenueChart, timeFilter = param.timeFilter, _param_bookingTypeFilter = param.bookingTypeFilter, bookingTypeFilter = _param_bookingTypeFilter === void 0 ? 'Bookings For' : _param_bookingTypeFilter, onFilterChange = param.onFilterChange, onBookingTypeChange = param.onBookingTypeChange, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, isLoading = param.isLoading, _param_isRefreshing = param.isRefreshing, isRefreshing = _param_isRefreshing === void 0 ? false : _param_isRefreshing;
|
|
67
|
+
var _metrics_workHours, _metrics_workHours_message, _metrics_workHours1;
|
|
68
|
+
var handleFilterChange = React__default.useCallback(function(filter) {
|
|
69
|
+
onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(filter);
|
|
70
|
+
}, [
|
|
71
|
+
onFilterChange
|
|
72
|
+
]);
|
|
73
|
+
var showRefreshing = isRefreshing && !isLoading;
|
|
74
|
+
var getTimePeriodText = function(filter) {
|
|
75
|
+
switch(filter){
|
|
76
|
+
case 'Today':
|
|
77
|
+
return 'today';
|
|
78
|
+
case 'Yesterday':
|
|
79
|
+
return 'yesterday';
|
|
80
|
+
case 'This Week':
|
|
81
|
+
return 'this week';
|
|
82
|
+
default:
|
|
83
|
+
return 'today';
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
var getTrendIcon = function(change, isPositive) {
|
|
87
|
+
if (change.toLowerCase().includes('no change')) return null;
|
|
88
|
+
if (change.toLowerCase().includes('no data')) return null;
|
|
89
|
+
return isPositive ? /*#__PURE__*/ jsx(SvgTrendUp, {}) : /*#__PURE__*/ jsx(SvgTrendDown, {});
|
|
90
|
+
};
|
|
91
|
+
var VenueIcon = function() {
|
|
92
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
93
|
+
width: "32",
|
|
94
|
+
height: "32",
|
|
95
|
+
viewBox: "0 0 32 32",
|
|
96
|
+
fill: "none",
|
|
97
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
98
|
+
children: [
|
|
99
|
+
/*#__PURE__*/ jsx("path", {
|
|
100
|
+
d: "M8 10L17 6.5V24H8V10Z",
|
|
101
|
+
fill: "black",
|
|
102
|
+
"fill-opacity": "0.1"
|
|
103
|
+
}),
|
|
104
|
+
/*#__PURE__*/ jsx("path", {
|
|
105
|
+
d: "M7 23V9.70046C7 9.27995 7.26307 8.90437 7.65826 8.76067L17.3291 5.24398C17.5886 5.14961 17.8755 5.28349 17.9699 5.54301C17.9898 5.59778 18 5.65561 18 5.71388V10.6667L24.3162 12.7721C24.7246 12.9082 25 13.2904 25 13.7208V23H27V25H5V23H7ZM9 23H16V7.85543L9 10.4009V23ZM23 23V14.4416L18 12.7749V23H23Z",
|
|
106
|
+
fill: "#626A90"
|
|
107
|
+
})
|
|
108
|
+
]
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
112
|
+
className: "dashboard ".concat(timeFilter !== 'Today' ? 'dashboard--charts-focus' : '', " ").concat(className).trim(),
|
|
113
|
+
children: [
|
|
114
|
+
/*#__PURE__*/ jsxs("div", {
|
|
115
|
+
className: "dashboard__filter",
|
|
116
|
+
children: [
|
|
117
|
+
/*#__PURE__*/ jsxs(Select, {
|
|
118
|
+
variant: "default",
|
|
119
|
+
size: "md",
|
|
120
|
+
defaultValue: bookingTypeFilter,
|
|
121
|
+
onChange: function(e) {
|
|
122
|
+
var newBookingType = e.target.value;
|
|
123
|
+
onBookingTypeChange === null || onBookingTypeChange === void 0 ? void 0 : onBookingTypeChange(newBookingType);
|
|
124
|
+
},
|
|
125
|
+
children: [
|
|
126
|
+
/*#__PURE__*/ jsx("option", {
|
|
127
|
+
value: "Bookings For",
|
|
128
|
+
children: "Bookings For"
|
|
129
|
+
}),
|
|
130
|
+
/*#__PURE__*/ jsx("option", {
|
|
131
|
+
value: "Bookings Made",
|
|
132
|
+
children: "Bookings Made"
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
}),
|
|
136
|
+
/*#__PURE__*/ jsxs("div", {
|
|
137
|
+
className: "dashboard__filter-container",
|
|
138
|
+
children: [
|
|
139
|
+
/*#__PURE__*/ jsxs(Select, {
|
|
140
|
+
variant: "default",
|
|
141
|
+
size: "md",
|
|
142
|
+
defaultValue: timeFilter,
|
|
143
|
+
onChange: function(e) {
|
|
144
|
+
var newFilter = e.target.value;
|
|
145
|
+
handleFilterChange(newFilter);
|
|
146
|
+
},
|
|
147
|
+
className: showRefreshing ? 'select--refreshing' : '',
|
|
148
|
+
children: [
|
|
149
|
+
/*#__PURE__*/ jsx("option", {
|
|
150
|
+
value: "Today",
|
|
151
|
+
children: "Today"
|
|
152
|
+
}),
|
|
153
|
+
/*#__PURE__*/ jsx("option", {
|
|
154
|
+
value: "Yesterday",
|
|
155
|
+
children: "Yesterday"
|
|
156
|
+
}),
|
|
157
|
+
/*#__PURE__*/ jsx("option", {
|
|
158
|
+
value: "This Week",
|
|
159
|
+
children: "This Week"
|
|
160
|
+
})
|
|
161
|
+
]
|
|
162
|
+
}),
|
|
163
|
+
showRefreshing && /*#__PURE__*/ jsx("div", {
|
|
164
|
+
className: "dashboard__refresh-indicator",
|
|
165
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
166
|
+
className: "dashboard__refresh-spinner"
|
|
167
|
+
})
|
|
168
|
+
})
|
|
169
|
+
]
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
}),
|
|
173
|
+
/*#__PURE__*/ jsxs("div", {
|
|
174
|
+
className: "dashboard__metrics-grid",
|
|
175
|
+
children: [
|
|
176
|
+
/*#__PURE__*/ jsx(MetricCard, {
|
|
177
|
+
icon: "https://api.builder.io/api/v1/image/assets/TEMP/a9080a040516a2aee8e202c1fecbbf08f0f4f7b0?placeholderIfAbsent=true",
|
|
178
|
+
title: metrics.totalBookings.label || "Total Bookings",
|
|
179
|
+
value: metrics.totalBookings.value,
|
|
180
|
+
performance: {
|
|
181
|
+
icon: getTrendIcon(metrics.totalBookings.change, metrics.totalBookings.is_positive),
|
|
182
|
+
text: metrics.totalBookings.change,
|
|
183
|
+
color: metrics.totalBookings.change.toLowerCase().includes('no change') ? "#626A90" : metrics.totalBookings.is_positive ? "#2D6B18" : "#CC3C35"
|
|
184
|
+
}
|
|
185
|
+
}),
|
|
186
|
+
/*#__PURE__*/ jsx(MetricCard, {
|
|
187
|
+
icon: "https://api.builder.io/api/v1/image/assets/TEMP/d2cc0fb13dfe9a16e4258917cb2c331c1f0e1189?placeholderIfAbsent=true",
|
|
188
|
+
title: metrics.revenue.label || "Revenue",
|
|
189
|
+
value: metrics.revenue.value,
|
|
190
|
+
performance: {
|
|
191
|
+
icon: getTrendIcon(metrics.revenue.change, metrics.revenue.is_positive),
|
|
192
|
+
text: metrics.revenue.change,
|
|
193
|
+
color: metrics.revenue.change.toLowerCase().includes('no change') ? "#626A90" : metrics.revenue.is_positive ? "#2D6B18" : "#CC3C35"
|
|
194
|
+
}
|
|
195
|
+
}),
|
|
196
|
+
/*#__PURE__*/ jsx(MetricCard, {
|
|
197
|
+
icon: "https://api.builder.io/api/v1/image/assets/TEMP/8c83d255f42836d5497be545d10a8ad9295aa968?placeholderIfAbsent=true",
|
|
198
|
+
title: metrics.numberOfPeople.label || "People booked in ".concat(getTimePeriodText(timeFilter)),
|
|
199
|
+
value: metrics.numberOfPeople.formatted_value || "".concat(metrics.numberOfPeople.value, " people"),
|
|
200
|
+
performance: {
|
|
201
|
+
icon: getTrendIcon(metrics.numberOfPeople.change, metrics.numberOfPeople.is_positive),
|
|
202
|
+
text: metrics.numberOfPeople.change,
|
|
203
|
+
color: metrics.numberOfPeople.change.toLowerCase().includes('no change') ? "#626A90" : metrics.numberOfPeople.is_positive ? "#2D6B18" : "#CC3C35"
|
|
204
|
+
}
|
|
205
|
+
}),
|
|
206
|
+
/*#__PURE__*/ jsx(MetricCard, {
|
|
207
|
+
icon: "https://api.builder.io/api/v1/image/assets/TEMP/265ca1f3a6e063263764400beb86070a49b952cb?placeholderIfAbsent=true",
|
|
208
|
+
title: metrics.busiestTime.label || (timeFilter === 'This Week' ? 'Busiest day' : 'Busiest time'),
|
|
209
|
+
value: metrics.busiestTime.value,
|
|
210
|
+
performance: {
|
|
211
|
+
text: "".concat(metrics.busiestTime.peopleText, " // ").concat(metrics.busiestTime.bookingText),
|
|
212
|
+
color: "#121E52"
|
|
213
|
+
}
|
|
214
|
+
})
|
|
215
|
+
]
|
|
216
|
+
}),
|
|
217
|
+
/*#__PURE__*/ jsxs("div", {
|
|
218
|
+
className: "dashboard__content",
|
|
219
|
+
children: [
|
|
220
|
+
/*#__PURE__*/ jsxs("div", {
|
|
221
|
+
className: "dashboard__charts-section",
|
|
222
|
+
children: [
|
|
223
|
+
/*#__PURE__*/ jsx(Chart, _object_spread_props(_object_spread({}, bookingsChart), {
|
|
224
|
+
period: timeFilter === 'Today' ? 'today' : timeFilter === 'Yesterday' ? 'yesterday' : timeFilter === 'This Week' ? 'week' : 'today',
|
|
225
|
+
isFullWidth: true,
|
|
226
|
+
className: showRefreshing ? 'chart--refreshing' : '',
|
|
227
|
+
isLoading: isLoading,
|
|
228
|
+
isRefreshing: showRefreshing
|
|
229
|
+
})),
|
|
230
|
+
/*#__PURE__*/ jsx(Chart, _object_spread_props(_object_spread({}, revenueChart), {
|
|
231
|
+
isRevenue: true,
|
|
232
|
+
period: timeFilter === 'Today' ? 'today' : timeFilter === 'Yesterday' ? 'yesterday' : timeFilter === 'This Week' ? 'week' : 'today',
|
|
233
|
+
isFullWidth: true,
|
|
234
|
+
className: showRefreshing ? 'chart--refreshing' : '',
|
|
235
|
+
isLoading: isLoading,
|
|
236
|
+
isRefreshing: showRefreshing
|
|
237
|
+
}))
|
|
238
|
+
]
|
|
239
|
+
}),
|
|
240
|
+
timeFilter === 'Today' && /*#__PURE__*/ jsxs("div", {
|
|
241
|
+
className: "dashboard__sidebar",
|
|
242
|
+
children: [
|
|
243
|
+
((_metrics_workHours = metrics.workHours) === null || _metrics_workHours === void 0 ? void 0 : _metrics_workHours.is_open) ? /*#__PURE__*/ jsxs("div", {
|
|
244
|
+
className: "dashboard__venue-section",
|
|
245
|
+
children: [
|
|
246
|
+
/*#__PURE__*/ jsx(VenueCard, {
|
|
247
|
+
icon: "https://api.builder.io/api/v1/image/assets/TEMP/b44b83b1f30b882d65f942ec883e90ae34fdb2d0?placeholderIfAbsent=true",
|
|
248
|
+
title: "In venue",
|
|
249
|
+
value: metrics.peopleInVenue.formatted_value || '0'
|
|
250
|
+
}),
|
|
251
|
+
/*#__PURE__*/ jsx(VenueCard, {
|
|
252
|
+
icon: /*#__PURE__*/ jsx(VenueIcon, {}),
|
|
253
|
+
title: "Open until",
|
|
254
|
+
value: ((_metrics_workHours1 = metrics.workHours) === null || _metrics_workHours1 === void 0 ? void 0 : (_metrics_workHours_message = _metrics_workHours1.message) === null || _metrics_workHours_message === void 0 ? void 0 : _metrics_workHours_message.replace('Open until ', '')) || '',
|
|
255
|
+
shadowColor: "#121E52"
|
|
256
|
+
})
|
|
257
|
+
]
|
|
258
|
+
}) : /*#__PURE__*/ jsx(VenueClosedCard, {
|
|
259
|
+
venueInfo: metrics.workHours
|
|
260
|
+
}),
|
|
261
|
+
/*#__PURE__*/ jsx(Blog, {})
|
|
262
|
+
]
|
|
263
|
+
})
|
|
264
|
+
]
|
|
265
|
+
})
|
|
266
|
+
]
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
export { Dashboard };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".dashboard{background-color:var(--surface-primary);box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;max-width:100%;overflow:hidden;padding-bottom:24px;transition:all .3s ease-in-out;width:100%}.dashboard__metrics-grid{display:grid;gap:1rem;grid-template-columns:1fr;padding:0 1rem}@media (min-width:768px){.dashboard__metrics-grid{grid-template-columns:repeat(4,1fr);padding:0 1rem}}.dashboard__filter{align-items:center;color:var(--surface-primary);display:flex;font-size:13px;font-weight:500;gap:1rem;line-height:1;max-width:100%;padding:1rem 1rem 0;text-align:right;transition:all .3s ease-in-out}@media (min-width:768px){.dashboard__filter{max-width:100%}}.dashboard__filter .select--transitioning{opacity:.8;transition:all .2s ease-in-out}.dashboard__charts{display:flex;flex-direction:column;gap:1rem;padding:0 1rem}@media (min-width:480px){.dashboard__charts{gap:1rem}}@media (min-width:768px){.dashboard__charts{gap:1.5rem;padding:0 1rem}}.dashboard__metric-performance-text{color:var(--label-secondary);display:flex;flex-direction:column;font-size:11px;font-weight:500;gap:.25rem}.dashboard__metric-performance-text--mobile{display:block}@media (min-width:768px){.dashboard__metric-performance-text--mobile{display:none}}.dashboard__metric-performance-text--desktop{display:none}@media (min-width:768px){.dashboard__metric-performance-text--desktop{display:flex;flex-direction:column;gap:.25rem}}.dashboard__content{align-items:flex-start;display:flex;gap:.75rem;overflow:hidden;padding:0 1rem;width:100%}@media (min-width:480px){.dashboard__content{gap:1rem}}@media (min-width:768px){.dashboard__content{padding:0 1rem}}@media (max-width:1024px){.dashboard__content{flex-direction:column}}@media (min-width:1200px){.dashboard__content{gap:1.5rem}}.dashboard__content:has(.dashboard__charts-section:only-child){padding-right:1rem}@media (min-width:768px){.dashboard__content:has(.dashboard__charts-section:only-child){padding-right:1rem}}.dashboard__charts-section{display:flex;flex:1;flex-direction:column;gap:.75rem;min-width:0;overflow:hidden;transition:all .3s ease-in-out;width:100%}@media (min-width:480px){.dashboard__charts-section{gap:1rem}}@media (min-width:768px){.dashboard__charts-section{gap:1rem}}@media (min-width:1200px){.dashboard__charts-section{gap:1rem}}.dashboard__charts-section:only-child{margin-right:0;padding-right:0}.dashboard__charts-section--transitioning{opacity:.8;transform:translateY(2px)}.dashboard__charts-section--transitioning .chart{filter:blur(1px);transition:all .3s ease-in-out}.dashboard__charts-section .chart--transitioning{opacity:.7;transform:scale(.98);transition:all .3s ease-in-out}.dashboard__sidebar{display:flex;flex-direction:column;flex-shrink:0;gap:1rem;min-width:280px;width:auto}@media (min-width:480px){.dashboard__sidebar{gap:1.25rem}}@media (min-width:768px){.dashboard__sidebar{gap:1.5rem}}@media (max-width:1024px){.dashboard__sidebar{min-width:0;width:100%}}@media (min-width:1440px){.dashboard__sidebar{min-width:320px}}.dashboard__venue-section{display:flex;flex-direction:row;flex-shrink:0;gap:.75rem;width:auto}@media (min-width:480px){.dashboard__venue-section{gap:1rem}}@media (max-width:1024px){.dashboard__venue-section{width:100%}}@media (min-width:1200px){.dashboard__venue-section{gap:1.25rem}}.dashboard--charts-focus .dashboard__content{padding:0 1rem}@media (min-width:768px){.dashboard--charts-focus .dashboard__content{padding:0 1rem}}.dashboard--charts-focus .dashboard__charts-section{padding:0}.dashboard--charts-focus .dashboard__charts-section .chart{padding:1rem}.dashboard--charts-focus .dashboard__charts-section .chart[data-full-width=true] .chart__container{margin-left:-1rem;margin-right:-1rem;padding-left:1rem;width:calc(100% + 2rem)}@media (max-width:480px){.dashboard--charts-focus .dashboard__charts-section .chart[data-full-width=true] .chart__container{padding-left:.75rem}.dashboard--charts-focus .dashboard__charts-section .chart{padding:.75rem}}@media (min-width:768px){.dashboard--charts-focus .dashboard__charts-section .chart{padding:1.375rem 1rem 1rem}}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './MetricCard.scss.js';
|
|
4
|
+
|
|
5
|
+
var MetricCard = function(param) {
|
|
6
|
+
var icon = param.icon, title = param.title, value = param.value, performance = param.performance, _param_showStatusDot = param.showStatusDot, showStatusDot = _param_showStatusDot === void 0 ? false : _param_showStatusDot, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className;
|
|
7
|
+
var cardClasses = [
|
|
8
|
+
'metric-card',
|
|
9
|
+
(className === null || className === void 0 ? void 0 : className.includes('no-border')) && 'no-border',
|
|
10
|
+
(className === null || className === void 0 ? void 0 : className.includes('inline-metric')) && 'inline-metric',
|
|
11
|
+
(className === null || className === void 0 ? void 0 : className.includes('h-20')) && 'h-20',
|
|
12
|
+
(className === null || className === void 0 ? void 0 : className.includes('h-16')) && 'h-16',
|
|
13
|
+
showStatusDot && 'status-active',
|
|
14
|
+
className
|
|
15
|
+
].filter(Boolean).join(' ');
|
|
16
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
17
|
+
className: cardClasses,
|
|
18
|
+
children: [
|
|
19
|
+
/*#__PURE__*/ jsx("div", {
|
|
20
|
+
className: "metric-card__icon-wrapper",
|
|
21
|
+
children: /*#__PURE__*/ jsx("img", {
|
|
22
|
+
src: icon,
|
|
23
|
+
className: "metric-card__icon",
|
|
24
|
+
alt: title
|
|
25
|
+
})
|
|
26
|
+
}),
|
|
27
|
+
/*#__PURE__*/ jsxs("div", {
|
|
28
|
+
className: "metric-card__content",
|
|
29
|
+
children: [
|
|
30
|
+
/*#__PURE__*/ jsxs("div", {
|
|
31
|
+
className: "metric-card__header",
|
|
32
|
+
children: [
|
|
33
|
+
/*#__PURE__*/ jsx("div", {
|
|
34
|
+
className: "metric-card__title",
|
|
35
|
+
children: title
|
|
36
|
+
}),
|
|
37
|
+
/*#__PURE__*/ jsx("div", {
|
|
38
|
+
className: "metric-card__value",
|
|
39
|
+
children: value
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}),
|
|
43
|
+
performance && /*#__PURE__*/ jsxs("div", {
|
|
44
|
+
className: "metric-card__performance",
|
|
45
|
+
style: {
|
|
46
|
+
color: performance.color
|
|
47
|
+
},
|
|
48
|
+
children: [
|
|
49
|
+
performance.icon && /*#__PURE__*/ jsx("span", {
|
|
50
|
+
className: "metric-card__performance-icon",
|
|
51
|
+
children: performance.icon
|
|
52
|
+
}),
|
|
53
|
+
/*#__PURE__*/ jsx("span", {
|
|
54
|
+
className: "metric-card__performance-text",
|
|
55
|
+
children: performance.text
|
|
56
|
+
})
|
|
57
|
+
]
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
})
|
|
61
|
+
]
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export { MetricCard };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-regular-emphasis-weight:500;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.heading-desktop-xxl{font-size:var(--heading-xxl-size);font-weight:var(--heading-xxl-weight);line-height:var(--heading-xxl-line)}.heading-desktop-xl,.heading-desktop-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-xl{font-size:var(--heading-xl-size);font-weight:var(--heading-xl-weight);line-height:var(--heading-xl-line)}.heading-desktop-h1{font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line)}.heading-desktop-h1,.heading-desktop-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h2{font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);line-height:var(--heading-h2-line)}.heading-desktop-h3{font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);line-height:var(--heading-h3-line)}.heading-desktop-h3,.heading-desktop-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h4{font-size:var(--heading-h4-size);font-weight:var(--heading-h4-weight);line-height:var(--heading-h4-line)}.heading-desktop-h5{font-size:var(--heading-h5-size);font-weight:var(--heading-h5-weight);line-height:var(--heading-h5-line)}.heading-desktop-h5,.heading-desktop-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h6{font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);line-height:var(--heading-h6-line)}.heading-mobile-xxl{font-size:var(--heading-xxl-mobile-size);font-weight:var(--heading-xxl-mobile-weight);line-height:var(--heading-xxl-mobile-line)}.heading-mobile-xl,.heading-mobile-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-xl{font-size:var(--heading-xl-mobile-size);font-weight:var(--heading-xl-mobile-weight);line-height:var(--heading-xl-mobile-line)}.heading-mobile-h1{font-size:var(--heading-h1-mobile-size);font-weight:var(--heading-h1-mobile-weight);line-height:var(--heading-h1-mobile-line)}.heading-mobile-h1,.heading-mobile-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h2{font-size:var(--heading-h2-mobile-size);font-weight:var(--heading-h2-mobile-weight);line-height:var(--heading-h2-mobile-line)}.heading-mobile-h3{font-size:var(--heading-h3-mobile-size);font-weight:var(--heading-h3-mobile-weight);line-height:var(--heading-h3-mobile-line)}.heading-mobile-h3,.heading-mobile-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h4{font-size:var(--heading-h4-mobile-size);font-weight:var(--heading-h4-mobile-weight);line-height:var(--heading-h4-mobile-line)}.heading-mobile-h5{font-size:var(--heading-h5-mobile-size);font-weight:var(--heading-h5-mobile-weight);line-height:var(--heading-h5-mobile-line)}.heading-mobile-h5,.heading-mobile-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h6{font-size:var(--heading-h6-mobile-size);font-weight:var(--heading-h6-mobile-weight);line-height:var(--heading-h6-mobile-line)}.body-desktop-xl{font-size:var(--text-xl-size);font-weight:var(--text-xl-weight);line-height:var(--text-xl-line)}.body-desktop-large,.body-desktop-xl{font-family:var(--font-family-sans)!important;letter-spacing:0}.body-desktop-large{font-size:var(--text-large-size);font-weight:var(--text-large-weight);line-height:var(--text-large-line)}.body-desktop-regular{font-weight:var(--text-regular-weight)}.body-desktop-regular,.body-desktop-regular-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-regular-size);letter-spacing:0;line-height:var(--text-regular-line)}.body-desktop-regular-emphasis{font-weight:var(--text-regular-emphasis-weight)}.body-desktop-small{font-weight:var(--text-small-weight)}.body-desktop-small,.body-desktop-small-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-small-emphasis{font-weight:var(--text-small-emphasis-weight)}.body-desktop-small-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);font-weight:var(--text-small-bold-weight);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-xs{font-weight:var(--text-xs-weight)}.body-desktop-xs,.body-desktop-xs-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-xs-size);letter-spacing:0;line-height:var(--text-xs-line)}.body-desktop-xs-bold{font-weight:var(--text-xs-bold-weight)}.typography-story,[id*=v2-design-system-typography] *{font-family:var(--font-family-sans)!important}.typography-story{margin:0 auto;max-width:1200px;padding:2rem}.typography-story *{font-family:inherit!important}.story-header{margin-bottom:3rem}.story-header h1{color:var(--label-primary,#121e52);font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line);margin:0 0 .5rem}.story-header h1,.story-header p{font-family:var(--font-family-sans);letter-spacing:0}.story-header p{color:var(--label-secondary,#626a90);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);margin:0}.typography-section{margin-bottom:3rem}.typography-section__title{border-bottom:2px solid var(--border-primary,#e8e9ef);color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);letter-spacing:0;line-height:var(--heading-h2-line);margin:0 0 2rem;padding-bottom:1rem}.typography-example,.typography-grid{display:grid;gap:2rem}.typography-example{align-items:center;background:var(--surface-primary,#fff);border:1px solid var(--border-primary,#e8e9ef);border-radius:8px;grid-template-columns:1fr auto;padding:1.5rem}.typography-sample{color:var(--label-primary,#121e52)}.typography-info{min-width:200px;text-align:right}.typography-name{color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-emphasis-weight);letter-spacing:0;line-height:var(--text-small-line);margin-bottom:.25rem}.typography-specs{display:flex;gap:1rem;justify-content:flex-end;margin-bottom:.25rem}.typography-size,.typography-weight{background:var(--surface-secondary,#f8f8fa);border-radius:4px;font-family:var(--font-family-sans);font-family:var(--font-family-mono);padding:.25rem .5rem}.typography-description,.typography-size,.typography-weight{color:var(--label-secondary,#626a90);font-size:var(--text-xs-size);font-weight:var(--text-xs-weight);letter-spacing:0;line-height:var(--text-xs-line)}.typography-description{font-family:var(--font-family-sans);font-style:italic}@media (max-width:768px){.typography-story{padding:1rem}.typography-example{gap:1rem;grid-template-columns:1fr}.typography-info{text-align:left}.typography-specs{justify-content:flex-start}}.metric-card{align-items:flex-start;align-self:stretch;background-color:var(--surface-primary);border:1px solid var(--border-primary);border-radius:var(--radius-reg,8px);display:flex;gap:var(--padding-reg,16px);padding:8px;position:relative}.metric-card.no-border{border:none;border-radius:0}.metric-card.inline-metric{align-items:center;flex-direction:row;height:80px}.metric-card.h-20{height:80px}.metric-card.h-16{height:64px}.metric-card.status-active{animation:shadow-pulse 2s ease-in-out infinite}@media (min-width:768px){.metric-card{flex-direction:column;gap:1rem;min-height:160px;padding:1rem .5rem 1rem 1rem}}.metric-card__icon-wrapper{align-items:center;align-self:stretch;background-color:var(--surface-secondary);border-radius:4px;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:var(--padding-md,8px) var(--padding-md,8px);width:48px}.metric-card__icon{aspect-ratio:1;height:100%;object-fit:contain;width:100%}.metric-card__content{display:flex;flex:1;flex-direction:column;gap:8px}.metric-card__header{display:flex;flex-direction:column;gap:4px}.metric-card__title{align-self:stretch;color:var(--label-secondary);font-family:Geist,sans-serif;font-size:13px;font-style:normal;font-weight:500;line-height:16px}.metric-card__value{color:var(--label-primary);font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);line-height:var(--heading-h3-line)}.metric-card__performance,.metric-card__value{font-family:var(--font-family-sans);letter-spacing:0}.metric-card__performance{align-items:center;display:flex;font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);gap:.25rem;line-height:var(--heading-h6-line)}.metric-card__performance-icon{align-items:center;display:flex;flex-shrink:0}.metric-card__performance-icon svg{height:16px;width:16px}.metric-card__performance-text{font-family:var(--font-family-sans);font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);letter-spacing:0;line-height:var(--heading-h6-line)}@keyframes shadow-pulse{0%,to{border-color:var(--success-regular);box-shadow:0 2px 12px #52c22b4d}50%{border-color:var(--border-primary);box-shadow:0 2px 12px #52c22b00}}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './VenueCard.scss.js';
|
|
4
|
+
|
|
5
|
+
var VenueCard = function(param) {
|
|
6
|
+
var icon = param.icon, title = param.title, value = param.value, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, _param_shadowColor = param.shadowColor, shadowColor = _param_shadowColor === void 0 ? 'rgba(34, 197, 94, 1)' : _param_shadowColor;
|
|
7
|
+
var cardClasses = [
|
|
8
|
+
'venue-card',
|
|
9
|
+
(className === null || className === void 0 ? void 0 : className.includes('no-border')) && 'no-border',
|
|
10
|
+
(className === null || className === void 0 ? void 0 : className.includes('inline-metric')) && 'inline-metric',
|
|
11
|
+
(className === null || className === void 0 ? void 0 : className.includes('h-20')) && 'h-20',
|
|
12
|
+
(className === null || className === void 0 ? void 0 : className.includes('h-16')) && 'h-16',
|
|
13
|
+
className
|
|
14
|
+
].filter(Boolean).join(' ');
|
|
15
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
16
|
+
className: cardClasses,
|
|
17
|
+
style: {
|
|
18
|
+
animation: 'shadow-pulse 3s ease-in-out infinite',
|
|
19
|
+
'--shadow-color': shadowColor
|
|
20
|
+
},
|
|
21
|
+
children: [
|
|
22
|
+
/*#__PURE__*/ jsx("div", {
|
|
23
|
+
className: "venue-card__icon-wrapper",
|
|
24
|
+
children: typeof icon === 'string' ? /*#__PURE__*/ jsx("img", {
|
|
25
|
+
src: icon,
|
|
26
|
+
className: "venue-card__icon",
|
|
27
|
+
alt: title
|
|
28
|
+
}) : icon
|
|
29
|
+
}),
|
|
30
|
+
/*#__PURE__*/ jsx("div", {
|
|
31
|
+
className: "venue-card__content",
|
|
32
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
33
|
+
className: "venue-card__header",
|
|
34
|
+
children: [
|
|
35
|
+
/*#__PURE__*/ jsx("div", {
|
|
36
|
+
className: "venue-card__title",
|
|
37
|
+
children: title
|
|
38
|
+
}),
|
|
39
|
+
/*#__PURE__*/ jsx("div", {
|
|
40
|
+
className: "venue-card__value",
|
|
41
|
+
children: value
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
})
|
|
45
|
+
})
|
|
46
|
+
]
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { VenueCard };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-regular-emphasis-weight:500;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.heading-desktop-xxl{font-size:var(--heading-xxl-size);font-weight:var(--heading-xxl-weight);line-height:var(--heading-xxl-line)}.heading-desktop-xl,.heading-desktop-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-xl{font-size:var(--heading-xl-size);font-weight:var(--heading-xl-weight);line-height:var(--heading-xl-line)}.heading-desktop-h1{font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line)}.heading-desktop-h1,.heading-desktop-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h2{font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);line-height:var(--heading-h2-line)}.heading-desktop-h3{font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);line-height:var(--heading-h3-line)}.heading-desktop-h3,.heading-desktop-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h4{font-size:var(--heading-h4-size);font-weight:var(--heading-h4-weight);line-height:var(--heading-h4-line)}.heading-desktop-h5{font-size:var(--heading-h5-size);font-weight:var(--heading-h5-weight);line-height:var(--heading-h5-line)}.heading-desktop-h5,.heading-desktop-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-desktop-h6{font-size:var(--heading-h6-size);font-weight:var(--heading-h6-weight);line-height:var(--heading-h6-line)}.heading-mobile-xxl{font-size:var(--heading-xxl-mobile-size);font-weight:var(--heading-xxl-mobile-weight);line-height:var(--heading-xxl-mobile-line)}.heading-mobile-xl,.heading-mobile-xxl{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-xl{font-size:var(--heading-xl-mobile-size);font-weight:var(--heading-xl-mobile-weight);line-height:var(--heading-xl-mobile-line)}.heading-mobile-h1{font-size:var(--heading-h1-mobile-size);font-weight:var(--heading-h1-mobile-weight);line-height:var(--heading-h1-mobile-line)}.heading-mobile-h1,.heading-mobile-h2{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h2{font-size:var(--heading-h2-mobile-size);font-weight:var(--heading-h2-mobile-weight);line-height:var(--heading-h2-mobile-line)}.heading-mobile-h3{font-size:var(--heading-h3-mobile-size);font-weight:var(--heading-h3-mobile-weight);line-height:var(--heading-h3-mobile-line)}.heading-mobile-h3,.heading-mobile-h4{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h4{font-size:var(--heading-h4-mobile-size);font-weight:var(--heading-h4-mobile-weight);line-height:var(--heading-h4-mobile-line)}.heading-mobile-h5{font-size:var(--heading-h5-mobile-size);font-weight:var(--heading-h5-mobile-weight);line-height:var(--heading-h5-mobile-line)}.heading-mobile-h5,.heading-mobile-h6{font-family:var(--font-family-sans)!important;letter-spacing:0}.heading-mobile-h6{font-size:var(--heading-h6-mobile-size);font-weight:var(--heading-h6-mobile-weight);line-height:var(--heading-h6-mobile-line)}.body-desktop-xl{font-size:var(--text-xl-size);font-weight:var(--text-xl-weight);line-height:var(--text-xl-line)}.body-desktop-large,.body-desktop-xl{font-family:var(--font-family-sans)!important;letter-spacing:0}.body-desktop-large{font-size:var(--text-large-size);font-weight:var(--text-large-weight);line-height:var(--text-large-line)}.body-desktop-regular{font-weight:var(--text-regular-weight)}.body-desktop-regular,.body-desktop-regular-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-regular-size);letter-spacing:0;line-height:var(--text-regular-line)}.body-desktop-regular-emphasis{font-weight:var(--text-regular-emphasis-weight)}.body-desktop-small{font-weight:var(--text-small-weight)}.body-desktop-small,.body-desktop-small-emphasis{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-small-emphasis{font-weight:var(--text-small-emphasis-weight)}.body-desktop-small-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-small-size);font-weight:var(--text-small-bold-weight);letter-spacing:0;line-height:var(--text-small-line)}.body-desktop-xs{font-weight:var(--text-xs-weight)}.body-desktop-xs,.body-desktop-xs-bold{font-family:var(--font-family-sans)!important;font-size:var(--text-xs-size);letter-spacing:0;line-height:var(--text-xs-line)}.body-desktop-xs-bold{font-weight:var(--text-xs-bold-weight)}.typography-story,[id*=v2-design-system-typography] *{font-family:var(--font-family-sans)!important}.typography-story{margin:0 auto;max-width:1200px;padding:2rem}.typography-story *{font-family:inherit!important}.story-header{margin-bottom:3rem}.story-header h1{color:var(--label-primary,#121e52);font-size:var(--heading-h1-size);font-weight:var(--heading-h1-weight);line-height:var(--heading-h1-line);margin:0 0 .5rem}.story-header h1,.story-header p{font-family:var(--font-family-sans);letter-spacing:0}.story-header p{color:var(--label-secondary,#626a90);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);margin:0}.typography-section{margin-bottom:3rem}.typography-section__title{border-bottom:2px solid var(--border-primary,#e8e9ef);color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--heading-h2-size);font-weight:var(--heading-h2-weight);letter-spacing:0;line-height:var(--heading-h2-line);margin:0 0 2rem;padding-bottom:1rem}.typography-example,.typography-grid{display:grid;gap:2rem}.typography-example{align-items:center;background:var(--surface-primary,#fff);border:1px solid var(--border-primary,#e8e9ef);border-radius:8px;grid-template-columns:1fr auto;padding:1.5rem}.typography-sample{color:var(--label-primary,#121e52)}.typography-info{min-width:200px;text-align:right}.typography-name{color:var(--label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-emphasis-weight);letter-spacing:0;line-height:var(--text-small-line);margin-bottom:.25rem}.typography-specs{display:flex;gap:1rem;justify-content:flex-end;margin-bottom:.25rem}.typography-size,.typography-weight{background:var(--surface-secondary,#f8f8fa);border-radius:4px;font-family:var(--font-family-sans);font-family:var(--font-family-mono);padding:.25rem .5rem}.typography-description,.typography-size,.typography-weight{color:var(--label-secondary,#626a90);font-size:var(--text-xs-size);font-weight:var(--text-xs-weight);letter-spacing:0;line-height:var(--text-xs-line)}.typography-description{font-family:var(--font-family-sans);font-style:italic}@media (max-width:768px){.typography-story{padding:1rem}.typography-example{gap:1rem;grid-template-columns:1fr}.typography-info{text-align:left}.typography-specs{justify-content:flex-start}}.venue-card{align-items:start;background-color:var(--surface-primary);border:1px solid;border-radius:.5rem;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:114px;padding:1rem .5rem 1rem 1rem;position:relative;width:154px}@media (max-width:1024px){.venue-card{width:100%}}.venue-card.no-border{border:none;border-radius:0}.venue-card.inline-metric{align-items:center;flex-direction:row;height:80px}.venue-card.h-20{height:80px}.venue-card.h-16{height:64px}.venue-card.status-active{animation:shadow-pulse 2s ease-in-out infinite}@media (min-width:768px){.venue-card{min-height:114px}}.venue-card__icon-wrapper{align-items:center;background-color:var(--surface-secondary);border-radius:.5rem;display:flex;flex-shrink:0;height:32px;justify-content:center;padding:2px;width:32px;z-index:0}.venue-card__icon{align-self:start;aspect-ratio:1;height:100%;object-fit:contain;width:100%}.venue-card__content{display:flex;flex:1;flex-direction:column;justify-content:space-between;width:100%;z-index:0}.venue-card__header{display:flex;flex-direction:column;gap:.2rem}.venue-card__title{align-items:center;color:var(--label-secondary);display:flex;font-size:var(--heading-h5-size);font-weight:var(--heading-h5-weight);line-height:var(--heading-h5-line);line-height:1}.venue-card__title,.venue-card__value{font-family:var(--font-family-sans);letter-spacing:0}.venue-card__value{color:var(--label-primary);font-size:var(--heading-h3-size);font-weight:var(--heading-h3-weight);line-height:var(--heading-h3-line);line-height:1}@keyframes shadow-pulse{0%,to{border-color:var(--shadow-color,var(--success-regular));box-shadow:0 2px 12px color-mix(in srgb,var(--shadow-color,#52c22b) 30%,#0000)}50%{border-color:var(--border-primary);box-shadow:0 2px 12px #0000}}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './VenueClosedCard.scss.js';
|
|
4
|
+
|
|
5
|
+
var VenueIcon = function() {
|
|
6
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
className: "w-full h-full",
|
|
11
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
12
|
+
d: "M22 21H2V19H3V4C3 3.44772 3.44772 3 4 3H18C18.5523 3 19 3.44772 19 4V9H21V19H22V21ZM17 19H19V11H13V19H15V13H17V19ZM17 9V5H5V19H11V9H17ZM7 11H9V13H7V11ZM7 15H9V17H7V15ZM7 7H9V9H7V7Z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
var VenueClosedCard = function(param) {
|
|
17
|
+
var venueInfo = param.venueInfo, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className;
|
|
18
|
+
return /*#__PURE__*/ jsx("div", {
|
|
19
|
+
className: "venue-closed-card ".concat(className),
|
|
20
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
21
|
+
className: "venue-closed-card__container",
|
|
22
|
+
children: [
|
|
23
|
+
/*#__PURE__*/ jsx("div", {
|
|
24
|
+
className: "venue-closed-card__icon-wrapper",
|
|
25
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
26
|
+
className: "venue-closed-card__icon",
|
|
27
|
+
children: /*#__PURE__*/ jsx(VenueIcon, {})
|
|
28
|
+
})
|
|
29
|
+
}),
|
|
30
|
+
/*#__PURE__*/ jsxs("div", {
|
|
31
|
+
className: "venue-closed-card__content",
|
|
32
|
+
children: [
|
|
33
|
+
/*#__PURE__*/ jsx("div", {
|
|
34
|
+
className: "venue-closed-card__title",
|
|
35
|
+
children: venueInfo === null || venueInfo === void 0 ? void 0 : venueInfo.company_name
|
|
36
|
+
}),
|
|
37
|
+
/*#__PURE__*/ jsx("div", {
|
|
38
|
+
className: "venue-closed-card__status",
|
|
39
|
+
children: venueInfo === null || venueInfo === void 0 ? void 0 : venueInfo.message
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { VenueClosedCard };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".venue-closed-card{width:100%}.venue-closed-card__container{align-items:center;background-color:var(--surface-primary);border:1px solid var(--border-primary);border-radius:8px;display:flex;gap:16px;min-height:80px;padding:16px;position:relative;transition:all .3s ease;width:100%}.venue-closed-card__container:hover{box-shadow:0 2px 12px #52c22b1a}@media (max-width:1024px){.venue-closed-card__container{gap:12px;min-height:72px;padding:12px}}.venue-closed-card__icon-wrapper{align-items:center;background-color:var(--surface-secondary);border-radius:8px;display:flex;flex-shrink:0;height:48px;justify-content:center;padding:12px;width:48px}@media (max-width:1024px){.venue-closed-card__icon-wrapper{height:40px;padding:8px;width:40px}}.venue-closed-card__icon{align-items:center;color:var(--fill-secondary);display:flex;height:100%;justify-content:center;width:100%}.venue-closed-card__content{display:flex;flex:1;flex-direction:column;gap:4px}.venue-closed-card__title{color:var(--label-secondary);font-size:13px;font-weight:500;line-height:1.2;margin:0}@media (max-width:1024px){.venue-closed-card__title{font-size:12px}}.venue-closed-card__status{color:var(--label-primary);font-size:17px;font-weight:700;line-height:1.2;margin:0}@media (max-width:1024px){.venue-closed-card__status{font-size:15px}}.venue-closed-card.compact .venue-closed-card__container{min-height:64px;padding:12px}.venue-closed-card.compact .venue-closed-card__icon-wrapper{height:32px;padding:6px;width:32px}.venue-closed-card.compact .venue-closed-card__title{font-size:11px}.venue-closed-card.compact .venue-closed-card__status{font-size:14px}.venue-closed-card.large .venue-closed-card__container{min-height:96px;padding:20px}.venue-closed-card.large .venue-closed-card__icon-wrapper{height:56px;padding:14px;width:56px}.venue-closed-card.large .venue-closed-card__title{font-size:15px}.venue-closed-card.large .venue-closed-card__status{font-size:20px}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|