@genesislcap/foundation-zero 14.252.0 → 14.252.1-alpha-37ebbf6.0

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.
@@ -11295,6 +11295,28 @@
11295
11295
  "module": "src/dialog/dialog.ts"
11296
11296
  }
11297
11297
  },
11298
+ {
11299
+ "kind": "field",
11300
+ "name": "topElement",
11301
+ "type": {
11302
+ "text": "HTMLElement"
11303
+ },
11304
+ "inheritedFrom": {
11305
+ "name": "DialogElement",
11306
+ "module": "src/dialog/dialog.ts"
11307
+ }
11308
+ },
11309
+ {
11310
+ "kind": "field",
11311
+ "name": "topElementSlot",
11312
+ "type": {
11313
+ "text": "HTMLSlotElement"
11314
+ },
11315
+ "inheritedFrom": {
11316
+ "name": "DialogElement",
11317
+ "module": "src/dialog/dialog.ts"
11318
+ }
11319
+ },
11298
11320
  {
11299
11321
  "kind": "field",
11300
11322
  "name": "notification",
@@ -20597,7 +20619,7 @@
20597
20619
  {
20598
20620
  "kind": "variable",
20599
20621
  "name": "zeroModalStyles",
20600
- "default": "css`\n ${zeroDialogStyles}\n`"
20622
+ "default": "css`\n ${zeroDialogStyles}\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n`"
20601
20623
  }
20602
20624
  ],
20603
20625
  "exports": [
@@ -20641,6 +20663,17 @@
20641
20663
  "tagName": "%%prefix%%-modal",
20642
20664
  "customElement": true,
20643
20665
  "attributes": [
20666
+ {
20667
+ "type": {
20668
+ "text": "boolean"
20669
+ },
20670
+ "default": "false",
20671
+ "fieldName": "draggable",
20672
+ "inheritedFrom": {
20673
+ "name": "Modal",
20674
+ "module": "src/modal/modal.ts"
20675
+ }
20676
+ },
20644
20677
  {
20645
20678
  "name": "type",
20646
20679
  "type": {
@@ -20680,6 +20713,141 @@
20680
20713
  }
20681
20714
  ],
20682
20715
  "members": [
20716
+ {
20717
+ "kind": "field",
20718
+ "name": "isDragging",
20719
+ "type": {
20720
+ "text": "boolean"
20721
+ },
20722
+ "privacy": "private",
20723
+ "default": "false",
20724
+ "inheritedFrom": {
20725
+ "name": "Modal",
20726
+ "module": "src/modal/modal.ts"
20727
+ }
20728
+ },
20729
+ {
20730
+ "kind": "field",
20731
+ "name": "offsetX",
20732
+ "type": {
20733
+ "text": "number"
20734
+ },
20735
+ "privacy": "private",
20736
+ "default": "0",
20737
+ "inheritedFrom": {
20738
+ "name": "Modal",
20739
+ "module": "src/modal/modal.ts"
20740
+ }
20741
+ },
20742
+ {
20743
+ "kind": "field",
20744
+ "name": "offsetY",
20745
+ "type": {
20746
+ "text": "number"
20747
+ },
20748
+ "privacy": "private",
20749
+ "default": "0",
20750
+ "inheritedFrom": {
20751
+ "name": "Modal",
20752
+ "module": "src/modal/modal.ts"
20753
+ }
20754
+ },
20755
+ {
20756
+ "kind": "field",
20757
+ "name": "modalWidth",
20758
+ "type": {
20759
+ "text": "number"
20760
+ },
20761
+ "privacy": "private",
20762
+ "default": "0",
20763
+ "inheritedFrom": {
20764
+ "name": "Modal",
20765
+ "module": "src/modal/modal.ts"
20766
+ }
20767
+ },
20768
+ {
20769
+ "kind": "field",
20770
+ "name": "modalHeight",
20771
+ "type": {
20772
+ "text": "number"
20773
+ },
20774
+ "privacy": "private",
20775
+ "default": "0",
20776
+ "inheritedFrom": {
20777
+ "name": "Modal",
20778
+ "module": "src/modal/modal.ts"
20779
+ }
20780
+ },
20781
+ {
20782
+ "kind": "field",
20783
+ "name": "onMouseDownBound",
20784
+ "type": {
20785
+ "text": "((event: MouseEvent) => void) | null"
20786
+ },
20787
+ "privacy": "private",
20788
+ "default": "null",
20789
+ "inheritedFrom": {
20790
+ "name": "Modal",
20791
+ "module": "src/modal/modal.ts"
20792
+ }
20793
+ },
20794
+ {
20795
+ "kind": "field",
20796
+ "name": "onMouseMoveBound",
20797
+ "type": {
20798
+ "text": "((event: MouseEvent) => void) | null"
20799
+ },
20800
+ "privacy": "private",
20801
+ "default": "null",
20802
+ "inheritedFrom": {
20803
+ "name": "Modal",
20804
+ "module": "src/modal/modal.ts"
20805
+ }
20806
+ },
20807
+ {
20808
+ "kind": "field",
20809
+ "name": "onMouseUpBound",
20810
+ "type": {
20811
+ "text": "(() => void) | null"
20812
+ },
20813
+ "privacy": "private",
20814
+ "default": "null",
20815
+ "inheritedFrom": {
20816
+ "name": "Modal",
20817
+ "module": "src/modal/modal.ts"
20818
+ }
20819
+ },
20820
+ {
20821
+ "kind": "field",
20822
+ "name": "draggable",
20823
+ "type": {
20824
+ "text": "boolean"
20825
+ },
20826
+ "default": "false",
20827
+ "inheritedFrom": {
20828
+ "name": "Modal",
20829
+ "module": "src/modal/modal.ts"
20830
+ }
20831
+ },
20832
+ {
20833
+ "kind": "method",
20834
+ "name": "draggableChanged",
20835
+ "parameters": [
20836
+ {
20837
+ "name": "ignore"
20838
+ },
20839
+ {
20840
+ "name": "newValue",
20841
+ "type": {
20842
+ "text": "boolean"
20843
+ }
20844
+ }
20845
+ ],
20846
+ "inheritedFrom": {
20847
+ "name": "Modal",
20848
+ "module": "src/modal/modal.ts"
20849
+ }
20850
+ },
20683
20851
  {
20684
20852
  "kind": "method",
20685
20853
  "name": "show",
@@ -20694,6 +20862,114 @@
20694
20862
  "module": "src/dialog/dialog.ts"
20695
20863
  }
20696
20864
  },
20865
+ {
20866
+ "kind": "field",
20867
+ "name": "onCloseCallback",
20868
+ "type": {
20869
+ "text": "() => void"
20870
+ },
20871
+ "description": "Callback to run *after* HTMLDialogElement is closed",
20872
+ "inheritedFrom": {
20873
+ "name": "DialogElement",
20874
+ "module": "src/dialog/dialog.ts"
20875
+ }
20876
+ },
20877
+ {
20878
+ "kind": "method",
20879
+ "name": "isEventTargetInDraggableTarget",
20880
+ "privacy": "private",
20881
+ "return": {
20882
+ "type": {
20883
+ "text": "boolean"
20884
+ }
20885
+ },
20886
+ "parameters": [
20887
+ {
20888
+ "name": "event",
20889
+ "type": {
20890
+ "text": "MouseEvent"
20891
+ }
20892
+ }
20893
+ ],
20894
+ "inheritedFrom": {
20895
+ "name": "Modal",
20896
+ "module": "src/modal/modal.ts"
20897
+ }
20898
+ },
20899
+ {
20900
+ "kind": "method",
20901
+ "name": "isInsideTopSlot",
20902
+ "privacy": "private",
20903
+ "return": {
20904
+ "type": {
20905
+ "text": "boolean"
20906
+ }
20907
+ },
20908
+ "parameters": [
20909
+ {
20910
+ "name": "target",
20911
+ "type": {
20912
+ "text": "Node"
20913
+ }
20914
+ }
20915
+ ],
20916
+ "inheritedFrom": {
20917
+ "name": "Modal",
20918
+ "module": "src/modal/modal.ts"
20919
+ }
20920
+ },
20921
+ {
20922
+ "kind": "method",
20923
+ "name": "onMouseDown",
20924
+ "privacy": "private",
20925
+ "parameters": [
20926
+ {
20927
+ "name": "event",
20928
+ "type": {
20929
+ "text": "MouseEvent"
20930
+ }
20931
+ }
20932
+ ],
20933
+ "inheritedFrom": {
20934
+ "name": "Modal",
20935
+ "module": "src/modal/modal.ts"
20936
+ }
20937
+ },
20938
+ {
20939
+ "kind": "method",
20940
+ "name": "onMouseMove",
20941
+ "privacy": "private",
20942
+ "parameters": [
20943
+ {
20944
+ "name": "event",
20945
+ "type": {
20946
+ "text": "MouseEvent"
20947
+ }
20948
+ }
20949
+ ],
20950
+ "inheritedFrom": {
20951
+ "name": "Modal",
20952
+ "module": "src/modal/modal.ts"
20953
+ }
20954
+ },
20955
+ {
20956
+ "kind": "method",
20957
+ "name": "onMouseUp",
20958
+ "privacy": "private",
20959
+ "inheritedFrom": {
20960
+ "name": "Modal",
20961
+ "module": "src/modal/modal.ts"
20962
+ }
20963
+ },
20964
+ {
20965
+ "kind": "method",
20966
+ "name": "removeDraggableEventListeners",
20967
+ "privacy": "private",
20968
+ "inheritedFrom": {
20969
+ "name": "Modal",
20970
+ "module": "src/modal/modal.ts"
20971
+ }
20972
+ },
20697
20973
  {
20698
20974
  "kind": "field",
20699
20975
  "name": "mainElement",
@@ -20706,6 +20982,28 @@
20706
20982
  "module": "src/dialog/dialog.ts"
20707
20983
  }
20708
20984
  },
20985
+ {
20986
+ "kind": "field",
20987
+ "name": "topElement",
20988
+ "type": {
20989
+ "text": "HTMLElement"
20990
+ },
20991
+ "inheritedFrom": {
20992
+ "name": "DialogElement",
20993
+ "module": "src/dialog/dialog.ts"
20994
+ }
20995
+ },
20996
+ {
20997
+ "kind": "field",
20998
+ "name": "topElementSlot",
20999
+ "type": {
21000
+ "text": "HTMLSlotElement"
21001
+ },
21002
+ "inheritedFrom": {
21003
+ "name": "DialogElement",
21004
+ "module": "src/dialog/dialog.ts"
21005
+ }
21006
+ },
20709
21007
  {
20710
21008
  "kind": "field",
20711
21009
  "name": "notification",
@@ -20774,18 +21072,6 @@
20774
21072
  "module": "src/dialog/dialog.ts"
20775
21073
  }
20776
21074
  },
20777
- {
20778
- "kind": "field",
20779
- "name": "onCloseCallback",
20780
- "type": {
20781
- "text": "() => void"
20782
- },
20783
- "description": "Callback to run *after* HTMLDialogElement is closed",
20784
- "inheritedFrom": {
20785
- "name": "DialogElement",
20786
- "module": "src/dialog/dialog.ts"
20787
- }
20788
- },
20789
21075
  {
20790
21076
  "kind": "field",
20791
21077
  "name": "open",
@@ -1 +1 @@
1
- {"version":3,"file":"modal.styles.d.ts","sourceRoot":"","sources":["../../../src/modal/modal.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,iDAE3B,CAAC"}
1
+ {"version":3,"file":"modal.styles.d.ts","sourceRoot":"","sources":["../../../src/modal/modal.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,iDAM3B,CAAC"}
@@ -2,4 +2,8 @@ import { css } from '@microsoft/fast-element';
2
2
  import { zeroDialogStyles } from '../dialog/dialog.styles';
3
3
  export const zeroModalStyles = css `
4
4
  ${zeroDialogStyles}
5
+
6
+ :host([draggable])::part(top) {
7
+ cursor: move;
8
+ }
5
9
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.252.0",
4
+ "version": "14.252.1-alpha-37ebbf6.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -71,19 +71,19 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
74
- "@genesislcap/genx": "14.252.0",
75
- "@genesislcap/rollup-builder": "14.252.0",
76
- "@genesislcap/ts-builder": "14.252.0",
77
- "@genesislcap/uvu-playwright-builder": "14.252.0",
78
- "@genesislcap/vite-builder": "14.252.0",
79
- "@genesislcap/webpack-builder": "14.252.0",
74
+ "@genesislcap/genx": "14.252.1-alpha-37ebbf6.0",
75
+ "@genesislcap/rollup-builder": "14.252.1-alpha-37ebbf6.0",
76
+ "@genesislcap/ts-builder": "14.252.1-alpha-37ebbf6.0",
77
+ "@genesislcap/uvu-playwright-builder": "14.252.1-alpha-37ebbf6.0",
78
+ "@genesislcap/vite-builder": "14.252.1-alpha-37ebbf6.0",
79
+ "@genesislcap/webpack-builder": "14.252.1-alpha-37ebbf6.0",
80
80
  "rimraf": "^5.0.0"
81
81
  },
82
82
  "dependencies": {
83
- "@genesislcap/foundation-comms": "14.252.0",
84
- "@genesislcap/foundation-logger": "14.252.0",
85
- "@genesislcap/foundation-ui": "14.252.0",
86
- "@genesislcap/foundation-utils": "14.252.0",
83
+ "@genesislcap/foundation-comms": "14.252.1-alpha-37ebbf6.0",
84
+ "@genesislcap/foundation-logger": "14.252.1-alpha-37ebbf6.0",
85
+ "@genesislcap/foundation-ui": "14.252.1-alpha-37ebbf6.0",
86
+ "@genesislcap/foundation-utils": "14.252.1-alpha-37ebbf6.0",
87
87
  "@microsoft/fast-colors": "5.3.1",
88
88
  "@microsoft/fast-components": "2.30.6",
89
89
  "@microsoft/fast-element": "1.14.0",
@@ -100,5 +100,5 @@
100
100
  "access": "public"
101
101
  },
102
102
  "customElements": "dist/custom-elements.json",
103
- "gitHead": "892ad62fbba0bcd170dc61bc12c08064775257f3"
103
+ "gitHead": "d961f6e647e22edea45ba96f12577436eb4bd016"
104
104
  }