@redvars/peacock 3.6.1 → 3.6.2

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 (71) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/assets/styles.css.map +1 -1
  3. package/dist/assets/tokens.css +1 -1
  4. package/dist/assets/tokens.css.map +1 -1
  5. package/dist/{button-colors-Ccys3hvS.js → button-colors-AvGh22Zn.js} +18 -18
  6. package/dist/{button-colors-Ccys3hvS.js.map → button-colors-AvGh22Zn.js.map} +1 -1
  7. package/dist/button-group.js +2 -2
  8. package/dist/button.js +2 -3
  9. package/dist/button.js.map +1 -1
  10. package/dist/card.js +1 -1
  11. package/dist/card.js.map +1 -1
  12. package/dist/code-highlighter.js +34 -9
  13. package/dist/code-highlighter.js.map +1 -1
  14. package/dist/custom-elements-jsdocs.json +661 -73
  15. package/dist/custom-elements.json +718 -80
  16. package/dist/flow-designer.js +1402 -8
  17. package/dist/flow-designer.js.map +1 -1
  18. package/dist/icon-CueRR7wx.js +260 -0
  19. package/dist/icon-CueRR7wx.js.map +1 -0
  20. package/dist/{icon-button-CK1ZuE-2.js → icon-button-ohxHhy4t.js} +2 -2
  21. package/dist/{icon-button-CK1ZuE-2.js.map → icon-button-ohxHhy4t.js.map} +1 -1
  22. package/dist/index.js +9 -8
  23. package/dist/index.js.map +1 -1
  24. package/dist/modal.js +11 -11
  25. package/dist/modal.js.map +1 -1
  26. package/dist/{navigation-rail-DTTkqohi.js → navigation-rail-CD7IrqbN.js} +247 -123
  27. package/dist/navigation-rail-CD7IrqbN.js.map +1 -0
  28. package/dist/peacock-loader.js +30 -30
  29. package/dist/peacock-loader.js.map +1 -1
  30. package/dist/{popover-NC7b1lTq.js → popover-DUPmMVWS.js} +9 -4
  31. package/dist/{popover-NC7b1lTq.js.map → popover-DUPmMVWS.js.map} +1 -1
  32. package/dist/popover.js +1 -1
  33. package/dist/src/__controllers/floating-controller.d.ts +1 -0
  34. package/dist/src/avatar/avatar.d.ts +1 -1
  35. package/dist/src/breadcrumb/breadcrumb/breadcrumb.d.ts +0 -1
  36. package/dist/src/chip/chip/chip.d.ts +14 -11
  37. package/dist/src/chip/chip-set/chip-set.d.ts +20 -0
  38. package/dist/src/chip/chip-set/index.d.ts +1 -0
  39. package/dist/src/code-highlighter/code-highlighter.d.ts +4 -0
  40. package/dist/src/index.d.ts +1 -0
  41. package/dist/src/menu/menu/menu.d.ts +1 -0
  42. package/dist/src/modal/modal.d.ts +1 -1
  43. package/dist/test/chip.test.d.ts +1 -0
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +1 -1
  46. package/readme.md +2 -2
  47. package/scss/styles.scss +3 -3
  48. package/scss/tokens.css +1 -1
  49. package/src/__controllers/floating-controller.ts +9 -3
  50. package/src/avatar/avatar.scss +4 -4
  51. package/src/avatar/avatar.ts +1 -1
  52. package/src/breadcrumb/breadcrumb/breadcrumb.ts +0 -1
  53. package/src/button/button/button.scss +17 -17
  54. package/src/button/button/button.ts +1 -2
  55. package/src/card/card.ts +1 -1
  56. package/src/chip/chip/chip.scss +119 -45
  57. package/src/chip/chip/chip.ts +97 -38
  58. package/src/chip/chip-set/chip-set.scss +13 -0
  59. package/src/chip/chip-set/chip-set.ts +25 -0
  60. package/src/chip/chip-set/index.ts +1 -0
  61. package/src/code-highlighter/code-highlighter.ts +33 -6
  62. package/src/field/field.scss +1 -1
  63. package/src/index.ts +1 -0
  64. package/src/menu/menu/menu.ts +11 -0
  65. package/src/modal/modal.scss +10 -10
  66. package/src/modal/modal.ts +1 -1
  67. package/src/peacock-loader.ts +24 -22
  68. package/dist/flow-designer-DvTUrDp5.js +0 -1656
  69. package/dist/flow-designer-DvTUrDp5.js.map +0 -1
  70. package/dist/navigation-rail-DTTkqohi.js.map +0 -1
  71. package/src/chip/chip/chip-colors.scss +0 -31
@@ -1,9 +1,13 @@
1
- import { html, LitElement, nothing } from 'lit';
2
- import { property } from 'lit/decorators.js';
1
+ import { html, nothing } from 'lit';
2
+ import { property, query, state } from 'lit/decorators.js';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
+ import { ifDefined } from 'lit/directives/if-defined.js';
5
+ import { observerSlotChangesWithCallback } from '@/__utils/observe-slot-change.js';
6
+ import { dispatchActivationClick, isActivationClick } from '@/__utils/dispatch-event-utils.js';
4
7
  import styles from './chip.scss';
5
- import colorStyles from './chip-colors.scss';
6
8
  import sizeStyles from './chip-sizes.scss';
9
+ import { spread } from '@/__directive/spread.js';
10
+ import { BaseButton } from '@/button/BaseButton.js';
7
11
 
8
12
  /**
9
13
  * @label Chip
@@ -17,30 +21,41 @@ import sizeStyles from './chip-sizes.scss';
17
21
  * <wc-chip>Chip content</wc-chip>
18
22
  * ```
19
23
  */
20
- export class Chip extends LitElement {
24
+ export class Chip extends BaseButton {
21
25
  // Define styles (Lit handles Scoping via Shadow DOM by default)
22
26
  // You would typically import your tag.scss.js here or use the css tag
23
- static styles = [styles, colorStyles, sizeStyles];
27
+ static styles = [styles, sizeStyles];
24
28
 
25
29
  /** If true, the tag will have a close icon. */
26
30
  @property({ type: Boolean }) dismissible = false;
27
31
 
28
- /** Tag color. */
29
- @property({ type: String, reflect: true }) color?:
30
- | 'default'
31
- | 'blue'
32
- | 'green'
33
- | 'red'
34
- | 'yellow' = 'default';
32
+ /**
33
+ * Additional ARIA attributes to pass to the inner button/anchor element.
34
+ */
35
+ @property({ reflect: true })
36
+ configAria?: { [key: string]: any };
35
37
 
36
- /** Tag value. */
37
- @property({ type: String, reflect: true }) value = '';
38
+ @state() private _hasIconSlotContent = false;
38
39
 
39
- /** If true, the tag will be selected. */
40
- @property({ type: Boolean, reflect: true }) selected = false;
40
+ @state() private _isPressed = false;
41
41
 
42
- /** Image source. */
43
- @property({ type: String }) imageSrc?: string;
42
+ override focus() {
43
+ this.buttonElement?.focus();
44
+ }
45
+
46
+ override blur() {
47
+ this.buttonElement?.blur();
48
+ }
49
+
50
+ override firstUpdated() {
51
+ observerSlotChangesWithCallback(
52
+ this.renderRoot.querySelector('slot[name="icon"]'),
53
+ hasContent => {
54
+ this._hasIconSlotContent = hasContent;
55
+ this.requestUpdate();
56
+ },
57
+ );
58
+ }
44
59
 
45
60
  private _dismissClickHandler(e: MouseEvent) {
46
61
  e.stopPropagation();
@@ -56,8 +71,9 @@ export class Chip extends LitElement {
56
71
  );
57
72
  }
58
73
 
74
+
59
75
  private _renderCloseButton() {
60
- if (!this.dismissible) return null;
76
+ if (!this.dismissible) return nothing;
61
77
 
62
78
  return html`
63
79
  <button
@@ -70,35 +86,78 @@ export class Chip extends LitElement {
70
86
  `;
71
87
  }
72
88
 
73
- private _renderImage() {
74
- if (this.imageSrc)
75
- return html`<img
76
- src=${this.imageSrc}
77
- class="tag-image"
78
- alt="Tag Logo"
79
- />`;
80
- return nothing;
81
- }
89
+
82
90
 
83
91
  render() {
84
- const classes = {
92
+ const cssClasses = {
85
93
  chip: true,
94
+ button: true,
86
95
  selected: this.selected,
87
96
  dismissible: this.dismissible,
88
- [`color-${this.color}`]: true,
97
+ pressed: this._isPressed,
98
+ 'icon-slot-has-content': this._hasIconSlotContent,
89
99
  };
90
100
 
101
+ if (!this.__isLink()) {
102
+ return html`<button
103
+ class=${classMap(cssClasses)}
104
+ id="button"
105
+ type=${this.htmlType}
106
+ @click=${this.__dispatchClickWithThrottle}
107
+ @mousedown=${this.__handlePress}
108
+ @keydown=${this.__handlePress}
109
+ @keyup=${this.__handlePress}
110
+
111
+ aria-describedby=${ifDefined(this.softDisabled ? BaseButton.DISABLED_REASON_ID : undefined)}
112
+ ?aria-disabled=${this.softDisabled}
113
+
114
+ ?disabled=${this.disabled}
115
+ ${spread(this.configAria)}
116
+ >
117
+ ${this.renderChipContent()}
118
+ </button>`;
119
+ }
120
+ return html`<a
121
+ class=${classMap(cssClasses)}
122
+ id="button"
123
+ href=${this.href}
124
+ target=${this.target}
125
+ tabindex=${this.disabled ? '-1' : '0'}
126
+
127
+ @click=${this.__dispatchClick}
128
+ @mousedown=${this.__handlePress}
129
+ @keydown=${this.__handlePress}
130
+ @keyup=${this.__handlePress}
131
+ role="button"
132
+
133
+ aria-describedby=${ifDefined(this.softDisabled ? BaseButton.DISABLED_REASON_ID : undefined)}
134
+ ?aria-disabled=${this.softDisabled}
135
+
136
+ ${spread(this.configAria)}
137
+ >
138
+ ${this.renderChipContent()}
139
+ </a>`;
140
+ }
141
+
142
+ renderChipContent() {
91
143
  return html`
92
- <div class="${classMap(classes)}">
93
- <wc-elevation class="elevation"></wc-elevation>
94
- <div class="background"></div>
95
- <div class="outline"></div>
144
+ <wc-focus-ring class="focus-ring" for="button"></wc-focus-ring>
145
+ <wc-elevation class="elevation"></wc-elevation>
146
+ <div class="background"></div>
147
+ <div class="outline"></div>
148
+ <wc-ripple class="ripple"></wc-ripple>
149
+ <div class="tag-content">
96
150
 
97
- <div class="tag-content">
98
- <slot name="icon"></slot>
99
- <slot></slot>
100
- ${this._renderCloseButton()}
151
+ <div class="icon-slot-container">
152
+ ${this.selected
153
+ ? html`<wc-icon class="selected-icon" name="check"></wc-icon>`
154
+ : html`<slot name="icon"></slot>`}
101
155
  </div>
156
+ <div class="label-container">
157
+ <slot></slot>
158
+ </div>
159
+
160
+ ${this._renderCloseButton()}
102
161
  </div>
103
162
  `;
104
163
  }
@@ -0,0 +1,13 @@
1
+ @use '../../../scss/mixin';
2
+
3
+ @include mixin.base-styles;
4
+
5
+ :host {
6
+ display: block;
7
+ }
8
+
9
+ slot {
10
+ display: flex;
11
+ flex-wrap: wrap;
12
+ gap: 8px;
13
+ }
@@ -0,0 +1,25 @@
1
+ import { html, LitElement } from 'lit';
2
+ import styles from './chip-set.scss';
3
+
4
+ /**
5
+ * @label Chip Set
6
+ * @tag wc-chip-set
7
+ * @rawTag chip-set
8
+ * @summary A layout container for wrapping chips.
9
+ * @tags layout
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <wc-chip-set>
14
+ * <wc-chip>One</wc-chip>
15
+ * <wc-chip>Two</wc-chip>
16
+ * </wc-chip-set>
17
+ * ```
18
+ */
19
+ export class ChipSet extends LitElement {
20
+ static styles = [styles];
21
+
22
+ override render() {
23
+ return html`<slot></slot>`;
24
+ }
25
+ }
@@ -0,0 +1 @@
1
+ export { ChipSet } from './chip-set.js';
@@ -44,6 +44,8 @@ const locale = {
44
44
  export class CodeHighlighter extends LitElement {
45
45
  static styles = [styles];
46
46
 
47
+ private static readonly COPY_FEEDBACK_DURATION = 3000;
48
+
47
49
  @property({ type: String, reflect: true })
48
50
  language: BundledLanguage = 'javascript';
49
51
 
@@ -61,13 +63,25 @@ export class CodeHighlighter extends LitElement {
61
63
 
62
64
  @state() private compiledCode: string | null = null;
63
65
 
66
+ @state() private _copied = false;
67
+
64
68
  private parsedCode: string | null = null;
65
69
 
70
+ private _copyFeedbackTimeout: number | null = null;
71
+
66
72
  async connectedCallback() {
67
73
  // eslint-disable-next-line wc/guard-super-call
68
74
  super.connectedCallback();
69
75
  }
70
76
 
77
+ disconnectedCallback() {
78
+ if (this._copyFeedbackTimeout !== null) {
79
+ window.clearTimeout(this._copyFeedbackTimeout);
80
+ this._copyFeedbackTimeout = null;
81
+ }
82
+ super.disconnectedCallback();
83
+ }
84
+
71
85
  firstUpdated() {
72
86
  this.__highlightCode();
73
87
  }
@@ -146,19 +160,32 @@ export class CodeHighlighter extends LitElement {
146
160
  }
147
161
 
148
162
  private async __handleCopyClick() {
149
- await copyToClipboard(`${this.parsedCode}`);
163
+ if (this.parsedCode == null) {
164
+ return;
165
+ }
166
+
167
+ await copyToClipboard(this.parsedCode);
168
+ this._copied = true;
169
+
170
+ if (this._copyFeedbackTimeout !== null) {
171
+ window.clearTimeout(this._copyFeedbackTimeout);
172
+ }
173
+
174
+ this._copyFeedbackTimeout = window.setTimeout(() => {
175
+ this._copied = false;
176
+ this._copyFeedbackTimeout = null;
177
+ }, CodeHighlighter.COPY_FEEDBACK_DURATION);
150
178
  }
151
179
 
152
180
  render() {
153
181
  if (this.compiledCode === null) {
154
182
  return html`
155
183
  <div class="code-loader">
156
- <p-circular-progress indeterminate></p-circular-progress>
184
+ <wc-circular-progress indeterminate></wc-circular-progress>
157
185
  ${locale.loading}
158
186
  </div>
159
187
  `;
160
188
  }
161
- // @click=${() => this.inline && this.handleCopyClick()}
162
189
 
163
190
  return html`
164
191
  <div
@@ -171,11 +198,11 @@ export class CodeHighlighter extends LitElement {
171
198
  <div class="header-title">${this.language}</div>
172
199
  <div class="header-actions">
173
200
  <wc-icon-button
174
- color="surface"
201
+ color=${this._copied ? 'success' : 'surface'}
175
202
  variant="text"
176
203
  size="xs"
177
- aria-label=${locale.copyToClipboard}
178
- tooltip=${locale.copyToClipboard}
204
+ aria-label=${this._copied ? locale.copied : locale.copyToClipboard}
205
+ tooltip=${this._copied ? locale.copied : locale.copyToClipboard}
179
206
  @click=${this.__handleCopyClick}
180
207
  >
181
208
  <wc-icon name="content_copy"></wc-icon>
@@ -95,7 +95,7 @@
95
95
  display: flex;
96
96
  align-items: center;
97
97
  flex: 1;
98
- height: var(--field-height, 3.5rem);
98
+ min-height: var(--field-height, 3.5rem);
99
99
  padding-block: var(--field-padding-block);
100
100
  z-index: 1;
101
101
 
package/src/index.ts CHANGED
@@ -16,6 +16,7 @@ export { Accordion } from './accordion/index.js';
16
16
  export { Link } from './link/index.js';
17
17
  export { Tag } from './chip/tag/index.js';
18
18
  export { Chip } from './chip/chip/index.js';
19
+ export { ChipSet } from './chip/chip-set/index.js';
19
20
  export { LinearProgress } from './progress/linear-progress/index.js';
20
21
  export { CircularProgress } from './progress/circular-progress/index.js';
21
22
  export { Skeleton } from './skeleton/index.js';
@@ -276,6 +276,16 @@ export class Menu extends LitElement {
276
276
  this._syncRovingTabIndex();
277
277
  }
278
278
 
279
+ private _dispatchItemActivate(item: MenuItem) {
280
+ this.dispatchEvent(
281
+ new CustomEvent('menu-item-activate', {
282
+ bubbles: true,
283
+ composed: true,
284
+ detail: { item },
285
+ }),
286
+ );
287
+ }
288
+
279
289
  private _onClick = (event: Event) => {
280
290
  if (!this.open) {
281
291
  return;
@@ -287,6 +297,7 @@ export class Menu extends LitElement {
287
297
  }
288
298
 
289
299
  this._setActiveItem(item);
300
+ this._dispatchItemActivate(item);
290
301
  if (item.keepOpen) {
291
302
  return;
292
303
  }
@@ -5,19 +5,19 @@
5
5
  :host {
6
6
  display: contents;
7
7
 
8
- --modal-container-color: var(--color-surface-container-high, #ece6f0);
9
- --modal-scrim-color: rgba(0, 0, 0, 0.32);
10
- --modal-shape: var(--shape-corner-extra-large, 28px);
8
+ --modal-container-color: var(--color-surface-container-high);
9
+ --modal-scrim-color: color-mix(in srgb, var(--color-scrim), transparent 32%);
10
+ --modal-shape: var(--shape-corner-extra-large);
11
11
  --modal-min-width: 280px;
12
12
  --modal-max-width: 560px;
13
13
  --modal-max-height: 90dvh;
14
- --modal-transition-duration: var(--duration-medium2, 300ms);
15
- --modal-transition-easing: var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1));
16
- --modal-heading-color: var(--color-on-surface, #1c1b1f);
17
- --modal-subheading-color: var(--color-on-surface-variant, #49454f);
18
- --modal-content-color: var(--color-on-surface-variant, #49454f);
19
- --modal-divider-color: var(--color-outline-variant, #cac4d0);
20
- --modal-elevation: var(--elevation-level3, 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3));
14
+ --modal-transition-duration: var(--duration-medium2);
15
+ --modal-transition-easing: var(--easing-emphasized);
16
+ --modal-heading-color: var(--color-on-surface);
17
+ --modal-subheading-color: var(--color-on-surface-variant);
18
+ --modal-content-color: var(--color-on-surface-variant);
19
+ --modal-divider-color: var(--color-outline-variant);
20
+ --modal-elevation: var(--elevation-level3);
21
21
  }
22
22
 
23
23
  /* Scrim backdrop */
@@ -9,7 +9,7 @@ type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'fullscreen';
9
9
  /**
10
10
  * @label Modal
11
11
  * @tag wc-modal
12
- * @rawTag modal-wc
12
+ * @rawTag modal
13
13
  * @summary A Material Design 3 dialog/modal for displaying content in a layer above the page, with optional header, body, and footer slots.
14
14
  *
15
15
  * @cssprop --modal-container-color - Background color of the dialog container.
@@ -37,6 +37,7 @@ import { Accordion } from './accordion/accordion.js';
37
37
  import { Link } from './link/link.js';
38
38
  import { Tag } from './chip/tag/tag.js';
39
39
  import { Chip } from './chip/chip/chip.js';
40
+ import { ChipSet } from './chip/chip-set/chip-set.js';
40
41
  import { LinearProgress } from './progress/linear-progress/linear-progress.js';
41
42
  import { CircularProgress } from './progress/circular-progress/circular-progress.js';
42
43
 
@@ -80,17 +81,6 @@ import { Search } from './search/search.js';
80
81
  import { Toolbar } from './toolbar/toolbar.js';
81
82
  import { NavigationRail } from './navigation-rail/navigation-rail.js';
82
83
  import { NavigationRailItem } from './navigation-rail/navigation-rail-item.js';
83
- import { Calendar } from './calendar/calendar.js';
84
- import { CalendarColumnView } from './calendar/calendar-column-view.js';
85
- import { CalendarMonthView } from './calendar/calendar-month-view.js';
86
- import { Canvas } from './canvas/canvas.js';
87
- import { FlowDesigner } from './flow-designer/flow-designer.js';
88
- import { FlowDesignerNode } from './flow-designer/flow-designer-node.js';
89
- import { ConditionBuilder } from './condition-builder/condition-builder.js';
90
- import { CbPredicate } from './condition-builder/cb-predicate.js';
91
- import { CbCompoundExpression } from './condition-builder/cb-compound-expression.js';
92
- import { CbExpression } from './condition-builder/cb-expression.js';
93
- import { CbDivider } from './condition-builder/cb-divider.js';
94
84
 
95
85
  const distDirectory = `${import.meta.url}/..`;
96
86
  await loadCSS(`${distDirectory}/assets/styles.css`);
@@ -190,6 +180,9 @@ const loaderConfig: LoaderConfig = {
190
180
  'wc-chip': {
191
181
  CustomElementClass: Chip,
192
182
  },
183
+ 'wc-chip-set': {
184
+ CustomElementClass: ChipSet,
185
+ },
193
186
  'wc-card': {
194
187
  CustomElementClass: Card,
195
188
  },
@@ -256,6 +249,7 @@ const loaderConfig: LoaderConfig = {
256
249
  },
257
250
  'wc-html-editor': {
258
251
  importPath: `${distDirectory}/html-editor.js`,
252
+ dependencies: ['wc-code-editor'],
259
253
  },
260
254
  'wc-code-highlighter': {
261
255
  importPath: `${distDirectory}/code-highlighter.js`,
@@ -354,22 +348,24 @@ const loaderConfig: LoaderConfig = {
354
348
  CustomElementClass: NavigationRailItem,
355
349
  },
356
350
  'wc-calendar': {
357
- CustomElementClass: Calendar,
351
+ importPath: `${distDirectory}/calendar.js`,
352
+ dependencies: ['wc-calendar-column-view', 'wc-calendar-month-view'],
358
353
  },
359
354
  'wc-calendar-column-view': {
360
- CustomElementClass: CalendarColumnView,
355
+ importPath: `${distDirectory}/calendar-column-view.js`,
361
356
  },
362
357
  'wc-calendar-month-view': {
363
- CustomElementClass: CalendarMonthView,
358
+ importPath: `${distDirectory}/calendar-month-view.js`,
364
359
  },
365
360
  'wc-canvas': {
366
- CustomElementClass: Canvas,
361
+ importPath: `${distDirectory}/canvas.js`,
367
362
  },
368
363
  'wc-flow-designer': {
369
- CustomElementClass: FlowDesigner,
364
+ importPath: `${distDirectory}/flow-designer.js`,
365
+ dependencies: ['wc-flow-designer-node'],
370
366
  },
371
367
  'wc-flow-designer-node': {
372
- CustomElementClass: FlowDesignerNode,
368
+ importPath: `${distDirectory}/flow-designer-node.js`,
373
369
  },
374
370
  'wc-chart-doughnut': {
375
371
  importPath: `${distDirectory}/chart-doughnut.js`,
@@ -384,19 +380,25 @@ const loaderConfig: LoaderConfig = {
384
380
  importPath: `${distDirectory}/chart-stacked-bar.js`,
385
381
  },
386
382
  'wc-condition-builder': {
387
- CustomElementClass: ConditionBuilder,
383
+ importPath: `${distDirectory}/condition-builder.js`,
384
+ dependencies: [
385
+ 'wc-cb-predicate',
386
+ 'wc-cb-compound-expression',
387
+ 'wc-cb-expression',
388
+ 'wc-cb-divider',
389
+ ],
388
390
  },
389
391
  'wc-cb-predicate': {
390
- CustomElementClass: CbPredicate,
392
+ importPath: `${distDirectory}/cb-predicate.js`,
391
393
  },
392
394
  'wc-cb-compound-expression': {
393
- CustomElementClass: CbCompoundExpression,
395
+ importPath: `${distDirectory}/cb-compound-expression.js`,
394
396
  },
395
397
  'wc-cb-expression': {
396
- CustomElementClass: CbExpression,
398
+ importPath: `${distDirectory}/cb-expression.js`,
397
399
  },
398
400
  'wc-cb-divider': {
399
- CustomElementClass: CbDivider,
401
+ importPath: `${distDirectory}/cb-divider.js`,
400
402
  },
401
403
  },
402
404
  };