@easemate/web-kit 0.3.4 → 0.3.6

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/build/index.cjs CHANGED
@@ -2569,6 +2569,21 @@ var init_Listen = __esm({
2569
2569
  }
2570
2570
  });
2571
2571
 
2572
+ // src/elements/shared.ts
2573
+ var dispatchControlEvent;
2574
+ var init_shared = __esm({
2575
+ "src/elements/shared.ts"() {
2576
+ "use strict";
2577
+ dispatchControlEvent = (host, type, detail) => {
2578
+ host.dispatchEvent(new CustomEvent(type, {
2579
+ detail,
2580
+ bubbles: true,
2581
+ composed: true
2582
+ }));
2583
+ };
2584
+ }
2585
+ });
2586
+
2572
2587
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/constants.ts
2573
2588
  var HIT_AREA_RADIUS, LINEAR_HIT_THRESHOLD, LINEAR_PATH_SAMPLES, DRAG_ACTIVATION_DISTANCE_PX, DRAG_ACTIVATION_DISTANCE_PX_SQUARED, DEFAULT_HANDLE_LENGTH, SVG_WIDTH, SVG_HEIGHT, BEZIER_CONTROL_MIN_Y, BEZIER_CONTROL_MAX_Y, EASING_PRESETS;
2574
2589
  var init_constants = __esm({
@@ -2820,21 +2835,6 @@ var init_svg_renderer = __esm({
2820
2835
  }
2821
2836
  });
2822
2837
 
2823
- // src/elements/shared.ts
2824
- var dispatchControlEvent;
2825
- var init_shared = __esm({
2826
- "src/elements/shared.ts"() {
2827
- "use strict";
2828
- dispatchControlEvent = (host, type, detail) => {
2829
- host.dispatchEvent(new CustomEvent(type, {
2830
- detail,
2831
- bubbles: true,
2832
- composed: true
2833
- }));
2834
- };
2835
- }
2836
- });
2837
-
2838
2838
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/canvas.ts
2839
2839
  function applyDecs2203RFactory2() {
2840
2840
  function createAddInitializerMethod(initializers, decoratorFinishedRef) {
@@ -4212,6 +4212,7 @@ var init_canvas = __esm({
4212
4212
  }, this.#emitPoints = (value, event) => {
4213
4213
  const target = this.#getEventTarget();
4214
4214
  const detail = {
4215
+ name: target.name,
4215
4216
  value,
4216
4217
  event
4217
4218
  };
@@ -4222,6 +4223,7 @@ var init_canvas = __esm({
4222
4223
  }
4223
4224
  const target = this.#getEventTarget();
4224
4225
  const detail = {
4226
+ name: target.name,
4225
4227
  value: index,
4226
4228
  event
4227
4229
  };
@@ -5159,6 +5161,7 @@ var init_canvas_controls = __esm({
5159
5161
  }, this.#notifyHost = (type, value, event) => {
5160
5162
  const target = this.#getEventTarget();
5161
5163
  const detail = {
5164
+ name: target.name,
5162
5165
  value,
5163
5166
  event
5164
5167
  };
@@ -8193,6 +8196,7 @@ var init_controls = __esm({
8193
8196
  }, this.#notifyHost = (type, value, event) => {
8194
8197
  const target = this.#getEventTarget();
8195
8198
  const detail = {
8199
+ name: target.name,
8196
8200
  value,
8197
8201
  event
8198
8202
  };
@@ -9757,14 +9761,15 @@ function applyDecs2203RFactory10() {
9757
9761
  function _apply_decs_2203_r10(targetClass, memberDecs, classDecs, parentClass) {
9758
9762
  return (_apply_decs_2203_r10 = applyDecs2203RFactory10())(targetClass, memberDecs, classDecs, parentClass);
9759
9763
  }
9760
- var import_lit_html12, _dec21, _initClass10, _HTMLElement10, _dec112, _dec28, _dec37, _init_placement, _init_offset, _init_open, _initProto8, nextAnchorName, _Popover, Popover, popover_default;
9764
+ var import_lit_html12, _dec21, _initClass10, _HTMLElement10, _dec112, _dec28, _dec37, _dec45, _init_contentElement, _init_placement, _init_offset, _init_open, _initProto8, nextAnchorName, _Popover, Popover, popover_default;
9761
9765
  var init_popover = __esm({
9762
9766
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/popover/index.ts"() {
9763
9767
  "use strict";
9764
9768
  import_lit_html12 = require("lit-html");
9765
9769
  init_Component();
9766
9770
  init_Prop();
9767
- nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID()}`;
9771
+ init_Query();
9772
+ nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID().slice(0, 8)}`;
9768
9773
  _dec21 = Component({
9769
9774
  tag: "ease-popover",
9770
9775
  autoSlot: false,
@@ -9773,7 +9778,6 @@ var init_popover = __esm({
9773
9778
  :host {
9774
9779
  display: contents;
9775
9780
  --ease-popover-offset: 8px;
9776
- --ease-popover-anchor-name: --ease-popover-anchor;
9777
9781
  --ease-popover-transform-origin: center center;
9778
9782
  --ease-popover-duration: 200ms;
9779
9783
  --ease-popover-content-min-width: auto;
@@ -9786,140 +9790,110 @@ var init_popover = __esm({
9786
9790
  }
9787
9791
 
9788
9792
  [part="content"] {
9789
- position-anchor: var(--ease-popover-anchor-name);
9790
9793
  position: fixed;
9794
+ position-anchor: var(--ease-popover-anchor-name);
9791
9795
  margin: 0;
9792
- transform-origin: var(--ease-popover-transform-origin);
9796
+ padding: 0;
9797
+ border: none;
9798
+ background: transparent;
9799
+ overflow: visible;
9793
9800
  width: var(--ease-popover-content-width);
9794
9801
  min-width: var(--ease-popover-content-min-width);
9795
9802
  max-width: var(--ease-popover-content-max-width);
9796
9803
  box-sizing: border-box;
9797
- overscroll-behavior: contain;
9798
- z-index: 100;
9799
- display: none;
9800
9804
  }
9801
9805
 
9802
- :host([open]) [part="content"] {
9806
+ [part="content"]:popover-open {
9803
9807
  display: block;
9804
9808
  }
9805
9809
 
9806
9810
  :host([placement="top-start"]) [part="content"] {
9807
- position-area: top right;
9808
- top: anchor(bottom);
9809
- left: anchor(left);
9810
- translate: 0 calc(var(--ease-popover-offset) * -1);
9811
+ position-area: top span-right;
9812
+ margin-bottom: var(--ease-popover-offset);
9811
9813
  }
9812
-
9813
9814
  :host([placement="top-center"]) [part="content"] {
9814
9815
  position-area: top center;
9815
- top: anchor(top);
9816
- left: anchor(center);
9817
- translate: 0 calc(var(--ease-popover-offset) * -1);
9816
+ margin-bottom: var(--ease-popover-offset);
9818
9817
  }
9819
-
9820
9818
  :host([placement="top-end"]) [part="content"] {
9821
- position-area: top right;
9822
- top: anchor(bottom);
9823
- right: anchor(right);
9824
- translate: 0 calc(var(--ease-popover-offset) * -1);
9819
+ position-area: top span-left;
9820
+ margin-bottom: var(--ease-popover-offset);
9825
9821
  }
9826
-
9827
9822
  :host([placement="bottom-start"]) [part="content"] {
9828
- position-area: bottom right;
9829
- top: anchor(bottom);
9830
- left: anchor(left);
9831
- translate: 0 var(--ease-popover-offset);
9823
+ position-area: bottom span-right;
9824
+ margin-top: var(--ease-popover-offset);
9832
9825
  }
9833
-
9834
9826
  :host([placement="bottom-center"]) [part="content"] {
9835
9827
  position-area: bottom center;
9836
- top: anchor(bottom);
9837
- left: anchor(left);
9838
- translate: 0 var(--ease-popover-offset);
9828
+ margin-top: var(--ease-popover-offset);
9839
9829
  }
9840
-
9841
9830
  :host([placement="bottom-end"]) [part="content"] {
9842
- position-area: bottom left;
9843
- top: anchor(bottom);
9844
- right: anchor(right);
9845
- translate: 0 var(--ease-popover-offset);
9831
+ position-area: bottom span-left;
9832
+ margin-top: var(--ease-popover-offset);
9846
9833
  }
9847
-
9848
9834
  :host([placement="left-start"]) [part="content"] {
9849
- position-area: left bottom;
9850
- top: anchor(top);
9851
- left: anchor(left);
9852
- translate: calc(var(--ease-popover-offset) * -1) 0;
9835
+ position-area: left span-bottom;
9836
+ margin-right: var(--ease-popover-offset);
9853
9837
  }
9854
-
9855
9838
  :host([placement="left-center"]) [part="content"] {
9856
9839
  position-area: left center;
9857
- top: anchor(top);
9858
- left: anchor(left);
9859
- translate: calc(var(--ease-popover-offset) * -1) 0;
9840
+ margin-right: var(--ease-popover-offset);
9860
9841
  }
9861
-
9862
9842
  :host([placement="left-end"]) [part="content"] {
9863
- position-area: left top;
9864
- top: anchor(top);
9865
- left: anchor(left);
9866
- translate: calc(var(--ease-popover-offset) * -1) 0;
9843
+ position-area: left span-top;
9844
+ margin-right: var(--ease-popover-offset);
9867
9845
  }
9868
-
9869
9846
  :host([placement="right-start"]) [part="content"] {
9870
- position-area: right end;
9871
- top: anchor(top);
9872
- left: anchor(right);
9873
- translate: var(--ease-popover-offset) 0;
9847
+ position-area: right span-bottom;
9848
+ margin-left: var(--ease-popover-offset);
9874
9849
  }
9875
-
9876
9850
  :host([placement="right-center"]) [part="content"] {
9877
9851
  position-area: right center;
9878
- top: anchor(top);
9879
- left: anchor(right);
9880
- translate: var(--ease-popover-offset) 0;
9852
+ margin-left: var(--ease-popover-offset);
9881
9853
  }
9882
-
9883
9854
  :host([placement="right-end"]) [part="content"] {
9884
- position-area: right start;
9885
- top: anchor(top);
9886
- left: anchor(right);
9887
- translate: var(--ease-popover-offset) 0;
9855
+ position-area: right span-top;
9856
+ margin-left: var(--ease-popover-offset);
9888
9857
  }
9889
9858
  `
9890
- }), _dec112 = Prop({
9859
+ }), _dec112 = Query('[part="content"]'), _dec28 = Prop({
9891
9860
  reflect: true,
9892
- defaultValue: "bottom-start",
9893
- onChange() {
9894
- this.handlePlacementChange();
9895
- }
9896
- }), _dec28 = Prop({
9861
+ defaultValue: "bottom-start"
9862
+ }), _dec37 = Prop({
9897
9863
  type: Number,
9898
9864
  reflect: true,
9899
9865
  defaultValue: 8,
9900
9866
  onChange() {
9901
9867
  this.handleOffsetChange();
9902
9868
  }
9903
- }), _dec37 = Prop({
9869
+ }), _dec45 = Prop({
9904
9870
  type: Boolean,
9905
- reflect: true
9871
+ reflect: true,
9872
+ onChange() {
9873
+ this.handleOpenChange();
9874
+ }
9906
9875
  });
9907
9876
  Popover = class extends (_HTMLElement10 = HTMLElement) {
9908
9877
  static {
9909
- ({ e: [_init_placement, _init_offset, _init_open, _initProto8], c: [_Popover, _initClass10] } = _apply_decs_2203_r10(this, [
9878
+ ({ e: [_init_contentElement, _init_placement, _init_offset, _init_open, _initProto8], c: [_Popover, _initClass10] } = _apply_decs_2203_r10(this, [
9910
9879
  [
9911
9880
  _dec112,
9912
9881
  1,
9913
- "placement"
9882
+ "contentElement"
9914
9883
  ],
9915
9884
  [
9916
9885
  _dec28,
9917
9886
  1,
9918
- "offset"
9887
+ "placement"
9919
9888
  ],
9920
9889
  [
9921
9890
  _dec37,
9922
9891
  1,
9892
+ "offset"
9893
+ ],
9894
+ [
9895
+ _dec45,
9896
+ 1,
9923
9897
  "open"
9924
9898
  ]
9925
9899
  ], [
@@ -9927,85 +9901,75 @@ var init_popover = __esm({
9927
9901
  ], _HTMLElement10));
9928
9902
  }
9929
9903
  #anchorName;
9930
- #contentElement;
9931
- #initialized;
9904
+ #___private_contentElement_1;
9932
9905
  get contentElement() {
9933
- return this.#contentElement;
9906
+ return this.#___private_contentElement_1;
9934
9907
  }
9935
- #___private_placement_1;
9908
+ set contentElement(_v) {
9909
+ this.#___private_contentElement_1 = _v;
9910
+ }
9911
+ #___private_placement_2;
9936
9912
  get placement() {
9937
- return this.#___private_placement_1;
9913
+ return this.#___private_placement_2;
9938
9914
  }
9939
9915
  set placement(_v) {
9940
- this.#___private_placement_1 = _v;
9916
+ this.#___private_placement_2 = _v;
9941
9917
  }
9942
- #___private_offset_2;
9918
+ #___private_offset_3;
9943
9919
  get offset() {
9944
- return this.#___private_offset_2;
9920
+ return this.#___private_offset_3;
9945
9921
  }
9946
9922
  set offset(_v) {
9947
- this.#___private_offset_2 = _v;
9923
+ this.#___private_offset_3 = _v;
9948
9924
  }
9949
- #___private_open_3;
9925
+ #___private_open_4;
9950
9926
  get open() {
9951
- return this.#___private_open_3;
9927
+ return this.#___private_open_4;
9952
9928
  }
9953
9929
  set open(_v) {
9954
- this.#___private_open_3 = _v;
9930
+ this.#___private_open_4 = _v;
9931
+ }
9932
+ handleOffsetChange() {
9933
+ const offset = Number.isFinite(this.offset) ? this.offset : 8;
9934
+ this.style.setProperty("--ease-popover-offset", `${offset}px`);
9935
+ }
9936
+ handleOpenChange() {
9937
+ const content = this.contentElement;
9938
+ if (!content) {
9939
+ return;
9940
+ }
9941
+ if (this.open) {
9942
+ content.showPopover();
9943
+ } else {
9944
+ content.hidePopover();
9945
+ }
9955
9946
  }
9956
9947
  connectedCallback() {
9957
- this.#syncAnchorName();
9958
- this.#syncOffset();
9948
+ this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
9949
+ this.handleOffsetChange();
9959
9950
  }
9960
- disconnectedCallback() {
9961
- this.#contentElement = null;
9962
- this.#initialized = false;
9951
+ afterRender() {
9952
+ const content = this.contentElement;
9953
+ if (content && this.open) {
9954
+ try {
9955
+ content.showPopover();
9956
+ } catch (_e) {
9957
+ }
9958
+ }
9963
9959
  }
9964
9960
  render() {
9965
9961
  return import_lit_html12.html`
9966
- <slot slot="trigger" name="trigger"></slot>
9967
- <div
9968
- part="content"
9969
- data-popover-content
9970
- role="region"
9971
- data-placement=${this.placement}
9972
- >
9962
+ <slot name="trigger"></slot>
9963
+ <div part="content" popover="manual" role="region">
9973
9964
  <slot></slot>
9974
9965
  </div>
9975
9966
  `;
9976
9967
  }
9977
- handlePlacementChange() {
9978
- if (!this.#initialized) {
9979
- this.requestRender();
9980
- return;
9981
- }
9982
- this.#syncPlacement();
9983
- }
9984
- handleOffsetChange() {
9985
- if (!this.#initialized) {
9986
- this.requestRender();
9987
- return;
9988
- }
9989
- this.#syncOffset();
9990
- }
9991
- #syncPlacement() {
9992
- this.dataset.placement = this.placement;
9993
- if (this.#contentElement) {
9994
- this.#contentElement.dataset.placement = this.placement;
9995
- }
9996
- }
9997
- #syncOffset() {
9998
- const offset = Number.isFinite(this.offset) ? this.offset : 0;
9999
- this.style.setProperty("--ease-popover-offset", `${offset}px`);
10000
- }
10001
- #syncAnchorName() {
10002
- this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
10003
- }
10004
9968
  static {
10005
9969
  _initClass10();
10006
9970
  }
10007
9971
  constructor(...args) {
10008
- super(...args), this.#anchorName = (_initProto8(this), nextAnchorName()), this.#contentElement = null, this.#initialized = false, this.#___private_placement_1 = _init_placement(this), this.#___private_offset_2 = _init_offset(this, 8), this.#___private_open_3 = _init_open(this, false);
9972
+ super(...args), this.#anchorName = (_initProto8(this), nextAnchorName()), this.#___private_contentElement_1 = _init_contentElement(this), this.#___private_placement_2 = _init_placement(this), this.#___private_offset_3 = _init_offset(this, 8), this.#___private_open_4 = _init_open(this, false);
10009
9973
  }
10010
9974
  };
10011
9975
  popover_default = {
@@ -10620,7 +10584,7 @@ function applyDecs2203RFactory11() {
10620
10584
  function _apply_decs_2203_r11(targetClass, memberDecs, classDecs, parentClass) {
10621
10585
  return (_apply_decs_2203_r11 = applyDecs2203RFactory11())(targetClass, memberDecs, classDecs, parentClass);
10622
10586
  }
10623
- var import_lit_html13, _dec29, _initClass11, _HTMLElement11, _dec113, _dec210, _dec38, _dec45, _dec55, _dec65, _init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement, _initProto9, _Tooltip, Tooltip;
10587
+ var import_lit_html13, _dec29, _initClass11, _HTMLElement11, _dec113, _dec210, _dec38, _dec46, _dec55, _dec65, _init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement2, _initProto9, _Tooltip, Tooltip;
10624
10588
  var init_tooltip = __esm({
10625
10589
  "src/elements/tooltip/index.ts"() {
10626
10590
  "use strict";
@@ -10673,7 +10637,7 @@ var init_tooltip = __esm({
10673
10637
  }), _dec38 = Prop({
10674
10638
  reflect: true,
10675
10639
  defaultValue: "top-center"
10676
- }), _dec45 = Query('[slot="trigger"]'), _dec55 = Query("[data-tooltip-content]"), _dec65 = OutsideClick({
10640
+ }), _dec46 = Query('[slot="trigger"]'), _dec55 = Query("[data-tooltip-content]"), _dec65 = OutsideClick({
10677
10641
  content: (host) => host.contentElement,
10678
10642
  triggers: (host) => [
10679
10643
  host.triggerElement
@@ -10682,7 +10646,7 @@ var init_tooltip = __esm({
10682
10646
  });
10683
10647
  Tooltip = class extends (_HTMLElement11 = HTMLElement) {
10684
10648
  static {
10685
- ({ e: [_init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement, _initProto9], c: [_Tooltip, _initClass11] } = _apply_decs_2203_r11(this, [
10649
+ ({ e: [_init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement2, _initProto9], c: [_Tooltip, _initClass11] } = _apply_decs_2203_r11(this, [
10686
10650
  [
10687
10651
  _dec113,
10688
10652
  1,
@@ -10699,7 +10663,7 @@ var init_tooltip = __esm({
10699
10663
  "placement"
10700
10664
  ],
10701
10665
  [
10702
- _dec45,
10666
+ _dec46,
10703
10667
  1,
10704
10668
  "triggerElement"
10705
10669
  ],
@@ -10865,7 +10829,7 @@ var init_tooltip = __esm({
10865
10829
  _initClass11();
10866
10830
  }
10867
10831
  constructor(...args) {
10868
- super(...args), this.#hoverTimer = (_initProto9(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open2(this, false), this.#___private_delay_2 = _init_delay(this, 300), this.#___private_placement_3 = _init_placement2(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement(this), this.#___private_contentElement_5 = _init_contentElement(this), this.#handleEnter = () => {
10832
+ super(...args), this.#hoverTimer = (_initProto9(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open2(this, false), this.#___private_delay_2 = _init_delay(this, 300), this.#___private_placement_3 = _init_placement2(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement(this), this.#___private_contentElement_5 = _init_contentElement2(this), this.#handleEnter = () => {
10869
10833
  this.#startTimer(() => {
10870
10834
  this.open = true;
10871
10835
  });
@@ -11257,7 +11221,7 @@ function applyDecs2203RFactory12() {
11257
11221
  function _apply_decs_2203_r12(targetClass, memberDecs, classDecs, parentClass) {
11258
11222
  return (_apply_decs_2203_r12 = applyDecs2203RFactory12())(targetClass, memberDecs, classDecs, parentClass);
11259
11223
  }
11260
- var import_lit_html14, _dec30, _initClass12, _HTMLElement12, _dec114, _dec211, _dec39, _dec46, _dec56, _dec66, _dec72, _init_easingType5, _init_points5, _init_showGrid3, _init_snapToGrid3, _init_gridSize3, _init_simplify3, _init_round3, _initProto10, _CurveToolbar, CurveToolbar;
11224
+ var import_lit_html14, _dec30, _initClass12, _HTMLElement12, _dec114, _dec211, _dec39, _dec47, _dec56, _dec66, _dec72, _init_easingType5, _init_points5, _init_showGrid3, _init_snapToGrid3, _init_gridSize3, _init_simplify3, _init_round3, _initProto10, _CurveToolbar, CurveToolbar;
11261
11225
  var init_toolbar = __esm({
11262
11226
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/toolbar.ts"() {
11263
11227
  "use strict";
@@ -11408,7 +11372,7 @@ var init_toolbar = __esm({
11408
11372
  type: Boolean,
11409
11373
  reflect: true,
11410
11374
  defaultValue: true
11411
- }), _dec46 = Prop({
11375
+ }), _dec47 = Prop({
11412
11376
  type: Boolean,
11413
11377
  reflect: true,
11414
11378
  defaultValue: false
@@ -11444,7 +11408,7 @@ var init_toolbar = __esm({
11444
11408
  "showGrid"
11445
11409
  ],
11446
11410
  [
11447
- _dec46,
11411
+ _dec47,
11448
11412
  1,
11449
11413
  "snapToGrid"
11450
11414
  ],
@@ -11540,6 +11504,7 @@ var init_toolbar = __esm({
11540
11504
  }, this.#notifyHost = (type, value, event) => {
11541
11505
  const target = this.#getEventTarget();
11542
11506
  const detail = {
11507
+ name: target.name,
11543
11508
  value,
11544
11509
  event
11545
11510
  };
@@ -12112,7 +12077,7 @@ function applyDecs2203RFactory13() {
12112
12077
  function _apply_decs_2203_r13(targetClass, memberDecs, classDecs, parentClass) {
12113
12078
  return (_apply_decs_2203_r13 = applyDecs2203RFactory13())(targetClass, memberDecs, classDecs, parentClass);
12114
12079
  }
12115
- var import_lit_html15, _dec31, _initClass13, _HTMLElement13, _dec115, _dec212, _dec310, _dec47, _dec57, _dec67, _dec73, _dec82, _dec92, _dec102, _dec116, _dec122, _dec132, _dec142, _dec152, _dec162, _dec172, _dec182, _init_name2, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto11, _Curve, Curve;
12080
+ var import_lit_html15, _dec31, _initClass13, _HTMLElement13, _dec115, _dec212, _dec310, _dec48, _dec57, _dec67, _dec73, _dec82, _dec92, _dec102, _dec116, _dec122, _dec132, _dec142, _dec152, _dec162, _dec172, _dec182, _init_name2, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto11, _Curve, Curve;
12116
12081
  var init_curve = __esm({
12117
12082
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/index.ts"() {
12118
12083
  "use strict";
@@ -12124,6 +12089,7 @@ var init_curve = __esm({
12124
12089
  init_Component();
12125
12090
  init_Listen();
12126
12091
  init_Prop();
12092
+ init_shared();
12127
12093
  init_canvas();
12128
12094
  init_canvas_controls();
12129
12095
  init_controls();
@@ -12218,7 +12184,7 @@ var init_curve = __esm({
12218
12184
  }
12219
12185
  };
12220
12186
  }
12221
- }), _dec47 = Prop({
12187
+ }), _dec48 = Prop({
12222
12188
  type: Boolean,
12223
12189
  reflect: true,
12224
12190
  defaultValue: true
@@ -12281,7 +12247,7 @@ var init_curve = __esm({
12281
12247
  "points"
12282
12248
  ],
12283
12249
  [
12284
- _dec47,
12250
+ _dec48,
12285
12251
  1,
12286
12252
  "showGrid"
12287
12253
  ],
@@ -12630,14 +12596,11 @@ var init_curve = __esm({
12630
12596
  }
12631
12597
  emitPointsChange(value, sourceEvent) {
12632
12598
  const detail = {
12599
+ name: this.name,
12633
12600
  value,
12634
12601
  event: sourceEvent ?? new Event("points-change")
12635
12602
  };
12636
- this.dispatchEvent(new CustomEvent("points-change", {
12637
- detail,
12638
- bubbles: true,
12639
- composed: true
12640
- }));
12603
+ dispatchControlEvent(this, "points-change", detail);
12641
12604
  }
12642
12605
  static {
12643
12606
  _initClass13();
@@ -13026,7 +12989,7 @@ function applyDecs2203RFactory14() {
13026
12989
  function _apply_decs_2203_r14(targetClass, memberDecs, classDecs, parentClass) {
13027
12990
  return (_apply_decs_2203_r14 = applyDecs2203RFactory14())(targetClass, memberDecs, classDecs, parentClass);
13028
12991
  }
13029
- var import_lit_html17, _dec40, _initClass14, _HTMLElement14, _dec117, _dec213, _dec311, _dec48, _dec58, _dec68, _init_disabled2, _init_pill2, _init_fullWidth2, _init_type2, _init_block2, _init_variant3, _initProto12, _Button2, Button2;
12992
+ var import_lit_html17, _dec40, _initClass14, _HTMLElement14, _dec117, _dec213, _dec311, _dec49, _dec58, _dec68, _init_disabled2, _init_pill2, _init_fullWidth2, _init_type2, _init_block2, _init_variant3, _initProto12, _Button2, Button2;
13030
12993
  var init_button2 = __esm({
13031
12994
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/button/index.ts"() {
13032
12995
  "use strict";
@@ -13209,7 +13172,7 @@ var init_button2 = __esm({
13209
13172
  }), _dec311 = Prop({
13210
13173
  type: Boolean,
13211
13174
  reflect: true
13212
- }), _dec48 = Prop({
13175
+ }), _dec49 = Prop({
13213
13176
  type: String,
13214
13177
  reflect: true,
13215
13178
  defaultValue: "button"
@@ -13244,7 +13207,7 @@ var init_button2 = __esm({
13244
13207
  "fullWidth"
13245
13208
  ],
13246
13209
  [
13247
- _dec48,
13210
+ _dec49,
13248
13211
  1,
13249
13212
  "type"
13250
13213
  ],
@@ -13753,7 +13716,7 @@ function applyDecs2203RFactory15() {
13753
13716
  function _apply_decs_2203_r15(targetClass, memberDecs, classDecs, parentClass) {
13754
13717
  return (_apply_decs_2203_r15 = applyDecs2203RFactory15())(targetClass, memberDecs, classDecs, parentClass);
13755
13718
  }
13756
- var import_lit_html18, _dec41, _initClass15, _HTMLElement15, _dec118, _dec214, _dec312, _dec49, _dec59, _dec69, _init_checked, _init_name3, _init_value, _init_disabled3, _init_control, _initProto13, _Checkbox, Checkbox;
13719
+ var import_lit_html18, _dec41, _initClass15, _HTMLElement15, _dec118, _dec214, _dec312, _dec410, _dec59, _dec69, _init_checked, _init_name3, _init_value, _init_disabled3, _init_control, _initProto13, _Checkbox, Checkbox;
13757
13720
  var init_checkbox = __esm({
13758
13721
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/checkbox/index.ts"() {
13759
13722
  "use strict";
@@ -14015,7 +13978,7 @@ var init_checkbox = __esm({
14015
13978
  reflect: true
14016
13979
  }), _dec312 = Prop({
14017
13980
  reflect: true
14018
- }), _dec49 = Prop({
13981
+ }), _dec410 = Prop({
14019
13982
  type: Boolean,
14020
13983
  reflect: true
14021
13984
  }), _dec59 = Query("button"), _dec69 = Listen("click", {
@@ -14040,7 +14003,7 @@ var init_checkbox = __esm({
14040
14003
  "value"
14041
14004
  ],
14042
14005
  [
14043
- _dec49,
14006
+ _dec410,
14044
14007
  1,
14045
14008
  "disabled"
14046
14009
  ],
@@ -14134,10 +14097,15 @@ var init_checkbox = __esm({
14134
14097
  return;
14135
14098
  }
14136
14099
  this.checked = !this.checked;
14137
- dispatchControlEvent2(this, "checkbox", {
14100
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
14101
+ const detail = {
14102
+ name,
14138
14103
  value: this.checked,
14139
14104
  event
14140
- });
14105
+ };
14106
+ dispatchControlEvent2(this, "checkbox", detail);
14107
+ dispatchControlEvent2(this, "change", detail);
14108
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
14141
14109
  }
14142
14110
  static {
14143
14111
  _initClass15();
@@ -14995,7 +14963,7 @@ function applyDecs2203RFactory17() {
14995
14963
  function _apply_decs_2203_r17(targetClass, memberDecs, classDecs, parentClass) {
14996
14964
  return (_apply_decs_2203_r17 = applyDecs2203RFactory17())(targetClass, memberDecs, classDecs, parentClass);
14997
14965
  }
14998
- var import_lit_html20, _dec51, _initClass17, _HTMLElement17, _dec120, _dec215, _dec313, _dec410, _dec510, _dec610, _dec74, _dec83, _dec93, _dec103, _dec1110, _dec123, _dec133, _dec143, _dec153, _dec163, _init_open3, _init_disabled4, _init_pill3, _init_headless, _init_searchable, _init_block3, _init_maxHeight, _init_name4, _init_value2, _init_placeholder, _init_placement3, _init_trigger, _init_searchInput, _init_panelContent, _init_contentSlot, _initProto15, nextOptionId, nextPanelId, _Dropdown, Dropdown;
14966
+ var import_lit_html20, _dec51, _initClass17, _HTMLElement17, _dec120, _dec215, _dec313, _dec411, _dec510, _dec610, _dec74, _dec83, _dec93, _dec103, _dec1110, _dec123, _dec133, _dec143, _dec153, _dec163, _init_open3, _init_disabled4, _init_pill3, _init_headless, _init_searchable, _init_block3, _init_maxHeight, _init_name4, _init_value2, _init_placeholder, _init_placement3, _init_trigger, _init_searchInput, _init_panelContent, _init_contentSlot, _initProto15, nextOptionId, nextPanelId, _Dropdown, Dropdown;
14999
14967
  var init_dropdown = __esm({
15000
14968
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/dropdown/index.ts"() {
15001
14969
  "use strict";
@@ -15274,7 +15242,7 @@ var init_dropdown = __esm({
15274
15242
  }), _dec313 = Prop({
15275
15243
  type: Boolean,
15276
15244
  reflect: true
15277
- }), _dec410 = Prop({
15245
+ }), _dec411 = Prop({
15278
15246
  type: Boolean,
15279
15247
  reflect: true
15280
15248
  }), _dec510 = Prop({
@@ -15333,7 +15301,7 @@ var init_dropdown = __esm({
15333
15301
  "pill"
15334
15302
  ],
15335
15303
  [
15336
- _dec410,
15304
+ _dec411,
15337
15305
  1,
15338
15306
  "headless"
15339
15307
  ],
@@ -15695,6 +15663,7 @@ var init_dropdown = __esm({
15695
15663
  }
15696
15664
  }
15697
15665
  dispatchControlEvent2(this, "toggle", {
15666
+ name: this.name ?? void 0,
15698
15667
  value: next,
15699
15668
  event: origin
15700
15669
  });
@@ -15958,6 +15927,7 @@ var init_dropdown = __esm({
15958
15927
  }
15959
15928
  #dispatchValueChange(value, label, event) {
15960
15929
  dispatchControlEvent2(this, "change", {
15930
+ name: this.name ?? void 0,
15961
15931
  value,
15962
15932
  event
15963
15933
  });
@@ -16449,7 +16419,7 @@ function applyDecs2203RFactory18() {
16449
16419
  function _apply_decs_2203_r18(targetClass, memberDecs, classDecs, parentClass) {
16450
16420
  return (_apply_decs_2203_r18 = applyDecs2203RFactory18())(targetClass, memberDecs, classDecs, parentClass);
16451
16421
  }
16452
- var import_lit_html21, _dec60, _initClass18, _HTMLElement18, _dec121, _dec216, _dec314, _dec411, _dec511, _dec611, _dec75, _dec84, _dec94, _dec104, _dec1111, _init_value3, _init_placeholder2, _init_type3, _init_name5, _init_disabled5, _init_headless2, _init_control2, _initProto16, _Input, Input;
16422
+ var import_lit_html21, _dec60, _initClass18, _HTMLElement18, _dec121, _dec216, _dec314, _dec412, _dec511, _dec611, _dec75, _dec84, _dec94, _dec104, _dec1111, _init_value3, _init_placeholder2, _init_type3, _init_name5, _init_disabled5, _init_headless2, _init_control2, _initProto16, _Input, Input;
16453
16423
  var init_input = __esm({
16454
16424
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/input/index.ts"() {
16455
16425
  "use strict";
@@ -16653,7 +16623,7 @@ var init_input = __esm({
16653
16623
  }), _dec314 = Prop({
16654
16624
  reflect: true,
16655
16625
  defaultValue: "text"
16656
- }), _dec411 = Prop({
16626
+ }), _dec412 = Prop({
16657
16627
  reflect: true
16658
16628
  }), _dec511 = Prop({
16659
16629
  type: Boolean,
@@ -16691,7 +16661,7 @@ var init_input = __esm({
16691
16661
  "type"
16692
16662
  ],
16693
16663
  [
16694
- _dec411,
16664
+ _dec412,
16695
16665
  1,
16696
16666
  "name"
16697
16667
  ],
@@ -16833,20 +16803,28 @@ var init_input = __esm({
16833
16803
  return;
16834
16804
  }
16835
16805
  this.value = target.value;
16836
- dispatchControlEvent2(this, "input", {
16806
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
16807
+ const detail = {
16808
+ name,
16837
16809
  value: this.value ?? "",
16838
16810
  event
16839
- });
16811
+ };
16812
+ dispatchControlEvent2(this, "input", detail);
16813
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
16840
16814
  }
16841
16815
  handleChange(event, target) {
16842
16816
  if (!target) {
16843
16817
  return;
16844
16818
  }
16845
16819
  this.value = target.value;
16846
- dispatchControlEvent2(this, "change", {
16820
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
16821
+ const detail = {
16822
+ name,
16847
16823
  value: this.value ?? "",
16848
16824
  event
16849
- });
16825
+ };
16826
+ dispatchControlEvent2(this, "change", detail);
16827
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
16850
16828
  }
16851
16829
  static {
16852
16830
  _initClass18();
@@ -18402,7 +18380,7 @@ function applyDecs2203RFactory21() {
18402
18380
  function _apply_decs_2203_r21(targetClass, memberDecs, classDecs, parentClass) {
18403
18381
  return (_apply_decs_2203_r21 = applyDecs2203RFactory21())(targetClass, memberDecs, classDecs, parentClass);
18404
18382
  }
18405
- var import_lit_html25, _dec71, _initClass21, _HTMLElement21, _dec124, _dec217, _dec315, _dec412, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto17, _ColorPicker, ColorPicker, picker_default;
18383
+ var import_lit_html25, _dec71, _initClass21, _HTMLElement21, _dec124, _dec217, _dec315, _dec413, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto17, _ColorPicker, ColorPicker, picker_default;
18406
18384
  var init_picker2 = __esm({
18407
18385
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/picker.ts"() {
18408
18386
  "use strict";
@@ -18731,7 +18709,7 @@ var init_picker2 = __esm({
18731
18709
  </div>
18732
18710
  `;
18733
18711
  }
18734
- }), _dec124 = Query('[part="saturation"]'), _dec217 = Query('[part="hue"]'), _dec315 = Query('[part="hex-input"]'), _dec412 = Prop({
18712
+ }), _dec124 = Query('[part="saturation"]'), _dec217 = Query('[part="hue"]'), _dec315 = Query('[part="hex-input"]'), _dec413 = Prop({
18735
18713
  reflect: true,
18736
18714
  defaultValue: "#FF0000",
18737
18715
  onChange(value) {
@@ -18759,7 +18737,7 @@ var init_picker2 = __esm({
18759
18737
  "hexInput"
18760
18738
  ],
18761
18739
  [
18762
- _dec412,
18740
+ _dec413,
18763
18741
  1,
18764
18742
  "value"
18765
18743
  ]
@@ -19378,7 +19356,7 @@ function applyDecs2203RFactory22() {
19378
19356
  function _apply_decs_2203_r22(targetClass, memberDecs, classDecs, parentClass) {
19379
19357
  return (_apply_decs_2203_r22 = applyDecs2203RFactory22())(targetClass, memberDecs, classDecs, parentClass);
19380
19358
  }
19381
- var import_lit_html26, _dec76, _initClass22, _HTMLElement22, _dec125, _dec218, _dec316, _dec413, _init_dropdown, _init_value5, _init_disabled6, _init_placement4, _initProto18, _ColorInput, ColorInput;
19359
+ var import_lit_html26, _dec76, _initClass22, _HTMLElement22, _dec125, _dec218, _dec316, _dec414, _dec512, _init_dropdown, _init_value5, _init_disabled6, _init_name6, _init_placement4, _initProto18, _ColorInput, ColorInput;
19382
19360
  var init_color = __esm({
19383
19361
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/index.ts"() {
19384
19362
  "use strict";
@@ -19462,13 +19440,16 @@ var init_color = __esm({
19462
19440
  }), _dec316 = Prop({
19463
19441
  type: Boolean,
19464
19442
  reflect: true
19465
- }), _dec413 = Prop({
19443
+ }), _dec414 = Prop({
19444
+ reflect: true,
19445
+ defaultValue: null
19446
+ }), _dec512 = Prop({
19466
19447
  reflect: true,
19467
19448
  defaultValue: "bottom-start"
19468
19449
  });
19469
19450
  ColorInput = class extends (_HTMLElement22 = HTMLElement) {
19470
19451
  static {
19471
- ({ e: [_init_dropdown, _init_value5, _init_disabled6, _init_placement4, _initProto18], c: [_ColorInput, _initClass22] } = _apply_decs_2203_r22(this, [
19452
+ ({ e: [_init_dropdown, _init_value5, _init_disabled6, _init_name6, _init_placement4, _initProto18], c: [_ColorInput, _initClass22] } = _apply_decs_2203_r22(this, [
19472
19453
  [
19473
19454
  _dec125,
19474
19455
  1,
@@ -19485,7 +19466,12 @@ var init_color = __esm({
19485
19466
  "disabled"
19486
19467
  ],
19487
19468
  [
19488
- _dec413,
19469
+ _dec414,
19470
+ 1,
19471
+ "name"
19472
+ ],
19473
+ [
19474
+ _dec512,
19489
19475
  1,
19490
19476
  "placement"
19491
19477
  ]
@@ -19515,12 +19501,19 @@ var init_color = __esm({
19515
19501
  set disabled(_v) {
19516
19502
  this.#___private_disabled_3 = _v;
19517
19503
  }
19518
- #___private_placement_4;
19504
+ #___private_name_4;
19505
+ get name() {
19506
+ return this.#___private_name_4;
19507
+ }
19508
+ set name(_v) {
19509
+ this.#___private_name_4 = _v;
19510
+ }
19511
+ #___private_placement_5;
19519
19512
  get placement() {
19520
- return this.#___private_placement_4;
19513
+ return this.#___private_placement_5;
19521
19514
  }
19522
19515
  set placement(_v) {
19523
- this.#___private_placement_4 = _v;
19516
+ this.#___private_placement_5 = _v;
19524
19517
  }
19525
19518
  connectedCallback() {
19526
19519
  this.#hasCustomTrigger = this.querySelector('[slot="trigger"]') !== null;
@@ -19565,21 +19558,24 @@ var init_color = __esm({
19565
19558
  _initClass22();
19566
19559
  }
19567
19560
  constructor(...args) {
19568
- super(...args), this.#hasCustomTrigger = (_initProto18(this), false), this.#___private_dropdown_1 = _init_dropdown(this), this.#___private_value_2 = _init_value5(this), this.#___private_disabled_3 = _init_disabled6(this, false), this.#___private_placement_4 = _init_placement4(this, "bottom-start"), this.#handleInputChange = (event) => {
19561
+ super(...args), this.#hasCustomTrigger = (_initProto18(this), false), this.#___private_dropdown_1 = _init_dropdown(this), this.#___private_value_2 = _init_value5(this), this.#___private_disabled_3 = _init_disabled6(this, false), this.#___private_name_4 = _init_name6(this, null), this.#___private_placement_5 = _init_placement4(this, "bottom-start"), this.#handleInputChange = (event) => {
19569
19562
  this.value = event.target.value;
19570
19563
  dispatchControlEvent2(this, "input", {
19564
+ name: this.name ?? void 0,
19571
19565
  value: this.value,
19572
19566
  event
19573
19567
  });
19574
19568
  }, this.#handlePickerInput = (event) => {
19575
19569
  this.value = event.detail.value;
19576
19570
  dispatchControlEvent2(this, "input", {
19571
+ name: this.name ?? void 0,
19577
19572
  value: this.value,
19578
19573
  event
19579
19574
  });
19580
19575
  }, this.#handlePickerChange = (event) => {
19581
19576
  this.value = event.detail.value;
19582
19577
  dispatchControlEvent2(this, "change", {
19578
+ name: this.name ?? void 0,
19583
19579
  value: this.value,
19584
19580
  event
19585
19581
  });
@@ -19592,6 +19588,7 @@ var init_color = __esm({
19592
19588
  }, this.#handlePickerApply = (event) => {
19593
19589
  this.value = event.detail.value;
19594
19590
  dispatchControlEvent2(this, "change", {
19591
+ name: this.name ?? void 0,
19595
19592
  value: this.value,
19596
19593
  event
19597
19594
  });
@@ -29539,7 +29536,7 @@ function applyDecs2203RFactory47() {
29539
29536
  function _apply_decs_2203_r47(targetClass, memberDecs, classDecs, parentClass) {
29540
29537
  return (_apply_decs_2203_r47 = applyDecs2203RFactory47())(targetClass, memberDecs, classDecs, parentClass);
29541
29538
  }
29542
- var import_lit_html51, _dec131, _initClass47, _HTMLElement47, _dec134, _dec221, _dec318, _dec414, _init_loading, _init_intro, _init_size, _init_ariaLabel, _initProto24, CENTER, DOTS_DATA, INNER_DOT_IDS, OUTER_DOT_IDS, forceReflow, getAngle, sortByAngle, LOOP_DURATION, ROTATION_DURATION, _LogoLoader, LogoLoader;
29539
+ var import_lit_html51, _dec131, _initClass47, _HTMLElement47, _dec134, _dec221, _dec318, _dec415, _init_loading, _init_intro, _init_size, _init_ariaLabel, _initProto24, CENTER, DOTS_DATA, INNER_DOT_IDS, OUTER_DOT_IDS, forceReflow, getAngle, sortByAngle, LOOP_DURATION, ROTATION_DURATION, _LogoLoader, LogoLoader;
29543
29540
  var init_logo = __esm({
29544
29541
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/logo/index.ts"() {
29545
29542
  "use strict";
@@ -29937,7 +29934,7 @@ var init_logo = __esm({
29937
29934
  type: Number,
29938
29935
  attribute: "size",
29939
29936
  defaultValue: 36
29940
- }), _dec414 = Prop({
29937
+ }), _dec415 = Prop({
29941
29938
  type: "string",
29942
29939
  attribute: "aria-label",
29943
29940
  defaultValue: null
@@ -29961,7 +29958,7 @@ var init_logo = __esm({
29961
29958
  "size"
29962
29959
  ],
29963
29960
  [
29964
- _dec414,
29961
+ _dec415,
29965
29962
  1,
29966
29963
  "ariaLabel"
29967
29964
  ]
@@ -32837,7 +32834,7 @@ function applyDecs2203RFactory50() {
32837
32834
  function _apply_decs_2203_r50(targetClass, memberDecs, classDecs, parentClass) {
32838
32835
  return (_apply_decs_2203_r50 = applyDecs2203RFactory50())(targetClass, memberDecs, classDecs, parentClass);
32839
32836
  }
32840
- var import_lit_html54, _dec139, _initClass50, _HTMLElement50, _dec140, _dec224, _dec320, _dec415, _dec512, _dec612, _dec710, _dec810, _dec910, _init_value6, _init_min, _init_max, _init_step, _init_name6, _init_disabled7, _init_control3, _initProto27, _NumberInput, NumberInput;
32837
+ var import_lit_html54, _dec139, _initClass50, _HTMLElement50, _dec140, _dec224, _dec320, _dec416, _dec513, _dec612, _dec710, _dec810, _dec910, _init_value6, _init_min, _init_max, _init_step, _init_name7, _init_disabled7, _init_control3, _initProto27, _NumberInput, NumberInput;
32841
32838
  var init_number = __esm({
32842
32839
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/number/index.ts"() {
32843
32840
  "use strict";
@@ -32941,10 +32938,10 @@ var init_number = __esm({
32941
32938
  }), _dec320 = Prop({
32942
32939
  type: Number,
32943
32940
  reflect: true
32944
- }), _dec415 = Prop({
32941
+ }), _dec416 = Prop({
32945
32942
  type: Number,
32946
32943
  reflect: true
32947
- }), _dec512 = Prop({
32944
+ }), _dec513 = Prop({
32948
32945
  reflect: true
32949
32946
  }), _dec612 = Prop({
32950
32947
  type: Boolean,
@@ -32956,7 +32953,7 @@ var init_number = __esm({
32956
32953
  });
32957
32954
  NumberInput = class extends (_HTMLElement50 = HTMLElement) {
32958
32955
  static {
32959
- ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name6, _init_disabled7, _init_control3, _initProto27], c: [_NumberInput, _initClass50] } = _apply_decs_2203_r50(this, [
32956
+ ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name7, _init_disabled7, _init_control3, _initProto27], c: [_NumberInput, _initClass50] } = _apply_decs_2203_r50(this, [
32960
32957
  [
32961
32958
  _dec140,
32962
32959
  1,
@@ -32973,12 +32970,12 @@ var init_number = __esm({
32973
32970
  "max"
32974
32971
  ],
32975
32972
  [
32976
- _dec415,
32973
+ _dec416,
32977
32974
  1,
32978
32975
  "step"
32979
32976
  ],
32980
32977
  [
32981
- _dec512,
32978
+ _dec513,
32982
32979
  1,
32983
32980
  "name"
32984
32981
  ],
@@ -33073,20 +33070,28 @@ var init_number = __esm({
33073
33070
  return;
33074
33071
  }
33075
33072
  this.value = coerceNumber(target.value);
33076
- dispatchControlEvent2(this, "input", {
33073
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
33074
+ const detail = {
33075
+ name,
33077
33076
  value: this.value,
33078
33077
  event
33079
- });
33078
+ };
33079
+ dispatchControlEvent2(this, "input", detail);
33080
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
33080
33081
  }
33081
33082
  handleChange(event, target) {
33082
33083
  if (!target) {
33083
33084
  return;
33084
33085
  }
33085
33086
  this.value = coerceNumber(target.value);
33086
- dispatchControlEvent2(this, "change", {
33087
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
33088
+ const detail = {
33089
+ name,
33087
33090
  value: this.value,
33088
33091
  event
33089
- });
33092
+ };
33093
+ dispatchControlEvent2(this, "change", detail);
33094
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
33090
33095
  }
33091
33096
  addActiveLayer(button) {
33092
33097
  const layer = document.createElement("div");
@@ -33124,7 +33129,7 @@ var init_number = __esm({
33124
33129
  _initClass50();
33125
33130
  }
33126
33131
  constructor(...args) {
33127
- super(...args), this.#___private_value_1 = (_initProto27(this), _init_value6(this)), this.#___private_min_2 = _init_min(this), this.#___private_max_3 = _init_max(this), this.#___private_step_4 = _init_step(this), this.#___private_name_5 = _init_name6(this), this.#___private_disabled_6 = _init_disabled7(this), this.#___private_control_7 = _init_control3(this);
33132
+ super(...args), this.#___private_value_1 = (_initProto27(this), _init_value6(this)), this.#___private_min_2 = _init_min(this), this.#___private_max_3 = _init_max(this), this.#___private_step_4 = _init_step(this), this.#___private_name_5 = _init_name7(this), this.#___private_disabled_6 = _init_disabled7(this), this.#___private_control_7 = _init_control3(this);
33128
33133
  }
33129
33134
  };
33130
33135
  }
@@ -33507,7 +33512,7 @@ function applyDecs2203RFactory51() {
33507
33512
  function _apply_decs_2203_r51(targetClass, memberDecs, classDecs, parentClass) {
33508
33513
  return (_apply_decs_2203_r51 = applyDecs2203RFactory51())(targetClass, memberDecs, classDecs, parentClass);
33509
33514
  }
33510
- var import_lit_html55, _dec141, _initClass51, _HTMLElement51, _dec144, _dec225, _dec321, _dec416, _dec513, _init_value7, _init_disabled8, _init_control4, _init_name7, _initProto28, _Origin, Origin;
33515
+ var import_lit_html55, _dec141, _initClass51, _HTMLElement51, _dec144, _dec225, _dec321, _dec417, _dec514, _init_value7, _init_disabled8, _init_control4, _init_name8, _initProto28, _Origin, Origin;
33511
33516
  var init_origin = __esm({
33512
33517
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/origin/index.ts"() {
33513
33518
  "use strict";
@@ -33656,15 +33661,15 @@ var init_origin = __esm({
33656
33661
  }), _dec225 = Prop({
33657
33662
  type: Boolean,
33658
33663
  reflect: true
33659
- }), _dec321 = Query("ease-dropdown"), _dec416 = Prop({
33664
+ }), _dec321 = Query("ease-dropdown"), _dec417 = Prop({
33660
33665
  reflect: true,
33661
33666
  defaultValue: ""
33662
- }), _dec513 = Listen("change", {
33667
+ }), _dec514 = Listen("change", {
33663
33668
  selector: "ease-dropdown"
33664
33669
  });
33665
33670
  Origin = class extends (_HTMLElement51 = HTMLElement) {
33666
33671
  static {
33667
- ({ e: [_init_value7, _init_disabled8, _init_control4, _init_name7, _initProto28], c: [_Origin, _initClass51] } = _apply_decs_2203_r51(this, [
33672
+ ({ e: [_init_value7, _init_disabled8, _init_control4, _init_name8, _initProto28], c: [_Origin, _initClass51] } = _apply_decs_2203_r51(this, [
33668
33673
  [
33669
33674
  _dec144,
33670
33675
  1,
@@ -33681,12 +33686,12 @@ var init_origin = __esm({
33681
33686
  "control"
33682
33687
  ],
33683
33688
  [
33684
- _dec416,
33689
+ _dec417,
33685
33690
  1,
33686
33691
  "name"
33687
33692
  ],
33688
33693
  [
33689
- _dec513,
33694
+ _dec514,
33690
33695
  2,
33691
33696
  "handleChange"
33692
33697
  ]
@@ -33739,7 +33744,7 @@ var init_origin = __esm({
33739
33744
  _initClass51();
33740
33745
  }
33741
33746
  constructor(...args) {
33742
- super(...args), this.#___private_value_1 = (_initProto28(this), _init_value7(this, "center-center")), this.#___private_disabled_2 = _init_disabled8(this), this.#___private_control_3 = _init_control4(this), this.#___private_name_4 = _init_name7(this, ""), this.handleValueChange = (event) => {
33747
+ super(...args), this.#___private_value_1 = (_initProto28(this), _init_value7(this, "center-center")), this.#___private_disabled_2 = _init_disabled8(this), this.#___private_control_3 = _init_control4(this), this.#___private_name_4 = _init_name8(this, ""), this.handleValueChange = (event) => {
33743
33748
  this.value = String(this.control?.value ?? "center-center");
33744
33749
  dispatchControlEvent2(this, "change", {
33745
33750
  value: this.value,
@@ -34128,7 +34133,7 @@ function applyDecs2203RFactory52() {
34128
34133
  function _apply_decs_2203_r52(targetClass, memberDecs, classDecs, parentClass) {
34129
34134
  return (_apply_decs_2203_r52 = applyDecs2203RFactory52())(targetClass, memberDecs, classDecs, parentClass);
34130
34135
  }
34131
- var import_lit_html56, _dec145, _initClass52, _HTMLElement52, _dec146, _dec226, _dec322, _dec417, _dec514, _dec613, _dec711, _init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement2, _init_bodyElement, _initProto29, _Panel, Panel;
34136
+ var import_lit_html56, _dec145, _initClass52, _HTMLElement52, _dec146, _dec226, _dec322, _dec418, _dec515, _dec613, _dec711, _init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement3, _init_bodyElement, _initProto29, _Panel, Panel;
34132
34137
  var init_panel = __esm({
34133
34138
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/panel/index.ts"() {
34134
34139
  "use strict";
@@ -34203,7 +34208,6 @@ var init_panel = __esm({
34203
34208
  align-items: center;
34204
34209
  gap: 2px;
34205
34210
  flex-grow: 1;
34206
- margin: 0 0 0 4px;
34207
34211
  }
34208
34212
 
34209
34213
  [part="tabs"]:empty {
@@ -34212,17 +34216,18 @@ var init_panel = __esm({
34212
34216
 
34213
34217
  [part="tab"] {
34214
34218
  appearance: none;
34219
+ border-radius: var(--ease-panel-tab-radius, var(--radii-md));
34220
+ background-color: var(--ease-panel-tab-background, transparent);
34221
+ box-sizing: border-box;
34222
+ padding: var(--ease-panel-tab-padding, 4px 8px);
34215
34223
  font-size: var(--ease-panel-tab-font-size);
34216
34224
  font-weight: var(--ease-panel-tab-font-weight);
34217
34225
  line-height: 24px;
34218
34226
  font-family: var(--ease-font-family);
34219
34227
  color: var(--ease-panel-tab-color);
34220
- background-color: transparent;
34221
34228
  border: none;
34222
- padding: 4px 8px;
34223
34229
  margin: 0;
34224
34230
  cursor: pointer;
34225
- border-radius: var(--ease-panel-tab-radius);
34226
34231
  transition: color 200ms, background-color 200ms;
34227
34232
  transition-timing-function: cubic-bezier(.25, 0, .5, 1);
34228
34233
  }
@@ -34388,14 +34393,14 @@ var init_panel = __esm({
34388
34393
  reflect: true,
34389
34394
  attribute: "max-height",
34390
34395
  defaultValue: null
34391
- }), _dec417 = Query('[part="content"]'), _dec514 = Query('[part="body"]'), _dec613 = Listen("slotchange", {
34396
+ }), _dec418 = Query('[part="content"]'), _dec515 = Query('[part="body"]'), _dec613 = Listen("slotchange", {
34392
34397
  selector: 'slot[name="footer"]'
34393
34398
  }), _dec711 = Listen("slotchange", {
34394
34399
  selector: "slot:not([name])"
34395
34400
  });
34396
34401
  Panel = class extends (_HTMLElement52 = HTMLElement) {
34397
34402
  static {
34398
- ({ e: [_init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement2, _init_bodyElement, _initProto29], c: [_Panel, _initClass52] } = _apply_decs_2203_r52(this, [
34403
+ ({ e: [_init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement3, _init_bodyElement, _initProto29], c: [_Panel, _initClass52] } = _apply_decs_2203_r52(this, [
34399
34404
  [
34400
34405
  _dec146,
34401
34406
  1,
@@ -34412,12 +34417,12 @@ var init_panel = __esm({
34412
34417
  "maxHeight"
34413
34418
  ],
34414
34419
  [
34415
- _dec417,
34420
+ _dec418,
34416
34421
  1,
34417
34422
  "contentElement"
34418
34423
  ],
34419
34424
  [
34420
- _dec514,
34425
+ _dec515,
34421
34426
  1,
34422
34427
  "bodyElement"
34423
34428
  ],
@@ -34732,7 +34737,7 @@ var init_panel = __esm({
34732
34737
  _initClass52();
34733
34738
  }
34734
34739
  constructor(...args) {
34735
- super(...args), this.#tabs = (_initProto29(this), []), this.#isAnimating = false, this.#___private_activeTab_1 = _init_activeTab(this, 0), this.#___private_headline_2 = _init_headline2(this, null), this.#___private_maxHeight_3 = _init_maxHeight3(this, null), this.#___private_contentElement_4 = _init_contentElement2(this), this.#___private_bodyElement_5 = _init_bodyElement(this);
34740
+ super(...args), this.#tabs = (_initProto29(this), []), this.#isAnimating = false, this.#___private_activeTab_1 = _init_activeTab(this, 0), this.#___private_headline_2 = _init_headline2(this, null), this.#___private_maxHeight_3 = _init_maxHeight3(this, null), this.#___private_contentElement_4 = _init_contentElement3(this), this.#___private_bodyElement_5 = _init_bodyElement(this);
34736
34741
  }
34737
34742
  };
34738
34743
  }
@@ -35858,7 +35863,7 @@ function applyDecs2203RFactory54() {
35858
35863
  function _apply_decs_2203_r54(targetClass, memberDecs, classDecs, parentClass) {
35859
35864
  return (_apply_decs_2203_r54 = applyDecs2203RFactory54())(targetClass, memberDecs, classDecs, parentClass);
35860
35865
  }
35861
- var import_lit_html58, _dec149, _initClass54, _HTMLElement54, _dec150, _dec228, _dec324, _dec418, _dec515, _dec614, _init_checked2, _init_name8, _init_value9, _init_disabled9, _init_control5, _initProto31, _RadioInput, RadioInput;
35866
+ var import_lit_html58, _dec149, _initClass54, _HTMLElement54, _dec150, _dec228, _dec324, _dec419, _dec516, _dec614, _init_checked2, _init_name9, _init_value9, _init_disabled9, _init_control5, _initProto31, _RadioInput, RadioInput;
35862
35867
  var init_input2 = __esm({
35863
35868
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/input.ts"() {
35864
35869
  "use strict";
@@ -36127,15 +36132,15 @@ var init_input2 = __esm({
36127
36132
  reflect: true
36128
36133
  }), _dec324 = Prop({
36129
36134
  reflect: true
36130
- }), _dec418 = Prop({
36135
+ }), _dec419 = Prop({
36131
36136
  type: Boolean,
36132
36137
  reflect: true
36133
- }), _dec515 = Query("button"), _dec614 = Listen("click", {
36138
+ }), _dec516 = Query("button"), _dec614 = Listen("click", {
36134
36139
  selector: "button"
36135
36140
  });
36136
36141
  RadioInput = class extends (_HTMLElement54 = HTMLElement) {
36137
36142
  static {
36138
- ({ e: [_init_checked2, _init_name8, _init_value9, _init_disabled9, _init_control5, _initProto31], c: [_RadioInput, _initClass54] } = _apply_decs_2203_r54(this, [
36143
+ ({ e: [_init_checked2, _init_name9, _init_value9, _init_disabled9, _init_control5, _initProto31], c: [_RadioInput, _initClass54] } = _apply_decs_2203_r54(this, [
36139
36144
  [
36140
36145
  _dec150,
36141
36146
  1,
@@ -36152,12 +36157,12 @@ var init_input2 = __esm({
36152
36157
  "value"
36153
36158
  ],
36154
36159
  [
36155
- _dec418,
36160
+ _dec419,
36156
36161
  1,
36157
36162
  "disabled"
36158
36163
  ],
36159
36164
  [
36160
- _dec515,
36165
+ _dec516,
36161
36166
  1,
36162
36167
  "control"
36163
36168
  ],
@@ -36250,16 +36255,22 @@ var init_input2 = __esm({
36250
36255
  return;
36251
36256
  }
36252
36257
  this.checked = true;
36253
- dispatchControlEvent2(this, "radio", {
36258
+ const groupName = this.closest("ease-radio-group")?.getAttribute("name") ?? void 0;
36259
+ const name = this.getAttribute("name") ?? groupName ?? void 0;
36260
+ const detail = {
36261
+ name,
36254
36262
  value: this.checked,
36255
36263
  event
36256
- });
36264
+ };
36265
+ dispatchControlEvent2(this, "radio", detail);
36266
+ dispatchControlEvent2(this, "change", detail);
36267
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36257
36268
  }
36258
36269
  static {
36259
36270
  _initClass54();
36260
36271
  }
36261
36272
  constructor(...args) {
36262
- super(...args), this.#___private_checked_1 = (_initProto31(this), _init_checked2(this)), this.#___private_name_2 = _init_name8(this), this.#___private_value_3 = _init_value9(this), this.#___private_disabled_4 = _init_disabled9(this), this.#___private_control_5 = _init_control5(this), this._firstRender = true, this.filterId = `goo-${crypto.randomUUID()}`;
36273
+ super(...args), this.#___private_checked_1 = (_initProto31(this), _init_checked2(this)), this.#___private_name_2 = _init_name9(this), this.#___private_value_3 = _init_value9(this), this.#___private_disabled_4 = _init_disabled9(this), this.#___private_control_5 = _init_control5(this), this._firstRender = true, this.filterId = `goo-${crypto.randomUUID()}`;
36263
36274
  }
36264
36275
  };
36265
36276
  }
@@ -36642,7 +36653,7 @@ function applyDecs2203RFactory55() {
36642
36653
  function _apply_decs_2203_r55(targetClass, memberDecs, classDecs, parentClass) {
36643
36654
  return (_apply_decs_2203_r55 = applyDecs2203RFactory55())(targetClass, memberDecs, classDecs, parentClass);
36644
36655
  }
36645
- var import_lit_html59, _dec151, _initClass55, _HTMLElement55, _dec154, _dec229, _dec325, _dec419, _dec516, _dec615, _dec712, _dec811, _dec911, _dec1010, _dec1112, _init_value10, _init_min2, _init_max2, _init_step2, _init_disabled10, _init_control6, _init_valueControl, _initProto32, _Slider, Slider;
36656
+ var import_lit_html59, _dec151, _initClass55, _HTMLElement55, _dec154, _dec229, _dec325, _dec420, _dec517, _dec615, _dec712, _dec811, _dec911, _dec1010, _dec1112, _init_value10, _init_min2, _init_max2, _init_step2, _init_disabled10, _init_control6, _init_valueControl, _initProto32, _Slider, Slider;
36646
36657
  var init_slider = __esm({
36647
36658
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/slider/index.ts"() {
36648
36659
  "use strict";
@@ -36764,11 +36775,15 @@ var init_slider = __esm({
36764
36775
  .step=${this.step ?? 1}
36765
36776
  .value=${String(this.value ?? 0)}
36766
36777
  ?disabled=${this.disabled}
36778
+ @input=${this.handleRangeInput}
36779
+ @change=${this.handleRangeChange}
36767
36780
  ?aria-disabled=${this.disabled}
36768
36781
  />
36769
36782
 
36770
36783
  <ease-input
36771
36784
  part="value"
36785
+ @input=${this.handleValueInput}
36786
+ @change=${this.handleValueChange}
36772
36787
  type="number"
36773
36788
  placeholder="-"
36774
36789
  .disabled=${Boolean(this.disabled)}
@@ -36786,10 +36801,10 @@ var init_slider = __esm({
36786
36801
  }), _dec325 = Prop({
36787
36802
  type: Number,
36788
36803
  reflect: true
36789
- }), _dec419 = Prop({
36804
+ }), _dec420 = Prop({
36790
36805
  type: Number,
36791
36806
  reflect: true
36792
- }), _dec516 = Prop({
36807
+ }), _dec517 = Prop({
36793
36808
  type: Boolean,
36794
36809
  reflect: true
36795
36810
  }), _dec615 = Query("input"), _dec712 = Query("ease-input"), _dec811 = Listen("input", {
@@ -36822,12 +36837,12 @@ var init_slider = __esm({
36822
36837
  "max"
36823
36838
  ],
36824
36839
  [
36825
- _dec419,
36840
+ _dec420,
36826
36841
  1,
36827
36842
  "step"
36828
36843
  ],
36829
36844
  [
36830
- _dec516,
36845
+ _dec517,
36831
36846
  1,
36832
36847
  "disabled"
36833
36848
  ],
@@ -36940,10 +36955,14 @@ var init_slider = __esm({
36940
36955
  if (this.valueControl) {
36941
36956
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
36942
36957
  }
36943
- dispatchControlEvent2(this, "input", {
36958
+ const name = this.getAttribute("name") ?? void 0;
36959
+ const detail = {
36960
+ name,
36944
36961
  value: this.value,
36945
36962
  event
36946
- });
36963
+ };
36964
+ dispatchControlEvent2(this, "input", detail);
36965
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36947
36966
  }
36948
36967
  handleRangeChange(event, target) {
36949
36968
  if (target) {
@@ -36954,10 +36973,14 @@ var init_slider = __esm({
36954
36973
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
36955
36974
  }
36956
36975
  }
36957
- dispatchControlEvent2(this, "change", {
36976
+ const name = this.getAttribute("name") ?? void 0;
36977
+ const detail = {
36978
+ name,
36958
36979
  value: this.value,
36959
36980
  event
36960
- });
36981
+ };
36982
+ dispatchControlEvent2(this, "change", detail);
36983
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36961
36984
  }
36962
36985
  handleValueInput(event) {
36963
36986
  const rawValue = event.detail?.value ?? "";
@@ -36967,10 +36990,15 @@ var init_slider = __esm({
36967
36990
  if (this.control) {
36968
36991
  this.control.value = String(numericValue ?? 0);
36969
36992
  }
36970
- dispatchControlEvent2(this, "input", {
36993
+ const name = this.getAttribute("name") ?? void 0;
36994
+ const controlEvent = event.detail?.event ?? event;
36995
+ const detail = {
36996
+ name,
36971
36997
  value: this.value,
36972
- event: event.detail?.event ?? event
36973
- });
36998
+ event: controlEvent
36999
+ };
37000
+ dispatchControlEvent2(this, "input", detail);
37001
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36974
37002
  }
36975
37003
  handleValueChange(event) {
36976
37004
  const rawValue = event.detail?.value ?? "";
@@ -36980,10 +37008,15 @@ var init_slider = __esm({
36980
37008
  if (this.control) {
36981
37009
  this.control.value = String(numericValue ?? 0);
36982
37010
  }
36983
- dispatchControlEvent2(this, "change", {
37011
+ const name = this.getAttribute("name") ?? void 0;
37012
+ const controlEvent = event.detail?.event ?? event;
37013
+ const detail = {
37014
+ name,
36984
37015
  value: this.value,
36985
- event: event.detail?.event ?? event
36986
- });
37016
+ event: controlEvent
37017
+ };
37018
+ dispatchControlEvent2(this, "change", detail);
37019
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36987
37020
  }
36988
37021
  updateProgress() {
36989
37022
  if (!this.control) {
@@ -37382,7 +37415,7 @@ function applyDecs2203RFactory56() {
37382
37415
  function _apply_decs_2203_r56(targetClass, memberDecs, classDecs, parentClass) {
37383
37416
  return (_apply_decs_2203_r56 = applyDecs2203RFactory56())(targetClass, memberDecs, classDecs, parentClass);
37384
37417
  }
37385
- var import_lit_html60, _dec155, _initClass56, _HTMLElement56, _dec156, _dec230, _dec326, _dec420, _dec517, _init_value11, _init_defaultSlot, _initProto33, readControlValue2, getControlName, _State, State;
37418
+ var import_lit_html60, _dec155, _initClass56, _HTMLElement56, _dec156, _dec230, _dec326, _dec421, _dec518, _init_value11, _init_defaultSlot, _initProto33, readControlValue2, getControlName, _State, State;
37386
37419
  var init_state = __esm({
37387
37420
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/state/index.ts"() {
37388
37421
  "use strict";
@@ -37432,9 +37465,9 @@ var init_state = __esm({
37432
37465
  reflect: true
37433
37466
  }), _dec230 = Query("slot"), _dec326 = Listen("input", {
37434
37467
  target: (host) => host
37435
- }), _dec420 = Listen("change", {
37468
+ }), _dec421 = Listen("change", {
37436
37469
  target: (host) => host
37437
- }), _dec517 = Listen(CONTROL_CHANGE_EVENT, {
37470
+ }), _dec518 = Listen(CONTROL_CHANGE_EVENT, {
37438
37471
  target: (host) => host
37439
37472
  });
37440
37473
  State = class extends (_HTMLElement56 = HTMLElement) {
@@ -37456,12 +37489,12 @@ var init_state = __esm({
37456
37489
  "handleInternalInput"
37457
37490
  ],
37458
37491
  [
37459
- _dec420,
37492
+ _dec421,
37460
37493
  2,
37461
37494
  "handleInternalChange"
37462
37495
  ],
37463
37496
  [
37464
- _dec517,
37497
+ _dec518,
37465
37498
  2,
37466
37499
  "handleControlChange"
37467
37500
  ]
@@ -38054,7 +38087,7 @@ function applyDecs2203RFactory57() {
38054
38087
  function _apply_decs_2203_r57(targetClass, memberDecs, classDecs, parentClass) {
38055
38088
  return (_apply_decs_2203_r57 = applyDecs2203RFactory57())(targetClass, memberDecs, classDecs, parentClass);
38056
38089
  }
38057
- var import_lit_html61, _dec157, _initClass57, _HTMLElement57, _dec158, _dec231, _dec327, _dec421, _init_checked3, _init_disabled11, _init_control7, _initProto34, _Toggle, Toggle;
38090
+ var import_lit_html61, _dec157, _initClass57, _HTMLElement57, _dec158, _dec231, _dec327, _dec422, _init_checked3, _init_disabled11, _init_control7, _initProto34, _Toggle, Toggle;
38058
38091
  var init_toggle = __esm({
38059
38092
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/toggle/index.ts"() {
38060
38093
  "use strict";
@@ -38182,7 +38215,7 @@ var init_toggle = __esm({
38182
38215
  }), _dec231 = Prop({
38183
38216
  type: Boolean,
38184
38217
  reflect: true
38185
- }), _dec327 = Query("button"), _dec421 = Listen("click", {
38218
+ }), _dec327 = Query("button"), _dec422 = Listen("click", {
38186
38219
  selector: "button"
38187
38220
  });
38188
38221
  Toggle = class extends (_HTMLElement57 = HTMLElement) {
@@ -38204,7 +38237,7 @@ var init_toggle = __esm({
38204
38237
  "control"
38205
38238
  ],
38206
38239
  [
38207
- _dec421,
38240
+ _dec422,
38208
38241
  2,
38209
38242
  "handleClick"
38210
38243
  ]
@@ -38249,10 +38282,15 @@ var init_toggle = __esm({
38249
38282
  return;
38250
38283
  }
38251
38284
  this.checked = !this.checked;
38252
- dispatchControlEvent2(this, "toggle", {
38285
+ const name = this.getAttribute("name") ?? void 0;
38286
+ const detail = {
38287
+ name,
38253
38288
  value: this.checked,
38254
38289
  event
38255
- });
38290
+ };
38291
+ dispatchControlEvent2(this, "toggle", detail);
38292
+ dispatchControlEvent2(this, "change", detail);
38293
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
38256
38294
  }
38257
38295
  static {
38258
38296
  _initClass57();
@@ -38641,7 +38679,7 @@ function applyDecs2203RFactory58() {
38641
38679
  function _apply_decs_2203_r58(targetClass, memberDecs, classDecs, parentClass) {
38642
38680
  return (_apply_decs_2203_r58 = applyDecs2203RFactory58())(targetClass, memberDecs, classDecs, parentClass);
38643
38681
  }
38644
- var import_lit_html62, _dec159, _initClass58, _HTMLElement58, _dec160, _dec232, _dec328, _dec422, _dec518, _dec616, _init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto35, _Tooltip2, Tooltip2;
38682
+ var import_lit_html62, _dec159, _initClass58, _HTMLElement58, _dec160, _dec232, _dec328, _dec423, _dec519, _dec616, _init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto35, _Tooltip2, Tooltip2;
38645
38683
  var init_tooltip2 = __esm({
38646
38684
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/tooltip/index.ts"() {
38647
38685
  "use strict";
@@ -38694,7 +38732,7 @@ var init_tooltip2 = __esm({
38694
38732
  }), _dec328 = Prop({
38695
38733
  reflect: true,
38696
38734
  defaultValue: "top-center"
38697
- }), _dec422 = Query('[slot="trigger"]'), _dec518 = Query("[data-tooltip-content]"), _dec616 = OutsideClick({
38735
+ }), _dec423 = Query('[slot="trigger"]'), _dec519 = Query("[data-tooltip-content]"), _dec616 = OutsideClick({
38698
38736
  content: (host) => host.contentElement,
38699
38737
  triggers: (host) => [
38700
38738
  host.triggerElement
@@ -38703,7 +38741,7 @@ var init_tooltip2 = __esm({
38703
38741
  });
38704
38742
  Tooltip2 = class extends (_HTMLElement58 = HTMLElement) {
38705
38743
  static {
38706
- ({ e: [_init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto35], c: [_Tooltip2, _initClass58] } = _apply_decs_2203_r58(this, [
38744
+ ({ e: [_init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto35], c: [_Tooltip2, _initClass58] } = _apply_decs_2203_r58(this, [
38707
38745
  [
38708
38746
  _dec160,
38709
38747
  1,
@@ -38720,12 +38758,12 @@ var init_tooltip2 = __esm({
38720
38758
  "placement"
38721
38759
  ],
38722
38760
  [
38723
- _dec422,
38761
+ _dec423,
38724
38762
  1,
38725
38763
  "triggerElement"
38726
38764
  ],
38727
38765
  [
38728
- _dec518,
38766
+ _dec519,
38729
38767
  1,
38730
38768
  "contentElement"
38731
38769
  ],
@@ -38886,7 +38924,7 @@ var init_tooltip2 = __esm({
38886
38924
  _initClass58();
38887
38925
  }
38888
38926
  constructor(...args) {
38889
- super(...args), this.#hoverTimer = (_initProto35(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open5(this, false), this.#___private_delay_2 = _init_delay2(this, 300), this.#___private_placement_3 = _init_placement5(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement2(this), this.#___private_contentElement_5 = _init_contentElement3(this), this.#handleEnter = () => {
38927
+ super(...args), this.#hoverTimer = (_initProto35(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open5(this, false), this.#___private_delay_2 = _init_delay2(this, 300), this.#___private_placement_3 = _init_placement5(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement2(this), this.#___private_contentElement_5 = _init_contentElement4(this), this.#handleEnter = () => {
38890
38928
  this.#startTimer(() => {
38891
38929
  this.open = true;
38892
38930
  });
@@ -40806,7 +40844,7 @@ _dec78 = Component({
40806
40844
  [part="content"] {
40807
40845
  height: 0;
40808
40846
  overflow: hidden;
40809
- transition: height 200ms cubic-bezier(.25, 0, .5, 1);
40847
+ transition: height 200ms cubic-bezier(.25, 0, .5, 1) !important;
40810
40848
  }
40811
40849
 
40812
40850
  :host([open]) [part="content"] {