@genesislcap/foundation-zero 14.64.3 → 14.65.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.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCalendar,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -170,6 +170,14 @@
170
170
  "package": "./button"
171
171
  }
172
172
  },
173
+ {
174
+ "kind": "js",
175
+ "name": "*",
176
+ "declaration": {
177
+ "name": "*",
178
+ "package": "./calendar"
179
+ }
180
+ },
173
181
  {
174
182
  "kind": "js",
175
183
  "name": "*",
@@ -2774,6 +2782,180 @@
2774
2782
  }
2775
2783
  ]
2776
2784
  },
2785
+ {
2786
+ "kind": "javascript-module",
2787
+ "path": "src/calendar/calendar.stories.ts",
2788
+ "declarations": [
2789
+ {
2790
+ "kind": "variable",
2791
+ "name": "meta",
2792
+ "type": {
2793
+ "text": "Meta"
2794
+ },
2795
+ "default": "{\n title: 'Calendar',\n component: 'zero-calendar',\n}"
2796
+ },
2797
+ {
2798
+ "kind": "variable",
2799
+ "name": "Primary",
2800
+ "type": {
2801
+ "text": "StoryObj"
2802
+ },
2803
+ "default": "{\n args: {},\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-calendar\n id=\"zCalendar\"\n month=\"${new Date().getMonth() + 1}\"\n year=\"${new Date().getFullYear()}\"\n month-format=\"short\"\n weekday-format=\"narrow\"\n disabled-dates=\"${new Date().getMonth() + 1}-${new Date().getDate() > 1\n ? new Date().getDate() - 1\n : new Date().getDate() + 2}-${new Date().getFullYear()}\"\n selected-dates=\"${new Date().getMonth() +\n 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n <div\n slot=\"${new Date().getMonth() + 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n Test slot\n </div>\n </zero-calendar>\n </div>\n `,\n}"
2804
+ }
2805
+ ],
2806
+ "exports": [
2807
+ {
2808
+ "kind": "js",
2809
+ "name": "default",
2810
+ "declaration": {
2811
+ "name": "meta",
2812
+ "module": "src/calendar/calendar.stories.ts"
2813
+ }
2814
+ },
2815
+ {
2816
+ "kind": "js",
2817
+ "name": "Primary",
2818
+ "declaration": {
2819
+ "name": "Primary",
2820
+ "module": "src/calendar/calendar.stories.ts"
2821
+ }
2822
+ }
2823
+ ]
2824
+ },
2825
+ {
2826
+ "kind": "javascript-module",
2827
+ "path": "src/calendar/calendar.styles.ts",
2828
+ "declarations": [
2829
+ {
2830
+ "kind": "function",
2831
+ "name": "zeroCalendarStyles",
2832
+ "return": {
2833
+ "type": {
2834
+ "text": "ElementStyles"
2835
+ }
2836
+ }
2837
+ }
2838
+ ],
2839
+ "exports": [
2840
+ {
2841
+ "kind": "js",
2842
+ "name": "zeroCalendarStyles",
2843
+ "declaration": {
2844
+ "name": "zeroCalendarStyles",
2845
+ "module": "src/calendar/calendar.styles.ts"
2846
+ }
2847
+ }
2848
+ ]
2849
+ },
2850
+ {
2851
+ "kind": "javascript-module",
2852
+ "path": "src/calendar/calendar.template.ts",
2853
+ "declarations": [
2854
+ {
2855
+ "kind": "function",
2856
+ "name": "zeroCalendarTemplate",
2857
+ "return": {
2858
+ "type": {
2859
+ "text": "ViewTemplate<Calendar>"
2860
+ }
2861
+ },
2862
+ "parameters": [
2863
+ {
2864
+ "name": "context",
2865
+ "type": {
2866
+ "text": "ElementDefinitionContext"
2867
+ }
2868
+ },
2869
+ {
2870
+ "name": "definition",
2871
+ "type": {
2872
+ "text": "FoundationElementDefinition"
2873
+ }
2874
+ }
2875
+ ]
2876
+ }
2877
+ ],
2878
+ "exports": [
2879
+ {
2880
+ "kind": "js",
2881
+ "name": "zeroCalendarTemplate",
2882
+ "declaration": {
2883
+ "name": "zeroCalendarTemplate",
2884
+ "module": "src/calendar/calendar.template.ts"
2885
+ }
2886
+ }
2887
+ ]
2888
+ },
2889
+ {
2890
+ "kind": "javascript-module",
2891
+ "path": "src/calendar/calendar.ts",
2892
+ "declarations": [
2893
+ {
2894
+ "kind": "class",
2895
+ "description": "",
2896
+ "name": "Calendar",
2897
+ "superclass": {
2898
+ "name": "FoundationCalendar",
2899
+ "package": "@genesislcap/foundation-ui"
2900
+ },
2901
+ "tagName": "%%prefix%%-calendar",
2902
+ "customElement": true
2903
+ },
2904
+ {
2905
+ "kind": "variable",
2906
+ "name": "zeroCalendar"
2907
+ }
2908
+ ],
2909
+ "exports": [
2910
+ {
2911
+ "kind": "js",
2912
+ "name": "Calendar",
2913
+ "declaration": {
2914
+ "name": "Calendar",
2915
+ "module": "src/calendar/calendar.ts"
2916
+ }
2917
+ },
2918
+ {
2919
+ "kind": "js",
2920
+ "name": "zeroCalendar",
2921
+ "declaration": {
2922
+ "name": "zeroCalendar",
2923
+ "module": "src/calendar/calendar.ts"
2924
+ }
2925
+ }
2926
+ ]
2927
+ },
2928
+ {
2929
+ "kind": "javascript-module",
2930
+ "path": "src/calendar/index.ts",
2931
+ "declarations": [],
2932
+ "exports": [
2933
+ {
2934
+ "kind": "js",
2935
+ "name": "*",
2936
+ "declaration": {
2937
+ "name": "*",
2938
+ "package": "./calendar"
2939
+ }
2940
+ },
2941
+ {
2942
+ "kind": "js",
2943
+ "name": "*",
2944
+ "declaration": {
2945
+ "name": "*",
2946
+ "package": "./calendar.styles"
2947
+ }
2948
+ },
2949
+ {
2950
+ "kind": "js",
2951
+ "name": "*",
2952
+ "declaration": {
2953
+ "name": "*",
2954
+ "package": "./calendar.template"
2955
+ }
2956
+ }
2957
+ ]
2958
+ },
2777
2959
  {
2778
2960
  "kind": "javascript-module",
2779
2961
  "path": "src/card/card.stories.ts",
@@ -21,6 +21,7 @@ export declare const baseComponents: {
21
21
  zeroBreadcrumbItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").BreadcrumbItemOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").BreadcrumbItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
22
22
  zeroBreadcrumb: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./breadcrumb").Breadcrumb>;
23
23
  zeroButton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./button").Button>;
24
+ zeroCalendar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./calendar").Calendar>;
24
25
  zeroCard: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./card").Card>;
25
26
  zeroCheckbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").CheckboxOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").CheckboxOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
26
27
  zeroCombobox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./combobox").Combobox>;
@@ -1 +1 @@
1
- {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAoE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAmEJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
1
+ {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAqE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAoEJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Calendar as FoundationCalendar } from '@genesislcap/foundation-ui';
2
+ /**
3
+ * @tagname %%prefix%%-calendar
4
+ */
5
+ export declare class Calendar extends FoundationCalendar {
6
+ }
7
+ export declare const zeroCalendar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Calendar>;
8
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,kBAAkB,EAG/B,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,QAAS,SAAQ,kBAAkB;CAAG;AAEnD,eAAO,MAAM,YAAY,wTAMvB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Meta, StoryObj } from '@storybook/web-components';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const Primary: StoryObj;
5
+ //# sourceMappingURL=calendar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.stories.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,EAAE,QAwBrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ElementStyles } from '@microsoft/fast-element';
2
+ export declare const zeroCalendarStyles: () => ElementStyles;
3
+ //# sourceMappingURL=calendar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.styles.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,kBAAkB,QAAO,aAErC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ViewTemplate } from '@microsoft/fast-element';
2
+ import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
3
+ import type { Calendar } from './calendar';
4
+ export declare const zeroCalendarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Calendar>;
5
+ //# sourceMappingURL=calendar.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.template.d.ts","sourceRoot":"","sources":["../../../src/calendar/calendar.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,oBAAoB,YACtB,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,QAAQ,CAAoD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './calendar';
2
+ export * from './calendar.styles';
3
+ export * from './calendar.template';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/calendar/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -15,6 +15,7 @@ export * from './banner';
15
15
  export * from './breadcrumb-item';
16
16
  export * from './breadcrumb';
17
17
  export * from './button';
18
+ export * from './calendar';
18
19
  export * from './card';
19
20
  export * from './checkbox';
20
21
  export * from './combobox';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cA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CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -10,6 +10,7 @@ import { zeroBanner } from './banner';
10
10
  import { zeroBreadcrumb } from './breadcrumb';
11
11
  import { zeroBreadcrumbItem } from './breadcrumb-item';
12
12
  import { zeroButton } from './button';
13
+ import { zeroCalendar } from './calendar';
13
14
  import { zeroCard } from './card';
14
15
  import { zeroCheckbox } from './checkbox';
15
16
  import { zeroCombobox } from './combobox';
@@ -77,6 +78,7 @@ export const baseComponents = {
77
78
  zeroBreadcrumbItem,
78
79
  zeroBreadcrumb,
79
80
  zeroButton,
81
+ zeroCalendar,
80
82
  zeroCard,
81
83
  zeroCheckbox,
82
84
  zeroCombobox,
@@ -0,0 +1,10 @@
1
+ import { Calendar as FoundationCalendar, defaultCalendarConfig, foundationCalendarShadowOptions, } from '@genesislcap/foundation-ui';
2
+ import { zeroCalendarStyles as styles } from './calendar.styles';
3
+ import { zeroCalendarTemplate as template } from './calendar.template';
4
+ /**
5
+ * @tagname %%prefix%%-calendar
6
+ */
7
+ export class Calendar extends FoundationCalendar {
8
+ }
9
+ export const zeroCalendar = Calendar.compose(Object.assign({ baseName: 'calendar', template,
10
+ styles, shadowOptions: foundationCalendarShadowOptions }, defaultCalendarConfig));
@@ -0,0 +1,32 @@
1
+ import { html } from 'lit-html';
2
+ const meta = {
3
+ title: 'Calendar',
4
+ component: 'zero-calendar',
5
+ };
6
+ export default meta;
7
+ const wrapperStyle = 'height: 400px; width: 100%;';
8
+ export const Primary = {
9
+ args: {},
10
+ render: () => html `
11
+ <div style="${wrapperStyle}">
12
+ <zero-calendar
13
+ id="zCalendar"
14
+ month="${new Date().getMonth() + 1}"
15
+ year="${new Date().getFullYear()}"
16
+ month-format="short"
17
+ weekday-format="narrow"
18
+ disabled-dates="${new Date().getMonth() + 1}-${new Date().getDate() > 1
19
+ ? new Date().getDate() - 1
20
+ : new Date().getDate() + 2}-${new Date().getFullYear()}"
21
+ selected-dates="${new Date().getMonth() +
22
+ 1}-${new Date().getDate()}-${new Date().getFullYear()}"
23
+ >
24
+ <div
25
+ slot="${new Date().getMonth() + 1}-${new Date().getDate()}-${new Date().getFullYear()}"
26
+ >
27
+ Test slot
28
+ </div>
29
+ </zero-calendar>
30
+ </div>
31
+ `,
32
+ };
@@ -0,0 +1,5 @@
1
+ import { foundationCalendarStyles } from '@genesislcap/foundation-ui';
2
+ import { css } from '@microsoft/fast-element';
3
+ export const zeroCalendarStyles = () => css `
4
+ ${foundationCalendarStyles()}
5
+ `;
@@ -0,0 +1,2 @@
1
+ import { foundationCalendarTemplate } from '@genesislcap/foundation-ui';
2
+ export const zeroCalendarTemplate = (context, definition) => foundationCalendarTemplate(context, definition);
@@ -0,0 +1,3 @@
1
+ export * from './calendar';
2
+ export * from './calendar.styles';
3
+ export * from './calendar.template';
package/dist/esm/index.js CHANGED
@@ -15,6 +15,7 @@ export * from './banner';
15
15
  export * from './breadcrumb-item';
16
16
  export * from './breadcrumb';
17
17
  export * from './button';
18
+ export * from './calendar';
18
19
  export * from './card';
19
20
  export * from './checkbox';
20
21
  export * from './combobox';
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.64.3",
4
+ "version": "14.65.0",
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.64.3",
65
+ "@genesislcap/genx": "14.65.0",
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.64.3",
79
- "@genesislcap/foundation-ui": "14.64.3",
80
- "@genesislcap/foundation-utils": "14.64.3",
78
+ "@genesislcap/foundation-comms": "14.65.0",
79
+ "@genesislcap/foundation-ui": "14.65.0",
80
+ "@genesislcap/foundation-utils": "14.65.0",
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": "7de5fa539938ec53549485836dc16288c78607a8"
97
+ "gitHead": "127bc648c049b8ed12d259fd8f6cf861b309e575"
98
98
  }