@genesislcap/foundation-zero 14.78.4-alpha-9094e05.0 → 14.79.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.
@@ -784,6 +784,37 @@
784
784
  }
785
785
  ]
786
786
  },
787
+ {
788
+ "kind": "javascript-module",
789
+ "path": "src/_config/index.ts",
790
+ "declarations": [],
791
+ "exports": [
792
+ {
793
+ "kind": "js",
794
+ "name": "*",
795
+ "declaration": {
796
+ "name": "*",
797
+ "package": "./styles"
798
+ }
799
+ },
800
+ {
801
+ "kind": "js",
802
+ "name": "*",
803
+ "declaration": {
804
+ "name": "*",
805
+ "package": "./tokens"
806
+ }
807
+ },
808
+ {
809
+ "kind": "js",
810
+ "name": "*",
811
+ "declaration": {
812
+ "name": "*",
813
+ "package": "./values"
814
+ }
815
+ }
816
+ ]
817
+ },
787
818
  {
788
819
  "kind": "javascript-module",
789
820
  "path": "src/accordion/accordion.stories.ts",
@@ -972,37 +1003,6 @@
972
1003
  }
973
1004
  ]
974
1005
  },
975
- {
976
- "kind": "javascript-module",
977
- "path": "src/_config/index.ts",
978
- "declarations": [],
979
- "exports": [
980
- {
981
- "kind": "js",
982
- "name": "*",
983
- "declaration": {
984
- "name": "*",
985
- "package": "./styles"
986
- }
987
- },
988
- {
989
- "kind": "js",
990
- "name": "*",
991
- "declaration": {
992
- "name": "*",
993
- "package": "./tokens"
994
- }
995
- },
996
- {
997
- "kind": "js",
998
- "name": "*",
999
- "declaration": {
1000
- "name": "*",
1001
- "package": "./values"
1002
- }
1003
- }
1004
- ]
1005
- },
1006
1006
  {
1007
1007
  "kind": "javascript-module",
1008
1008
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -4375,13 +4375,9 @@
4375
4375
  "path": "src/date-picker/date-picker.template.ts",
4376
4376
  "declarations": [
4377
4377
  {
4378
- "kind": "function",
4378
+ "kind": "variable",
4379
4379
  "name": "zeroDatePickerTemplate",
4380
- "return": {
4381
- "type": {
4382
- "text": "ViewTemplate<DatePicker>"
4383
- }
4384
- }
4380
+ "default": "html<DatePicker>`\n ${getPrefixedDatePicker('zero')}\n`"
4385
4381
  }
4386
4382
  ],
4387
4383
  "exports": [
@@ -49,12 +49,12 @@ export declare const baseComponents: {
49
49
  }, typeof import("./dialog").Dialog>;
50
50
  zeroDatePicker: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
51
51
  baseName: string;
52
- template: () => import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
52
+ template: import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
53
53
  styles: () => import("@microsoft/fast-element").ElementStyles;
54
54
  shadowOptions: ShadowRootInit;
55
55
  }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
56
56
  baseName: string;
57
- template: () => import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
57
+ template: import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
58
58
  styles: () => import("@microsoft/fast-element").ElementStyles;
59
59
  shadowOptions: ShadowRootInit;
60
60
  }, typeof import("./date-picker").DatePicker>;
@@ -8,12 +8,12 @@ export declare class DatePicker extends FoundationDatePicker {
8
8
  }
9
9
  export declare const zeroDatePicker: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
10
10
  baseName: string;
11
- template: () => import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
11
+ template: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
12
12
  styles: () => import("@microsoft/fast-element").ElementStyles;
13
13
  shadowOptions: ShadowRootInit;
14
14
  }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
15
15
  baseName: string;
16
- template: () => import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
16
+ template: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
17
17
  styles: () => import("@microsoft/fast-element").ElementStyles;
18
18
  shadowOptions: ShadowRootInit;
19
19
  }, typeof DatePicker>;
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,oBAAoB,QAAO,aAwBvC,CAAC"}
1
+ {"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,oBAAoB,QAAO,aAwCvC,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
2
1
  import type { DatePicker } from './date-picker';
3
- export declare const zeroDatePickerTemplate: () => ViewTemplate<DatePicker>;
2
+ export declare const zeroDatePickerTemplate: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
4
3
  //# sourceMappingURL=date-picker.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,sBAAsB,QAAO,aAAa,UAAU,CAAiC,CAAC"}
1
+ {"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,sBAAsB,iEAElC,CAAC"}
@@ -3,9 +3,8 @@ import { css } from '@microsoft/fast-element';
3
3
  import { ColorHEX } from '../_common';
4
4
  export const zeroDatePickerStyles = () => css `
5
5
  ${foundationDatePickerStyles}
6
- .date-toggle {
7
- background: var(--neutral-layer-card-container);
8
- color: var(--neutral-foreground-rest);
6
+ :host {
7
+ --primary-gradient-angle: -113.5deg;
9
8
  }
10
9
 
11
10
  .calendar-dropdown {
@@ -25,4 +24,21 @@ export const zeroDatePickerStyles = () => css `
25
24
  .month-day.current {
26
25
  color: ${ColorHEX.almostWhite};
27
26
  }
27
+
28
+ .input-icon-container {
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+ border-radius: calc(var(--control-corner-radius) * 1px);
33
+ width: 30px;
34
+ height: 30px;
35
+ }
36
+
37
+ .input-icon-container:hover {
38
+ background-color: ${ColorHEX.mediumGrey};
39
+ }
40
+
41
+ .date-toggle::part(end) {
42
+ margin-inline-end: 4px;
43
+ }
28
44
  `;
@@ -1,2 +1,5 @@
1
- import { foundationDatePickerTemplate } from '@genesislcap/foundation-ui';
2
- export const zeroDatePickerTemplate = () => foundationDatePickerTemplate;
1
+ import { getPrefixedDatePicker } from '@genesislcap/foundation-ui';
2
+ import { html } from '@microsoft/fast-element';
3
+ export const zeroDatePickerTemplate = html `
4
+ ${getPrefixedDatePicker('zero')}
5
+ `;
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.78.4-alpha-9094e05.0",
4
+ "version": "14.79.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -62,7 +62,7 @@
62
62
  "storybook": "storybook dev -p 6006"
63
63
  },
64
64
  "devDependencies": {
65
- "@genesislcap/genx": "14.78.4-alpha-9094e05.0",
65
+ "@genesislcap/genx": "14.79.1",
66
66
  "@storybook/addon-essentials": "^7.1.0",
67
67
  "@storybook/addon-links": "^7.1.0",
68
68
  "@storybook/addons": "^7.1.0",
@@ -75,9 +75,9 @@
75
75
  "storybook": "^7.1.0"
76
76
  },
77
77
  "dependencies": {
78
- "@genesislcap/foundation-comms": "14.78.4-alpha-9094e05.0",
79
- "@genesislcap/foundation-ui": "14.78.4-alpha-9094e05.0",
80
- "@genesislcap/foundation-utils": "14.78.4-alpha-9094e05.0",
78
+ "@genesislcap/foundation-comms": "14.79.1",
79
+ "@genesislcap/foundation-ui": "14.79.1",
80
+ "@genesislcap/foundation-utils": "14.79.1",
81
81
  "@microsoft/fast-colors": "^5.1.4",
82
82
  "@microsoft/fast-components": "^2.21.3",
83
83
  "@microsoft/fast-element": "^1.7.0",
@@ -94,5 +94,5 @@
94
94
  "access": "public"
95
95
  },
96
96
  "customElements": "dist/custom-elements.json",
97
- "gitHead": "18349d5583491b6c7eaf8c9f90a39ed6186c0dd4"
97
+ "gitHead": "f6631dc2350244ee9f1ea5fe24ef0eaadca32c1a"
98
98
  }