@instructure/ui-calendar 11.6.0 → 11.6.1-snapshot-129

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.
Files changed (95) hide show
  1. package/CHANGELOG.md +36 -286
  2. package/es/Calendar/{Day → v1/Day}/index.js +2 -2
  3. package/es/Calendar/{index.js → v1/index.js} +4 -4
  4. package/es/Calendar/v2/Day/index.js +148 -0
  5. package/{src/index.ts → es/Calendar/v2/Day/props.js} +2 -4
  6. package/es/Calendar/v2/Day/styles.js +78 -0
  7. package/es/Calendar/v2/index.js +407 -0
  8. package/es/Calendar/v2/props.js +26 -0
  9. package/es/Calendar/v2/styles.js +66 -0
  10. package/es/{index.js → exports/a.js} +2 -2
  11. package/es/exports/b.js +25 -0
  12. package/lib/Calendar/{Day → v1/Day}/index.js +4 -4
  13. package/lib/Calendar/{index.js → v1/index.js} +12 -12
  14. package/lib/Calendar/v2/Day/index.js +155 -0
  15. package/lib/Calendar/v2/Day/props.js +31 -0
  16. package/lib/Calendar/v2/Day/styles.js +84 -0
  17. package/lib/Calendar/v2/index.js +416 -0
  18. package/lib/Calendar/v2/props.js +31 -0
  19. package/lib/Calendar/v2/styles.js +72 -0
  20. package/lib/{index.js → exports/a.js} +3 -3
  21. package/lib/exports/b.js +19 -0
  22. package/package.json +45 -23
  23. package/src/Calendar/{Day → v1/Day}/index.tsx +3 -3
  24. package/src/Calendar/{Day → v1/Day}/props.ts +1 -1
  25. package/src/Calendar/{index.tsx → v1/index.tsx} +4 -4
  26. package/src/Calendar/v2/Day/index.tsx +176 -0
  27. package/src/Calendar/v2/Day/props.ts +126 -0
  28. package/src/Calendar/v2/Day/styles.ts +96 -0
  29. package/src/Calendar/v2/README.md +255 -0
  30. package/src/Calendar/v2/index.tsx +560 -0
  31. package/src/Calendar/v2/props.ts +207 -0
  32. package/src/Calendar/v2/styles.ts +75 -0
  33. package/src/exports/a.ts +28 -0
  34. package/src/exports/b.ts +28 -0
  35. package/tsconfig.build.tsbuildinfo +1 -1
  36. package/types/Calendar/{Day → v1/Day}/index.d.ts +1 -1
  37. package/types/Calendar/v1/Day/index.d.ts.map +1 -0
  38. package/types/Calendar/{Day → v1/Day}/props.d.ts +1 -1
  39. package/types/Calendar/v1/Day/props.d.ts.map +1 -0
  40. package/types/Calendar/v1/Day/styles.d.ts.map +1 -0
  41. package/types/Calendar/v1/Day/theme.d.ts.map +1 -0
  42. package/types/Calendar/{index.d.ts → v1/index.d.ts} +1 -1
  43. package/types/Calendar/v1/index.d.ts.map +1 -0
  44. package/types/Calendar/v1/props.d.ts.map +1 -0
  45. package/types/Calendar/v1/styles.d.ts.map +1 -0
  46. package/types/Calendar/v1/theme.d.ts.map +1 -0
  47. package/types/Calendar/v2/Day/index.d.ts +49 -0
  48. package/types/Calendar/v2/Day/index.d.ts.map +1 -0
  49. package/types/Calendar/v2/Day/props.d.ts +76 -0
  50. package/types/Calendar/v2/Day/props.d.ts.map +1 -0
  51. package/types/Calendar/v2/Day/styles.d.ts +15 -0
  52. package/types/Calendar/v2/Day/styles.d.ts.map +1 -0
  53. package/types/Calendar/v2/index.d.ts +84 -0
  54. package/types/Calendar/v2/index.d.ts.map +1 -0
  55. package/types/Calendar/v2/props.d.ts +135 -0
  56. package/types/Calendar/v2/props.d.ts.map +1 -0
  57. package/types/Calendar/v2/styles.d.ts +13 -0
  58. package/types/Calendar/v2/styles.d.ts.map +1 -0
  59. package/types/exports/a.d.ts +5 -0
  60. package/types/exports/a.d.ts.map +1 -0
  61. package/types/exports/b.d.ts +5 -0
  62. package/types/exports/b.d.ts.map +1 -0
  63. package/types/Calendar/Day/index.d.ts.map +0 -1
  64. package/types/Calendar/Day/props.d.ts.map +0 -1
  65. package/types/Calendar/Day/styles.d.ts.map +0 -1
  66. package/types/Calendar/Day/theme.d.ts.map +0 -1
  67. package/types/Calendar/index.d.ts.map +0 -1
  68. package/types/Calendar/props.d.ts.map +0 -1
  69. package/types/Calendar/styles.d.ts.map +0 -1
  70. package/types/Calendar/theme.d.ts.map +0 -1
  71. package/types/index.d.ts +0 -5
  72. package/types/index.d.ts.map +0 -1
  73. /package/es/Calendar/{Day → v1/Day}/props.js +0 -0
  74. /package/es/Calendar/{Day → v1/Day}/styles.js +0 -0
  75. /package/es/Calendar/{Day → v1/Day}/theme.js +0 -0
  76. /package/es/Calendar/{props.js → v1/props.js} +0 -0
  77. /package/es/Calendar/{styles.js → v1/styles.js} +0 -0
  78. /package/es/Calendar/{theme.js → v1/theme.js} +0 -0
  79. /package/lib/Calendar/{Day → v1/Day}/props.js +0 -0
  80. /package/lib/Calendar/{Day → v1/Day}/styles.js +0 -0
  81. /package/lib/Calendar/{Day → v1/Day}/theme.js +0 -0
  82. /package/lib/Calendar/{props.js → v1/props.js} +0 -0
  83. /package/lib/Calendar/{styles.js → v1/styles.js} +0 -0
  84. /package/lib/Calendar/{theme.js → v1/theme.js} +0 -0
  85. /package/src/Calendar/{Day → v1/Day}/styles.ts +0 -0
  86. /package/src/Calendar/{Day → v1/Day}/theme.ts +0 -0
  87. /package/src/Calendar/{README.md → v1/README.md} +0 -0
  88. /package/src/Calendar/{props.ts → v1/props.ts} +0 -0
  89. /package/src/Calendar/{styles.ts → v1/styles.ts} +0 -0
  90. /package/src/Calendar/{theme.ts → v1/theme.ts} +0 -0
  91. /package/types/Calendar/{Day → v1/Day}/styles.d.ts +0 -0
  92. /package/types/Calendar/{Day → v1/Day}/theme.d.ts +0 -0
  93. /package/types/Calendar/{props.d.ts → v1/props.d.ts} +0 -0
  94. /package/types/Calendar/{styles.d.ts → v1/styles.d.ts} +0 -0
  95. /package/types/Calendar/{theme.d.ts → v1/theme.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { Component, MouseEvent, KeyboardEvent } from 'react';
2
- import type { ViewProps } from '@instructure/ui-view';
2
+ import type { ViewProps } from '@instructure/ui-view/v11_6';
3
3
  import type { CalendarDayProps, CalendarDayStyleProps } from './props';
4
4
  /**
5
5
  ---
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v1/Day/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAc3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEtE;;;;;IAKI;AACJ,cACM,GAAI,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAKT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,mBAAmB,IAAI,qBAAqB,CAE/C;IAED,IAAI,UAAU,YAGb;IAED,IAAI,WAAW,qlEAGd;IAED,uBAAuB;IAKvB,WAAW,GAAI,OAAO,UAAU,CAAC,SAAS,GAAG,OAAO,CAAC,UAKpD;IAED,aAAa,GAAI,OAAO,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,UAKzD;IAED,gBAAgB,GAAI,IAAI,OAAO,GAAG,IAAI,UAMrC;IAED,MAAM;CA6DP;AAED,eAAe,GAAG,CAAA;AAClB,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import type { AsElementType, CalendarDayTheme, OtherHTMLAttributes } from '@instructure/shared-types';
2
2
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
3
  import { KeyboardEvent, MouseEvent } from 'react';
4
- import type { ViewProps } from '@instructure/ui-view';
4
+ import type { ViewProps } from '@instructure/ui-view/v11_6';
5
5
  import { Renderable } from '@instructure/shared-types';
6
6
  type CalendarDayOwnProps = {
7
7
  /**
@@ -0,0 +1 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aAAa,CAAA;CACnB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC3B,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,gBAAgB,GAAG,mBAAmB,GACzC,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClD,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,KAAK,gBAAgB,GAAG,cAAc,CAAC,aAAa,GAAG,KAAK,CAAC,CAAA;AAC7D,QAAA,MAAM,YAAY,EAAE,eAYnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v1/Day/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,gBAAgB,EAChC,OAAO,gBAAgB,EACvB,OAAO,qBAAqB,KAC3B,gBA+CF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v1/Day/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,gBAiC9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -20,7 +20,7 @@ declare class Calendar extends Component<CalendarProps, CalendarState> {
20
20
  static DAY_COUNT: number;
21
21
  static allowedProps: readonly (keyof {
22
22
  as?: import("@instructure/shared-types").AsElementType;
23
- children?: ReactElement<import("..").CalendarDayProps>[];
23
+ children?: ReactElement<import("./Day/props").CalendarDayProps>[];
24
24
  currentDate?: string;
25
25
  disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
26
26
  locale?: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Calendar/v1/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAerE,OAAO,EAAoB,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAKlD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAG3B,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAUtD;;;;GAIG;AACH,cAEM,QAAS,SAAQ,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAC5D,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAEhC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;IAC7D,MAAM,CAAC,WAAW;;;OAAqB;IACvC,MAAM,CAAC,GAAG,aAAM;IAChB,MAAM,CAAC,SAAS,SAAK;IAErB,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;+BA2IJ,CAAC;;;;SA3IkB;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAC1B,OAAO,CAAC,iBAA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B,OAAO,aAAa,KACnB,aAiCF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/Calendar/v1/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,aA4B9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -0,0 +1,49 @@
1
+ import { Component, MouseEvent, KeyboardEvent } from 'react';
2
+ import type { ViewProps } from '@instructure/ui-view/latest';
3
+ import type { CalendarDayProps, CalendarDayStyleProps } from './props';
4
+ /**
5
+ ---
6
+ parent: Calendar
7
+ id: Calendar.Day
8
+ ---
9
+ **/
10
+ declare class Day extends Component<CalendarDayProps> {
11
+ static readonly componentId = "Calendar.Day";
12
+ static allowedProps: readonly (keyof {
13
+ children?: import("@instructure/shared-types").Renderable;
14
+ date: string;
15
+ label: string;
16
+ interaction?: "enabled" | "disabled";
17
+ isSelected?: boolean;
18
+ isToday?: boolean;
19
+ isOutsideMonth?: boolean;
20
+ onClick?: (event: MouseEvent<ViewProps & Element>, date: {
21
+ date: string;
22
+ }) => void;
23
+ onKeyDown?: (event: KeyboardEvent<ViewProps & Element>, data: {
24
+ date: string;
25
+ }) => void;
26
+ elementRef?: (element: Element | null) => void;
27
+ as?: import("@instructure/shared-types").AsElementType;
28
+ })[];
29
+ static defaultProps: {
30
+ readonly interaction: "enabled";
31
+ readonly isSelected: false;
32
+ readonly isToday: false;
33
+ readonly isOutsideMonth: false;
34
+ };
35
+ ref: Element | null;
36
+ componentDidMount(): void;
37
+ componentDidUpdate(): void;
38
+ get makeStylesVariables(): CalendarDayStyleProps;
39
+ get isDisabled(): boolean;
40
+ get elementType(): "symbol" | "object" | "view" | "cite" | "data" | "form" | "label" | "pattern" | "span" | "summary" | "slot" | "style" | "title" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "code" | "col" | "colgroup" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "script" | "section" | "select" | "small" | "source" | "strong" | "sub" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ComponentClass<Readonly<CalendarDayProps>, any> | import("react").FunctionComponent<Readonly<CalendarDayProps>>;
41
+ shouldApplyAriaSelected(): boolean;
42
+ handleClick: (event: MouseEvent<ViewProps & Element>) => void;
43
+ handleKeyDown: (event: KeyboardEvent<ViewProps & Element>) => void;
44
+ handleElementRef: (el: Element | null) => void;
45
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
46
+ }
47
+ export default Day;
48
+ export { Day };
49
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v2/Day/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAa5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEtE;;;;;IAKI;AACJ,cACM,GAAI,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAKT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,mBAAmB,IAAI,qBAAqB,CAE/C;IAED,IAAI,UAAU,YAGb;IAED,IAAI,WAAW,qlEAGd;IAED,uBAAuB;IAKvB,WAAW,GAAI,OAAO,UAAU,CAAC,SAAS,GAAG,OAAO,CAAC,UAKpD;IAED,aAAa,GAAI,OAAO,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,UAKzD;IAED,gBAAgB,GAAI,IAAI,OAAO,GAAG,IAAI,UAMrC;IAED,MAAM;CA6DP;AAED,eAAe,GAAG,CAAA;AAClB,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -0,0 +1,76 @@
1
+ import type { AsElementType, CalendarDayTheme, OtherHTMLAttributes } from '@instructure/shared-types';
2
+ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
+ import { KeyboardEvent, MouseEvent } from 'react';
4
+ import type { ViewProps } from '@instructure/ui-view/latest';
5
+ import { Renderable } from '@instructure/shared-types';
6
+ type CalendarDayOwnProps = {
7
+ /**
8
+ * The rendered representation of the corresponding date.
9
+ */
10
+ children?: Renderable;
11
+ /**
12
+ * An ISO 8601 formatted string representing the date corresponding to
13
+ * this `<Calendar.Day />`
14
+ */
15
+ date: string;
16
+ /**
17
+ * Accessible label to provide more context for the date to assistive
18
+ * technologies. This should consist of more than just a numerical date value.
19
+ * It should also include the month and the year. Ex. instead of just `1`,
20
+ * provide `1 August 2019`.
21
+ */
22
+ label: string;
23
+ /**
24
+ * Is the `<Calendar.Day />` disabled
25
+ */
26
+ interaction?: 'enabled' | 'disabled';
27
+ /**
28
+ * Is the `<Calendar.Day />` selected
29
+ */
30
+ isSelected?: boolean;
31
+ /**
32
+ * Is the `<Calendar.Day />` today
33
+ */
34
+ isToday?: boolean;
35
+ /**
36
+ * Is the `<Calendar.Day />` located outside the current rendered month
37
+ */
38
+ isOutsideMonth?: boolean;
39
+ /**
40
+ * Callback fired on click.
41
+ * @param {Object} event - the click event
42
+ * @param {Object} data - additional data
43
+ * @param data.date - the date of the corresponding `<Calendar.Day />`
44
+ */
45
+ onClick?: (event: MouseEvent<ViewProps & Element>, date: {
46
+ date: string;
47
+ }) => void;
48
+ /**
49
+ * Callback fired on key down.
50
+ * @param {Object} event - the key down event
51
+ * @param {Object} data - additional data
52
+ * @param data.date - the date of the corresponding `<Calendar.Day />`
53
+ */
54
+ onKeyDown?: (event: KeyboardEvent<ViewProps & Element>, data: {
55
+ date: string;
56
+ }) => void;
57
+ /**
58
+ * A ref function for the underlying DOM element.
59
+ */
60
+ elementRef?: (element: Element | null) => void;
61
+ /**
62
+ * the element type to render as
63
+ */
64
+ as?: AsElementType;
65
+ };
66
+ type CalendarDayStyleProps = {
67
+ isDisabled: boolean;
68
+ };
69
+ type PropKeys = keyof CalendarDayOwnProps;
70
+ type AllowedPropKeys = Readonly<Array<PropKeys>>;
71
+ type CalendarDayProps = CalendarDayOwnProps & WithStyleProps<CalendarDayTheme, CalendarDayStyle> & OtherHTMLAttributes<CalendarDayOwnProps>;
72
+ type CalendarDayStyle = ComponentStyle<'calendarDay' | 'day'>;
73
+ declare const allowedProps: AllowedPropKeys;
74
+ export type { CalendarDayProps, CalendarDayStyleProps, CalendarDayStyle };
75
+ export { allowedProps };
76
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v2/Day/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,OAAO,CAAC,EACtC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KACnB,IAAI,CAAA;IACT;;;;;OAKG;IACH,SAAS,CAAC,EAAE,CACV,KAAK,EAAE,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,EACzC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KACnB,IAAI,CAAA;IACT;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;CACnB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC3B,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,gBAAgB,GAAG,mBAAmB,GACzC,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClD,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,KAAK,gBAAgB,GAAG,cAAc,CAAC,aAAa,GAAG,KAAK,CAAC,CAAA;AAC7D,QAAA,MAAM,YAAY,EAAE,eAYnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,15 @@
1
+ import type { NewComponentTypes, SharedTokens } from '@instructure/ui-themes';
2
+ import type { CalendarDayProps, CalendarDayStyleProps, CalendarDayStyle } from './props';
3
+ /**
4
+ * ---
5
+ * private: true
6
+ * ---
7
+ * Generates the style object from the theme and provided additional information
8
+ * @param {Object} componentTheme The theme variable object.
9
+ * @param {Object} props the props of the component, the style is applied to
10
+ * @param {Object} state the state of the component, the style is applied to
11
+ * @return {Object} The final style object, which will be used in the component
12
+ */
13
+ declare const generateStyle: (componentTheme: NewComponentTypes["CalendarDay"], props: CalendarDayProps, _sharedTokens: SharedTokens, state: CalendarDayStyleProps) => CalendarDayStyle;
14
+ export default generateStyle;
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/Calendar/v2/Day/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,iBAAiB,CAAC,aAAa,CAAC,EAChD,OAAO,gBAAgB,EACvB,eAAe,YAAY,EAC3B,OAAO,qBAAqB,KAC3B,gBA+CF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,84 @@
1
+ import { Component, ReactElement, MouseEvent } from 'react';
2
+ import { ApplyLocaleContext } from '@instructure/ui-i18n';
3
+ import type { Moment } from '@instructure/ui-i18n';
4
+ import { Day } from './Day';
5
+ import type { CalendarProps, CalendarState } from './props';
6
+ import { Renderable } from '@instructure/shared-types';
7
+ /**
8
+ ---
9
+ category: components
10
+ ---
11
+ **/
12
+ declare class Calendar extends Component<CalendarProps, CalendarState> {
13
+ static readonly componentId = "Calendar";
14
+ context: React.ContextType<typeof ApplyLocaleContext>;
15
+ static contextType: import("react").Context<{
16
+ locale?: string;
17
+ timezone?: string;
18
+ }>;
19
+ static Day: typeof Day;
20
+ static DAY_COUNT: number;
21
+ static allowedProps: readonly (keyof {
22
+ as?: import("@instructure/shared-types").AsElementType;
23
+ children?: ReactElement<import("./Day/props").CalendarDayProps>[];
24
+ currentDate?: string;
25
+ disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
26
+ locale?: string;
27
+ onDateSelected?: (dateString: string, momentDate: Moment, e: React.MouseEvent) => void;
28
+ onRequestRenderNextMonth?: (e: React.MouseEvent, requestedMonth: string) => void;
29
+ onRequestRenderPrevMonth?: (e: React.MouseEvent, requestedMonth: string) => void;
30
+ renderNavigationLabel?: Renderable;
31
+ renderNextMonthButton?: Renderable;
32
+ renderPrevMonthButton?: Renderable;
33
+ renderWeekdayLabels?: Renderable[];
34
+ role?: "table" | "listbox";
35
+ selectedDate?: string;
36
+ timezone?: string;
37
+ visibleMonth?: string;
38
+ withYearPicker?: {
39
+ screenReaderLabel: string;
40
+ onRequestYearChange?: (e: any, requestedYear: number) => void;
41
+ startYear: number;
42
+ endYear: number;
43
+ };
44
+ })[];
45
+ static defaultProps: {
46
+ as: string;
47
+ role: string;
48
+ };
49
+ ref: Element | null;
50
+ private _weekdayHeaderIds;
51
+ constructor(props: CalendarProps);
52
+ handleRef: (el: Element | null) => void;
53
+ componentDidMount(): void;
54
+ componentDidUpdate(prevProps: CalendarProps): void;
55
+ calculateState: (locale: string, timezone: string, currentDate?: string) => {
56
+ visibleMonth: Moment;
57
+ today: Moment;
58
+ };
59
+ get role(): "listbox" | undefined;
60
+ get hasPrevMonth(): boolean;
61
+ get hasNextMonth(): boolean;
62
+ renderMonthNavigationButtons: () => {
63
+ prevButton: any;
64
+ nextButton: any;
65
+ };
66
+ handleMonthChange: (direction: "prev" | "next") => (e: React.MouseEvent) => void;
67
+ handleYearChange: (e: React.SyntheticEvent<Element, Event>, year: string) => void;
68
+ renderHeader(): import("@emotion/react/jsx-runtime").JSX.Element;
69
+ renderBody(): import("@emotion/react/jsx-runtime").JSX.Element;
70
+ renderWeekdayHeaders(): import("@emotion/react/jsx-runtime").JSX.Element;
71
+ get defaultWeekdays(): Renderable<never>[];
72
+ renderDays(): import("@emotion/react/jsx-runtime").JSX.Element[];
73
+ locale(): string;
74
+ timezone(): string;
75
+ handleDayClick: (event: MouseEvent<any>, { date }: {
76
+ date: string;
77
+ }) => void;
78
+ isDisabledDate(date: Moment): boolean;
79
+ renderDefaultdays(): import("@emotion/react/jsx-runtime").JSX.Element[];
80
+ render(): import("@emotion/react/jsx-runtime").JSX.Element;
81
+ }
82
+ export default Calendar;
83
+ export { Calendar };
84
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Calendar/v2/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAerE,OAAO,EAAoB,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAIlD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAG3B,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAUtD;;;;GAIG;AACH,cAEM,QAAS,SAAQ,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAC5D,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAEhC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;IAC7D,MAAM,CAAC,WAAW;;;OAAqB;IACvC,MAAM,CAAC,GAAG,aAAM;IAChB,MAAM,CAAC,SAAS,SAAK;IAErB,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;+BA6IgC,CAAC;;;;SA7IlB;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAC1B,OAAO,CAAC,iBAAiB,CAAA;gBAEb,KAAK,EAAE,aAAa;IAchC,SAAS,GAAI,IAAI,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB,CAAC,SAAS,EAAE,aAAa;IAqB3C,cAAc,GAAI,QAAQ,MAAM,EAAE,UAAU,MAAM,EAAE,cAAc,MAAM;;;MAWvE;IAED,IAAI,IAAI,0BAEP;IAED,IAAI,YAAY,YAcf;IAED,IAAI,YAAY,YAcf;IAED,4BAA4B;;;MA2B3B;IAED,iBAAiB,GAAI,WAAW,MAAM,GAAG,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,UA8BvE;IAED,gBAAgB,GACd,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,EACvC,MAAM,MAAM,UAgBb;IAED,YAAY;IAsFZ,UAAU;IASV,oBAAoB;IA2BpB,IAAI,eAAe,IA+BZ,UAAU,CAAC,KAAK,CAAC,EAAE,CACzB;IAED,UAAU;IAmCV,MAAM,IAAI,MAAM;IAShB,QAAQ;IAUR,cAAc,GAAI,OAAO,UAAU,CAAC,GAAG,CAAC,EAAE,UAAU;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,UAKnE;IAED,cAAc,CAAC,IAAI,EAAE,MAAM;IAgB3B,iBAAiB;IA+CjB,MAAM;CAqBP;AAED,eAAe,QAAQ,CAAA;AACvB,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,135 @@
1
+ import type { AsElementType, CalendarTheme, OtherHTMLAttributes } from '@instructure/shared-types';
2
+ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
+ import { ReactElement } from 'react';
4
+ import type { CalendarDayProps } from './Day/props';
5
+ import { Renderable } from '@instructure/shared-types';
6
+ import type { Moment } from '@instructure/ui-i18n';
7
+ import type { WithDeterministicIdProps } from '@instructure/ui-react-utils';
8
+ type CalendarOwnProps = {
9
+ /**
10
+ * The element to render as the `Calendar` root, `span` by default
11
+ */
12
+ as?: AsElementType;
13
+ /**
14
+ * children of type `<Calendar.Day />` There should be exactly 42 provided (6
15
+ * weeks).
16
+ */
17
+ children?: ReactElement<CalendarDayProps>[];
18
+ /**
19
+ * ISO date string for the current date if necessary. Defaults to the current
20
+ * date in the user's timezone.
21
+ */
22
+ currentDate?: string;
23
+ disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
24
+ /**
25
+ * A standard language identifier.
26
+ *
27
+ * See [Moment.js](https://momentjs.com/timezone/docs/#/using-timezones/parsing-in-zone/) for
28
+ * more details.
29
+ *
30
+ * This property can also be set via a context property and if both are set
31
+ * then the component property takes precedence over the context property.
32
+ *
33
+ * The web browser's locale will be used if no value is set via a component
34
+ * property or a context property.
35
+ **/
36
+ locale?: string;
37
+ /**
38
+ * Callback fired when a day has been selected.
39
+ */
40
+ onDateSelected?: (dateString: string, momentDate: Moment, e: React.MouseEvent) => void;
41
+ /**
42
+ * Callback fired when the next month button is clicked in the navigation
43
+ * header, requesting to render the next month.
44
+ */
45
+ onRequestRenderNextMonth?: (e: React.MouseEvent, requestedMonth: string) => void;
46
+ /**
47
+ * Callback fired when the previous month button is clicked in the navigation
48
+ * header, requesting to render the previous month.
49
+ */
50
+ onRequestRenderPrevMonth?: (e: React.MouseEvent, requestedMonth: string) => void;
51
+ /**
52
+ * Content to render in the navigation header. The recommendation is to include
53
+ * the name of the current rendered month along with the year.
54
+ */
55
+ renderNavigationLabel?: Renderable;
56
+ /**
57
+ * A button to render in the navigation header. The recommendation is to
58
+ * compose it with the [IconButton](IconButton) component by setting the `size`
59
+ * prop to `small`, `withBorder` and `withBackground` to `false`, and setting
60
+ * `renderIcon` to [IconArrowOpenEnd](icons).
61
+ */
62
+ renderNextMonthButton?: Renderable;
63
+ /**
64
+ * A button to render in the navigation header. The recommendation is to
65
+ * compose it with the [IconButton](Button) component by setting the `size`
66
+ * prop to `small`, `withBorder` and `withBackground` to `false`, and setting
67
+ * `renderIcon` to [IconArrowOpenStart](icons).
68
+ */
69
+ renderPrevMonthButton?: Renderable;
70
+ /**
71
+ * An array of labels containing the name of each day of the week. The visible
72
+ * portion of the label should be abbreviated (no longer than three characters).
73
+ * Note that screen readers will read this content preceding each date as the
74
+ * `<Calendar />` is navigated. Consider using
75
+ * [AccessibleContent](AccessibleContent) with the `alt` prop containing the
76
+ * full day name for assistive technologies and the children containing the
77
+ * abbreviation. ex. `[<AccessibleContent alt="Sunday">Sun</AccessibleContent>, ...]`
78
+ */
79
+ renderWeekdayLabels?: Renderable[];
80
+ /**
81
+ * The role of the underlying table. This can be set to 'listbox' when
82
+ * assistive technologies need to read the `<Calendar.Day />` children as a list.
83
+ */
84
+ role?: 'table' | 'listbox';
85
+ /**
86
+ * ISO date string for the selected date. It needs onDateSelected to be specified too.
87
+ */
88
+ selectedDate?: string;
89
+ /**
90
+ * A timezone identifier in the format: *Area/Location*
91
+ *
92
+ * See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the list
93
+ * of possible options.
94
+ *
95
+ * This property can also be set via a context property and if both are set
96
+ * then the component property takes precedence over the context property.
97
+ *
98
+ * The web browser's timezone will be used if no value is set via a component
99
+ * property or a context property.
100
+ */
101
+ timezone?: string;
102
+ /**
103
+ * Visible month for the rendered calendar. Formatted as an ISO date string.
104
+ */
105
+ visibleMonth?: string;
106
+ /**
107
+ * If set, years can be picked from a dropdown.
108
+ * It accepts an object.
109
+ * screenReaderLabel: string // e.g.: i18n("pick a year")
110
+ *
111
+ * onRequestYearChange?:(e: React.MouseEvent,requestedYear: number): void // if set, on year change, only this will be called and no internal change will take place
112
+ *
113
+ * startYear: number // e.g.: 2001, sets the start year of the selectable list
114
+ *
115
+ * endYear: number // e.g.: 2030, sets the end year of the selectable list
116
+ */
117
+ withYearPicker?: {
118
+ screenReaderLabel: string;
119
+ onRequestYearChange?: (e: any, requestedYear: number) => void;
120
+ startYear: number;
121
+ endYear: number;
122
+ };
123
+ };
124
+ type PropKeys = keyof CalendarOwnProps;
125
+ type AllowedPropKeys = Readonly<Array<PropKeys>>;
126
+ type CalendarProps = CalendarOwnProps & WithStyleProps<CalendarTheme, CalendarStyle> & OtherHTMLAttributes<CalendarOwnProps> & WithDeterministicIdProps;
127
+ type CalendarStyle = ComponentStyle<'navigation' | 'navigationWithButtons' | 'weekdayHeader' | 'yearPicker'>;
128
+ declare const allowedProps: AllowedPropKeys;
129
+ type CalendarState = {
130
+ visibleMonth: Moment;
131
+ today: Moment;
132
+ };
133
+ export type { CalendarProps, CalendarStyle, CalendarState };
134
+ export { allowedProps };
135
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Calendar/v2/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAE3E,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,gBAAgB,CAAC,EAAE,CAAA;IAC3C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAMpB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,CAAA;IAChE;;;;;;;;;;;QAWI;IACJ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,CACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,CAAC,EAAE,KAAK,CAAC,UAAU,KAChB,IAAI,CAAA;IACT;;;OAGG;IACH,wBA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AG,YAAY,CACxE,CAAA;AACD,QAAA,MAAM,YAAY,EAAE,eAiBnB,CAAA;AAED,KAAK,aAAa,GAAG;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { NewComponentTypes } from '@instructure/ui-themes';
2
+ import type { CalendarStyle, CalendarProps } from './props';
3
+ /**
4
+ * ---
5
+ * private: true
6
+ * ---
7
+ * Generates the style object from the theme and provided additional information
8
+ * @param {Object} componentTheme The theme variable object.
9
+ * @return {Object} The final style object, which will be used in the component
10
+ */
11
+ declare const generateStyle: (componentTheme: NewComponentTypes["Calendar"], props: CalendarProps) => CalendarStyle;
12
+ export default generateStyle;
13
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Calendar/v2/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE3D;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAC7C,OAAO,aAAa,KACnB,aAkCF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ export { Calendar } from '../Calendar/v1';
2
+ export { Day as CalendarDay } from '../Calendar/v1/Day';
3
+ export type { CalendarProps } from '../Calendar/v1/props';
4
+ export type { CalendarDayProps } from '../Calendar/v1/Day/props';
5
+ //# sourceMappingURL=a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../../src/exports/a.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEvD,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA"}
@@ -0,0 +1,5 @@
1
+ export { Calendar } from '../Calendar/v2';
2
+ export { Day as CalendarDay } from '../Calendar/v2/Day';
3
+ export type { CalendarProps } from '../Calendar/v2/props';
4
+ export type { CalendarDayProps } from '../Calendar/v2/Day/props';
5
+ //# sourceMappingURL=b.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/exports/b.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEvD,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Day/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAcrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEtE;;;;;IAKI;AACJ,cACM,GAAI,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAKT;IAEV,GAAG,EAAE,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;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,gBAAgB,EAChC,OAAO,gBAAgB,EACvB,OAAO,qBAAqB,KAC3B,gBA+CF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Day/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,gBAiC9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Calendar/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAerE,OAAO,EAAoB,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAKlD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAG3B,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAUtD;;;;GAIG;AACH,cAEM,QAAS,SAAQ,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IAC5D,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAEhC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;IAC7D,MAAM,CAAC,WAAW;;;OAAqB;IACvC,MAAM,CAAC,GAAG,aAAM;IAChB,MAAM,CAAC,SAAS,SAAK;IAErB,MAAM,CAAC,YAAY;;;;;;;;;;;;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AAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE3D;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,aAAa,EAC7B,OAAO,aAAa,KACnB,aAiCF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/Calendar/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,aA4B9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
package/types/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export { Calendar } from './Calendar';
2
- export { Day as CalendarDay } from './Calendar/Day';
3
- export type { CalendarProps } from './Calendar/props';
4
- export type { CalendarDayProps } from './Calendar/Day/props';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEnD,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes