@planningcenter/topbar 11.2.5 → 12.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/topbar.js +135 -12
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +135 -12
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +135 -12
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +135 -12
- package/dist/topbar.umd.js.map +1 -1
- package/package.json +5 -4
package/dist/topbar.modern.js
CHANGED
|
@@ -3603,6 +3603,19 @@ const {
|
|
|
3603
3603
|
LoadingIndicator: LoadingIndicator$1,
|
|
3604
3604
|
StackView: StackView$1
|
|
3605
3605
|
} = components;
|
|
3606
|
+
function CalendlyWidget({
|
|
3607
|
+
url,
|
|
3608
|
+
pageSettings,
|
|
3609
|
+
prefill,
|
|
3610
|
+
styles
|
|
3611
|
+
}) {
|
|
3612
|
+
return url ? (/*#__PURE__*/React__default.createElement(InlineWidget, {
|
|
3613
|
+
url: url,
|
|
3614
|
+
pageSettings: pageSettings,
|
|
3615
|
+
prefill: prefill,
|
|
3616
|
+
styles: styles
|
|
3617
|
+
})) : null;
|
|
3618
|
+
}
|
|
3606
3619
|
function HelpdeskComponent({
|
|
3607
3620
|
appName,
|
|
3608
3621
|
closeDrawer,
|
|
@@ -3671,14 +3684,68 @@ function HelpdeskComponent({
|
|
|
3671
3684
|
spacing: 1
|
|
3672
3685
|
}, /*#__PURE__*/React__default.createElement(DrawerHeading, null, "Help and support"), /*#__PURE__*/React__default.createElement(LoadingIndicator$1, null)))),
|
|
3673
3686
|
additionalComponents: {
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3687
|
+
CalendlyWidget: {
|
|
3688
|
+
component: CalendlyWidget,
|
|
3689
|
+
properties: {
|
|
3690
|
+
pageSettings: {
|
|
3691
|
+
attribute: false
|
|
3692
|
+
},
|
|
3693
|
+
prefill: {
|
|
3694
|
+
attribute: false
|
|
3695
|
+
},
|
|
3696
|
+
styles: {
|
|
3697
|
+
attribute: false
|
|
3698
|
+
},
|
|
3699
|
+
url: {
|
|
3700
|
+
type: String
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
},
|
|
3704
|
+
DocumentationSearch: {
|
|
3705
|
+
component: DocumentationSearch,
|
|
3706
|
+
properties: {
|
|
3707
|
+
currentAppName: {
|
|
3708
|
+
type: String
|
|
3709
|
+
},
|
|
3710
|
+
indexName: {
|
|
3711
|
+
type: String
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
},
|
|
3715
|
+
DrawerHeader: {
|
|
3716
|
+
component: DrawerHeader,
|
|
3717
|
+
properties: {
|
|
3718
|
+
closeDrawer: {
|
|
3719
|
+
event: false
|
|
3720
|
+
}
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3678
3723
|
DrawerHeading,
|
|
3679
|
-
PicobotIframe
|
|
3724
|
+
PicobotIframe: {
|
|
3725
|
+
component: PicobotIframe,
|
|
3726
|
+
properties: {
|
|
3727
|
+
currentPath: {
|
|
3728
|
+
attribute: false
|
|
3729
|
+
},
|
|
3730
|
+
onChangePath: {
|
|
3731
|
+
event: false,
|
|
3732
|
+
type: Function
|
|
3733
|
+
},
|
|
3734
|
+
onMessage: {
|
|
3735
|
+
event: false,
|
|
3736
|
+
type: Function
|
|
3737
|
+
}
|
|
3738
|
+
}
|
|
3739
|
+
},
|
|
3680
3740
|
ScrollContainer,
|
|
3681
|
-
SwitchView
|
|
3741
|
+
SwitchView: {
|
|
3742
|
+
component: SwitchView,
|
|
3743
|
+
properties: {
|
|
3744
|
+
activeIndex: {
|
|
3745
|
+
type: Number
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3682
3749
|
},
|
|
3683
3750
|
args: {
|
|
3684
3751
|
appName,
|
|
@@ -4282,8 +4349,13 @@ const {
|
|
|
4282
4349
|
function NavLinkWithBadge({
|
|
4283
4350
|
children,
|
|
4284
4351
|
badge,
|
|
4285
|
-
|
|
4286
|
-
|
|
4352
|
+
borderBottomColor,
|
|
4353
|
+
borderBottomStyle,
|
|
4354
|
+
borderBottomWidth,
|
|
4355
|
+
color,
|
|
4356
|
+
fontSize,
|
|
4357
|
+
fontWeight,
|
|
4358
|
+
onClick
|
|
4287
4359
|
}) {
|
|
4288
4360
|
return /*#__PURE__*/React__default.createElement(StackView$2, {
|
|
4289
4361
|
as: "button",
|
|
@@ -4293,7 +4365,14 @@ function NavLinkWithBadge({
|
|
|
4293
4365
|
paddingBottom: 0.75,
|
|
4294
4366
|
onClick: () => onClick(),
|
|
4295
4367
|
spacing: 1,
|
|
4296
|
-
...
|
|
4368
|
+
...{
|
|
4369
|
+
borderBottomColor,
|
|
4370
|
+
borderBottomStyle,
|
|
4371
|
+
borderBottomWidth,
|
|
4372
|
+
color,
|
|
4373
|
+
fontSize,
|
|
4374
|
+
fontWeight
|
|
4375
|
+
}
|
|
4297
4376
|
}, children, badge && /*#__PURE__*/React__default.createElement(Badge, {
|
|
4298
4377
|
size: "sm",
|
|
4299
4378
|
fontWeight: "600",
|
|
@@ -4345,11 +4424,55 @@ function TasksComponent({
|
|
|
4345
4424
|
spacing: 1
|
|
4346
4425
|
}, /*#__PURE__*/React__default.createElement(DrawerHeading, null, "To do"), /*#__PURE__*/React__default.createElement(LoadingIndicator, null)))),
|
|
4347
4426
|
additionalComponents: {
|
|
4348
|
-
DrawerHeader
|
|
4427
|
+
DrawerHeader: {
|
|
4428
|
+
component: DrawerHeader,
|
|
4429
|
+
properties: {
|
|
4430
|
+
closeDrawer: {
|
|
4431
|
+
event: false,
|
|
4432
|
+
type: Function
|
|
4433
|
+
}
|
|
4434
|
+
}
|
|
4435
|
+
},
|
|
4349
4436
|
DrawerHeading,
|
|
4350
|
-
NavLinkWithBadge
|
|
4437
|
+
NavLinkWithBadge: {
|
|
4438
|
+
component: NavLinkWithBadge,
|
|
4439
|
+
properties: {
|
|
4440
|
+
badge: {
|
|
4441
|
+
attribute: false
|
|
4442
|
+
},
|
|
4443
|
+
borderBottomColor: {
|
|
4444
|
+
type: String
|
|
4445
|
+
},
|
|
4446
|
+
borderBottomStyle: {
|
|
4447
|
+
type: String
|
|
4448
|
+
},
|
|
4449
|
+
borderBottomWidth: {
|
|
4450
|
+
type: String
|
|
4451
|
+
},
|
|
4452
|
+
color: {
|
|
4453
|
+
type: String
|
|
4454
|
+
},
|
|
4455
|
+
fontSize: {
|
|
4456
|
+
attribute: false
|
|
4457
|
+
},
|
|
4458
|
+
fontWeight: {
|
|
4459
|
+
attribute: false
|
|
4460
|
+
},
|
|
4461
|
+
onClick: {
|
|
4462
|
+
event: false,
|
|
4463
|
+
type: Function
|
|
4464
|
+
}
|
|
4465
|
+
}
|
|
4466
|
+
},
|
|
4351
4467
|
ScrollContainer,
|
|
4352
|
-
SwitchView
|
|
4468
|
+
SwitchView: {
|
|
4469
|
+
component: SwitchView,
|
|
4470
|
+
properties: {
|
|
4471
|
+
activeIndex: {
|
|
4472
|
+
type: Number
|
|
4473
|
+
}
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4353
4476
|
},
|
|
4354
4477
|
args: {
|
|
4355
4478
|
closeDrawer,
|