@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.js CHANGED
@@ -2557,6 +2557,21 @@ var init_Listen = __esm({
2557
2557
  }
2558
2558
  });
2559
2559
 
2560
+ // src/elements/shared.ts
2561
+ var dispatchControlEvent;
2562
+ var init_shared = __esm({
2563
+ "src/elements/shared.ts"() {
2564
+ "use strict";
2565
+ dispatchControlEvent = (host, type, detail) => {
2566
+ host.dispatchEvent(new CustomEvent(type, {
2567
+ detail,
2568
+ bubbles: true,
2569
+ composed: true
2570
+ }));
2571
+ };
2572
+ }
2573
+ });
2574
+
2560
2575
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/constants.ts
2561
2576
  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;
2562
2577
  var init_constants = __esm({
@@ -2808,21 +2823,6 @@ var init_svg_renderer = __esm({
2808
2823
  }
2809
2824
  });
2810
2825
 
2811
- // src/elements/shared.ts
2812
- var dispatchControlEvent;
2813
- var init_shared = __esm({
2814
- "src/elements/shared.ts"() {
2815
- "use strict";
2816
- dispatchControlEvent = (host, type, detail) => {
2817
- host.dispatchEvent(new CustomEvent(type, {
2818
- detail,
2819
- bubbles: true,
2820
- composed: true
2821
- }));
2822
- };
2823
- }
2824
- });
2825
-
2826
2826
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/canvas.ts
2827
2827
  import { html as html3, svg as svg2 } from "lit-html";
2828
2828
  function applyDecs2203RFactory2() {
@@ -4200,6 +4200,7 @@ var init_canvas = __esm({
4200
4200
  }, this.#emitPoints = (value, event) => {
4201
4201
  const target = this.#getEventTarget();
4202
4202
  const detail = {
4203
+ name: target.name,
4203
4204
  value,
4204
4205
  event
4205
4206
  };
@@ -4210,6 +4211,7 @@ var init_canvas = __esm({
4210
4211
  }
4211
4212
  const target = this.#getEventTarget();
4212
4213
  const detail = {
4214
+ name: target.name,
4213
4215
  value: index,
4214
4216
  event
4215
4217
  };
@@ -5147,6 +5149,7 @@ var init_canvas_controls = __esm({
5147
5149
  }, this.#notifyHost = (type, value, event) => {
5148
5150
  const target = this.#getEventTarget();
5149
5151
  const detail = {
5152
+ name: target.name,
5150
5153
  value,
5151
5154
  event
5152
5155
  };
@@ -8181,6 +8184,7 @@ var init_controls = __esm({
8181
8184
  }, this.#notifyHost = (type, value, event) => {
8182
8185
  const target = this.#getEventTarget();
8183
8186
  const detail = {
8187
+ name: target.name,
8184
8188
  value,
8185
8189
  event
8186
8190
  };
@@ -9746,13 +9750,14 @@ function applyDecs2203RFactory10() {
9746
9750
  function _apply_decs_2203_r10(targetClass, memberDecs, classDecs, parentClass) {
9747
9751
  return (_apply_decs_2203_r10 = applyDecs2203RFactory10())(targetClass, memberDecs, classDecs, parentClass);
9748
9752
  }
9749
- var _dec21, _initClass10, _HTMLElement10, _dec112, _dec28, _dec37, _init_placement, _init_offset, _init_open, _initProto8, nextAnchorName, _Popover, Popover, popover_default;
9753
+ var _dec21, _initClass10, _HTMLElement10, _dec112, _dec28, _dec37, _dec45, _init_contentElement, _init_placement, _init_offset, _init_open, _initProto8, nextAnchorName, _Popover, Popover, popover_default;
9750
9754
  var init_popover = __esm({
9751
9755
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/popover/index.ts"() {
9752
9756
  "use strict";
9753
9757
  init_Component();
9754
9758
  init_Prop();
9755
- nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID()}`;
9759
+ init_Query();
9760
+ nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID().slice(0, 8)}`;
9756
9761
  _dec21 = Component({
9757
9762
  tag: "ease-popover",
9758
9763
  autoSlot: false,
@@ -9761,7 +9766,6 @@ var init_popover = __esm({
9761
9766
  :host {
9762
9767
  display: contents;
9763
9768
  --ease-popover-offset: 8px;
9764
- --ease-popover-anchor-name: --ease-popover-anchor;
9765
9769
  --ease-popover-transform-origin: center center;
9766
9770
  --ease-popover-duration: 200ms;
9767
9771
  --ease-popover-content-min-width: auto;
@@ -9774,140 +9778,110 @@ var init_popover = __esm({
9774
9778
  }
9775
9779
 
9776
9780
  [part="content"] {
9777
- position-anchor: var(--ease-popover-anchor-name);
9778
9781
  position: fixed;
9782
+ position-anchor: var(--ease-popover-anchor-name);
9779
9783
  margin: 0;
9780
- transform-origin: var(--ease-popover-transform-origin);
9784
+ padding: 0;
9785
+ border: none;
9786
+ background: transparent;
9787
+ overflow: visible;
9781
9788
  width: var(--ease-popover-content-width);
9782
9789
  min-width: var(--ease-popover-content-min-width);
9783
9790
  max-width: var(--ease-popover-content-max-width);
9784
9791
  box-sizing: border-box;
9785
- overscroll-behavior: contain;
9786
- z-index: 100;
9787
- display: none;
9788
9792
  }
9789
9793
 
9790
- :host([open]) [part="content"] {
9794
+ [part="content"]:popover-open {
9791
9795
  display: block;
9792
9796
  }
9793
9797
 
9794
9798
  :host([placement="top-start"]) [part="content"] {
9795
- position-area: top right;
9796
- top: anchor(bottom);
9797
- left: anchor(left);
9798
- translate: 0 calc(var(--ease-popover-offset) * -1);
9799
+ position-area: top span-right;
9800
+ margin-bottom: var(--ease-popover-offset);
9799
9801
  }
9800
-
9801
9802
  :host([placement="top-center"]) [part="content"] {
9802
9803
  position-area: top center;
9803
- top: anchor(top);
9804
- left: anchor(center);
9805
- translate: 0 calc(var(--ease-popover-offset) * -1);
9804
+ margin-bottom: var(--ease-popover-offset);
9806
9805
  }
9807
-
9808
9806
  :host([placement="top-end"]) [part="content"] {
9809
- position-area: top right;
9810
- top: anchor(bottom);
9811
- right: anchor(right);
9812
- translate: 0 calc(var(--ease-popover-offset) * -1);
9807
+ position-area: top span-left;
9808
+ margin-bottom: var(--ease-popover-offset);
9813
9809
  }
9814
-
9815
9810
  :host([placement="bottom-start"]) [part="content"] {
9816
- position-area: bottom right;
9817
- top: anchor(bottom);
9818
- left: anchor(left);
9819
- translate: 0 var(--ease-popover-offset);
9811
+ position-area: bottom span-right;
9812
+ margin-top: var(--ease-popover-offset);
9820
9813
  }
9821
-
9822
9814
  :host([placement="bottom-center"]) [part="content"] {
9823
9815
  position-area: bottom center;
9824
- top: anchor(bottom);
9825
- left: anchor(left);
9826
- translate: 0 var(--ease-popover-offset);
9816
+ margin-top: var(--ease-popover-offset);
9827
9817
  }
9828
-
9829
9818
  :host([placement="bottom-end"]) [part="content"] {
9830
- position-area: bottom left;
9831
- top: anchor(bottom);
9832
- right: anchor(right);
9833
- translate: 0 var(--ease-popover-offset);
9819
+ position-area: bottom span-left;
9820
+ margin-top: var(--ease-popover-offset);
9834
9821
  }
9835
-
9836
9822
  :host([placement="left-start"]) [part="content"] {
9837
- position-area: left bottom;
9838
- top: anchor(top);
9839
- left: anchor(left);
9840
- translate: calc(var(--ease-popover-offset) * -1) 0;
9823
+ position-area: left span-bottom;
9824
+ margin-right: var(--ease-popover-offset);
9841
9825
  }
9842
-
9843
9826
  :host([placement="left-center"]) [part="content"] {
9844
9827
  position-area: left center;
9845
- top: anchor(top);
9846
- left: anchor(left);
9847
- translate: calc(var(--ease-popover-offset) * -1) 0;
9828
+ margin-right: var(--ease-popover-offset);
9848
9829
  }
9849
-
9850
9830
  :host([placement="left-end"]) [part="content"] {
9851
- position-area: left top;
9852
- top: anchor(top);
9853
- left: anchor(left);
9854
- translate: calc(var(--ease-popover-offset) * -1) 0;
9831
+ position-area: left span-top;
9832
+ margin-right: var(--ease-popover-offset);
9855
9833
  }
9856
-
9857
9834
  :host([placement="right-start"]) [part="content"] {
9858
- position-area: right end;
9859
- top: anchor(top);
9860
- left: anchor(right);
9861
- translate: var(--ease-popover-offset) 0;
9835
+ position-area: right span-bottom;
9836
+ margin-left: var(--ease-popover-offset);
9862
9837
  }
9863
-
9864
9838
  :host([placement="right-center"]) [part="content"] {
9865
9839
  position-area: right center;
9866
- top: anchor(top);
9867
- left: anchor(right);
9868
- translate: var(--ease-popover-offset) 0;
9840
+ margin-left: var(--ease-popover-offset);
9869
9841
  }
9870
-
9871
9842
  :host([placement="right-end"]) [part="content"] {
9872
- position-area: right start;
9873
- top: anchor(top);
9874
- left: anchor(right);
9875
- translate: var(--ease-popover-offset) 0;
9843
+ position-area: right span-top;
9844
+ margin-left: var(--ease-popover-offset);
9876
9845
  }
9877
9846
  `
9878
- }), _dec112 = Prop({
9847
+ }), _dec112 = Query('[part="content"]'), _dec28 = Prop({
9879
9848
  reflect: true,
9880
- defaultValue: "bottom-start",
9881
- onChange() {
9882
- this.handlePlacementChange();
9883
- }
9884
- }), _dec28 = Prop({
9849
+ defaultValue: "bottom-start"
9850
+ }), _dec37 = Prop({
9885
9851
  type: Number,
9886
9852
  reflect: true,
9887
9853
  defaultValue: 8,
9888
9854
  onChange() {
9889
9855
  this.handleOffsetChange();
9890
9856
  }
9891
- }), _dec37 = Prop({
9857
+ }), _dec45 = Prop({
9892
9858
  type: Boolean,
9893
- reflect: true
9859
+ reflect: true,
9860
+ onChange() {
9861
+ this.handleOpenChange();
9862
+ }
9894
9863
  });
9895
9864
  Popover = class extends (_HTMLElement10 = HTMLElement) {
9896
9865
  static {
9897
- ({ e: [_init_placement, _init_offset, _init_open, _initProto8], c: [_Popover, _initClass10] } = _apply_decs_2203_r10(this, [
9866
+ ({ e: [_init_contentElement, _init_placement, _init_offset, _init_open, _initProto8], c: [_Popover, _initClass10] } = _apply_decs_2203_r10(this, [
9898
9867
  [
9899
9868
  _dec112,
9900
9869
  1,
9901
- "placement"
9870
+ "contentElement"
9902
9871
  ],
9903
9872
  [
9904
9873
  _dec28,
9905
9874
  1,
9906
- "offset"
9875
+ "placement"
9907
9876
  ],
9908
9877
  [
9909
9878
  _dec37,
9910
9879
  1,
9880
+ "offset"
9881
+ ],
9882
+ [
9883
+ _dec45,
9884
+ 1,
9911
9885
  "open"
9912
9886
  ]
9913
9887
  ], [
@@ -9915,85 +9889,75 @@ var init_popover = __esm({
9915
9889
  ], _HTMLElement10));
9916
9890
  }
9917
9891
  #anchorName;
9918
- #contentElement;
9919
- #initialized;
9892
+ #___private_contentElement_1;
9920
9893
  get contentElement() {
9921
- return this.#contentElement;
9894
+ return this.#___private_contentElement_1;
9922
9895
  }
9923
- #___private_placement_1;
9896
+ set contentElement(_v) {
9897
+ this.#___private_contentElement_1 = _v;
9898
+ }
9899
+ #___private_placement_2;
9924
9900
  get placement() {
9925
- return this.#___private_placement_1;
9901
+ return this.#___private_placement_2;
9926
9902
  }
9927
9903
  set placement(_v) {
9928
- this.#___private_placement_1 = _v;
9904
+ this.#___private_placement_2 = _v;
9929
9905
  }
9930
- #___private_offset_2;
9906
+ #___private_offset_3;
9931
9907
  get offset() {
9932
- return this.#___private_offset_2;
9908
+ return this.#___private_offset_3;
9933
9909
  }
9934
9910
  set offset(_v) {
9935
- this.#___private_offset_2 = _v;
9911
+ this.#___private_offset_3 = _v;
9936
9912
  }
9937
- #___private_open_3;
9913
+ #___private_open_4;
9938
9914
  get open() {
9939
- return this.#___private_open_3;
9915
+ return this.#___private_open_4;
9940
9916
  }
9941
9917
  set open(_v) {
9942
- this.#___private_open_3 = _v;
9918
+ this.#___private_open_4 = _v;
9919
+ }
9920
+ handleOffsetChange() {
9921
+ const offset = Number.isFinite(this.offset) ? this.offset : 8;
9922
+ this.style.setProperty("--ease-popover-offset", `${offset}px`);
9923
+ }
9924
+ handleOpenChange() {
9925
+ const content = this.contentElement;
9926
+ if (!content) {
9927
+ return;
9928
+ }
9929
+ if (this.open) {
9930
+ content.showPopover();
9931
+ } else {
9932
+ content.hidePopover();
9933
+ }
9943
9934
  }
9944
9935
  connectedCallback() {
9945
- this.#syncAnchorName();
9946
- this.#syncOffset();
9936
+ this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
9937
+ this.handleOffsetChange();
9947
9938
  }
9948
- disconnectedCallback() {
9949
- this.#contentElement = null;
9950
- this.#initialized = false;
9939
+ afterRender() {
9940
+ const content = this.contentElement;
9941
+ if (content && this.open) {
9942
+ try {
9943
+ content.showPopover();
9944
+ } catch (_e) {
9945
+ }
9946
+ }
9951
9947
  }
9952
9948
  render() {
9953
9949
  return html11`
9954
- <slot slot="trigger" name="trigger"></slot>
9955
- <div
9956
- part="content"
9957
- data-popover-content
9958
- role="region"
9959
- data-placement=${this.placement}
9960
- >
9950
+ <slot name="trigger"></slot>
9951
+ <div part="content" popover="manual" role="region">
9961
9952
  <slot></slot>
9962
9953
  </div>
9963
9954
  `;
9964
9955
  }
9965
- handlePlacementChange() {
9966
- if (!this.#initialized) {
9967
- this.requestRender();
9968
- return;
9969
- }
9970
- this.#syncPlacement();
9971
- }
9972
- handleOffsetChange() {
9973
- if (!this.#initialized) {
9974
- this.requestRender();
9975
- return;
9976
- }
9977
- this.#syncOffset();
9978
- }
9979
- #syncPlacement() {
9980
- this.dataset.placement = this.placement;
9981
- if (this.#contentElement) {
9982
- this.#contentElement.dataset.placement = this.placement;
9983
- }
9984
- }
9985
- #syncOffset() {
9986
- const offset = Number.isFinite(this.offset) ? this.offset : 0;
9987
- this.style.setProperty("--ease-popover-offset", `${offset}px`);
9988
- }
9989
- #syncAnchorName() {
9990
- this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
9991
- }
9992
9956
  static {
9993
9957
  _initClass10();
9994
9958
  }
9995
9959
  constructor(...args) {
9996
- 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);
9960
+ 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);
9997
9961
  }
9998
9962
  };
9999
9963
  popover_default = {
@@ -10609,7 +10573,7 @@ function applyDecs2203RFactory11() {
10609
10573
  function _apply_decs_2203_r11(targetClass, memberDecs, classDecs, parentClass) {
10610
10574
  return (_apply_decs_2203_r11 = applyDecs2203RFactory11())(targetClass, memberDecs, classDecs, parentClass);
10611
10575
  }
10612
- var _dec29, _initClass11, _HTMLElement11, _dec113, _dec210, _dec38, _dec45, _dec55, _dec65, _init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement, _initProto9, _Tooltip, Tooltip;
10576
+ var _dec29, _initClass11, _HTMLElement11, _dec113, _dec210, _dec38, _dec46, _dec55, _dec65, _init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement2, _initProto9, _Tooltip, Tooltip;
10613
10577
  var init_tooltip = __esm({
10614
10578
  "src/elements/tooltip/index.ts"() {
10615
10579
  "use strict";
@@ -10661,7 +10625,7 @@ var init_tooltip = __esm({
10661
10625
  }), _dec38 = Prop({
10662
10626
  reflect: true,
10663
10627
  defaultValue: "top-center"
10664
- }), _dec45 = Query('[slot="trigger"]'), _dec55 = Query("[data-tooltip-content]"), _dec65 = OutsideClick({
10628
+ }), _dec46 = Query('[slot="trigger"]'), _dec55 = Query("[data-tooltip-content]"), _dec65 = OutsideClick({
10665
10629
  content: (host) => host.contentElement,
10666
10630
  triggers: (host) => [
10667
10631
  host.triggerElement
@@ -10670,7 +10634,7 @@ var init_tooltip = __esm({
10670
10634
  });
10671
10635
  Tooltip = class extends (_HTMLElement11 = HTMLElement) {
10672
10636
  static {
10673
- ({ e: [_init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement, _initProto9], c: [_Tooltip, _initClass11] } = _apply_decs_2203_r11(this, [
10637
+ ({ e: [_init_open2, _init_delay, _init_placement2, _init_triggerElement, _init_contentElement2, _initProto9], c: [_Tooltip, _initClass11] } = _apply_decs_2203_r11(this, [
10674
10638
  [
10675
10639
  _dec113,
10676
10640
  1,
@@ -10687,7 +10651,7 @@ var init_tooltip = __esm({
10687
10651
  "placement"
10688
10652
  ],
10689
10653
  [
10690
- _dec45,
10654
+ _dec46,
10691
10655
  1,
10692
10656
  "triggerElement"
10693
10657
  ],
@@ -10853,7 +10817,7 @@ var init_tooltip = __esm({
10853
10817
  _initClass11();
10854
10818
  }
10855
10819
  constructor(...args) {
10856
- 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 = () => {
10820
+ 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 = () => {
10857
10821
  this.#startTimer(() => {
10858
10822
  this.open = true;
10859
10823
  });
@@ -11246,7 +11210,7 @@ function applyDecs2203RFactory12() {
11246
11210
  function _apply_decs_2203_r12(targetClass, memberDecs, classDecs, parentClass) {
11247
11211
  return (_apply_decs_2203_r12 = applyDecs2203RFactory12())(targetClass, memberDecs, classDecs, parentClass);
11248
11212
  }
11249
- var _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;
11213
+ var _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;
11250
11214
  var init_toolbar = __esm({
11251
11215
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/toolbar.ts"() {
11252
11216
  "use strict";
@@ -11396,7 +11360,7 @@ var init_toolbar = __esm({
11396
11360
  type: Boolean,
11397
11361
  reflect: true,
11398
11362
  defaultValue: true
11399
- }), _dec46 = Prop({
11363
+ }), _dec47 = Prop({
11400
11364
  type: Boolean,
11401
11365
  reflect: true,
11402
11366
  defaultValue: false
@@ -11432,7 +11396,7 @@ var init_toolbar = __esm({
11432
11396
  "showGrid"
11433
11397
  ],
11434
11398
  [
11435
- _dec46,
11399
+ _dec47,
11436
11400
  1,
11437
11401
  "snapToGrid"
11438
11402
  ],
@@ -11528,6 +11492,7 @@ var init_toolbar = __esm({
11528
11492
  }, this.#notifyHost = (type, value, event) => {
11529
11493
  const target = this.#getEventTarget();
11530
11494
  const detail = {
11495
+ name: target.name,
11531
11496
  value,
11532
11497
  event
11533
11498
  };
@@ -12101,7 +12066,7 @@ function applyDecs2203RFactory13() {
12101
12066
  function _apply_decs_2203_r13(targetClass, memberDecs, classDecs, parentClass) {
12102
12067
  return (_apply_decs_2203_r13 = applyDecs2203RFactory13())(targetClass, memberDecs, classDecs, parentClass);
12103
12068
  }
12104
- var _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;
12069
+ var _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;
12105
12070
  var init_curve = __esm({
12106
12071
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/index.ts"() {
12107
12072
  "use strict";
@@ -12112,6 +12077,7 @@ var init_curve = __esm({
12112
12077
  init_Component();
12113
12078
  init_Listen();
12114
12079
  init_Prop();
12080
+ init_shared();
12115
12081
  init_canvas();
12116
12082
  init_canvas_controls();
12117
12083
  init_controls();
@@ -12206,7 +12172,7 @@ var init_curve = __esm({
12206
12172
  }
12207
12173
  };
12208
12174
  }
12209
- }), _dec47 = Prop({
12175
+ }), _dec48 = Prop({
12210
12176
  type: Boolean,
12211
12177
  reflect: true,
12212
12178
  defaultValue: true
@@ -12269,7 +12235,7 @@ var init_curve = __esm({
12269
12235
  "points"
12270
12236
  ],
12271
12237
  [
12272
- _dec47,
12238
+ _dec48,
12273
12239
  1,
12274
12240
  "showGrid"
12275
12241
  ],
@@ -12618,14 +12584,11 @@ var init_curve = __esm({
12618
12584
  }
12619
12585
  emitPointsChange(value, sourceEvent) {
12620
12586
  const detail = {
12587
+ name: this.name,
12621
12588
  value,
12622
12589
  event: sourceEvent ?? new Event("points-change")
12623
12590
  };
12624
- this.dispatchEvent(new CustomEvent("points-change", {
12625
- detail,
12626
- bubbles: true,
12627
- composed: true
12628
- }));
12591
+ dispatchControlEvent(this, "points-change", detail);
12629
12592
  }
12630
12593
  static {
12631
12594
  _initClass13();
@@ -13015,7 +12978,7 @@ function applyDecs2203RFactory14() {
13015
12978
  function _apply_decs_2203_r14(targetClass, memberDecs, classDecs, parentClass) {
13016
12979
  return (_apply_decs_2203_r14 = applyDecs2203RFactory14())(targetClass, memberDecs, classDecs, parentClass);
13017
12980
  }
13018
- var _dec40, _initClass14, _HTMLElement14, _dec117, _dec213, _dec311, _dec48, _dec58, _dec68, _init_disabled2, _init_pill2, _init_fullWidth2, _init_type2, _init_block2, _init_variant3, _initProto12, _Button2, Button2;
12981
+ var _dec40, _initClass14, _HTMLElement14, _dec117, _dec213, _dec311, _dec49, _dec58, _dec68, _init_disabled2, _init_pill2, _init_fullWidth2, _init_type2, _init_block2, _init_variant3, _initProto12, _Button2, Button2;
13019
12982
  var init_button2 = __esm({
13020
12983
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/button/index.ts"() {
13021
12984
  "use strict";
@@ -13197,7 +13160,7 @@ var init_button2 = __esm({
13197
13160
  }), _dec311 = Prop({
13198
13161
  type: Boolean,
13199
13162
  reflect: true
13200
- }), _dec48 = Prop({
13163
+ }), _dec49 = Prop({
13201
13164
  type: String,
13202
13165
  reflect: true,
13203
13166
  defaultValue: "button"
@@ -13232,7 +13195,7 @@ var init_button2 = __esm({
13232
13195
  "fullWidth"
13233
13196
  ],
13234
13197
  [
13235
- _dec48,
13198
+ _dec49,
13236
13199
  1,
13237
13200
  "type"
13238
13201
  ],
@@ -13742,7 +13705,7 @@ function applyDecs2203RFactory15() {
13742
13705
  function _apply_decs_2203_r15(targetClass, memberDecs, classDecs, parentClass) {
13743
13706
  return (_apply_decs_2203_r15 = applyDecs2203RFactory15())(targetClass, memberDecs, classDecs, parentClass);
13744
13707
  }
13745
- var _dec41, _initClass15, _HTMLElement15, _dec118, _dec214, _dec312, _dec49, _dec59, _dec69, _init_checked, _init_name3, _init_value, _init_disabled3, _init_control, _initProto13, _Checkbox, Checkbox;
13708
+ var _dec41, _initClass15, _HTMLElement15, _dec118, _dec214, _dec312, _dec410, _dec59, _dec69, _init_checked, _init_name3, _init_value, _init_disabled3, _init_control, _initProto13, _Checkbox, Checkbox;
13746
13709
  var init_checkbox = __esm({
13747
13710
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/checkbox/index.ts"() {
13748
13711
  "use strict";
@@ -14003,7 +13966,7 @@ var init_checkbox = __esm({
14003
13966
  reflect: true
14004
13967
  }), _dec312 = Prop({
14005
13968
  reflect: true
14006
- }), _dec49 = Prop({
13969
+ }), _dec410 = Prop({
14007
13970
  type: Boolean,
14008
13971
  reflect: true
14009
13972
  }), _dec59 = Query("button"), _dec69 = Listen("click", {
@@ -14028,7 +13991,7 @@ var init_checkbox = __esm({
14028
13991
  "value"
14029
13992
  ],
14030
13993
  [
14031
- _dec49,
13994
+ _dec410,
14032
13995
  1,
14033
13996
  "disabled"
14034
13997
  ],
@@ -14122,10 +14085,15 @@ var init_checkbox = __esm({
14122
14085
  return;
14123
14086
  }
14124
14087
  this.checked = !this.checked;
14125
- dispatchControlEvent2(this, "checkbox", {
14088
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
14089
+ const detail = {
14090
+ name,
14126
14091
  value: this.checked,
14127
14092
  event
14128
- });
14093
+ };
14094
+ dispatchControlEvent2(this, "checkbox", detail);
14095
+ dispatchControlEvent2(this, "change", detail);
14096
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
14129
14097
  }
14130
14098
  static {
14131
14099
  _initClass15();
@@ -14984,7 +14952,7 @@ function applyDecs2203RFactory17() {
14984
14952
  function _apply_decs_2203_r17(targetClass, memberDecs, classDecs, parentClass) {
14985
14953
  return (_apply_decs_2203_r17 = applyDecs2203RFactory17())(targetClass, memberDecs, classDecs, parentClass);
14986
14954
  }
14987
- var _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;
14955
+ var _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;
14988
14956
  var init_dropdown = __esm({
14989
14957
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/dropdown/index.ts"() {
14990
14958
  "use strict";
@@ -15262,7 +15230,7 @@ var init_dropdown = __esm({
15262
15230
  }), _dec313 = Prop({
15263
15231
  type: Boolean,
15264
15232
  reflect: true
15265
- }), _dec410 = Prop({
15233
+ }), _dec411 = Prop({
15266
15234
  type: Boolean,
15267
15235
  reflect: true
15268
15236
  }), _dec510 = Prop({
@@ -15321,7 +15289,7 @@ var init_dropdown = __esm({
15321
15289
  "pill"
15322
15290
  ],
15323
15291
  [
15324
- _dec410,
15292
+ _dec411,
15325
15293
  1,
15326
15294
  "headless"
15327
15295
  ],
@@ -15683,6 +15651,7 @@ var init_dropdown = __esm({
15683
15651
  }
15684
15652
  }
15685
15653
  dispatchControlEvent2(this, "toggle", {
15654
+ name: this.name ?? void 0,
15686
15655
  value: next,
15687
15656
  event: origin
15688
15657
  });
@@ -15946,6 +15915,7 @@ var init_dropdown = __esm({
15946
15915
  }
15947
15916
  #dispatchValueChange(value, label, event) {
15948
15917
  dispatchControlEvent2(this, "change", {
15918
+ name: this.name ?? void 0,
15949
15919
  value,
15950
15920
  event
15951
15921
  });
@@ -16438,7 +16408,7 @@ function applyDecs2203RFactory18() {
16438
16408
  function _apply_decs_2203_r18(targetClass, memberDecs, classDecs, parentClass) {
16439
16409
  return (_apply_decs_2203_r18 = applyDecs2203RFactory18())(targetClass, memberDecs, classDecs, parentClass);
16440
16410
  }
16441
- var _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;
16411
+ var _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;
16442
16412
  var init_input = __esm({
16443
16413
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/input/index.ts"() {
16444
16414
  "use strict";
@@ -16641,7 +16611,7 @@ var init_input = __esm({
16641
16611
  }), _dec314 = Prop({
16642
16612
  reflect: true,
16643
16613
  defaultValue: "text"
16644
- }), _dec411 = Prop({
16614
+ }), _dec412 = Prop({
16645
16615
  reflect: true
16646
16616
  }), _dec511 = Prop({
16647
16617
  type: Boolean,
@@ -16679,7 +16649,7 @@ var init_input = __esm({
16679
16649
  "type"
16680
16650
  ],
16681
16651
  [
16682
- _dec411,
16652
+ _dec412,
16683
16653
  1,
16684
16654
  "name"
16685
16655
  ],
@@ -16821,20 +16791,28 @@ var init_input = __esm({
16821
16791
  return;
16822
16792
  }
16823
16793
  this.value = target.value;
16824
- dispatchControlEvent2(this, "input", {
16794
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
16795
+ const detail = {
16796
+ name,
16825
16797
  value: this.value ?? "",
16826
16798
  event
16827
- });
16799
+ };
16800
+ dispatchControlEvent2(this, "input", detail);
16801
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
16828
16802
  }
16829
16803
  handleChange(event, target) {
16830
16804
  if (!target) {
16831
16805
  return;
16832
16806
  }
16833
16807
  this.value = target.value;
16834
- dispatchControlEvent2(this, "change", {
16808
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
16809
+ const detail = {
16810
+ name,
16835
16811
  value: this.value ?? "",
16836
16812
  event
16837
- });
16813
+ };
16814
+ dispatchControlEvent2(this, "change", detail);
16815
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
16838
16816
  }
16839
16817
  static {
16840
16818
  _initClass18();
@@ -18390,7 +18368,7 @@ function applyDecs2203RFactory21() {
18390
18368
  function _apply_decs_2203_r21(targetClass, memberDecs, classDecs, parentClass) {
18391
18369
  return (_apply_decs_2203_r21 = applyDecs2203RFactory21())(targetClass, memberDecs, classDecs, parentClass);
18392
18370
  }
18393
- var _dec71, _initClass21, _HTMLElement21, _dec124, _dec217, _dec315, _dec412, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto17, _ColorPicker, ColorPicker, picker_default;
18371
+ var _dec71, _initClass21, _HTMLElement21, _dec124, _dec217, _dec315, _dec413, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto17, _ColorPicker, ColorPicker, picker_default;
18394
18372
  var init_picker2 = __esm({
18395
18373
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/picker.ts"() {
18396
18374
  "use strict";
@@ -18718,7 +18696,7 @@ var init_picker2 = __esm({
18718
18696
  </div>
18719
18697
  `;
18720
18698
  }
18721
- }), _dec124 = Query('[part="saturation"]'), _dec217 = Query('[part="hue"]'), _dec315 = Query('[part="hex-input"]'), _dec412 = Prop({
18699
+ }), _dec124 = Query('[part="saturation"]'), _dec217 = Query('[part="hue"]'), _dec315 = Query('[part="hex-input"]'), _dec413 = Prop({
18722
18700
  reflect: true,
18723
18701
  defaultValue: "#FF0000",
18724
18702
  onChange(value) {
@@ -18746,7 +18724,7 @@ var init_picker2 = __esm({
18746
18724
  "hexInput"
18747
18725
  ],
18748
18726
  [
18749
- _dec412,
18727
+ _dec413,
18750
18728
  1,
18751
18729
  "value"
18752
18730
  ]
@@ -19366,7 +19344,7 @@ function applyDecs2203RFactory22() {
19366
19344
  function _apply_decs_2203_r22(targetClass, memberDecs, classDecs, parentClass) {
19367
19345
  return (_apply_decs_2203_r22 = applyDecs2203RFactory22())(targetClass, memberDecs, classDecs, parentClass);
19368
19346
  }
19369
- var _dec76, _initClass22, _HTMLElement22, _dec125, _dec218, _dec316, _dec413, _init_dropdown, _init_value5, _init_disabled6, _init_placement4, _initProto18, _ColorInput, ColorInput;
19347
+ var _dec76, _initClass22, _HTMLElement22, _dec125, _dec218, _dec316, _dec414, _dec512, _init_dropdown, _init_value5, _init_disabled6, _init_name6, _init_placement4, _initProto18, _ColorInput, ColorInput;
19370
19348
  var init_color = __esm({
19371
19349
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/index.ts"() {
19372
19350
  "use strict";
@@ -19449,13 +19427,16 @@ var init_color = __esm({
19449
19427
  }), _dec316 = Prop({
19450
19428
  type: Boolean,
19451
19429
  reflect: true
19452
- }), _dec413 = Prop({
19430
+ }), _dec414 = Prop({
19431
+ reflect: true,
19432
+ defaultValue: null
19433
+ }), _dec512 = Prop({
19453
19434
  reflect: true,
19454
19435
  defaultValue: "bottom-start"
19455
19436
  });
19456
19437
  ColorInput = class extends (_HTMLElement22 = HTMLElement) {
19457
19438
  static {
19458
- ({ e: [_init_dropdown, _init_value5, _init_disabled6, _init_placement4, _initProto18], c: [_ColorInput, _initClass22] } = _apply_decs_2203_r22(this, [
19439
+ ({ e: [_init_dropdown, _init_value5, _init_disabled6, _init_name6, _init_placement4, _initProto18], c: [_ColorInput, _initClass22] } = _apply_decs_2203_r22(this, [
19459
19440
  [
19460
19441
  _dec125,
19461
19442
  1,
@@ -19472,7 +19453,12 @@ var init_color = __esm({
19472
19453
  "disabled"
19473
19454
  ],
19474
19455
  [
19475
- _dec413,
19456
+ _dec414,
19457
+ 1,
19458
+ "name"
19459
+ ],
19460
+ [
19461
+ _dec512,
19476
19462
  1,
19477
19463
  "placement"
19478
19464
  ]
@@ -19502,12 +19488,19 @@ var init_color = __esm({
19502
19488
  set disabled(_v) {
19503
19489
  this.#___private_disabled_3 = _v;
19504
19490
  }
19505
- #___private_placement_4;
19491
+ #___private_name_4;
19492
+ get name() {
19493
+ return this.#___private_name_4;
19494
+ }
19495
+ set name(_v) {
19496
+ this.#___private_name_4 = _v;
19497
+ }
19498
+ #___private_placement_5;
19506
19499
  get placement() {
19507
- return this.#___private_placement_4;
19500
+ return this.#___private_placement_5;
19508
19501
  }
19509
19502
  set placement(_v) {
19510
- this.#___private_placement_4 = _v;
19503
+ this.#___private_placement_5 = _v;
19511
19504
  }
19512
19505
  connectedCallback() {
19513
19506
  this.#hasCustomTrigger = this.querySelector('[slot="trigger"]') !== null;
@@ -19552,21 +19545,24 @@ var init_color = __esm({
19552
19545
  _initClass22();
19553
19546
  }
19554
19547
  constructor(...args) {
19555
- 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) => {
19548
+ 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) => {
19556
19549
  this.value = event.target.value;
19557
19550
  dispatchControlEvent2(this, "input", {
19551
+ name: this.name ?? void 0,
19558
19552
  value: this.value,
19559
19553
  event
19560
19554
  });
19561
19555
  }, this.#handlePickerInput = (event) => {
19562
19556
  this.value = event.detail.value;
19563
19557
  dispatchControlEvent2(this, "input", {
19558
+ name: this.name ?? void 0,
19564
19559
  value: this.value,
19565
19560
  event
19566
19561
  });
19567
19562
  }, this.#handlePickerChange = (event) => {
19568
19563
  this.value = event.detail.value;
19569
19564
  dispatchControlEvent2(this, "change", {
19565
+ name: this.name ?? void 0,
19570
19566
  value: this.value,
19571
19567
  event
19572
19568
  });
@@ -19579,6 +19575,7 @@ var init_color = __esm({
19579
19575
  }, this.#handlePickerApply = (event) => {
19580
19576
  this.value = event.detail.value;
19581
19577
  dispatchControlEvent2(this, "change", {
19578
+ name: this.name ?? void 0,
19582
19579
  value: this.value,
19583
19580
  event
19584
19581
  });
@@ -29527,7 +29524,7 @@ function applyDecs2203RFactory47() {
29527
29524
  function _apply_decs_2203_r47(targetClass, memberDecs, classDecs, parentClass) {
29528
29525
  return (_apply_decs_2203_r47 = applyDecs2203RFactory47())(targetClass, memberDecs, classDecs, parentClass);
29529
29526
  }
29530
- var _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;
29527
+ var _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;
29531
29528
  var init_logo = __esm({
29532
29529
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/logo/index.ts"() {
29533
29530
  "use strict";
@@ -29924,7 +29921,7 @@ var init_logo = __esm({
29924
29921
  type: Number,
29925
29922
  attribute: "size",
29926
29923
  defaultValue: 36
29927
- }), _dec414 = Prop({
29924
+ }), _dec415 = Prop({
29928
29925
  type: "string",
29929
29926
  attribute: "aria-label",
29930
29927
  defaultValue: null
@@ -29948,7 +29945,7 @@ var init_logo = __esm({
29948
29945
  "size"
29949
29946
  ],
29950
29947
  [
29951
- _dec414,
29948
+ _dec415,
29952
29949
  1,
29953
29950
  "ariaLabel"
29954
29951
  ]
@@ -32825,7 +32822,7 @@ function applyDecs2203RFactory50() {
32825
32822
  function _apply_decs_2203_r50(targetClass, memberDecs, classDecs, parentClass) {
32826
32823
  return (_apply_decs_2203_r50 = applyDecs2203RFactory50())(targetClass, memberDecs, classDecs, parentClass);
32827
32824
  }
32828
- var _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;
32825
+ var _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;
32829
32826
  var init_number = __esm({
32830
32827
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/number/index.ts"() {
32831
32828
  "use strict";
@@ -32928,10 +32925,10 @@ var init_number = __esm({
32928
32925
  }), _dec320 = Prop({
32929
32926
  type: Number,
32930
32927
  reflect: true
32931
- }), _dec415 = Prop({
32928
+ }), _dec416 = Prop({
32932
32929
  type: Number,
32933
32930
  reflect: true
32934
- }), _dec512 = Prop({
32931
+ }), _dec513 = Prop({
32935
32932
  reflect: true
32936
32933
  }), _dec612 = Prop({
32937
32934
  type: Boolean,
@@ -32943,7 +32940,7 @@ var init_number = __esm({
32943
32940
  });
32944
32941
  NumberInput = class extends (_HTMLElement50 = HTMLElement) {
32945
32942
  static {
32946
- ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name6, _init_disabled7, _init_control3, _initProto27], c: [_NumberInput, _initClass50] } = _apply_decs_2203_r50(this, [
32943
+ ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name7, _init_disabled7, _init_control3, _initProto27], c: [_NumberInput, _initClass50] } = _apply_decs_2203_r50(this, [
32947
32944
  [
32948
32945
  _dec140,
32949
32946
  1,
@@ -32960,12 +32957,12 @@ var init_number = __esm({
32960
32957
  "max"
32961
32958
  ],
32962
32959
  [
32963
- _dec415,
32960
+ _dec416,
32964
32961
  1,
32965
32962
  "step"
32966
32963
  ],
32967
32964
  [
32968
- _dec512,
32965
+ _dec513,
32969
32966
  1,
32970
32967
  "name"
32971
32968
  ],
@@ -33060,20 +33057,28 @@ var init_number = __esm({
33060
33057
  return;
33061
33058
  }
33062
33059
  this.value = coerceNumber(target.value);
33063
- dispatchControlEvent2(this, "input", {
33060
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
33061
+ const detail = {
33062
+ name,
33064
33063
  value: this.value,
33065
33064
  event
33066
- });
33065
+ };
33066
+ dispatchControlEvent2(this, "input", detail);
33067
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
33067
33068
  }
33068
33069
  handleChange(event, target) {
33069
33070
  if (!target) {
33070
33071
  return;
33071
33072
  }
33072
33073
  this.value = coerceNumber(target.value);
33073
- dispatchControlEvent2(this, "change", {
33074
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
33075
+ const detail = {
33076
+ name,
33074
33077
  value: this.value,
33075
33078
  event
33076
- });
33079
+ };
33080
+ dispatchControlEvent2(this, "change", detail);
33081
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
33077
33082
  }
33078
33083
  addActiveLayer(button) {
33079
33084
  const layer = document.createElement("div");
@@ -33111,7 +33116,7 @@ var init_number = __esm({
33111
33116
  _initClass50();
33112
33117
  }
33113
33118
  constructor(...args) {
33114
- 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);
33119
+ 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);
33115
33120
  }
33116
33121
  };
33117
33122
  }
@@ -33495,7 +33500,7 @@ function applyDecs2203RFactory51() {
33495
33500
  function _apply_decs_2203_r51(targetClass, memberDecs, classDecs, parentClass) {
33496
33501
  return (_apply_decs_2203_r51 = applyDecs2203RFactory51())(targetClass, memberDecs, classDecs, parentClass);
33497
33502
  }
33498
- var _dec141, _initClass51, _HTMLElement51, _dec144, _dec225, _dec321, _dec416, _dec513, _init_value7, _init_disabled8, _init_control4, _init_name7, _initProto28, _Origin, Origin;
33503
+ var _dec141, _initClass51, _HTMLElement51, _dec144, _dec225, _dec321, _dec417, _dec514, _init_value7, _init_disabled8, _init_control4, _init_name8, _initProto28, _Origin, Origin;
33499
33504
  var init_origin = __esm({
33500
33505
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/origin/index.ts"() {
33501
33506
  "use strict";
@@ -33643,15 +33648,15 @@ var init_origin = __esm({
33643
33648
  }), _dec225 = Prop({
33644
33649
  type: Boolean,
33645
33650
  reflect: true
33646
- }), _dec321 = Query("ease-dropdown"), _dec416 = Prop({
33651
+ }), _dec321 = Query("ease-dropdown"), _dec417 = Prop({
33647
33652
  reflect: true,
33648
33653
  defaultValue: ""
33649
- }), _dec513 = Listen("change", {
33654
+ }), _dec514 = Listen("change", {
33650
33655
  selector: "ease-dropdown"
33651
33656
  });
33652
33657
  Origin = class extends (_HTMLElement51 = HTMLElement) {
33653
33658
  static {
33654
- ({ e: [_init_value7, _init_disabled8, _init_control4, _init_name7, _initProto28], c: [_Origin, _initClass51] } = _apply_decs_2203_r51(this, [
33659
+ ({ e: [_init_value7, _init_disabled8, _init_control4, _init_name8, _initProto28], c: [_Origin, _initClass51] } = _apply_decs_2203_r51(this, [
33655
33660
  [
33656
33661
  _dec144,
33657
33662
  1,
@@ -33668,12 +33673,12 @@ var init_origin = __esm({
33668
33673
  "control"
33669
33674
  ],
33670
33675
  [
33671
- _dec416,
33676
+ _dec417,
33672
33677
  1,
33673
33678
  "name"
33674
33679
  ],
33675
33680
  [
33676
- _dec513,
33681
+ _dec514,
33677
33682
  2,
33678
33683
  "handleChange"
33679
33684
  ]
@@ -33726,7 +33731,7 @@ var init_origin = __esm({
33726
33731
  _initClass51();
33727
33732
  }
33728
33733
  constructor(...args) {
33729
- 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) => {
33734
+ 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) => {
33730
33735
  this.value = String(this.control?.value ?? "center-center");
33731
33736
  dispatchControlEvent2(this, "change", {
33732
33737
  value: this.value,
@@ -34116,7 +34121,7 @@ function applyDecs2203RFactory52() {
34116
34121
  function _apply_decs_2203_r52(targetClass, memberDecs, classDecs, parentClass) {
34117
34122
  return (_apply_decs_2203_r52 = applyDecs2203RFactory52())(targetClass, memberDecs, classDecs, parentClass);
34118
34123
  }
34119
- var _dec145, _initClass52, _HTMLElement52, _dec146, _dec226, _dec322, _dec417, _dec514, _dec613, _dec711, _init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement2, _init_bodyElement, _initProto29, _Panel, Panel;
34124
+ var _dec145, _initClass52, _HTMLElement52, _dec146, _dec226, _dec322, _dec418, _dec515, _dec613, _dec711, _init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement3, _init_bodyElement, _initProto29, _Panel, Panel;
34120
34125
  var init_panel = __esm({
34121
34126
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/panel/index.ts"() {
34122
34127
  "use strict";
@@ -34190,7 +34195,6 @@ var init_panel = __esm({
34190
34195
  align-items: center;
34191
34196
  gap: 2px;
34192
34197
  flex-grow: 1;
34193
- margin: 0 0 0 4px;
34194
34198
  }
34195
34199
 
34196
34200
  [part="tabs"]:empty {
@@ -34199,17 +34203,18 @@ var init_panel = __esm({
34199
34203
 
34200
34204
  [part="tab"] {
34201
34205
  appearance: none;
34206
+ border-radius: var(--ease-panel-tab-radius, var(--radii-md));
34207
+ background-color: var(--ease-panel-tab-background, transparent);
34208
+ box-sizing: border-box;
34209
+ padding: var(--ease-panel-tab-padding, 4px 8px);
34202
34210
  font-size: var(--ease-panel-tab-font-size);
34203
34211
  font-weight: var(--ease-panel-tab-font-weight);
34204
34212
  line-height: 24px;
34205
34213
  font-family: var(--ease-font-family);
34206
34214
  color: var(--ease-panel-tab-color);
34207
- background-color: transparent;
34208
34215
  border: none;
34209
- padding: 4px 8px;
34210
34216
  margin: 0;
34211
34217
  cursor: pointer;
34212
- border-radius: var(--ease-panel-tab-radius);
34213
34218
  transition: color 200ms, background-color 200ms;
34214
34219
  transition-timing-function: cubic-bezier(.25, 0, .5, 1);
34215
34220
  }
@@ -34375,14 +34380,14 @@ var init_panel = __esm({
34375
34380
  reflect: true,
34376
34381
  attribute: "max-height",
34377
34382
  defaultValue: null
34378
- }), _dec417 = Query('[part="content"]'), _dec514 = Query('[part="body"]'), _dec613 = Listen("slotchange", {
34383
+ }), _dec418 = Query('[part="content"]'), _dec515 = Query('[part="body"]'), _dec613 = Listen("slotchange", {
34379
34384
  selector: 'slot[name="footer"]'
34380
34385
  }), _dec711 = Listen("slotchange", {
34381
34386
  selector: "slot:not([name])"
34382
34387
  });
34383
34388
  Panel = class extends (_HTMLElement52 = HTMLElement) {
34384
34389
  static {
34385
- ({ e: [_init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement2, _init_bodyElement, _initProto29], c: [_Panel, _initClass52] } = _apply_decs_2203_r52(this, [
34390
+ ({ e: [_init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement3, _init_bodyElement, _initProto29], c: [_Panel, _initClass52] } = _apply_decs_2203_r52(this, [
34386
34391
  [
34387
34392
  _dec146,
34388
34393
  1,
@@ -34399,12 +34404,12 @@ var init_panel = __esm({
34399
34404
  "maxHeight"
34400
34405
  ],
34401
34406
  [
34402
- _dec417,
34407
+ _dec418,
34403
34408
  1,
34404
34409
  "contentElement"
34405
34410
  ],
34406
34411
  [
34407
- _dec514,
34412
+ _dec515,
34408
34413
  1,
34409
34414
  "bodyElement"
34410
34415
  ],
@@ -34719,7 +34724,7 @@ var init_panel = __esm({
34719
34724
  _initClass52();
34720
34725
  }
34721
34726
  constructor(...args) {
34722
- 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);
34727
+ 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);
34723
34728
  }
34724
34729
  };
34725
34730
  }
@@ -35846,7 +35851,7 @@ function applyDecs2203RFactory54() {
35846
35851
  function _apply_decs_2203_r54(targetClass, memberDecs, classDecs, parentClass) {
35847
35852
  return (_apply_decs_2203_r54 = applyDecs2203RFactory54())(targetClass, memberDecs, classDecs, parentClass);
35848
35853
  }
35849
- var _dec149, _initClass54, _HTMLElement54, _dec150, _dec228, _dec324, _dec418, _dec515, _dec614, _init_checked2, _init_name8, _init_value9, _init_disabled9, _init_control5, _initProto31, _RadioInput, RadioInput;
35854
+ var _dec149, _initClass54, _HTMLElement54, _dec150, _dec228, _dec324, _dec419, _dec516, _dec614, _init_checked2, _init_name9, _init_value9, _init_disabled9, _init_control5, _initProto31, _RadioInput, RadioInput;
35850
35855
  var init_input2 = __esm({
35851
35856
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/input.ts"() {
35852
35857
  "use strict";
@@ -36114,15 +36119,15 @@ var init_input2 = __esm({
36114
36119
  reflect: true
36115
36120
  }), _dec324 = Prop({
36116
36121
  reflect: true
36117
- }), _dec418 = Prop({
36122
+ }), _dec419 = Prop({
36118
36123
  type: Boolean,
36119
36124
  reflect: true
36120
- }), _dec515 = Query("button"), _dec614 = Listen("click", {
36125
+ }), _dec516 = Query("button"), _dec614 = Listen("click", {
36121
36126
  selector: "button"
36122
36127
  });
36123
36128
  RadioInput = class extends (_HTMLElement54 = HTMLElement) {
36124
36129
  static {
36125
- ({ e: [_init_checked2, _init_name8, _init_value9, _init_disabled9, _init_control5, _initProto31], c: [_RadioInput, _initClass54] } = _apply_decs_2203_r54(this, [
36130
+ ({ e: [_init_checked2, _init_name9, _init_value9, _init_disabled9, _init_control5, _initProto31], c: [_RadioInput, _initClass54] } = _apply_decs_2203_r54(this, [
36126
36131
  [
36127
36132
  _dec150,
36128
36133
  1,
@@ -36139,12 +36144,12 @@ var init_input2 = __esm({
36139
36144
  "value"
36140
36145
  ],
36141
36146
  [
36142
- _dec418,
36147
+ _dec419,
36143
36148
  1,
36144
36149
  "disabled"
36145
36150
  ],
36146
36151
  [
36147
- _dec515,
36152
+ _dec516,
36148
36153
  1,
36149
36154
  "control"
36150
36155
  ],
@@ -36237,16 +36242,22 @@ var init_input2 = __esm({
36237
36242
  return;
36238
36243
  }
36239
36244
  this.checked = true;
36240
- dispatchControlEvent2(this, "radio", {
36245
+ const groupName = this.closest("ease-radio-group")?.getAttribute("name") ?? void 0;
36246
+ const name = this.getAttribute("name") ?? groupName ?? void 0;
36247
+ const detail = {
36248
+ name,
36241
36249
  value: this.checked,
36242
36250
  event
36243
- });
36251
+ };
36252
+ dispatchControlEvent2(this, "radio", detail);
36253
+ dispatchControlEvent2(this, "change", detail);
36254
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36244
36255
  }
36245
36256
  static {
36246
36257
  _initClass54();
36247
36258
  }
36248
36259
  constructor(...args) {
36249
- 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()}`;
36260
+ 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()}`;
36250
36261
  }
36251
36262
  };
36252
36263
  }
@@ -36630,7 +36641,7 @@ function applyDecs2203RFactory55() {
36630
36641
  function _apply_decs_2203_r55(targetClass, memberDecs, classDecs, parentClass) {
36631
36642
  return (_apply_decs_2203_r55 = applyDecs2203RFactory55())(targetClass, memberDecs, classDecs, parentClass);
36632
36643
  }
36633
- var _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;
36644
+ var _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;
36634
36645
  var init_slider = __esm({
36635
36646
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/slider/index.ts"() {
36636
36647
  "use strict";
@@ -36751,11 +36762,15 @@ var init_slider = __esm({
36751
36762
  .step=${this.step ?? 1}
36752
36763
  .value=${String(this.value ?? 0)}
36753
36764
  ?disabled=${this.disabled}
36765
+ @input=${this.handleRangeInput}
36766
+ @change=${this.handleRangeChange}
36754
36767
  ?aria-disabled=${this.disabled}
36755
36768
  />
36756
36769
 
36757
36770
  <ease-input
36758
36771
  part="value"
36772
+ @input=${this.handleValueInput}
36773
+ @change=${this.handleValueChange}
36759
36774
  type="number"
36760
36775
  placeholder="-"
36761
36776
  .disabled=${Boolean(this.disabled)}
@@ -36773,10 +36788,10 @@ var init_slider = __esm({
36773
36788
  }), _dec325 = Prop({
36774
36789
  type: Number,
36775
36790
  reflect: true
36776
- }), _dec419 = Prop({
36791
+ }), _dec420 = Prop({
36777
36792
  type: Number,
36778
36793
  reflect: true
36779
- }), _dec516 = Prop({
36794
+ }), _dec517 = Prop({
36780
36795
  type: Boolean,
36781
36796
  reflect: true
36782
36797
  }), _dec615 = Query("input"), _dec712 = Query("ease-input"), _dec811 = Listen("input", {
@@ -36809,12 +36824,12 @@ var init_slider = __esm({
36809
36824
  "max"
36810
36825
  ],
36811
36826
  [
36812
- _dec419,
36827
+ _dec420,
36813
36828
  1,
36814
36829
  "step"
36815
36830
  ],
36816
36831
  [
36817
- _dec516,
36832
+ _dec517,
36818
36833
  1,
36819
36834
  "disabled"
36820
36835
  ],
@@ -36927,10 +36942,14 @@ var init_slider = __esm({
36927
36942
  if (this.valueControl) {
36928
36943
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
36929
36944
  }
36930
- dispatchControlEvent2(this, "input", {
36945
+ const name = this.getAttribute("name") ?? void 0;
36946
+ const detail = {
36947
+ name,
36931
36948
  value: this.value,
36932
36949
  event
36933
- });
36950
+ };
36951
+ dispatchControlEvent2(this, "input", detail);
36952
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36934
36953
  }
36935
36954
  handleRangeChange(event, target) {
36936
36955
  if (target) {
@@ -36941,10 +36960,14 @@ var init_slider = __esm({
36941
36960
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
36942
36961
  }
36943
36962
  }
36944
- dispatchControlEvent2(this, "change", {
36963
+ const name = this.getAttribute("name") ?? void 0;
36964
+ const detail = {
36965
+ name,
36945
36966
  value: this.value,
36946
36967
  event
36947
- });
36968
+ };
36969
+ dispatchControlEvent2(this, "change", detail);
36970
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36948
36971
  }
36949
36972
  handleValueInput(event) {
36950
36973
  const rawValue = event.detail?.value ?? "";
@@ -36954,10 +36977,15 @@ var init_slider = __esm({
36954
36977
  if (this.control) {
36955
36978
  this.control.value = String(numericValue ?? 0);
36956
36979
  }
36957
- dispatchControlEvent2(this, "input", {
36980
+ const name = this.getAttribute("name") ?? void 0;
36981
+ const controlEvent = event.detail?.event ?? event;
36982
+ const detail = {
36983
+ name,
36958
36984
  value: this.value,
36959
- event: event.detail?.event ?? event
36960
- });
36985
+ event: controlEvent
36986
+ };
36987
+ dispatchControlEvent2(this, "input", detail);
36988
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36961
36989
  }
36962
36990
  handleValueChange(event) {
36963
36991
  const rawValue = event.detail?.value ?? "";
@@ -36967,10 +36995,15 @@ var init_slider = __esm({
36967
36995
  if (this.control) {
36968
36996
  this.control.value = String(numericValue ?? 0);
36969
36997
  }
36970
- dispatchControlEvent2(this, "change", {
36998
+ const name = this.getAttribute("name") ?? void 0;
36999
+ const controlEvent = event.detail?.event ?? event;
37000
+ const detail = {
37001
+ name,
36971
37002
  value: this.value,
36972
- event: event.detail?.event ?? event
36973
- });
37003
+ event: controlEvent
37004
+ };
37005
+ dispatchControlEvent2(this, "change", detail);
37006
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
36974
37007
  }
36975
37008
  updateProgress() {
36976
37009
  if (!this.control) {
@@ -37370,7 +37403,7 @@ function applyDecs2203RFactory56() {
37370
37403
  function _apply_decs_2203_r56(targetClass, memberDecs, classDecs, parentClass) {
37371
37404
  return (_apply_decs_2203_r56 = applyDecs2203RFactory56())(targetClass, memberDecs, classDecs, parentClass);
37372
37405
  }
37373
- var _dec155, _initClass56, _HTMLElement56, _dec156, _dec230, _dec326, _dec420, _dec517, _init_value11, _init_defaultSlot, _initProto33, readControlValue2, getControlName, _State, State;
37406
+ var _dec155, _initClass56, _HTMLElement56, _dec156, _dec230, _dec326, _dec421, _dec518, _init_value11, _init_defaultSlot, _initProto33, readControlValue2, getControlName, _State, State;
37374
37407
  var init_state = __esm({
37375
37408
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/state/index.ts"() {
37376
37409
  "use strict";
@@ -37419,9 +37452,9 @@ var init_state = __esm({
37419
37452
  reflect: true
37420
37453
  }), _dec230 = Query("slot"), _dec326 = Listen("input", {
37421
37454
  target: (host) => host
37422
- }), _dec420 = Listen("change", {
37455
+ }), _dec421 = Listen("change", {
37423
37456
  target: (host) => host
37424
- }), _dec517 = Listen(CONTROL_CHANGE_EVENT, {
37457
+ }), _dec518 = Listen(CONTROL_CHANGE_EVENT, {
37425
37458
  target: (host) => host
37426
37459
  });
37427
37460
  State = class extends (_HTMLElement56 = HTMLElement) {
@@ -37443,12 +37476,12 @@ var init_state = __esm({
37443
37476
  "handleInternalInput"
37444
37477
  ],
37445
37478
  [
37446
- _dec420,
37479
+ _dec421,
37447
37480
  2,
37448
37481
  "handleInternalChange"
37449
37482
  ],
37450
37483
  [
37451
- _dec517,
37484
+ _dec518,
37452
37485
  2,
37453
37486
  "handleControlChange"
37454
37487
  ]
@@ -38042,7 +38075,7 @@ function applyDecs2203RFactory57() {
38042
38075
  function _apply_decs_2203_r57(targetClass, memberDecs, classDecs, parentClass) {
38043
38076
  return (_apply_decs_2203_r57 = applyDecs2203RFactory57())(targetClass, memberDecs, classDecs, parentClass);
38044
38077
  }
38045
- var _dec157, _initClass57, _HTMLElement57, _dec158, _dec231, _dec327, _dec421, _init_checked3, _init_disabled11, _init_control7, _initProto34, _Toggle, Toggle;
38078
+ var _dec157, _initClass57, _HTMLElement57, _dec158, _dec231, _dec327, _dec422, _init_checked3, _init_disabled11, _init_control7, _initProto34, _Toggle, Toggle;
38046
38079
  var init_toggle = __esm({
38047
38080
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/toggle/index.ts"() {
38048
38081
  "use strict";
@@ -38169,7 +38202,7 @@ var init_toggle = __esm({
38169
38202
  }), _dec231 = Prop({
38170
38203
  type: Boolean,
38171
38204
  reflect: true
38172
- }), _dec327 = Query("button"), _dec421 = Listen("click", {
38205
+ }), _dec327 = Query("button"), _dec422 = Listen("click", {
38173
38206
  selector: "button"
38174
38207
  });
38175
38208
  Toggle = class extends (_HTMLElement57 = HTMLElement) {
@@ -38191,7 +38224,7 @@ var init_toggle = __esm({
38191
38224
  "control"
38192
38225
  ],
38193
38226
  [
38194
- _dec421,
38227
+ _dec422,
38195
38228
  2,
38196
38229
  "handleClick"
38197
38230
  ]
@@ -38236,10 +38269,15 @@ var init_toggle = __esm({
38236
38269
  return;
38237
38270
  }
38238
38271
  this.checked = !this.checked;
38239
- dispatchControlEvent2(this, "toggle", {
38272
+ const name = this.getAttribute("name") ?? void 0;
38273
+ const detail = {
38274
+ name,
38240
38275
  value: this.checked,
38241
38276
  event
38242
- });
38277
+ };
38278
+ dispatchControlEvent2(this, "toggle", detail);
38279
+ dispatchControlEvent2(this, "change", detail);
38280
+ dispatchControlEvent2(this, CONTROL_CHANGE_EVENT, detail);
38243
38281
  }
38244
38282
  static {
38245
38283
  _initClass57();
@@ -38629,7 +38667,7 @@ function applyDecs2203RFactory58() {
38629
38667
  function _apply_decs_2203_r58(targetClass, memberDecs, classDecs, parentClass) {
38630
38668
  return (_apply_decs_2203_r58 = applyDecs2203RFactory58())(targetClass, memberDecs, classDecs, parentClass);
38631
38669
  }
38632
- var _dec159, _initClass58, _HTMLElement58, _dec160, _dec232, _dec328, _dec422, _dec518, _dec616, _init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto35, _Tooltip2, Tooltip2;
38670
+ var _dec159, _initClass58, _HTMLElement58, _dec160, _dec232, _dec328, _dec423, _dec519, _dec616, _init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto35, _Tooltip2, Tooltip2;
38633
38671
  var init_tooltip2 = __esm({
38634
38672
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/tooltip/index.ts"() {
38635
38673
  "use strict";
@@ -38681,7 +38719,7 @@ var init_tooltip2 = __esm({
38681
38719
  }), _dec328 = Prop({
38682
38720
  reflect: true,
38683
38721
  defaultValue: "top-center"
38684
- }), _dec422 = Query('[slot="trigger"]'), _dec518 = Query("[data-tooltip-content]"), _dec616 = OutsideClick({
38722
+ }), _dec423 = Query('[slot="trigger"]'), _dec519 = Query("[data-tooltip-content]"), _dec616 = OutsideClick({
38685
38723
  content: (host) => host.contentElement,
38686
38724
  triggers: (host) => [
38687
38725
  host.triggerElement
@@ -38690,7 +38728,7 @@ var init_tooltip2 = __esm({
38690
38728
  });
38691
38729
  Tooltip2 = class extends (_HTMLElement58 = HTMLElement) {
38692
38730
  static {
38693
- ({ e: [_init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto35], c: [_Tooltip2, _initClass58] } = _apply_decs_2203_r58(this, [
38731
+ ({ e: [_init_open5, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto35], c: [_Tooltip2, _initClass58] } = _apply_decs_2203_r58(this, [
38694
38732
  [
38695
38733
  _dec160,
38696
38734
  1,
@@ -38707,12 +38745,12 @@ var init_tooltip2 = __esm({
38707
38745
  "placement"
38708
38746
  ],
38709
38747
  [
38710
- _dec422,
38748
+ _dec423,
38711
38749
  1,
38712
38750
  "triggerElement"
38713
38751
  ],
38714
38752
  [
38715
- _dec518,
38753
+ _dec519,
38716
38754
  1,
38717
38755
  "contentElement"
38718
38756
  ],
@@ -38873,7 +38911,7 @@ var init_tooltip2 = __esm({
38873
38911
  _initClass58();
38874
38912
  }
38875
38913
  constructor(...args) {
38876
- 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 = () => {
38914
+ 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 = () => {
38877
38915
  this.#startTimer(() => {
38878
38916
  this.open = true;
38879
38917
  });
@@ -40687,7 +40725,7 @@ _dec78 = Component({
40687
40725
  [part="content"] {
40688
40726
  height: 0;
40689
40727
  overflow: hidden;
40690
- transition: height 200ms cubic-bezier(.25, 0, .5, 1);
40728
+ transition: height 200ms cubic-bezier(.25, 0, .5, 1) !important;
40691
40729
  }
40692
40730
 
40693
40731
  :host([open]) [part="content"] {