@tylertech/forge 3.9.0-dev.1 → 3.9.0-dev.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.
@@ -3,10 +3,10 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { AVATAR_TAG_NAME, AvatarComponent } from './avatar';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { AvatarComponent } from './avatar';
8
8
  export * from './avatar';
9
9
  export * from './avatar-constants';
10
10
  export function defineAvatarComponent() {
11
- tryDefine(AVATAR_TAG_NAME, AvatarComponent);
11
+ defineCustomElement(AvatarComponent);
12
12
  }
@@ -3,11 +3,11 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { BADGE_TAG_NAME, BadgeComponent } from './badge';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { BadgeComponent } from './badge';
8
8
  export * from './badge-component-delegate';
9
9
  export * from './badge-constants';
10
10
  export * from './badge';
11
11
  export function defineBadgeComponent() {
12
- tryDefine(BADGE_TAG_NAME, BadgeComponent);
12
+ defineCustomElement(BadgeComponent);
13
13
  }
@@ -3,6 +3,6 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- export * from './card-constants';
7
6
  export * from './card';
7
+ export * from './card-constants';
8
8
  export declare function defineCardComponent(): void;
package/esm/card/index.js CHANGED
@@ -3,10 +3,10 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { CARD_TAG_NAME, CardComponent } from './card';
8
- export * from './card-constants';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { CardComponent } from './card';
9
8
  export * from './card';
9
+ export * from './card-constants';
10
10
  export function defineCardComponent() {
11
- tryDefine(CARD_TAG_NAME, CardComponent);
11
+ defineCustomElement(CardComponent);
12
12
  }
@@ -3,9 +3,9 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { KEY_TAG_NAME, KeyComponent } from './key';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { KeyComponent } from './key';
8
8
  export * from './key';
9
9
  export function defineKeyComponent() {
10
- tryDefine(KEY_TAG_NAME, KeyComponent);
10
+ defineCustomElement(KeyComponent);
11
11
  }
@@ -3,9 +3,9 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { KEY_ITEM_TAG_NAME, KeyItemComponent } from './key-item';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { KeyItemComponent } from './key-item';
8
8
  export * from './key-item';
9
9
  export function defineKeyItemComponent() {
10
- tryDefine(KEY_ITEM_TAG_NAME, KeyItemComponent);
10
+ defineCustomElement(KeyItemComponent);
11
11
  }
@@ -3,9 +3,9 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
7
  import { MeterComponent } from './meter';
8
8
  export * from './meter';
9
9
  export function defineMeterComponent() {
10
- tryDefine('forge-meter', MeterComponent);
10
+ defineCustomElement(MeterComponent);
11
11
  }
@@ -3,9 +3,9 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import { tryDefine } from '@tylertech/forge-core';
7
- import { METER_GROUP_TAG_NAME, MeterGroupComponent } from './meter-group';
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { MeterGroupComponent } from './meter-group';
8
8
  export * from './meter-group';
9
9
  export function defineMeterGroupComponent() {
10
- tryDefine(METER_GROUP_TAG_NAME, MeterGroupComponent);
10
+ defineCustomElement(MeterGroupComponent);
11
11
  }
@@ -14,7 +14,7 @@ import { IconComponent, IconRegistry } from '../../icon';
14
14
  import { StateLayerComponent } from '../../state-layer';
15
15
  import { FocusIndicatorComponent } from '../../focus-indicator';
16
16
  const template = '<template><div class=\"forge-split-view-panel\" id=\"root\" part=\"root\"><div class=\"forge-split-view-panel__handle\" id=\"handle\" part=\"handle\" role=\"separator\" aria-controls=\"content\" aria-grabbed=\"false\" tabindex=\"0\"><forge-icon class=\"forge-split-view-panel__icon\" id=\"icon\" part=\"icon\"></forge-icon><forge-state-layer target=\"handle\" id=\"state-layer\" exportparts=\"surface:state-layer\"></forge-state-layer><forge-focus-indicator inward target=\"handle\" part=\"focus-indicator\"></forge-focus-indicator></div><div class=\"forge-split-view-panel__content\" id=\"content\" part=\"content\" role=\"group\"><slot></slot></div></div></template>';
17
- const styles = '.forge-split-view-panel{display:flex;width:100%;height:100%;overflow:hidden}.forge-split-view-panel__handle{color:var(--forge-theme-text-medium,rgba(0,0,0,.6));background-color:var(--forge-theme-outline,#e0e0e0);position:relative;display:flex;flex-shrink:0;justify-content:center;align-items:center;outline:0}.forge-split-view-panel__content{flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;animation-name:uwedhbm;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes uwedhbm{from{transform:none}to{transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;animation-name:uwedhbz;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes uwedhbz{from{transform:none}to{transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;animation-name:uwedhcs;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes uwedhcs{from{transform:none}to{transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;animation-name:uwedhd4;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes uwedhd4{from{transform:none}to{transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;animation-name:uwedhd8;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes uwedhd8{from{transform:none}to{transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;animation-name:uwedhds;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes uwedhds{from{transform:none}to{transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;animation-name:uwedheb;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes uwedheb{from{transform:none}to{transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;animation-name:uwedher;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes uwedher{from{transform:none}to{transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}forge-focus-indicator{--forge-focus-indicator-active-width:2px}';
17
+ const styles = '.forge-split-view-panel{display:flex;width:100%;height:100%;overflow:hidden}.forge-split-view-panel__handle{color:var(--forge-theme-text-medium,rgba(0,0,0,.6));background-color:var(--forge-theme-outline,#e0e0e0);position:relative;display:flex;flex-shrink:0;justify-content:center;align-items:center;outline:0}.forge-split-view-panel__content{flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;animation-name:u5hcny5;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes u5hcny5{from{transform:none}to{transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;animation-name:u5hcnya;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes u5hcnya{from{transform:none}to{transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;animation-name:u5hcnyv;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes u5hcnyv{from{transform:none}to{transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;animation-name:u5hcnzl;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes u5hcnzl{from{transform:none}to{transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;animation-name:u5hcnzx;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes u5hcnzx{from{transform:none}to{transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;animation-name:u5hco06;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1))}@keyframes u5hco06{from{transform:none}to{transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;animation-name:u5hco0q;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes u5hco0q{from{transform:none}to{transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;animation-name:u5hco1q;animation-duration:var(--forge-animation-duration-medium2, 300ms);animation-timing-function:var(--forge-animation-easing-standard,cubic-bezier(0.2,0,0,1));animation-direction:reverse}@keyframes u5hco1q{from{transform:none}to{transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}forge-focus-indicator{--forge-focus-indicator-active-width:2px}';
18
18
  /**
19
19
  * @tag forge-split-view-panel
20
20
  *
@@ -88,6 +88,7 @@ export declare const TABLE_CONSTANTS: {
88
88
  FILTER: string;
89
89
  INITIALIZED: string;
90
90
  COLUMN_RESIZE: string;
91
+ BODY_RENDERED: string;
91
92
  };
92
93
  strings: {
93
94
  SELECT_ALL: string;
@@ -89,7 +89,8 @@ const events = {
89
89
  SORT: `${elementName}-sort`,
90
90
  FILTER: `${elementName}-filter`,
91
91
  INITIALIZED: `${elementName}-initialized`,
92
- COLUMN_RESIZE: `${elementName}-column-resize`
92
+ COLUMN_RESIZE: `${elementName}-column-resize`,
93
+ BODY_RENDERED: `${elementName}-body-rendered`
93
94
  };
94
95
  const strings = {
95
96
  SELECT_ALL: 'select-all',
@@ -443,6 +443,7 @@ export class TableCore {
443
443
  this._adapter.createTable(this._tableConfiguration);
444
444
  this._renderSelections();
445
445
  this._rendered = true;
446
+ this._adapter.emitHostEvent(TABLE_CONSTANTS.events.BODY_RENDERED, undefined, false);
446
447
  }
447
448
  /**
448
449
  * Renders the table body only.
@@ -453,6 +454,7 @@ export class TableCore {
453
454
  }
454
455
  this._adapter.recreateTableBody(this._tableConfiguration);
455
456
  this._renderSelections();
457
+ this._adapter.emitHostEvent(TABLE_CONSTANTS.events.BODY_RENDERED, undefined, false);
456
458
  }
457
459
  _renderSelections() {
458
460
  if (this.select) {
@@ -59,6 +59,7 @@ declare global {
59
59
  'forge-table-filter': CustomEvent<ITableFilterEventData>;
60
60
  'forge-table-initialized': CustomEvent<void>;
61
61
  'forge-table-column-resize': CustomEvent<ITableColumnResizeEventData>;
62
+ 'forge-table-body-rendered': CustomEvent<void>;
62
63
  }
63
64
  }
64
65
  /**
@@ -77,6 +78,7 @@ declare global {
77
78
  * @event {CustomEvent<ITableFilterEventData>} forge-table-filter - Dispatched when a column is filtered. Only applies when `filter` is specified.
78
79
  * @event {CustomEvent<void>} forge-table-initialized - Dispatched when the table is initialized in the DOM for the first time.
79
80
  * @event {CustomEvent<ITableColumnResizeEventData>} forge-table-column-resize - Dispatched when a column is resized.
81
+ * @event {CustomEvent<void>} forge-table-body-rendered - Dispatched when the table body is rendered.
80
82
  *
81
83
  * @cssclass forge-data-table - The base table class.
82
84
  */
@@ -31,6 +31,7 @@ import { TooltipComponent } from '../tooltip';
31
31
  * @event {CustomEvent<ITableFilterEventData>} forge-table-filter - Dispatched when a column is filtered. Only applies when `filter` is specified.
32
32
  * @event {CustomEvent<void>} forge-table-initialized - Dispatched when the table is initialized in the DOM for the first time.
33
33
  * @event {CustomEvent<ITableColumnResizeEventData>} forge-table-column-resize - Dispatched when a column is resized.
34
+ * @event {CustomEvent<void>} forge-table-body-rendered - Dispatched when the table body is rendered.
34
35
  *
35
36
  * @cssclass forge-data-table - The base table class.
36
37
  */
@@ -22,6 +22,11 @@ declare global {
22
22
  * @tag forge-view-switcher
23
23
  *
24
24
  * @dependency forge-view
25
+ *
26
+ * @cssproperty --forge-view-switcher-height - The `height` of the view switcher.
27
+ * @cssproperty --forge-view-switcher-width - The `width` of the view switcher.
28
+ * @cssproperty --forge-view-switcher-animation-duration - The duration of view switching animations.
29
+ * @cssproperty --forge-view-switcher-animation-easing - The timing function of view switching animations.
25
30
  */
26
31
  export declare class ViewSwitcherComponent extends BaseComponent implements IViewSwitcherComponent {
27
32
  static get observedAttributes(): string[];
@@ -11,11 +11,16 @@ import { VIEW_SWITCHER_CONSTANTS } from './view-switcher-constants';
11
11
  import { ViewComponent } from './view/view';
12
12
  import { BaseComponent } from '../core/base/base-component';
13
13
  const template = '<template><div class=\"forge-view-switcher\" part=\"root\"><slot></slot></div></template>';
14
- const styles = ':host{height:var(--_view-switcher-height);width:var(--_view-switcher-width);display:block}:host([hidden]){display:none}.forge-view-switcher{--_view-switcher-height:var(--forge-view-switcher-height, auto);--_view-switcher-width:var(--forge-view-switcher-width, auto);--_view-switcher-animation-duration:var(--forge-view-switcher-animation-duration, var(--forge-animation-duration-medium2, 300ms));--_view-switcher-animation-easing:var(--forge-view-switcher-animation-easing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-view-switcher{height:var(--_view-switcher-height);width:var(--_view-switcher-width);position:relative;overflow:hidden;transition-property:height;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing)}.forge-view-switcher ::slotted(.forge-view-switcher__view--hidden){position:absolute;top:0;right:0;bottom:0;left:0}:host(.slide) ::slotted(forge-view){transition-property:transform;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing);will-change:transform}:host(.fade) ::slotted(forge-view){transition-property:opacity;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing);will-change:opacity}:host(.fade) ::slotted(.forge-view-switcher__view--hidden){opacity:0}';
14
+ const styles = ':host{height:var(--_view-switcher-height);width:var(--_view-switcher-width);display:block}:host{--_view-switcher-height:var(--forge-view-switcher-height, auto);--_view-switcher-width:var(--forge-view-switcher-width, auto)}:host([hidden]){display:none}.forge-view-switcher{--_view-switcher-animation-duration:var(--forge-view-switcher-animation-duration, var(--forge-animation-duration-medium2, 300ms));--_view-switcher-animation-easing:var(--forge-view-switcher-animation-easing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-view-switcher{height:var(--_view-switcher-height);width:var(--_view-switcher-width);position:relative;overflow:hidden;transition-property:height;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing)}.forge-view-switcher ::slotted(.forge-view-switcher__view--hidden){position:absolute;top:0;right:0;bottom:0;left:0}:host(.slide) ::slotted(forge-view){transition-property:transform;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing);will-change:transform}:host(.fade) ::slotted(forge-view){transition-property:opacity;transition-duration:var(--_view-switcher-animation-duration);transition-timing-function:var(--_view-switcher-animation-easing);will-change:opacity}:host(.fade) ::slotted(.forge-view-switcher__view--hidden){opacity:0}';
15
15
  /**
16
16
  * @tag forge-view-switcher
17
17
  *
18
18
  * @dependency forge-view
19
+ *
20
+ * @cssproperty --forge-view-switcher-height - The `height` of the view switcher.
21
+ * @cssproperty --forge-view-switcher-width - The `width` of the view switcher.
22
+ * @cssproperty --forge-view-switcher-animation-duration - The duration of view switching animations.
23
+ * @cssproperty --forge-view-switcher-animation-easing - The timing function of view switching animations.
19
24
  */
20
25
  let ViewSwitcherComponent = class ViewSwitcherComponent extends BaseComponent {
21
26
  static get observedAttributes() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tylertech/forge",
3
3
  "description": "Tyler Forge™ Web Components library",
4
- "version": "3.9.0-dev.1",
4
+ "version": "3.9.0-dev.2",
5
5
  "author": "Tyler Technologies, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -3,14 +3,20 @@
3
3
  * Copyright Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- @use './core';
6
+ @use './core' as *;
7
7
 
8
8
  //
9
9
  // Host
10
10
  //
11
11
 
12
+ $host-tokens: (height, width);
13
+
14
+ :host {
15
+ @include host;
16
+ }
17
+
12
18
  :host {
13
- @include core.host;
19
+ @include tokens($includes: $host-tokens);
14
20
  }
15
21
 
16
22
  :host([hidden]) {
@@ -22,14 +28,14 @@
22
28
  //
23
29
 
24
30
  .forge-view-switcher {
25
- @include core.tokens;
31
+ @include tokens($excludes: $host-tokens);
26
32
  }
27
33
 
28
34
  .forge-view-switcher {
29
- @include core.base;
35
+ @include base;
30
36
 
31
37
  ::slotted(.forge-view-switcher__view--hidden) {
32
- @include core.view-hidden;
38
+ @include view-hidden;
33
39
  }
34
40
  }
35
41
 
@@ -39,7 +45,7 @@
39
45
 
40
46
  :host(.slide) {
41
47
  ::slotted(forge-view) {
42
- @include core.view-slidable;
48
+ @include view-slidable;
43
49
  }
44
50
  }
45
51
 
@@ -49,7 +55,7 @@
49
55
 
50
56
  :host(.fade) {
51
57
  ::slotted(forge-view) {
52
- @include core.view-fadeable;
58
+ @include view-fadeable;
53
59
  }
54
60
 
55
61
  ::slotted(.forge-view-switcher__view--hidden) {