@genesislcap/foundation-zero 14.256.0 → 14.257.1

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",
@@ -20605,7 +20627,7 @@
20605
20627
  {
20606
20628
  "kind": "variable",
20607
20629
  "name": "zeroModalStyles",
20608
- "default": "css`\n ${zeroDialogStyles}\n`"
20630
+ "default": "css`\n ${zeroDialogStyles}\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n`"
20609
20631
  }
20610
20632
  ],
20611
20633
  "exports": [
@@ -20649,6 +20671,17 @@
20649
20671
  "tagName": "%%prefix%%-modal",
20650
20672
  "customElement": true,
20651
20673
  "attributes": [
20674
+ {
20675
+ "type": {
20676
+ "text": "boolean"
20677
+ },
20678
+ "default": "false",
20679
+ "fieldName": "draggable",
20680
+ "inheritedFrom": {
20681
+ "name": "Modal",
20682
+ "module": "src/modal/modal.ts"
20683
+ }
20684
+ },
20652
20685
  {
20653
20686
  "name": "type",
20654
20687
  "type": {
@@ -20688,6 +20721,141 @@
20688
20721
  }
20689
20722
  ],
20690
20723
  "members": [
20724
+ {
20725
+ "kind": "field",
20726
+ "name": "isDragging",
20727
+ "type": {
20728
+ "text": "boolean"
20729
+ },
20730
+ "privacy": "private",
20731
+ "default": "false",
20732
+ "inheritedFrom": {
20733
+ "name": "Modal",
20734
+ "module": "src/modal/modal.ts"
20735
+ }
20736
+ },
20737
+ {
20738
+ "kind": "field",
20739
+ "name": "offsetX",
20740
+ "type": {
20741
+ "text": "number"
20742
+ },
20743
+ "privacy": "private",
20744
+ "default": "0",
20745
+ "inheritedFrom": {
20746
+ "name": "Modal",
20747
+ "module": "src/modal/modal.ts"
20748
+ }
20749
+ },
20750
+ {
20751
+ "kind": "field",
20752
+ "name": "offsetY",
20753
+ "type": {
20754
+ "text": "number"
20755
+ },
20756
+ "privacy": "private",
20757
+ "default": "0",
20758
+ "inheritedFrom": {
20759
+ "name": "Modal",
20760
+ "module": "src/modal/modal.ts"
20761
+ }
20762
+ },
20763
+ {
20764
+ "kind": "field",
20765
+ "name": "modalWidth",
20766
+ "type": {
20767
+ "text": "number"
20768
+ },
20769
+ "privacy": "private",
20770
+ "default": "0",
20771
+ "inheritedFrom": {
20772
+ "name": "Modal",
20773
+ "module": "src/modal/modal.ts"
20774
+ }
20775
+ },
20776
+ {
20777
+ "kind": "field",
20778
+ "name": "modalHeight",
20779
+ "type": {
20780
+ "text": "number"
20781
+ },
20782
+ "privacy": "private",
20783
+ "default": "0",
20784
+ "inheritedFrom": {
20785
+ "name": "Modal",
20786
+ "module": "src/modal/modal.ts"
20787
+ }
20788
+ },
20789
+ {
20790
+ "kind": "field",
20791
+ "name": "onMouseDownBound",
20792
+ "type": {
20793
+ "text": "((event: MouseEvent) => void) | null"
20794
+ },
20795
+ "privacy": "private",
20796
+ "default": "null",
20797
+ "inheritedFrom": {
20798
+ "name": "Modal",
20799
+ "module": "src/modal/modal.ts"
20800
+ }
20801
+ },
20802
+ {
20803
+ "kind": "field",
20804
+ "name": "onMouseMoveBound",
20805
+ "type": {
20806
+ "text": "((event: MouseEvent) => void) | null"
20807
+ },
20808
+ "privacy": "private",
20809
+ "default": "null",
20810
+ "inheritedFrom": {
20811
+ "name": "Modal",
20812
+ "module": "src/modal/modal.ts"
20813
+ }
20814
+ },
20815
+ {
20816
+ "kind": "field",
20817
+ "name": "onMouseUpBound",
20818
+ "type": {
20819
+ "text": "(() => void) | null"
20820
+ },
20821
+ "privacy": "private",
20822
+ "default": "null",
20823
+ "inheritedFrom": {
20824
+ "name": "Modal",
20825
+ "module": "src/modal/modal.ts"
20826
+ }
20827
+ },
20828
+ {
20829
+ "kind": "field",
20830
+ "name": "draggable",
20831
+ "type": {
20832
+ "text": "boolean"
20833
+ },
20834
+ "default": "false",
20835
+ "inheritedFrom": {
20836
+ "name": "Modal",
20837
+ "module": "src/modal/modal.ts"
20838
+ }
20839
+ },
20840
+ {
20841
+ "kind": "method",
20842
+ "name": "draggableChanged",
20843
+ "parameters": [
20844
+ {
20845
+ "name": "ignore"
20846
+ },
20847
+ {
20848
+ "name": "newValue",
20849
+ "type": {
20850
+ "text": "boolean"
20851
+ }
20852
+ }
20853
+ ],
20854
+ "inheritedFrom": {
20855
+ "name": "Modal",
20856
+ "module": "src/modal/modal.ts"
20857
+ }
20858
+ },
20691
20859
  {
20692
20860
  "kind": "method",
20693
20861
  "name": "show",
@@ -20702,6 +20870,114 @@
20702
20870
  "module": "src/dialog/dialog.ts"
20703
20871
  }
20704
20872
  },
20873
+ {
20874
+ "kind": "field",
20875
+ "name": "onCloseCallback",
20876
+ "type": {
20877
+ "text": "() => void"
20878
+ },
20879
+ "description": "Callback to run *after* HTMLDialogElement is closed",
20880
+ "inheritedFrom": {
20881
+ "name": "DialogElement",
20882
+ "module": "src/dialog/dialog.ts"
20883
+ }
20884
+ },
20885
+ {
20886
+ "kind": "method",
20887
+ "name": "isEventTargetInDraggableTarget",
20888
+ "privacy": "private",
20889
+ "return": {
20890
+ "type": {
20891
+ "text": "boolean"
20892
+ }
20893
+ },
20894
+ "parameters": [
20895
+ {
20896
+ "name": "event",
20897
+ "type": {
20898
+ "text": "MouseEvent"
20899
+ }
20900
+ }
20901
+ ],
20902
+ "inheritedFrom": {
20903
+ "name": "Modal",
20904
+ "module": "src/modal/modal.ts"
20905
+ }
20906
+ },
20907
+ {
20908
+ "kind": "method",
20909
+ "name": "isInsideTopSlot",
20910
+ "privacy": "private",
20911
+ "return": {
20912
+ "type": {
20913
+ "text": "boolean"
20914
+ }
20915
+ },
20916
+ "parameters": [
20917
+ {
20918
+ "name": "target",
20919
+ "type": {
20920
+ "text": "Node"
20921
+ }
20922
+ }
20923
+ ],
20924
+ "inheritedFrom": {
20925
+ "name": "Modal",
20926
+ "module": "src/modal/modal.ts"
20927
+ }
20928
+ },
20929
+ {
20930
+ "kind": "method",
20931
+ "name": "onMouseDown",
20932
+ "privacy": "private",
20933
+ "parameters": [
20934
+ {
20935
+ "name": "event",
20936
+ "type": {
20937
+ "text": "MouseEvent"
20938
+ }
20939
+ }
20940
+ ],
20941
+ "inheritedFrom": {
20942
+ "name": "Modal",
20943
+ "module": "src/modal/modal.ts"
20944
+ }
20945
+ },
20946
+ {
20947
+ "kind": "method",
20948
+ "name": "onMouseMove",
20949
+ "privacy": "private",
20950
+ "parameters": [
20951
+ {
20952
+ "name": "event",
20953
+ "type": {
20954
+ "text": "MouseEvent"
20955
+ }
20956
+ }
20957
+ ],
20958
+ "inheritedFrom": {
20959
+ "name": "Modal",
20960
+ "module": "src/modal/modal.ts"
20961
+ }
20962
+ },
20963
+ {
20964
+ "kind": "method",
20965
+ "name": "onMouseUp",
20966
+ "privacy": "private",
20967
+ "inheritedFrom": {
20968
+ "name": "Modal",
20969
+ "module": "src/modal/modal.ts"
20970
+ }
20971
+ },
20972
+ {
20973
+ "kind": "method",
20974
+ "name": "removeDraggableEventListeners",
20975
+ "privacy": "private",
20976
+ "inheritedFrom": {
20977
+ "name": "Modal",
20978
+ "module": "src/modal/modal.ts"
20979
+ }
20980
+ },
20705
20981
  {
20706
20982
  "kind": "field",
20707
20983
  "name": "mainElement",
@@ -20714,6 +20990,28 @@
20714
20990
  "module": "src/dialog/dialog.ts"
20715
20991
  }
20716
20992
  },
20993
+ {
20994
+ "kind": "field",
20995
+ "name": "topElement",
20996
+ "type": {
20997
+ "text": "HTMLElement"
20998
+ },
20999
+ "inheritedFrom": {
21000
+ "name": "DialogElement",
21001
+ "module": "src/dialog/dialog.ts"
21002
+ }
21003
+ },
21004
+ {
21005
+ "kind": "field",
21006
+ "name": "topElementSlot",
21007
+ "type": {
21008
+ "text": "HTMLSlotElement"
21009
+ },
21010
+ "inheritedFrom": {
21011
+ "name": "DialogElement",
21012
+ "module": "src/dialog/dialog.ts"
21013
+ }
21014
+ },
20717
21015
  {
20718
21016
  "kind": "field",
20719
21017
  "name": "notification",
@@ -20782,18 +21080,6 @@
20782
21080
  "module": "src/dialog/dialog.ts"
20783
21081
  }
20784
21082
  },
20785
- {
20786
- "kind": "field",
20787
- "name": "onCloseCallback",
20788
- "type": {
20789
- "text": "() => void"
20790
- },
20791
- "description": "Callback to run *after* HTMLDialogElement is closed",
20792
- "inheritedFrom": {
20793
- "name": "DialogElement",
20794
- "module": "src/dialog/dialog.ts"
20795
- }
20796
- },
20797
21083
  {
20798
21084
  "kind": "field",
20799
21085
  "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.256.0",
4
+ "version": "14.257.1",
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.256.0",
75
- "@genesislcap/rollup-builder": "14.256.0",
76
- "@genesislcap/ts-builder": "14.256.0",
77
- "@genesislcap/uvu-playwright-builder": "14.256.0",
78
- "@genesislcap/vite-builder": "14.256.0",
79
- "@genesislcap/webpack-builder": "14.256.0",
74
+ "@genesislcap/genx": "14.257.1",
75
+ "@genesislcap/rollup-builder": "14.257.1",
76
+ "@genesislcap/ts-builder": "14.257.1",
77
+ "@genesislcap/uvu-playwright-builder": "14.257.1",
78
+ "@genesislcap/vite-builder": "14.257.1",
79
+ "@genesislcap/webpack-builder": "14.257.1",
80
80
  "rimraf": "^5.0.0"
81
81
  },
82
82
  "dependencies": {
83
- "@genesislcap/foundation-comms": "14.256.0",
84
- "@genesislcap/foundation-logger": "14.256.0",
85
- "@genesislcap/foundation-ui": "14.256.0",
86
- "@genesislcap/foundation-utils": "14.256.0",
83
+ "@genesislcap/foundation-comms": "14.257.1",
84
+ "@genesislcap/foundation-logger": "14.257.1",
85
+ "@genesislcap/foundation-ui": "14.257.1",
86
+ "@genesislcap/foundation-utils": "14.257.1",
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": "bd99b542c14e7f402e36373b566888f24e4a8c7b"
103
+ "gitHead": "5c0faecb4a8c7564cbf4de1f27c009e0a5d12d41"
104
104
  }