@licklist/design 0.78.5-dev.75 → 0.78.5-dev.77
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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.d.ts +1 -1
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.d.ts.map +1 -1
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.js +2 -1
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.scss.js +1 -1
- package/dist/v2/index.d.ts +2 -0
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/pages/SettingsSubPage/SettingsSubPage.d.ts +12 -0
- package/dist/v2/pages/SettingsSubPage/SettingsSubPage.d.ts.map +1 -0
- package/dist/v2/pages/SettingsSubPage/SettingsSubPage.js +47 -0
- package/dist/v2/pages/SettingsSubPage/SettingsSubPage.scss.js +6 -0
- package/dist/v2/pages/SettingsSubPage/index.d.ts +3 -0
- package/dist/v2/pages/SettingsSubPage/index.d.ts.map +1 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.d.ts +5 -8
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.d.ts.map +1 -1
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.js +68 -42
- package/dist/v2/styles/form/NewInput.scss +12 -0
- package/dist/v2/styles/form/NewInput.scss.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/v2/components/Customer/CustomerDetail.scss +11 -34
- package/src/v2/dashboard-analytics/metric-card/MetricCard.scss +18 -0
- package/src/v2/dashboard-analytics/metric-card/MetricCard.tsx +14 -11
- package/src/v2/icons/Icons.stories.tsx +253 -0
- package/src/v2/index.ts +5 -1
- package/src/v2/pages/SettingsSubPage/SettingsSubPage.scss +43 -0
- package/src/v2/pages/SettingsSubPage/SettingsSubPage.tsx +49 -0
- package/src/v2/pages/SettingsSubPage/index.ts +2 -0
- package/src/v2/pages/ZonesResources/ZonesResourcesPage.tsx +12 -39
- package/src/v2/styles/form/NewInput.scss +12 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.scss.js +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -71,5 +71,6 @@ export * from './v2/dashboard-analytics';
|
|
|
71
71
|
export { DashboardLayout, type DashboardLayoutProps, type DestinationType, ProviderSidebar, type ProviderSidebarProps, type NavItem, AdminSidebar, type AdminSidebarProps, TopNavigation, type TopNavigationProps, DashboardFooter, type DashboardFooterProps, } from './v2/navigation/DashboardLayout';
|
|
72
72
|
export * from './v2/pages/Settings';
|
|
73
73
|
export * from './v2/pages/ZonesResources';
|
|
74
|
+
export * from './v2/pages/SettingsSubPage';
|
|
74
75
|
export * from './v2/components';
|
|
75
76
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,OAAO,KAAK,MAAM,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AS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAChD,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iCAAiC,CAAA;AACxE,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,YAAY,EACZ,KAAK,iBAAiB,EACtB,aAAa,EACb,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,iCAAiC,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -249,6 +249,7 @@ export { SettingsTabs } from './v2/pages/Settings/SettingsTabs.js';
|
|
|
249
249
|
export { SidebarCustomisation, defaultSidebarItems } from './v2/pages/Settings/components/SidebarCustomisation.js';
|
|
250
250
|
export { SidebarNavItem } from './v2/pages/Settings/components/SidebarNavItem.js';
|
|
251
251
|
export { ZonesResourcesPage } from './v2/pages/ZonesResources/ZonesResourcesPage.js';
|
|
252
|
+
export { SettingsSubPage } from './v2/pages/SettingsSubPage/SettingsSubPage.js';
|
|
252
253
|
export { IconButton } from './v2/components/IconButton/IconButton.js';
|
|
253
254
|
export { Badge } from './v2/components/Badge/Badge.js';
|
|
254
255
|
export { QuickFilter } from './v2/components/QuickFilter/QuickFilter.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../../src/v2/dashboard-analytics/metric-card/MetricCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAE3B,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../../src/v2/dashboard-analytics/metric-card/MetricCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAE3B,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE;QACZ,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;QAC/B,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAwDhD,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -11,12 +11,13 @@ var MetricCard = function(param) {
|
|
|
11
11
|
(className === null || className === void 0 ? void 0 : className.includes('h-20')) && 'h-20',
|
|
12
12
|
(className === null || className === void 0 ? void 0 : className.includes('h-16')) && 'h-16',
|
|
13
13
|
showStatusDot && 'status-active',
|
|
14
|
+
!icon && 'metric-card--no-icon',
|
|
14
15
|
className
|
|
15
16
|
].filter(Boolean).join(' ');
|
|
16
17
|
return /*#__PURE__*/ jsxs("div", {
|
|
17
18
|
className: cardClasses,
|
|
18
19
|
children: [
|
|
19
|
-
/*#__PURE__*/ jsx("div", {
|
|
20
|
+
icon && /*#__PURE__*/ jsx("div", {
|
|
20
21
|
className: "metric-card__icon-wrapper",
|
|
21
22
|
children: /*#__PURE__*/ jsx("img", {
|
|
22
23
|
src: icon,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
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}}";
|
|
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)}.metric-card--no-icon{padding:16px}@media (min-width:768px){.metric-card--no-icon{min-height:80px;padding:12px 16px}}.metric-card--no-icon .metric-card__content{gap:4px;justify-content:flex-start}.metric-card--no-icon .metric-card__header{gap:8px}@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
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
package/dist/v2/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export { UserPanel } from './components/UserPanel';
|
|
|
28
28
|
export type { UserPanelProps } from './components/UserPanel';
|
|
29
29
|
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './components/ZoneCard';
|
|
30
30
|
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, ResourceRowLabels, AddResourceButtonProps } from './components/ZoneCard';
|
|
31
|
+
export { SettingsSubPage } from './pages/SettingsSubPage';
|
|
32
|
+
export type { SettingsSubPageProps } from './pages/SettingsSubPage';
|
|
31
33
|
export { ZonesResourcesPage } from './pages/ZonesResources';
|
|
32
34
|
export type { ZonesResourcesPageProps } from './pages/ZonesResources';
|
|
33
35
|
export { DataTable } from './components/DataTable';
|
package/dist/v2/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGlE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAG1D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGlE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAG5D,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW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AA;AAGrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAGtD,cAAc,SAAS,CAAA;AAMvB,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAMvD,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAOzD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACxH,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,yBAAyB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAGtJ,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC5G,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAM1I;;;;;;;;;;;;GAYG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './SettingsSubPage.scss';
|
|
3
|
+
export interface SettingsSubPageProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
backLabel?: string;
|
|
6
|
+
onBack?: () => void;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
onAction?: () => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const SettingsSubPage: React.FC<SettingsSubPageProps>;
|
|
12
|
+
//# sourceMappingURL=SettingsSubPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsSubPage.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/SettingsSubPage/SettingsSubPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,wBAAwB,CAAA;AAE/B,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiC1D,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../components/Button/Button.scss.js';
|
|
4
|
+
import { GhostButton } from '../../components/Button/GhostButton.js';
|
|
5
|
+
import { NewPageHeader } from '../../components/NewPageHeader/NewPageHeader.js';
|
|
6
|
+
import { ArrowLeftIcon, PlusIcon } from '../../icons/index.js';
|
|
7
|
+
import './SettingsSubPage.scss.js';
|
|
8
|
+
|
|
9
|
+
var SettingsSubPage = function(param) {
|
|
10
|
+
var _param_title = param.title, title = _param_title === void 0 ? '' : _param_title, _param_backLabel = param.backLabel, backLabel = _param_backLabel === void 0 ? 'Back to Settings' : _param_backLabel, onBack = param.onBack, actionLabel = param.actionLabel, onAction = param.onAction, children = param.children;
|
|
11
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
12
|
+
className: "settings-sub-page",
|
|
13
|
+
children: [
|
|
14
|
+
onBack && /*#__PURE__*/ jsx("div", {
|
|
15
|
+
className: "settings-sub-page__back",
|
|
16
|
+
children: /*#__PURE__*/ jsx(GhostButton, {
|
|
17
|
+
onClick: onBack,
|
|
18
|
+
icon: /*#__PURE__*/ jsx(ArrowLeftIcon, {}),
|
|
19
|
+
children: backLabel
|
|
20
|
+
})
|
|
21
|
+
}),
|
|
22
|
+
/*#__PURE__*/ jsx(NewPageHeader, {
|
|
23
|
+
title: title,
|
|
24
|
+
showDivider: true
|
|
25
|
+
}),
|
|
26
|
+
/*#__PURE__*/ jsxs("div", {
|
|
27
|
+
className: "settings-sub-page__content",
|
|
28
|
+
children: [
|
|
29
|
+
onAction && actionLabel && /*#__PURE__*/ jsx("div", {
|
|
30
|
+
className: "settings-sub-page__action",
|
|
31
|
+
children: /*#__PURE__*/ jsx(GhostButton, {
|
|
32
|
+
onClick: onAction,
|
|
33
|
+
icon: /*#__PURE__*/ jsx(PlusIcon, {
|
|
34
|
+
width: 16,
|
|
35
|
+
height: 16
|
|
36
|
+
}),
|
|
37
|
+
children: actionLabel
|
|
38
|
+
})
|
|
39
|
+
}),
|
|
40
|
+
children
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { SettingsSubPage };
|
|
@@ -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 = ".settings-sub-page{align-self:stretch;display:flex;flex-direction:column}.settings-sub-page__back{align-self:flex-start;padding:24px 32px 0}.settings-sub-page__back .ghost-button{border-color:var(--borders-main-border-primary,#e8e9ef);color:var(--fill-action,#5d5bf4)}.settings-sub-page__back .ghost-button:not(.active):hover:not(:disabled){background-color:var(--surface-action-soft,#f4f4fe);color:var(--fill-action,#5d5bf4)}.settings-sub-page__back .ghost-button .ghost-button__icon svg{height:24px;width:24px}@media (max-width:768px){.settings-sub-page__back{padding:16px 16px 0}}.settings-sub-page__content{padding:24px 32px}@media (max-width:768px){.settings-sub-page__content{padding:0}}.settings-sub-page__action{display:flex;justify-content:flex-end;margin-bottom:16px}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/SettingsSubPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '
|
|
3
|
-
export interface ZonesResourcesPageProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
backLabel?: string;
|
|
6
|
-
onBack?: () => void;
|
|
7
|
-
actionLabel?: string;
|
|
8
|
-
onAction?: () => void;
|
|
9
|
-
children?: React.ReactNode;
|
|
2
|
+
import type { SettingsSubPageProps } from '../SettingsSubPage';
|
|
3
|
+
export interface ZonesResourcesPageProps extends SettingsSubPageProps {
|
|
10
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use SettingsSubPage instead. This is kept for backwards compatibility.
|
|
7
|
+
*/
|
|
11
8
|
export declare const ZonesResourcesPage: React.FC<ZonesResourcesPageProps>;
|
|
12
9
|
//# sourceMappingURL=ZonesResourcesPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZonesResourcesPage.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/ZonesResources/ZonesResourcesPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ZonesResourcesPage.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/ZonesResources/ZonesResourcesPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAE9D,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;CAAG;AAExE;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAYhE,CAAA"}
|
|
@@ -1,47 +1,73 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
4
|
-
import { GhostButton } from '../../components/Button/GhostButton.js';
|
|
5
|
-
import { NewPageHeader } from '../../components/NewPageHeader/NewPageHeader.js';
|
|
6
|
-
import { ArrowLeftIcon, PlusIcon } from '../../icons/index.js';
|
|
7
|
-
import './ZonesResourcesPage.scss.js';
|
|
3
|
+
import { SettingsSubPage } from '../SettingsSubPage/SettingsSubPage.js';
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
5
|
+
function _define_property(obj, key, value) {
|
|
6
|
+
if (key in obj) {
|
|
7
|
+
Object.defineProperty(obj, key, {
|
|
8
|
+
value: value,
|
|
9
|
+
enumerable: true,
|
|
10
|
+
configurable: true,
|
|
11
|
+
writable: true
|
|
12
|
+
});
|
|
13
|
+
} else {
|
|
14
|
+
obj[key] = value;
|
|
15
|
+
}
|
|
16
|
+
return obj;
|
|
17
|
+
}
|
|
18
|
+
function _object_spread(target) {
|
|
19
|
+
for(var i = 1; i < arguments.length; i++){
|
|
20
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
21
|
+
var ownKeys = Object.keys(source);
|
|
22
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
23
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
24
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
ownKeys.forEach(function(key) {
|
|
28
|
+
_define_property(target, key, source[key]);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return target;
|
|
32
|
+
}
|
|
33
|
+
function _object_without_properties(source, excluded) {
|
|
34
|
+
if (source == null) return {};
|
|
35
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
36
|
+
var key, i;
|
|
37
|
+
if (Object.getOwnPropertySymbols) {
|
|
38
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
39
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
40
|
+
key = sourceSymbolKeys[i];
|
|
41
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
42
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
43
|
+
target[key] = source[key];
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return target;
|
|
47
|
+
}
|
|
48
|
+
function _object_without_properties_loose(source, excluded) {
|
|
49
|
+
if (source == null) return {};
|
|
50
|
+
var target = {};
|
|
51
|
+
var sourceKeys = Object.keys(source);
|
|
52
|
+
var key, i;
|
|
53
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
54
|
+
key = sourceKeys[i];
|
|
55
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
56
|
+
target[key] = source[key];
|
|
57
|
+
}
|
|
58
|
+
return target;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Use SettingsSubPage instead. This is kept for backwards compatibility.
|
|
62
|
+
*/ var ZonesResourcesPage = function(_param) {
|
|
63
|
+
var _param_title = _param.title, title = _param_title === void 0 ? 'Zones & Resources' : _param_title, _param_actionLabel = _param.actionLabel, actionLabel = _param_actionLabel === void 0 ? 'Add Zone' : _param_actionLabel, props = _object_without_properties(_param, [
|
|
64
|
+
"title",
|
|
65
|
+
"actionLabel"
|
|
66
|
+
]);
|
|
67
|
+
return /*#__PURE__*/ jsx(SettingsSubPage, _object_spread({
|
|
68
|
+
title: title,
|
|
69
|
+
actionLabel: actionLabel
|
|
70
|
+
}, props));
|
|
45
71
|
};
|
|
46
72
|
|
|
47
73
|
export { ZonesResourcesPage };
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
&__input {
|
|
36
36
|
@include typography('text.regular');
|
|
37
37
|
flex: 1 0 0;
|
|
38
|
+
color: var(--label-primary, #121e52);
|
|
38
39
|
background-color: var(--surfaces-main-background-secondary);
|
|
39
40
|
border: 2px solid var(--border-primary);
|
|
40
41
|
border-radius: var(--radius-md);
|
|
@@ -57,6 +58,17 @@
|
|
|
57
58
|
&::placeholder {
|
|
58
59
|
color: var(--labels-main-label-secondary, #626a90);
|
|
59
60
|
}
|
|
61
|
+
|
|
62
|
+
&[type="date"]::-webkit-datetime-edit-text,
|
|
63
|
+
&[type="date"]::-webkit-datetime-edit-month-field,
|
|
64
|
+
&[type="date"]::-webkit-datetime-edit-day-field,
|
|
65
|
+
&[type="date"]::-webkit-datetime-edit-year-field,
|
|
66
|
+
&[type="time"]::-webkit-datetime-edit-text,
|
|
67
|
+
&[type="time"]::-webkit-datetime-edit-hour-field,
|
|
68
|
+
&[type="time"]::-webkit-datetime-edit-minute-field,
|
|
69
|
+
&[type="time"]::-webkit-datetime-edit-ampm-field {
|
|
70
|
+
color: var(--label-primary, #121e52);
|
|
71
|
+
}
|
|
60
72
|
}
|
|
61
73
|
|
|
62
74
|
&__textarea {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
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-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}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%}.new-form-input__label{align-items:center;color:var(--label-primary);display:flex;font-size:15px;font-weight:600;justify-content:space-between;line-height:20px;width:100%}.new-form-input__label,.new-form-input__label-optional{font-family:var(--font-family-sans,\"Geist\",sans-serif);font-style:normal}.new-form-input__label-optional{color:var(--label-secondary);font-size:13px;font-weight:400;line-height:16px}.new-form-input__input{background-color:var(--surfaces-main-background-secondary);background:var(--surface-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);color:var(--labels-main-label-primary,#121e52);flex:1 0 0;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);min-height:40px;padding:8px 10px;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__input{font-size:16px}}.new-form-input__input:focus{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__textarea{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px);min-height:120px;padding:8px 10px;resize:vertical;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__textarea{font-size:16px}}.new-form-input__textarea:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__textarea::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon{align-items:center;background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--border-primary,#e8e9ef);border-radius:var(--radius-md,4px);display:flex;gap:var(--spacing-sm,8px);min-height:52px;padding:8px 10px;transition:all .2s ease;width:70%}.new-form-input__input-with-icon:focus-within{border-color:var(--border-selected,#6200ee)}.new-form-input__input-with-icon .icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;order:-1;width:24px}.new-form-input__input-with-icon--right .icon{order:1}.new-form-input__input-with-icon input{background:#0000;border:none;color:var(--label-primary);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px)}@media (max-width:768px){.new-form-input__input-with-icon input{font-size:16px}}.new-form-input__input-with-icon input:focus{outline:none}.new-form-input__input-with-icon input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon input[type=date]::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}.new-form-input__input-with-icon input[type=date]::-webkit-inner-spin-button,.new-form-input__input-with-icon input[type=date]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.new-form-input__verification-code{display:flex;gap:var(--spacing-sm,8px);height:62px}.new-form-input__verification-code .code-input{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-lg-size,18px);font-weight:var(--heading-h3-weight,600);text-align:center;transition:all .2s ease}.new-form-input__verification-code .code-input:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__helper-text{color:var(--label-secondary,#626a90);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);font-style:normal;font-weight:400;line-height:var(--text-regular-line,20px);margin-top:2px;min-width:max-content;white-space:nowrap}@media (max-width:768px){.new-form-input__helper-text{word-wrap:break-word;min-width:unset;white-space:normal}}.new-form-input__error-text{color:var(--labels-status-label-error,#ef4444);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:11px;font-style:normal;font-weight:400;line-height:14px;margin-top:2px}.new-form-input--active .new-form-input__input{border-color:var(--border-selected,#6200ee)}.new-form-input--error .new-form-input__input{border-color:var(--borders-status-border-error,#ef4444)}.new-form-input--disabled{opacity:var(--opacity-50,.5);pointer-events:none}.new-form-input--on-surface .new-form-input__input,.new-form-input--on-surface .new-form-input__input-with-icon,.new-form-input--on-surface .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.new-form-input--on-surface .new-form-input__input-with-icon:focus,.new-form-input--on-surface .new-form-input__input-with-icon:focus-within,.new-form-input--on-surface .new-form-input__input:focus,.new-form-input--on-surface .new-form-input__input:focus-within,.new-form-input--on-surface .new-form-input__textarea:focus,.new-form-input--on-surface .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}.new-form-input.dob-input .new-form-input__label{color:var(--label-secondary,#626a90)}.surface-context--secondary .new-form-input__input,.surface-context--secondary .new-form-input__input-with-icon,.surface-context--secondary .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.surface-context--secondary .new-form-input__input-with-icon:focus,.surface-context--secondary .new-form-input__input-with-icon:focus-within,.surface-context--secondary .new-form-input__input:focus,.surface-context--secondary .new-form-input__input:focus-within,.surface-context--secondary .new-form-input__textarea:focus,.surface-context--secondary .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}";
|
|
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-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}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%}.new-form-input__label{align-items:center;color:var(--label-primary);display:flex;font-size:15px;font-weight:600;justify-content:space-between;line-height:20px;width:100%}.new-form-input__label,.new-form-input__label-optional{font-family:var(--font-family-sans,\"Geist\",sans-serif);font-style:normal}.new-form-input__label-optional{color:var(--label-secondary);font-size:13px;font-weight:400;line-height:16px}.new-form-input__input{background-color:var(--surfaces-main-background-secondary);background:var(--surface-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);color:var(--labels-main-label-primary,#121e52);color:var(--label-primary,#121e52);flex:1 0 0;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);min-height:40px;padding:8px 10px;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__input{font-size:16px}}.new-form-input__input:focus{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input[type=date]::-webkit-datetime-edit-day-field,.new-form-input__input[type=date]::-webkit-datetime-edit-month-field,.new-form-input__input[type=date]::-webkit-datetime-edit-text,.new-form-input__input[type=date]::-webkit-datetime-edit-year-field,.new-form-input__input[type=time]::-webkit-datetime-edit-ampm-field,.new-form-input__input[type=time]::-webkit-datetime-edit-hour-field,.new-form-input__input[type=time]::-webkit-datetime-edit-minute-field,.new-form-input__input[type=time]::-webkit-datetime-edit-text{color:var(--label-primary,#121e52)}.new-form-input__textarea{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px);min-height:120px;padding:8px 10px;resize:vertical;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__textarea{font-size:16px}}.new-form-input__textarea:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__textarea::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon{align-items:center;background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--border-primary,#e8e9ef);border-radius:var(--radius-md,4px);display:flex;gap:var(--spacing-sm,8px);min-height:52px;padding:8px 10px;transition:all .2s ease;width:70%}.new-form-input__input-with-icon:focus-within{border-color:var(--border-selected,#6200ee)}.new-form-input__input-with-icon .icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;order:-1;width:24px}.new-form-input__input-with-icon--right .icon{order:1}.new-form-input__input-with-icon input{background:#0000;border:none;color:var(--label-primary);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px)}@media (max-width:768px){.new-form-input__input-with-icon input{font-size:16px}}.new-form-input__input-with-icon input:focus{outline:none}.new-form-input__input-with-icon input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon input[type=date]::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}.new-form-input__input-with-icon input[type=date]::-webkit-inner-spin-button,.new-form-input__input-with-icon input[type=date]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.new-form-input__verification-code{display:flex;gap:var(--spacing-sm,8px);height:62px}.new-form-input__verification-code .code-input{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-lg-size,18px);font-weight:var(--heading-h3-weight,600);text-align:center;transition:all .2s ease}.new-form-input__verification-code .code-input:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__helper-text{color:var(--label-secondary,#626a90);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);font-style:normal;font-weight:400;line-height:var(--text-regular-line,20px);margin-top:2px;min-width:max-content;white-space:nowrap}@media (max-width:768px){.new-form-input__helper-text{word-wrap:break-word;min-width:unset;white-space:normal}}.new-form-input__error-text{color:var(--labels-status-label-error,#ef4444);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:11px;font-style:normal;font-weight:400;line-height:14px;margin-top:2px}.new-form-input--active .new-form-input__input{border-color:var(--border-selected,#6200ee)}.new-form-input--error .new-form-input__input{border-color:var(--borders-status-border-error,#ef4444)}.new-form-input--disabled{opacity:var(--opacity-50,.5);pointer-events:none}.new-form-input--on-surface .new-form-input__input,.new-form-input--on-surface .new-form-input__input-with-icon,.new-form-input--on-surface .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.new-form-input--on-surface .new-form-input__input-with-icon:focus,.new-form-input--on-surface .new-form-input__input-with-icon:focus-within,.new-form-input--on-surface .new-form-input__input:focus,.new-form-input--on-surface .new-form-input__input:focus-within,.new-form-input--on-surface .new-form-input__textarea:focus,.new-form-input--on-surface .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}.new-form-input.dob-input .new-form-input__label{color:var(--label-secondary,#626a90)}.surface-context--secondary .new-form-input__input,.surface-context--secondary .new-form-input__input-with-icon,.surface-context--secondary .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.surface-context--secondary .new-form-input__input-with-icon:focus,.surface-context--secondary .new-form-input__input-with-icon:focus-within,.surface-context--secondary .new-form-input__input:focus,.surface-context--secondary .new-form-input__input:focus-within,.surface-context--secondary .new-form-input__textarea:focus,.surface-context--secondary .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
6
6
|
|
|
7
7
|
&__back {
|
|
8
|
-
margin-bottom:
|
|
8
|
+
margin-bottom: 16px;
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
gap: 8px;
|
|
@@ -37,6 +37,14 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
&__name {
|
|
41
|
+
font-size: 24px;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
color: var(--label-primary);
|
|
44
|
+
margin: 0 0 22px 0;
|
|
45
|
+
line-height: 1.2;
|
|
46
|
+
}
|
|
47
|
+
|
|
40
48
|
&__header {
|
|
41
49
|
margin-bottom: 40px;
|
|
42
50
|
}
|
|
@@ -44,33 +52,10 @@
|
|
|
44
52
|
&__summary-row {
|
|
45
53
|
display: grid;
|
|
46
54
|
grid-template-columns: repeat(4, 1fr);
|
|
47
|
-
gap:
|
|
55
|
+
gap: 16px;
|
|
48
56
|
margin-bottom: 32px;
|
|
49
57
|
}
|
|
50
58
|
|
|
51
|
-
&__summary-card {
|
|
52
|
-
background: var(--surface-secondary);
|
|
53
|
-
border: 1px solid var(--tone-light);
|
|
54
|
-
border-radius: 12px;
|
|
55
|
-
padding: 24px;
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: 8px;
|
|
59
|
-
|
|
60
|
-
label {
|
|
61
|
-
font-size: 14px;
|
|
62
|
-
font-weight: 600;
|
|
63
|
-
color: var(--label-secondary);
|
|
64
|
-
margin: 0;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&__summary-value {
|
|
69
|
-
font-size: 28px;
|
|
70
|
-
font-weight: 700;
|
|
71
|
-
color: var(--label-primary);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
59
|
&__card {
|
|
75
60
|
background: var(--surface-primary);
|
|
76
61
|
border: 1px solid var(--border-primary);
|
|
@@ -120,14 +105,6 @@
|
|
|
120
105
|
margin: 2px;
|
|
121
106
|
text-transform: none;
|
|
122
107
|
}
|
|
123
|
-
|
|
124
|
-
span {
|
|
125
|
-
font-size: 15px;
|
|
126
|
-
font-weight: 600;
|
|
127
|
-
color: var(--label-primary);
|
|
128
|
-
display: inline-flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
}
|
|
131
108
|
}
|
|
132
109
|
|
|
133
110
|
&__edit {
|
|
@@ -205,7 +182,7 @@
|
|
|
205
182
|
|
|
206
183
|
@media (max-width: 768px) {
|
|
207
184
|
.customer-detail {
|
|
208
|
-
padding: 20px
|
|
185
|
+
padding: 20px 0;
|
|
209
186
|
|
|
210
187
|
&__summary-row {
|
|
211
188
|
grid-template-columns: 1fr;
|
|
@@ -111,6 +111,24 @@
|
|
|
111
111
|
&__performance-text {
|
|
112
112
|
@include typography('heading.h6');
|
|
113
113
|
}
|
|
114
|
+
|
|
115
|
+
&--no-icon {
|
|
116
|
+
padding: 16px;
|
|
117
|
+
|
|
118
|
+
@media (min-width: 768px) {
|
|
119
|
+
min-height: 80px;
|
|
120
|
+
padding: 12px 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.metric-card__content {
|
|
124
|
+
justify-content: flex-start;
|
|
125
|
+
gap: 4px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.metric-card__header {
|
|
129
|
+
gap: 8px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
114
132
|
}
|
|
115
133
|
|
|
116
134
|
@keyframes shadow-pulse {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import './MetricCard.scss';
|
|
3
3
|
|
|
4
4
|
interface MetricCardProps {
|
|
5
|
-
icon
|
|
5
|
+
icon?: string;
|
|
6
6
|
title: string;
|
|
7
7
|
value: string;
|
|
8
8
|
performance?: {
|
|
@@ -29,19 +29,22 @@ export const MetricCard: React.FC<MetricCardProps> = ({
|
|
|
29
29
|
className?.includes('h-20') && 'h-20',
|
|
30
30
|
className?.includes('h-16') && 'h-16',
|
|
31
31
|
showStatusDot && 'status-active',
|
|
32
|
+
!icon && 'metric-card--no-icon',
|
|
32
33
|
className
|
|
33
34
|
].filter(Boolean).join(' ');
|
|
34
35
|
|
|
35
36
|
return (
|
|
36
37
|
<div className={cardClasses}>
|
|
37
|
-
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
{icon && (
|
|
39
|
+
<div className="metric-card__icon-wrapper">
|
|
40
|
+
<img
|
|
41
|
+
src={icon}
|
|
42
|
+
className="metric-card__icon"
|
|
43
|
+
alt={title}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
)}
|
|
47
|
+
|
|
45
48
|
<div className="metric-card__content">
|
|
46
49
|
<div className="metric-card__header">
|
|
47
50
|
<div className="metric-card__title">
|
|
@@ -51,7 +54,7 @@ export const MetricCard: React.FC<MetricCardProps> = ({
|
|
|
51
54
|
{value}
|
|
52
55
|
</div>
|
|
53
56
|
</div>
|
|
54
|
-
|
|
57
|
+
|
|
55
58
|
{performance && (
|
|
56
59
|
<div className="metric-card__performance" style={{ color: performance.color }}>
|
|
57
60
|
{performance.icon && (
|
|
@@ -69,4 +72,4 @@ export const MetricCard: React.FC<MetricCardProps> = ({
|
|
|
69
72
|
);
|
|
70
73
|
};
|
|
71
74
|
|
|
72
|
-
export type { MetricCardProps };
|
|
75
|
+
export type { MetricCardProps };
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {
|
|
3
|
+
DashboardIcon,
|
|
4
|
+
CompanyIcon,
|
|
5
|
+
VenueIcon,
|
|
6
|
+
MarketingIcon,
|
|
7
|
+
AdminIcon,
|
|
8
|
+
ProfileIcon,
|
|
9
|
+
CustomersIcon,
|
|
10
|
+
ReportsIcon,
|
|
11
|
+
AnalyticsIcon,
|
|
12
|
+
PaymentsIcon,
|
|
13
|
+
SettingsIcon,
|
|
14
|
+
LoyaltyIcon,
|
|
15
|
+
WaiversIcon,
|
|
16
|
+
CalendarIcon,
|
|
17
|
+
BookingsIcon,
|
|
18
|
+
BookingTypesIcon,
|
|
19
|
+
EditIcon,
|
|
20
|
+
CalendarSmallIcon,
|
|
21
|
+
SearchIcon,
|
|
22
|
+
RefreshIcon,
|
|
23
|
+
SendIcon,
|
|
24
|
+
ExternalLinkIcon,
|
|
25
|
+
ExportIcon,
|
|
26
|
+
ClearIcon,
|
|
27
|
+
ChevronLeftIcon,
|
|
28
|
+
ChevronRightIcon,
|
|
29
|
+
ArrowRightIcon,
|
|
30
|
+
ArrowLeftIcon,
|
|
31
|
+
InfoIcon,
|
|
32
|
+
TableHeaderArrowUpIcon,
|
|
33
|
+
TableHeaderArrowDownIcon,
|
|
34
|
+
ArrowUpIcon,
|
|
35
|
+
ArrowDownIcon,
|
|
36
|
+
GripVerticalIcon,
|
|
37
|
+
PlusIcon,
|
|
38
|
+
CloseIcon,
|
|
39
|
+
EllipsisIcon,
|
|
40
|
+
CircleIcon,
|
|
41
|
+
SecurityIcon,
|
|
42
|
+
NewPasswordIcon,
|
|
43
|
+
PasswordRequirementIcon,
|
|
44
|
+
VerifyEmailIcon,
|
|
45
|
+
PasswordTypeIcon,
|
|
46
|
+
BookedLogo,
|
|
47
|
+
DeleteIcon,
|
|
48
|
+
UserAddIcon,
|
|
49
|
+
UserImportIcon,
|
|
50
|
+
SlidersIcon,
|
|
51
|
+
ProviderPlusIcon,
|
|
52
|
+
ClockIcon,
|
|
53
|
+
WarningTriangleIcon,
|
|
54
|
+
CheckCircleIcon,
|
|
55
|
+
XCircleIcon,
|
|
56
|
+
UserGroupIcon,
|
|
57
|
+
UploadIcon,
|
|
58
|
+
ArrowDownSmallIcon,
|
|
59
|
+
ToggleCheckIcon,
|
|
60
|
+
ToggleCrossIcon,
|
|
61
|
+
TrendUpIcon,
|
|
62
|
+
TrendDownIcon,
|
|
63
|
+
TrendSteadyIcon,
|
|
64
|
+
TrendUpSmallIcon,
|
|
65
|
+
TrendDownSmallIcon,
|
|
66
|
+
TrendSteadySmallIcon,
|
|
67
|
+
NPSHappyIcon,
|
|
68
|
+
NPSNeutralIcon,
|
|
69
|
+
NPSSadIcon,
|
|
70
|
+
NPSSadFaceIcon,
|
|
71
|
+
NPSNeutralFaceIcon,
|
|
72
|
+
NPSHappyFaceIcon,
|
|
73
|
+
AnalyticsEmptyIcon,
|
|
74
|
+
PaymentsEmptyIcon,
|
|
75
|
+
ReportsEmptyIcon,
|
|
76
|
+
SelectCheckIcon,
|
|
77
|
+
} from './index'
|
|
78
|
+
|
|
79
|
+
export default {
|
|
80
|
+
title: 'v2/Icons',
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const iconCardStyle: React.CSSProperties = {
|
|
84
|
+
display: 'flex',
|
|
85
|
+
flexDirection: 'column',
|
|
86
|
+
alignItems: 'center',
|
|
87
|
+
justifyContent: 'center',
|
|
88
|
+
gap: 8,
|
|
89
|
+
padding: 16,
|
|
90
|
+
border: '1px solid #E8E9EF',
|
|
91
|
+
borderRadius: 8,
|
|
92
|
+
minWidth: 120,
|
|
93
|
+
minHeight: 100,
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const labelStyle: React.CSSProperties = {
|
|
97
|
+
fontSize: 11,
|
|
98
|
+
color: '#6B7280',
|
|
99
|
+
fontFamily: 'monospace',
|
|
100
|
+
textAlign: 'center',
|
|
101
|
+
wordBreak: 'break-all',
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const gridStyle: React.CSSProperties = {
|
|
105
|
+
display: 'grid',
|
|
106
|
+
gridTemplateColumns: 'repeat(auto-fill, minmax(140px, 1fr))',
|
|
107
|
+
gap: 12,
|
|
108
|
+
padding: 24,
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const sectionStyle: React.CSSProperties = {
|
|
112
|
+
marginBottom: 32,
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const sectionTitleStyle: React.CSSProperties = {
|
|
116
|
+
fontSize: 16,
|
|
117
|
+
fontWeight: 600,
|
|
118
|
+
marginBottom: 12,
|
|
119
|
+
paddingLeft: 24,
|
|
120
|
+
color: '#111827',
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const IconCard = ({ name, children }: { name: string; children: React.ReactNode }) => (
|
|
124
|
+
<div style={iconCardStyle}>
|
|
125
|
+
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
|
126
|
+
{children}
|
|
127
|
+
</div>
|
|
128
|
+
<span style={labelStyle}>{name}</span>
|
|
129
|
+
</div>
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
const Section = ({ title, children }: { title: string; children: React.ReactNode }) => (
|
|
133
|
+
<div style={sectionStyle}>
|
|
134
|
+
<h3 style={sectionTitleStyle}>{title}</h3>
|
|
135
|
+
<div style={gridStyle}>{children}</div>
|
|
136
|
+
</div>
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
export const AllIcons = () => (
|
|
140
|
+
<div>
|
|
141
|
+
<Section title="Navigation">
|
|
142
|
+
<IconCard name="DashboardIcon"><DashboardIcon /></IconCard>
|
|
143
|
+
<IconCard name="CompanyIcon"><CompanyIcon /></IconCard>
|
|
144
|
+
<IconCard name="VenueIcon"><VenueIcon /></IconCard>
|
|
145
|
+
<IconCard name="MarketingIcon"><MarketingIcon /></IconCard>
|
|
146
|
+
<IconCard name="AdminIcon"><AdminIcon /></IconCard>
|
|
147
|
+
<IconCard name="ProfileIcon"><ProfileIcon /></IconCard>
|
|
148
|
+
<IconCard name="CustomersIcon"><CustomersIcon /></IconCard>
|
|
149
|
+
<IconCard name="ReportsIcon"><ReportsIcon /></IconCard>
|
|
150
|
+
<IconCard name="AnalyticsIcon"><AnalyticsIcon /></IconCard>
|
|
151
|
+
<IconCard name="PaymentsIcon"><PaymentsIcon /></IconCard>
|
|
152
|
+
<IconCard name="SettingsIcon"><SettingsIcon /></IconCard>
|
|
153
|
+
<IconCard name="LoyaltyIcon"><LoyaltyIcon /></IconCard>
|
|
154
|
+
<IconCard name="WaiversIcon"><WaiversIcon /></IconCard>
|
|
155
|
+
<IconCard name="CalendarIcon"><CalendarIcon /></IconCard>
|
|
156
|
+
<IconCard name="BookingsIcon"><BookingsIcon /></IconCard>
|
|
157
|
+
<IconCard name="BookingTypesIcon"><BookingTypesIcon /></IconCard>
|
|
158
|
+
</Section>
|
|
159
|
+
|
|
160
|
+
<Section title="Actions">
|
|
161
|
+
<IconCard name="EditIcon"><EditIcon /></IconCard>
|
|
162
|
+
<IconCard name="SearchIcon"><SearchIcon /></IconCard>
|
|
163
|
+
<IconCard name="RefreshIcon"><RefreshIcon /></IconCard>
|
|
164
|
+
<IconCard name="SendIcon"><SendIcon /></IconCard>
|
|
165
|
+
<IconCard name="ExternalLinkIcon"><ExternalLinkIcon /></IconCard>
|
|
166
|
+
<IconCard name="ExportIcon"><ExportIcon /></IconCard>
|
|
167
|
+
<IconCard name="ClearIcon"><ClearIcon /></IconCard>
|
|
168
|
+
<IconCard name="DeleteIcon"><DeleteIcon /></IconCard>
|
|
169
|
+
<IconCard name="PlusIcon"><PlusIcon /></IconCard>
|
|
170
|
+
<IconCard name="CloseIcon"><CloseIcon /></IconCard>
|
|
171
|
+
<IconCard name="UploadIcon"><UploadIcon /></IconCard>
|
|
172
|
+
</Section>
|
|
173
|
+
|
|
174
|
+
<Section title="Arrows & Chevrons">
|
|
175
|
+
<IconCard name="ArrowLeftIcon"><ArrowLeftIcon /></IconCard>
|
|
176
|
+
<IconCard name="ArrowRightIcon"><ArrowRightIcon /></IconCard>
|
|
177
|
+
<IconCard name="ArrowUpIcon"><ArrowUpIcon /></IconCard>
|
|
178
|
+
<IconCard name="ArrowDownIcon"><ArrowDownIcon /></IconCard>
|
|
179
|
+
<IconCard name="ArrowDownSmallIcon"><ArrowDownSmallIcon /></IconCard>
|
|
180
|
+
<IconCard name="ChevronLeftIcon"><ChevronLeftIcon /></IconCard>
|
|
181
|
+
<IconCard name="ChevronRightIcon"><ChevronRightIcon /></IconCard>
|
|
182
|
+
<IconCard name="TableHeaderArrowUpIcon"><TableHeaderArrowUpIcon /></IconCard>
|
|
183
|
+
<IconCard name="TableHeaderArrowDownIcon"><TableHeaderArrowDownIcon /></IconCard>
|
|
184
|
+
</Section>
|
|
185
|
+
|
|
186
|
+
<Section title="Form & Input">
|
|
187
|
+
<IconCard name="CalendarSmallIcon"><CalendarSmallIcon /></IconCard>
|
|
188
|
+
<IconCard name="ClockIcon"><ClockIcon /></IconCard>
|
|
189
|
+
<IconCard name="InfoIcon"><InfoIcon /></IconCard>
|
|
190
|
+
<IconCard name="EllipsisIcon"><EllipsisIcon /></IconCard>
|
|
191
|
+
<IconCard name="CircleIcon"><CircleIcon /></IconCard>
|
|
192
|
+
<IconCard name="GripVerticalIcon"><GripVerticalIcon /></IconCard>
|
|
193
|
+
<IconCard name="SlidersIcon"><SlidersIcon /></IconCard>
|
|
194
|
+
<IconCard name="SelectCheckIcon"><SelectCheckIcon /></IconCard>
|
|
195
|
+
<IconCard name="ToggleCheckIcon"><ToggleCheckIcon /></IconCard>
|
|
196
|
+
<IconCard name="ToggleCrossIcon"><ToggleCrossIcon /></IconCard>
|
|
197
|
+
</Section>
|
|
198
|
+
|
|
199
|
+
<Section title="Users">
|
|
200
|
+
<IconCard name="UserAddIcon"><UserAddIcon /></IconCard>
|
|
201
|
+
<IconCard name="UserImportIcon"><UserImportIcon /></IconCard>
|
|
202
|
+
<IconCard name="UserGroupIcon"><UserGroupIcon /></IconCard>
|
|
203
|
+
<IconCard name="ProviderPlusIcon"><ProviderPlusIcon /></IconCard>
|
|
204
|
+
</Section>
|
|
205
|
+
|
|
206
|
+
<Section title="Status & Feedback">
|
|
207
|
+
<IconCard name="CheckCircleIcon"><CheckCircleIcon /></IconCard>
|
|
208
|
+
<IconCard name="XCircleIcon"><XCircleIcon /></IconCard>
|
|
209
|
+
<IconCard name="WarningTriangleIcon"><WarningTriangleIcon /></IconCard>
|
|
210
|
+
<IconCard name="SecurityIcon"><SecurityIcon /></IconCard>
|
|
211
|
+
</Section>
|
|
212
|
+
|
|
213
|
+
<Section title="Trends">
|
|
214
|
+
<IconCard name="TrendUpIcon"><TrendUpIcon /></IconCard>
|
|
215
|
+
<IconCard name="TrendDownIcon"><TrendDownIcon /></IconCard>
|
|
216
|
+
<IconCard name="TrendSteadyIcon"><TrendSteadyIcon /></IconCard>
|
|
217
|
+
<IconCard name="TrendUpSmallIcon"><TrendUpSmallIcon /></IconCard>
|
|
218
|
+
<IconCard name="TrendDownSmallIcon"><TrendDownSmallIcon /></IconCard>
|
|
219
|
+
<IconCard name="TrendSteadySmallIcon"><TrendSteadySmallIcon /></IconCard>
|
|
220
|
+
</Section>
|
|
221
|
+
|
|
222
|
+
<Section title="NPS">
|
|
223
|
+
<IconCard name="NPSHappyIcon"><NPSHappyIcon /></IconCard>
|
|
224
|
+
<IconCard name="NPSNeutralIcon"><NPSNeutralIcon /></IconCard>
|
|
225
|
+
<IconCard name="NPSSadIcon"><NPSSadIcon /></IconCard>
|
|
226
|
+
<IconCard name="NPSHappyFaceIcon"><NPSHappyFaceIcon /></IconCard>
|
|
227
|
+
<IconCard name="NPSNeutralFaceIcon"><NPSNeutralFaceIcon /></IconCard>
|
|
228
|
+
<IconCard name="NPSSadFaceIcon"><NPSSadFaceIcon /></IconCard>
|
|
229
|
+
</Section>
|
|
230
|
+
|
|
231
|
+
<Section title="Auth & Branding">
|
|
232
|
+
<IconCard name="NewPasswordIcon"><NewPasswordIcon /></IconCard>
|
|
233
|
+
<IconCard name="PasswordRequirementIcon"><PasswordRequirementIcon met={false} /></IconCard>
|
|
234
|
+
<IconCard name="PasswordRequirementIcon (met)"><PasswordRequirementIcon met /></IconCard>
|
|
235
|
+
<IconCard name="VerifyEmailIcon"><VerifyEmailIcon /></IconCard>
|
|
236
|
+
<IconCard name="PasswordTypeIcon"><PasswordTypeIcon /></IconCard>
|
|
237
|
+
<IconCard name="BookedLogo"><BookedLogo /></IconCard>
|
|
238
|
+
</Section>
|
|
239
|
+
|
|
240
|
+
<Section title="Empty States">
|
|
241
|
+
<IconCard name="AnalyticsEmptyIcon"><AnalyticsEmptyIcon /></IconCard>
|
|
242
|
+
<IconCard name="PaymentsEmptyIcon"><PaymentsEmptyIcon /></IconCard>
|
|
243
|
+
<IconCard name="ReportsEmptyIcon"><ReportsEmptyIcon /></IconCard>
|
|
244
|
+
</Section>
|
|
245
|
+
|
|
246
|
+
</div>
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
AllIcons.story = {
|
|
250
|
+
parameters: {
|
|
251
|
+
info: 'All v2 icons in the design system',
|
|
252
|
+
},
|
|
253
|
+
}
|
package/src/v2/index.ts
CHANGED
|
@@ -53,7 +53,11 @@ export type { UserPanelProps } from './components/UserPanel'
|
|
|
53
53
|
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './components/ZoneCard'
|
|
54
54
|
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, ResourceRowLabels, AddResourceButtonProps } from './components/ZoneCard'
|
|
55
55
|
|
|
56
|
-
//
|
|
56
|
+
// SettingsSubPage (generic settings sub-page layout)
|
|
57
|
+
export { SettingsSubPage } from './pages/SettingsSubPage'
|
|
58
|
+
export type { SettingsSubPageProps } from './pages/SettingsSubPage'
|
|
59
|
+
|
|
60
|
+
// ZonesResources Page (deprecated — use SettingsSubPage)
|
|
57
61
|
export { ZonesResourcesPage } from './pages/ZonesResources'
|
|
58
62
|
export type { ZonesResourcesPageProps } from './pages/ZonesResources'
|
|
59
63
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.settings-sub-page {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-self: stretch;
|
|
5
|
+
|
|
6
|
+
&__back {
|
|
7
|
+
padding: 24px 32px 0 32px;
|
|
8
|
+
align-self: flex-start;
|
|
9
|
+
|
|
10
|
+
.ghost-button {
|
|
11
|
+
color: var(--fill-action, #5D5BF4);
|
|
12
|
+
border-color: var(--borders-main-border-primary, #E8E9EF);
|
|
13
|
+
|
|
14
|
+
&:not(.active):hover:not(:disabled) {
|
|
15
|
+
background-color: var(--surface-action-soft, #F4F4FE);
|
|
16
|
+
color: var(--fill-action, #5D5BF4);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ghost-button__icon svg {
|
|
20
|
+
width: 24px;
|
|
21
|
+
height: 24px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (max-width: 768px) {
|
|
26
|
+
padding: 16px 16px 0 16px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__content {
|
|
31
|
+
padding: 24px 32px;
|
|
32
|
+
|
|
33
|
+
@media (max-width: 768px) {
|
|
34
|
+
padding: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__action {
|
|
39
|
+
margin-bottom: 16px;
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { GhostButton } from '../../components/Button'
|
|
3
|
+
import { NewPageHeader } from '../../components/NewPageHeader'
|
|
4
|
+
import { ArrowLeftIcon, PlusIcon } from '../../icons'
|
|
5
|
+
import './SettingsSubPage.scss'
|
|
6
|
+
|
|
7
|
+
export interface SettingsSubPageProps {
|
|
8
|
+
title?: string
|
|
9
|
+
backLabel?: string
|
|
10
|
+
onBack?: () => void
|
|
11
|
+
actionLabel?: string
|
|
12
|
+
onAction?: () => void
|
|
13
|
+
children?: React.ReactNode
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const SettingsSubPage: React.FC<SettingsSubPageProps> = ({
|
|
17
|
+
title = '',
|
|
18
|
+
backLabel = 'Back to Settings',
|
|
19
|
+
onBack,
|
|
20
|
+
actionLabel,
|
|
21
|
+
onAction,
|
|
22
|
+
children,
|
|
23
|
+
}) => {
|
|
24
|
+
return (
|
|
25
|
+
<div className="settings-sub-page">
|
|
26
|
+
{onBack && (
|
|
27
|
+
<div className="settings-sub-page__back">
|
|
28
|
+
<GhostButton onClick={onBack} icon={<ArrowLeftIcon />}>
|
|
29
|
+
{backLabel}
|
|
30
|
+
</GhostButton>
|
|
31
|
+
</div>
|
|
32
|
+
)}
|
|
33
|
+
<NewPageHeader
|
|
34
|
+
title={title}
|
|
35
|
+
showDivider
|
|
36
|
+
/>
|
|
37
|
+
<div className="settings-sub-page__content">
|
|
38
|
+
{onAction && actionLabel && (
|
|
39
|
+
<div className="settings-sub-page__action">
|
|
40
|
+
<GhostButton onClick={onAction} icon={<PlusIcon width={16} height={16} />}>
|
|
41
|
+
{actionLabel}
|
|
42
|
+
</GhostButton>
|
|
43
|
+
</div>
|
|
44
|
+
)}
|
|
45
|
+
{children}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
)
|
|
49
|
+
}
|
|
@@ -1,49 +1,22 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ArrowLeftIcon, PlusIcon } from '../../icons'
|
|
5
|
-
import './ZonesResourcesPage.scss'
|
|
2
|
+
import { SettingsSubPage } from '../SettingsSubPage'
|
|
3
|
+
import type { SettingsSubPageProps } from '../SettingsSubPage'
|
|
6
4
|
|
|
7
|
-
export interface ZonesResourcesPageProps {
|
|
8
|
-
title?: string
|
|
9
|
-
backLabel?: string
|
|
10
|
-
onBack?: () => void
|
|
11
|
-
actionLabel?: string
|
|
12
|
-
onAction?: () => void
|
|
13
|
-
children?: React.ReactNode
|
|
14
|
-
}
|
|
5
|
+
export interface ZonesResourcesPageProps extends SettingsSubPageProps {}
|
|
15
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use SettingsSubPage instead. This is kept for backwards compatibility.
|
|
9
|
+
*/
|
|
16
10
|
export const ZonesResourcesPage: React.FC<ZonesResourcesPageProps> = ({
|
|
17
11
|
title = 'Zones & Resources',
|
|
18
|
-
backLabel = 'Back to Settings',
|
|
19
|
-
onBack,
|
|
20
12
|
actionLabel = 'Add Zone',
|
|
21
|
-
|
|
22
|
-
children,
|
|
13
|
+
...props
|
|
23
14
|
}) => {
|
|
24
15
|
return (
|
|
25
|
-
<
|
|
26
|
-
{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</GhostButton>
|
|
31
|
-
</div>
|
|
32
|
-
)}
|
|
33
|
-
<NewPageHeader
|
|
34
|
-
title={title}
|
|
35
|
-
showDivider
|
|
36
|
-
/>
|
|
37
|
-
<div className="zones-resources-page__content">
|
|
38
|
-
{onAction && (
|
|
39
|
-
<div className="zones-resources-page__action">
|
|
40
|
-
<GhostButton onClick={onAction} icon={<PlusIcon width={16} height={16} />}>
|
|
41
|
-
{actionLabel}
|
|
42
|
-
</GhostButton>
|
|
43
|
-
</div>
|
|
44
|
-
)}
|
|
45
|
-
{children}
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
16
|
+
<SettingsSubPage
|
|
17
|
+
title={title}
|
|
18
|
+
actionLabel={actionLabel}
|
|
19
|
+
{...props}
|
|
20
|
+
/>
|
|
48
21
|
)
|
|
49
22
|
}
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
&__input {
|
|
36
36
|
@include typography('text.regular');
|
|
37
37
|
flex: 1 0 0;
|
|
38
|
+
color: var(--label-primary, #121e52);
|
|
38
39
|
background-color: var(--surfaces-main-background-secondary);
|
|
39
40
|
border: 2px solid var(--border-primary);
|
|
40
41
|
border-radius: var(--radius-md);
|
|
@@ -57,6 +58,17 @@
|
|
|
57
58
|
&::placeholder {
|
|
58
59
|
color: var(--labels-main-label-secondary, #626a90);
|
|
59
60
|
}
|
|
61
|
+
|
|
62
|
+
&[type="date"]::-webkit-datetime-edit-text,
|
|
63
|
+
&[type="date"]::-webkit-datetime-edit-month-field,
|
|
64
|
+
&[type="date"]::-webkit-datetime-edit-day-field,
|
|
65
|
+
&[type="date"]::-webkit-datetime-edit-year-field,
|
|
66
|
+
&[type="time"]::-webkit-datetime-edit-text,
|
|
67
|
+
&[type="time"]::-webkit-datetime-edit-hour-field,
|
|
68
|
+
&[type="time"]::-webkit-datetime-edit-minute-field,
|
|
69
|
+
&[type="time"]::-webkit-datetime-edit-ampm-field {
|
|
70
|
+
color: var(--label-primary, #121e52);
|
|
71
|
+
}
|
|
60
72
|
}
|
|
61
73
|
|
|
62
74
|
&__textarea {
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".zones-resources-page{align-self:stretch;display:flex;flex-direction:column}.zones-resources-page__back{align-self:flex-start;padding:24px 32px 0}.zones-resources-page__back .ghost-button{border-color:var(--borders-main-border-primary,#e8e9ef);color:var(--fill-action,#5d5bf4)}.zones-resources-page__back .ghost-button:not(.active):hover:not(:disabled){background-color:var(--surface-action-soft,#f4f4fe);color:var(--fill-action,#5d5bf4)}.zones-resources-page__back .ghost-button .ghost-button__icon svg{height:24px;width:24px}@media (max-width:768px){.zones-resources-page__back{padding:16px 16px 0}}.zones-resources-page__content{padding:24px 32px}@media (max-width:768px){.zones-resources-page__content{padding:0}}.zones-resources-page__action{display:flex;justify-content:flex-end;margin-bottom:16px}";
|
|
4
|
-
styleInject(css_248z);
|
|
5
|
-
|
|
6
|
-
export { css_248z as default };
|