@hulkapps/app-manager-vue 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/app-manager-vue.esm.js +41024 -3406
- package/dist/app-manager-vue.min.js +9 -1
- package/dist/app-manager-vue.ssr.js +39512 -3381
- package/dist/hulkapps-app-manager.css +13284 -0
- package/dist/hulkapps-app-manager.min.css +1 -0
- package/package.json +10 -5
- package/src/components/Marketing/Banners.vue +44 -44
- package/src/components/Plans/AppManagerPlan.vue +494 -0
- package/src/components/Plans/PlanBanners.vue +50 -0
- package/src/components/Plans/YearlyPlanPromotion.vue +37 -0
- package/src/components/polaris-vue/src/components/PActionList/PActionList.vue +68 -0
- package/src/components/polaris-vue/src/components/PActionList/components/PActionListItem/PActionListItem.vue +91 -0
- package/src/components/polaris-vue/src/components/PActionList/components/PActionListSection/PActionListSection.vue +68 -0
- package/src/components/polaris-vue/src/components/PActionMenu/PActionMenu.vue +54 -0
- package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuActions/PActionMenuActions.vue +197 -0
- package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuMenuAction/PActionMenuMenuAction.vue +97 -0
- package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuMenuGroup/PActionMenuMenuGroup.vue +54 -0
- package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuRollupActions/PActionMenuRollupActions.vue +43 -0
- package/src/components/polaris-vue/src/components/PAvatar/PAvatar.vue +104 -0
- package/src/components/polaris-vue/src/components/PBadge/PBadge.vue +86 -0
- package/src/components/polaris-vue/src/components/PBanner/PBanner.vue +132 -0
- package/src/components/polaris-vue/src/components/PBreadcrumbs/PBreadcrumbs.vue +99 -0
- package/src/components/polaris-vue/src/components/PButton/PButton.vue +396 -0
- package/src/components/polaris-vue/src/components/PButton/components/PButtonsFrom/PButtonsFrom.vue +47 -0
- package/src/components/polaris-vue/src/components/PButton/components/PUnstyledButton/PUnstyledButton.vue +340 -0
- package/src/components/polaris-vue/src/components/PButtonGroup/PButtonGroup.vue +76 -0
- package/src/components/polaris-vue/src/components/PButtonGroup/components/PButtonGroupItem/PButtonGroupItem.vue +11 -0
- package/src/components/polaris-vue/src/components/PCaption/PCaption.vue +29 -0
- package/src/components/polaris-vue/src/components/PCard/PCard.vue +118 -0
- package/src/components/polaris-vue/src/components/PCard/components/PCardFooter/PCardFooter.vue +11 -0
- package/src/components/polaris-vue/src/components/PCard/components/PCardHeader/PCardHeader.vue +69 -0
- package/src/components/polaris-vue/src/components/PCard/components/PCardSection/PCardSection.vue +54 -0
- package/src/components/polaris-vue/src/components/PCard/components/PCardSubsection/PCardSubsection.vue +12 -0
- package/src/components/polaris-vue/src/components/PConnected/PConnected.vue +44 -0
- package/src/components/polaris-vue/src/components/PConnected/components/PConnectedItem/PConnectedItem.vue +41 -0
- package/src/components/polaris-vue/src/components/PDataTable/PDataTable.vue +541 -0
- package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCell/PDataTableCell.vue +213 -0
- package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCellNew/PDataTableCellNew.vue +162 -0
- package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCol/PDataTableCol.vue +75 -0
- package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableRow/PDataTableRow.vue +15 -0
- package/src/components/polaris-vue/src/components/PDisplayText/PDisplayText.vue +56 -0
- package/src/components/polaris-vue/src/components/PEmptyState/PEmptyState.vue +154 -0
- package/src/components/polaris-vue/src/components/PFieldError/PFieldError.vue +41 -0
- package/src/components/polaris-vue/src/components/PFilter/PFilter.vue +252 -0
- package/src/components/polaris-vue/src/components/PFilter/components/PFilterItem/PFilterItem.vue +11 -0
- package/src/components/polaris-vue/src/components/PFilter/components/PFilterItemWrapper/PFilterItemWrapper.vue +32 -0
- package/src/components/polaris-vue/src/components/PHeading/PHeading.vue +33 -0
- package/src/components/polaris-vue/src/components/PIcon/PIcon.vue +121 -0
- package/src/components/polaris-vue/src/components/PIcon/ShopifyIcons.vue +217 -0
- package/src/components/polaris-vue/src/components/PImage/PImage.vue +49 -0
- package/src/components/polaris-vue/src/components/PLayout/PLayout.vue +42 -0
- package/src/components/polaris-vue/src/components/PLayout/components/PLayoutSection/PLayoutSection.vue +55 -0
- package/src/components/polaris-vue/src/components/PLink/PLink.vue +90 -0
- package/src/components/polaris-vue/src/components/POptionalTag/POptionalTag.vue +23 -0
- package/src/components/polaris-vue/src/components/PPage/PPage.vue +136 -0
- package/src/components/polaris-vue/src/components/PPage/components/PPageHeader/PPageHeader.vue +191 -0
- package/src/components/polaris-vue/src/components/PPage/components/PPageHeaderTitle/PPageHeaderTitle.vue +63 -0
- package/src/components/polaris-vue/src/components/PPagination/PPagination.vue +119 -0
- package/src/components/polaris-vue/src/components/PPopover/PPopover.vue +298 -0
- package/src/components/polaris-vue/src/components/PPopover/components/PPopoverOverlay/PPopoverOverlay.vue +66 -0
- package/src/components/polaris-vue/src/components/PPopover/components/PPositionedOverlay/PPositionedOverlay.vue +289 -0
- package/src/components/polaris-vue/src/components/PSpinner/PSpinner.vue +60 -0
- package/src/components/polaris-vue/src/components/PStack/PStack.vue +84 -0
- package/src/components/polaris-vue/src/components/PStack/components/PStackItem/PStackItem.vue +49 -0
- package/src/components/polaris-vue/src/components/PSubheading/PSubheading.vue +36 -0
- package/src/components/polaris-vue/src/components/PTag/PTag.vue +89 -0
- package/src/components/polaris-vue/src/components/PTextContainer/PTextContainer.vue +41 -0
- package/src/components/polaris-vue/src/components/PTextField/PTextField.vue +229 -0
- package/src/components/polaris-vue/src/components/PTextField/components/PFieldResizer/PFieldResizer.vue +79 -0
- package/src/components/polaris-vue/src/components/PTextField/components/PInput/PInput.vue +473 -0
- package/src/components/polaris-vue/src/components/PTextField/components/PSpinner/PSpinner.vue +47 -0
- package/src/components/polaris-vue/src/components/PTextStyle/PTextStyle.vue +60 -0
- package/src/components/polaris-vue/src/components/PThumbnail/PThumbnail.vue +71 -0
- package/src/components/polaris-vue/src/components/PToggle/PToggle.vue +81 -0
- package/src/components/polaris-vue/src/components/PUnstyledLink/PUnstyledLink.vue +67 -0
package/src/components/polaris-vue/src/components/PCard/components/PCardSection/PCardSection.vue
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="className">
|
|
3
|
+
<div v-if="title || $slots.hasOwnProperty('title')" class="Polaris-Card__SectionHeader">
|
|
4
|
+
<slot name="title">
|
|
5
|
+
<PSubheading v-bind="$attrs">
|
|
6
|
+
{{ title }}
|
|
7
|
+
</PSubheading>
|
|
8
|
+
</slot>
|
|
9
|
+
</div>
|
|
10
|
+
<!-- @slot Body of Card section -->
|
|
11
|
+
<slot/>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
import { classNames } from '../../../../utilities/css';
|
|
17
|
+
import { PSubheading } from '../../../../components/PSubheading';
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
name: 'PCardSection',
|
|
21
|
+
components: {
|
|
22
|
+
PSubheading,
|
|
23
|
+
},
|
|
24
|
+
props: {
|
|
25
|
+
/**
|
|
26
|
+
* Title content for the card section
|
|
27
|
+
*/
|
|
28
|
+
title: {
|
|
29
|
+
type: String,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Title content for the card section
|
|
33
|
+
*/
|
|
34
|
+
subdued: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
* Card will stretch/shrink to occupy the full width
|
|
39
|
+
*/
|
|
40
|
+
fullWidth: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
className() {
|
|
46
|
+
return classNames(
|
|
47
|
+
'Polaris-Card__Section',
|
|
48
|
+
this.subdued && 'Polaris-Card__Section--subdued',
|
|
49
|
+
this.fullWidth && 'Polaris-Card__Section--fullWidth',
|
|
50
|
+
);
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="Polaris-Connected">
|
|
3
|
+
<PConnectedItem
|
|
4
|
+
v-if="$slots.left || left"
|
|
5
|
+
position="Left">
|
|
6
|
+
<slot name="left">{{ left }}</slot>
|
|
7
|
+
</PConnectedItem>
|
|
8
|
+
|
|
9
|
+
<PConnectedItem position="Primary">
|
|
10
|
+
<slot v-if="!$slots.children">
|
|
11
|
+
{{ children }}
|
|
12
|
+
</slot>
|
|
13
|
+
<slot name="children"></slot>
|
|
14
|
+
</PConnectedItem>
|
|
15
|
+
|
|
16
|
+
<PConnectedItem
|
|
17
|
+
v-if="$slots.right || right"
|
|
18
|
+
position="Right">
|
|
19
|
+
<slot name="right">{{ right }}</slot>
|
|
20
|
+
</PConnectedItem>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script>
|
|
25
|
+
import { PConnectedItem } from '../../components/PConnected/components/PConnectedItem';
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
name: 'PConnected',
|
|
29
|
+
components: {
|
|
30
|
+
PConnectedItem,
|
|
31
|
+
},
|
|
32
|
+
props: {
|
|
33
|
+
left: {
|
|
34
|
+
type: String,
|
|
35
|
+
},
|
|
36
|
+
right: {
|
|
37
|
+
type: String,
|
|
38
|
+
},
|
|
39
|
+
children: {
|
|
40
|
+
type: String,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div @blur="focused = false"
|
|
3
|
+
@focus="focused = true"
|
|
4
|
+
:class="className">
|
|
5
|
+
<slot v-if="!$slots.children">{{ children }}</slot>
|
|
6
|
+
<slot name="children"></slot>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script>
|
|
11
|
+
import { classNames } from '../../../../utilities/css';
|
|
12
|
+
import StringValidator from '../../../../utilities/validators/StringValidator';
|
|
13
|
+
|
|
14
|
+
const Position = ['Left', 'Primary', 'Right'];
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: 'PConnectedItem',
|
|
18
|
+
props: {
|
|
19
|
+
position: {
|
|
20
|
+
type: String,
|
|
21
|
+
...StringValidator('position', Position)
|
|
22
|
+
},
|
|
23
|
+
children: {
|
|
24
|
+
type: String,
|
|
25
|
+
},
|
|
26
|
+
focused: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
computed: {
|
|
31
|
+
className() {
|
|
32
|
+
return classNames(
|
|
33
|
+
'Polaris-Connected__Item',
|
|
34
|
+
this.focused && 'Polaris-Connected__Item--focused',
|
|
35
|
+
this.position === 'Primary' && 'Polaris-Connected__Item--primary',
|
|
36
|
+
this.position !== 'Primary' && 'Polaris-Connected__Item--connection',
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
</script>
|