@midas-ds/components 17.26.0 → 17.27.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/assets/calendar.css +1 -1
  3. package/assets/list-box.css +1 -1
  4. package/assets/select.css +1 -1
  5. package/calendar/Calendar.d.ts +8 -1
  6. package/calendar/Calendar.stories.d.ts +2 -1
  7. package/calendar/CalendarGrid.d.ts +1 -2
  8. package/calendar/CalendarHeader.d.ts +2 -3
  9. package/calendar/CalendarPicker.d.ts +18 -0
  10. package/calendar/RangeCalendar.d.ts +8 -2
  11. package/calendar/RangeCalendar.stories.d.ts +2 -1
  12. package/calendar/index.js +1 -1
  13. package/checkbox/index.js +1 -1
  14. package/chunks/calendar-DWdU1T7E.js +111 -0
  15. package/chunks/{checkbox-ivInWvEp.js → checkbox-BgCp0edW.js} +13 -13
  16. package/chunks/{combobox-DDO4fEtI.js → combobox-B3AGDNru.js} +9 -9
  17. package/chunks/{date-field-DG5TYsTF.js → date-field-Q3bQ5P_t.js} +8 -8
  18. package/chunks/{date-picker-1W7OmCT0.js → date-picker-BPAJK8Gr.js} +15 -15
  19. package/chunks/{list-box-VdBVTwZK.js → list-box-BT33Wiwt.js} +16 -15
  20. package/chunks/{radio-W0YqY7lo.js → radio-BXC6pb3z.js} +8 -8
  21. package/chunks/{search-field-d7FV4Kuv.js → search-field-dAZu3T_V.js} +8 -8
  22. package/chunks/{select-LjjT_7hr.js → select-DOLE5CtI.js} +32 -28
  23. package/chunks/{table-O7Ht2ilY.js → table-RARvkGKL.js} +1 -1
  24. package/chunks/{textfield-BsijPPRD.js → textfield-BNdiOwXq.js} +10 -10
  25. package/chunks/{time-field-BlNUOjUJ.js → time-field-CZxI9Bs6.js} +9 -9
  26. package/combobox/index.js +1 -1
  27. package/date-field/index.js +1 -1
  28. package/date-picker/index.js +1 -1
  29. package/index.js +36 -36
  30. package/list-box/ListBox.d.ts +6 -1
  31. package/list-box/ListBox.stories.d.ts +1 -1
  32. package/list-box/index.js +1 -1
  33. package/package.json +1 -1
  34. package/radio/index.js +1 -1
  35. package/search-field/index.js +1 -1
  36. package/select/SelectTrigger.d.ts +7 -1
  37. package/select/index.d.ts +1 -0
  38. package/select/index.js +2 -2
  39. package/table/index.js +1 -1
  40. package/textfield/TextArea.stories.d.ts +5 -5
  41. package/textfield/index.js +1 -1
  42. package/time-field/index.js +1 -1
  43. package/chunks/calendar-R7x0m8ch.js +0 -74
@@ -1,74 +0,0 @@
1
- import { n as e, t } from "./clsx-B1NYyfch.js";
2
- import { t as n } from "./createLucideIcon-BgluSHFG.js";
3
- import { t as r } from "./chevron-right-DwqboCdU.js";
4
- import { n as i } from "./button-Ch860h28.js";
5
- import { t as a } from "./heading-bnDePIbv.js";
6
- import { t as o } from "./field-error-pJiSw4PN.js";
7
- import * as s from "react";
8
- import { Calendar as c, CalendarCell as l, CalendarGrid as u, RangeCalendar as d, RangeCalendarContext as f } from "react-aria-components";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
- import '../assets/calendar.css';var h = n("chevron-left", [["path", {
11
- d: "m15 18-6-6 6-6",
12
- key: "1wnfg3"
13
- }]]), g = {
14
- container: "_container_19aea_1",
15
- calendar: "_calendar_19aea_6",
16
- day: "_day_19aea_28",
17
- header: "_header_19aea_90",
18
- range: "_range_19aea_162"
19
- }, _ = ({ weekdayStyle: e = "short", isReadOnly: n }) => {
20
- let r = !!s.useContext(f);
21
- return /* @__PURE__ */ p(u, {
22
- weekdayStyle: e,
23
- children: (e) => /* @__PURE__ */ p(l, {
24
- date: e,
25
- className: t(g.day, r && g.range),
26
- "data-readonly": n || void 0
27
- })
28
- });
29
- }, v = ({ isDisabled: e, isReadOnly: t }) => /* @__PURE__ */ m("header", {
30
- className: g.header,
31
- children: [
32
- /* @__PURE__ */ p(i, {
33
- slot: "previous",
34
- size: "medium",
35
- "data-readonly": t || void 0,
36
- children: /* @__PURE__ */ p(h, { size: 20 })
37
- }),
38
- /* @__PURE__ */ p(a, {
39
- level: 3,
40
- elementType: "h2",
41
- "data-disabled": e || void 0
42
- }),
43
- /* @__PURE__ */ p(i, {
44
- slot: "next",
45
- size: "medium",
46
- "data-readonly": t || void 0,
47
- children: /* @__PURE__ */ p(r, { size: 20 })
48
- })
49
- ]
50
- }), y = ({ className: t, errorMessage: n, ...r }) => /* @__PURE__ */ m("div", {
51
- className: g.container,
52
- children: [/* @__PURE__ */ m(c, {
53
- className: e(g.calendar, t),
54
- "data-readonly": r.isReadOnly || void 0,
55
- ...r,
56
- children: [/* @__PURE__ */ p(v, { ...r }), /* @__PURE__ */ p(_, { ...r })]
57
- }), /* @__PURE__ */ p(o, {
58
- isInvalid: r.isInvalid,
59
- children: n
60
- })]
61
- }), b = ({ className: t, errorMessage: n, ...r }) => /* @__PURE__ */ m("div", {
62
- className: g.container,
63
- children: [/* @__PURE__ */ m(d, {
64
- className: e(g.calendar, t),
65
- "data-readonly": r.isReadOnly || void 0,
66
- ...r,
67
- children: [/* @__PURE__ */ p(v, { ...r }), /* @__PURE__ */ p(_, { ...r })]
68
- }), /* @__PURE__ */ p(o, {
69
- isInvalid: r.isInvalid,
70
- children: n
71
- })]
72
- });
73
- //#endregion
74
- export { y as n, b as t };