@xplortech/apollo-core 0.5.2 → 0.5.3

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.
Files changed (173) hide show
  1. package/dist/apollo-core/apollo-core.css +5468 -9
  2. package/dist/apollo-core/apollo-core.esm.js +125 -1
  3. package/dist/apollo-core/app-globals-0f993ce5.js +3 -0
  4. package/dist/apollo-core/css-shim-bbdf0cc6.js +4 -0
  5. package/dist/apollo-core/dom-1f98a75f.js +73 -0
  6. package/dist/apollo-core/index-3c9f25ef.js +2938 -0
  7. package/dist/apollo-core/index-912d1a21.js +584 -0
  8. package/dist/apollo-core/index.esm.js +1 -0
  9. package/dist/{cjs/regular-872f5226.js → apollo-core/regular-133c23b5.js} +12 -3
  10. package/dist/apollo-core/shadow-css-67b66845.js +389 -0
  11. package/dist/apollo-core/xpl-application-shell.entry.js +50 -0
  12. package/dist/apollo-core/xpl-avatar.entry.js +19 -0
  13. package/dist/apollo-core/xpl-backdrop.entry.js +21 -0
  14. package/dist/{esm → apollo-core}/xpl-badge.entry.js +1 -1
  15. package/dist/{collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js → apollo-core/xpl-breadcrumb-item.entry.js} +9 -12
  16. package/dist/apollo-core/xpl-breadcrumbs.entry.js +14 -0
  17. package/dist/{esm → apollo-core}/xpl-button-row.entry.js +1 -1
  18. package/dist/apollo-core/xpl-button.entry.js +34 -0
  19. package/dist/apollo-core/xpl-checkbox.entry.js +25 -0
  20. package/dist/{esm → apollo-core}/xpl-choicelist.entry.js +1 -1
  21. package/dist/apollo-core/xpl-content-area.entry.js +16 -0
  22. package/dist/{esm → apollo-core}/xpl-divider.entry.js +1 -1
  23. package/dist/{esm → apollo-core}/xpl-grid-item.entry.js +1 -1
  24. package/dist/{esm → apollo-core}/xpl-grid.entry.js +1 -1
  25. package/dist/{esm → apollo-core}/xpl-input.entry.js +20 -3
  26. package/dist/{esm → apollo-core}/xpl-list.entry.js +2 -2
  27. package/dist/apollo-core/xpl-main-nav.entry.js +26 -0
  28. package/dist/apollo-core/xpl-nav-item.entry.js +12 -0
  29. package/dist/{esm → apollo-core}/xpl-pagination.entry.js +1 -1
  30. package/dist/apollo-core/xpl-radio.entry.js +25 -0
  31. package/dist/apollo-core/xpl-secondary-nav.entry.js +12 -0
  32. package/dist/{esm → apollo-core}/xpl-select.entry.js +43 -3
  33. package/dist/{esm → apollo-core}/xpl-table.entry.js +1 -1
  34. package/dist/{esm → apollo-core}/xpl-tag.entry.js +1 -1
  35. package/dist/{esm → apollo-core}/xpl-toggle.entry.js +2 -2
  36. package/dist/apollo-core/xpl-utility-bar.entry.js +25 -0
  37. package/dist/types/components/xpl-choicelist/choice.d.ts +1 -1
  38. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -0
  39. package/dist/types/components/xpl-dropdown/dropdownchoice.d.ts +5 -5
  40. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +1 -0
  41. package/dist/types/components/xpl-list/listitem.d.ts +15 -15
  42. package/dist/types/components/xpl-list/xpl-list.d.ts +1 -0
  43. package/dist/types/components/xpl-select/xpl-select.d.ts +1 -0
  44. package/dist/types/components.d.ts +3 -0
  45. package/package.json +1 -1
  46. package/dist/apollo-core/p-0203d4e8.entry.js +0 -1
  47. package/dist/apollo-core/p-0b2c612e.entry.js +0 -1
  48. package/dist/apollo-core/p-128a0240.entry.js +0 -1
  49. package/dist/apollo-core/p-2f90296c.js +0 -10
  50. package/dist/apollo-core/p-30003b15.entry.js +0 -1
  51. package/dist/apollo-core/p-4e56a2ca.entry.js +0 -1
  52. package/dist/apollo-core/p-5854d1e4.entry.js +0 -1
  53. package/dist/apollo-core/p-611536d8.entry.js +0 -1
  54. package/dist/apollo-core/p-7c9fee7e.entry.js +0 -1
  55. package/dist/apollo-core/p-8b6633c7.js +0 -1
  56. package/dist/apollo-core/p-97cd1f73.entry.js +0 -1
  57. package/dist/apollo-core/p-9c5ca308.entry.js +0 -1
  58. package/dist/apollo-core/p-ad90fe4d.js +0 -1
  59. package/dist/apollo-core/p-bd4a7e3c.entry.js +0 -1
  60. package/dist/apollo-core/p-dab8e7a1.entry.js +0 -1
  61. package/dist/apollo-core/p-eb63b401.entry.js +0 -1
  62. package/dist/apollo-core/p-ee2f4422.entry.js +0 -1
  63. package/dist/apollo-core/p-f167aa05.entry.js +0 -1
  64. package/dist/cjs/apollo-core.cjs.js +0 -19
  65. package/dist/cjs/index-944adb2e.js +0 -1609
  66. package/dist/cjs/index.cjs.js +0 -2
  67. package/dist/cjs/loader.cjs.js +0 -21
  68. package/dist/cjs/v4-14140ff3.js +0 -77
  69. package/dist/cjs/xpl-application-shell_11.cjs.entry.js +0 -230
  70. package/dist/cjs/xpl-badge.cjs.entry.js +0 -21
  71. package/dist/cjs/xpl-button-row.cjs.entry.js +0 -24
  72. package/dist/cjs/xpl-checkbox_2.cjs.entry.js +0 -51
  73. package/dist/cjs/xpl-choicelist.cjs.entry.js +0 -36
  74. package/dist/cjs/xpl-divider.cjs.entry.js +0 -18
  75. package/dist/cjs/xpl-grid-item.cjs.entry.js +0 -25
  76. package/dist/cjs/xpl-grid.cjs.entry.js +0 -35
  77. package/dist/cjs/xpl-input.cjs.entry.js +0 -2527
  78. package/dist/cjs/xpl-list.cjs.entry.js +0 -63
  79. package/dist/cjs/xpl-pagination.cjs.entry.js +0 -76
  80. package/dist/cjs/xpl-select.cjs.entry.js +0 -623
  81. package/dist/cjs/xpl-table.cjs.entry.js +0 -89
  82. package/dist/cjs/xpl-tag.cjs.entry.js +0 -21
  83. package/dist/cjs/xpl-toggle.cjs.entry.js +0 -34
  84. package/dist/collection/collection-manifest.json +0 -37
  85. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +0 -143
  86. package/dist/collection/components/xpl-avatar/xpl-avatar.js +0 -158
  87. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +0 -41
  88. package/dist/collection/components/xpl-badge/xpl-badge.js +0 -50
  89. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +0 -15
  90. package/dist/collection/components/xpl-button/xpl-button.js +0 -214
  91. package/dist/collection/components/xpl-button-row/xpl-button-row.js +0 -119
  92. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +0 -185
  93. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +0 -143
  94. package/dist/collection/components/xpl-content-area/xpl-content-area.js +0 -39
  95. package/dist/collection/components/xpl-divider/xpl-divider.js +0 -30
  96. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +0 -32
  97. package/dist/collection/components/xpl-grid/xpl-grid.js +0 -26
  98. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +0 -93
  99. package/dist/collection/components/xpl-input/xpl-input.js +0 -471
  100. package/dist/collection/components/xpl-list/xpl-list.js +0 -93
  101. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +0 -72
  102. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +0 -10
  103. package/dist/collection/components/xpl-pagination/xpl-pagination.js +0 -189
  104. package/dist/collection/components/xpl-radio/xpl-radio.js +0 -168
  105. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +0 -9
  106. package/dist/collection/components/xpl-select/xpl-select.js +0 -311
  107. package/dist/collection/components/xpl-table/xpl-table.js +0 -194
  108. package/dist/collection/components/xpl-tag/xpl-tag.js +0 -30
  109. package/dist/collection/components/xpl-toggle/xpl-toggle.js +0 -157
  110. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +0 -70
  111. package/dist/custom-elements/index.js +0 -19959
  112. package/dist/esm/apollo-core.js +0 -17
  113. package/dist/esm/index-899dba3b.js +0 -1580
  114. package/dist/esm/index.js +0 -1
  115. package/dist/esm/loader.js +0 -17
  116. package/dist/esm/polyfills/core-js.js +0 -11
  117. package/dist/esm/polyfills/css-shim.js +0 -1
  118. package/dist/esm/polyfills/dom.js +0 -79
  119. package/dist/esm/polyfills/es5-html-element.js +0 -1
  120. package/dist/esm/polyfills/index.js +0 -34
  121. package/dist/esm/polyfills/system.js +0 -6
  122. package/dist/esm/regular-86225e9d.js +0 -16041
  123. package/dist/esm/v4-929670b7.js +0 -75
  124. package/dist/esm/xpl-application-shell_11.entry.js +0 -216
  125. package/dist/esm/xpl-checkbox_2.entry.js +0 -46
  126. package/dist/index.cjs.js +0 -1
  127. package/dist/index.js +0 -1
  128. package/dist/stories/application-shell.stories.js +0 -766
  129. package/dist/stories/avatar.stories.js +0 -173
  130. package/dist/stories/backdrop.stories.js +0 -18
  131. package/dist/stories/badge.stories.js +0 -48
  132. package/dist/stories/breadcrumbs.stories.js +0 -115
  133. package/dist/stories/button-row.stories.js +0 -64
  134. package/dist/stories/button.stories.js +0 -98
  135. package/dist/stories/checkbox.stories.js +0 -76
  136. package/dist/stories/choicelist.stories.js +0 -112
  137. package/dist/stories/content-area.stories.js +0 -53
  138. package/dist/stories/divider.stories.js +0 -34
  139. package/dist/stories/grid.stories.js +0 -100
  140. package/dist/stories/input.stories.js +0 -252
  141. package/dist/stories/list.stories.js +0 -134
  142. package/dist/stories/main-nav.stories.js +0 -308
  143. package/dist/stories/pagination.stories.js +0 -84
  144. package/dist/stories/radio.stories.js +0 -66
  145. package/dist/stories/secondary-nav.stories.js +0 -76
  146. package/dist/stories/select.stories.js +0 -111
  147. package/dist/stories/table.stories.js +0 -107
  148. package/dist/stories/tabs.stories.js +0 -24
  149. package/dist/stories/toggle.stories.js +0 -80
  150. package/dist/stories/utility-bar.stories.js +0 -94
  151. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/application-shell.stories.d.ts +0 -0
  152. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
  153. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
  154. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
  155. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
  156. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/button-row.stories.d.ts +0 -0
  157. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/button.stories.d.ts +0 -0
  158. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/checkbox.stories.d.ts +0 -0
  159. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/choicelist.stories.d.ts +0 -0
  160. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/content-area.stories.d.ts +0 -0
  161. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/divider.stories.d.ts +0 -0
  162. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/grid.stories.d.ts +0 -0
  163. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/input.stories.d.ts +0 -0
  164. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/list.stories.d.ts +0 -0
  165. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/main-nav.stories.d.ts +0 -0
  166. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  167. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/radio.stories.d.ts +0 -0
  168. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -0
  169. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/select.stories.d.ts +0 -0
  170. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/table.stories.d.ts +0 -0
  171. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  172. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/toggle.stories.d.ts +0 -0
  173. /package/dist/types/Users/{fernandogelin/Projects → roc/Sites}/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -0
@@ -1,107 +0,0 @@
1
- import { v4 as uuid } from "uuid";
2
- export default {
3
- title: "Components/Table",
4
- argTypes: {
5
- freeze: { control: { type: "boolean" } },
6
- multiselect: { control: { type: "boolean" } },
7
- striped: { control: { type: "boolean" } },
8
- },
9
- };
10
- const columns = [
11
- "Name",
12
- "Total Days Played",
13
- "Average Days Played",
14
- "Seasons",
15
- "Individual Immunity Wins",
16
- "Votes Against",
17
- ];
18
- const data = [
19
- ["Boston Rob Mariano", "152", "30.4", "S4, S8, S20, S22, S40", "9", "24"],
20
- ["Parvati Shallow", "149", "37.25", "S13, S16, S20", "4", "17"],
21
- ["Ozzy Lusth", "128", "32.0", "S13, S16, S23, S34", "7", "34"],
22
- ["Cirie Fields", "121", "30.25", "S12, S16, S20, S34", "2", "9"],
23
- ["Tyson Apostol", "116.5", "29.1", "S18, S20, S27, S40", "4", "22"],
24
- ];
25
- const script = ({ id }) => `
26
- (function() {
27
- const table = document.getElementById("${id}");
28
- table.columns = ${JSON.stringify(columns)};
29
- table.data = ${JSON.stringify(data)};
30
- })();
31
- `;
32
- export const Table = ({ freeze, multiselect, striped }) => {
33
- const id = uuid();
34
- let attrs = "";
35
- if (freeze)
36
- attrs += " freeze";
37
- if (multiselect)
38
- attrs += " multiselect";
39
- if (striped)
40
- attrs += " striped";
41
- return `<div style="max-width: 600px;"><xpl-table id="${id}"${attrs}></xpl-table></div><script>${script({
42
- id,
43
- })}</script>`;
44
- };
45
- Table.parameters = {
46
- layout: "centered",
47
- "web-component": {
48
- render({ freeze, multiselect, striped }) {
49
- let attrs = "";
50
- if (freeze)
51
- attrs += " freeze";
52
- if (multiselect)
53
- attrs += " multiselect";
54
- if (striped)
55
- attrs += " striped";
56
- return [
57
- `<xpl-table${attrs}></xpl-table>`,
58
- `table.columns = [
59
- "Name", "Total Days Played", ...
60
- ];`,
61
- `table.data = [
62
- ["Boston Rob Mariano", ...],
63
- ["Parvati Shallow", ...],
64
- ...
65
- ];`,
66
- ];
67
- },
68
- },
69
- html: {
70
- render({ freeze, striped }) {
71
- let className = "xpl-table";
72
- if (striped)
73
- className += " xpl-table--striped";
74
- if (freeze)
75
- className += " xpl-table--freeze";
76
- return [
77
- `WARNING: For \`multiselect\` tables, there is JS interactivity that is provided only by the web component. The code shown below does not reflect the additional \`multiselect\` table markup and interactivity.`,
78
- `<div class="xpl-table-container">
79
- <table class="${className}">
80
- <thead>
81
- <th>Name</th>
82
- <th>Total Days Played</th>
83
- ...
84
- </thead>
85
- <tbody>
86
- <tr>
87
- <td>Boston Rob Mariano</td>
88
- <td>152</td>
89
- ...
90
- </tr>
91
- <tr>
92
- <td>Parvati Shallow</td>
93
- <td>149</td>
94
- ...
95
- </tr>
96
- </tbody>
97
- </table>
98
- </div>`,
99
- ];
100
- },
101
- },
102
- };
103
- Table.args = {
104
- freeze: true,
105
- multiselect: false,
106
- striped: false,
107
- };
@@ -1,24 +0,0 @@
1
- /* export default {
2
- title: "Components/Tabs",
3
- };
4
-
5
- export const Tabs = () =>
6
- `<div class="xpl-tabs">
7
- <nav aria-label="Tabs">
8
- <a href="#" class="current" aria-current="page">
9
- Applied
10
- <span>52</span>
11
- </a>
12
- <a href="#">
13
- Phone Screening
14
- <span>6</span>
15
- </a>
16
- <a href="#">
17
- Interview
18
- <span>4</span>
19
- </a>
20
- <a href="#">Offer</a>
21
- <a href="#">Disqualified</a>
22
- </nav>
23
- </div>`;
24
- */
@@ -1,80 +0,0 @@
1
- export default {
2
- title: "Components/Toggle",
3
- argTypes: {
4
- checked: {
5
- control: {
6
- type: "boolean"
7
- }
8
- },
9
- variant: {
10
- options: ["default", "small"],
11
- control: {
12
- type: "select",
13
- },
14
- },
15
- heading: {
16
- type: { name: "string", required: true },
17
- },
18
- label: {
19
- type: { name: "string", required: true },
20
- },
21
- description: {
22
- type: { name: "string", required: false },
23
- },
24
- disabled: {
25
- control: {
26
- type: "boolean",
27
- },
28
- },
29
- },
30
- };
31
- export const Toggle = ({ checked, description, disabled, label, heading, variant }) => {
32
- let attrs = "";
33
- if (checked)
34
- attrs += ` checked`;
35
- if (description)
36
- attrs += ` description="${description}"`;
37
- if (heading)
38
- attrs += ` heading="${heading}"`;
39
- if (label)
40
- attrs += ` label="${label}"`;
41
- if (variant === "small")
42
- attrs += ' variant="small"';
43
- if (disabled)
44
- attrs += ` disabled`;
45
- return `<xpl-toggle${attrs}></xpl-toggle>`;
46
- };
47
- Toggle.parameters = {
48
- layout: "centered",
49
- "web-component": {
50
- render: Toggle,
51
- },
52
- html: {
53
- render({ label, heading, checked, description, disabled, variant }) {
54
- let attrs = "";
55
- if (disabled)
56
- attrs += ` disabled`;
57
- if (checked)
58
- attrs += ` checked`;
59
- let className = "xpl-toggle";
60
- if (variant === "small")
61
- className += " xpl-toggle--small";
62
- return `<div class="xpl-toggle-container">${heading || description ? `
63
- <label for="id">
64
- ${heading}${description ? `
65
- <small>${description}</small>` : ""}
66
- </label>` : ''}
67
- <input class="${className}" id="id" type="checkbox"${attrs}></input>
68
- <label for="id">${label}</label>
69
- </div>`;
70
- },
71
- },
72
- };
73
- Toggle.args = {
74
- checked: false,
75
- heading: "Toggle Heading",
76
- label: "Label",
77
- variant: "default",
78
- description: "Lorem ipsum dolor sit amet",
79
- disabled: false,
80
- };
@@ -1,94 +0,0 @@
1
- export default {
2
- title: "Components/Navigation/Utility Bar",
3
- argTypes: {
4
- mainSlot: {
5
- type: { name: 'string', required: false },
6
- },
7
- asideSlot: {
8
- type: { name: 'string', required: false },
9
- },
10
- },
11
- };
12
- const Story = ({ mainSlot, asideSlot }) => `
13
- <div style="width: 85vw;">
14
- <xpl-utility-bar>
15
- <ul slot="main">
16
- ${mainSlot}
17
- </ul>
18
- <ul slot="aside">
19
- ${asideSlot}
20
- </ul>
21
- </xpl-utility-bar>
22
- </div>
23
- `;
24
- // This is a temporary hack to include a fontawesome icon as an example in this story. Icons will eventually be their own apollo component (or pure fontawesome).
25
- // When that happens we should update this story to use the component instead of the following svg.
26
- const bars = `
27
- <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" class="svg-inline--fa fa-bars fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"></path></svg>
28
- `;
29
- const setMainSlot = () => `<li>${bars}</li>`;
30
- const setAsideSlot = (isMobile) => `
31
- <li>
32
- <xpl-button
33
- type="submit"
34
- variant="secondary"
35
- ${isMobile ? 'icon-only' : 'icon-leading'}
36
- icon="user-circle"
37
- >Find Customer</xpl-button
38
- >
39
- </li>
40
- <li>
41
- <xpl-avatar
42
- name="Jeremy"
43
- src="https://pbs.twimg.com/profile_images/1388990311637127168/njwE8QEa_reasonably_small.jpg"
44
- status="inactive"
45
- ></xpl-avatar>
46
- </li>
47
- `;
48
- const globalParams = {
49
- layout: "centered",
50
- "web-component": {
51
- render: ({ mainSlot, asideSlot }) => `
52
- <xpl-utility-bar>
53
- <ul slot="main">
54
- ${mainSlot}
55
- </ul>
56
- <ul slot="main">
57
- ${asideSlot}
58
- </ul>
59
- </xpl-utility-bar>
60
- `,
61
- },
62
- html: {
63
- render: ({ mainSlot, asideSlot }) => `
64
- <nav class="xpl-utility-bar">
65
- <ul slot="main">
66
- ${mainSlot}
67
- </ul>
68
- <ul slot="main">
69
- ${asideSlot}
70
- </ul>
71
- </nav>
72
- `,
73
- },
74
- };
75
- // BEGIN: Story for Utility Bar on Mobile
76
- export const UtilityBarMobile = Story.bind({});
77
- UtilityBarMobile.args = {
78
- mainSlot: setMainSlot(),
79
- asideSlot: setAsideSlot(true),
80
- };
81
- UtilityBarMobile.parameters = Object.assign(Object.assign({}, globalParams), { viewport: {
82
- defaultViewport: 'iphone12',
83
- } });
84
- UtilityBarMobile.storyName = 'Mobile';
85
- // END: Story for Utility Bar on Mobile
86
- // BEGIN: Story for Utility Bar on Desktop
87
- export const UtilityBarDesktop = Story.bind({});
88
- UtilityBarDesktop.args = {
89
- mainSlot: setMainSlot(),
90
- asideSlot: setAsideSlot(false),
91
- };
92
- UtilityBarDesktop.parameters = Object.assign({}, globalParams);
93
- UtilityBarDesktop.storyName = 'Desktop';
94
- // END: Story for Utility Bar on Desktop