@weing-dev/ui-kit-primitive 0.3.2 → 0.4.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.
Files changed (62) hide show
  1. package/dist/Divider-m-B4TrPH.js +29 -0
  2. package/dist/Divider.css +1 -0
  3. package/dist/Icon-DExqF865.js +1166 -0
  4. package/dist/bind-D3ZJ5k4I.js +47 -0
  5. package/dist/calendar.css +1 -0
  6. package/dist/calendar.d.ts +10 -0
  7. package/dist/calendar.js +4075 -0
  8. package/dist/chart.d.ts +2 -0
  9. package/dist/chart.js +94 -0
  10. package/dist/color-B71xRiyK.js +384 -0
  11. package/dist/compiler-runtime-BFrE5JtX.js +326 -0
  12. package/dist/components/LNB/LNB.context.d.ts +14 -14
  13. package/dist/components/LNB/LNB.d.ts +8 -6
  14. package/dist/components/LNB/makeNavigation.d.ts +11 -6
  15. package/dist/display.css +1 -0
  16. package/dist/display.d.ts +15 -0
  17. package/dist/display.js +5280 -0
  18. package/dist/editor-style.css +7 -0
  19. package/dist/editor-style.d.ts +0 -0
  20. package/dist/editor-style.js +1 -0
  21. package/dist/editor.css +1 -0
  22. package/dist/editor.d.ts +5 -0
  23. package/dist/editor.js +338 -0
  24. package/dist/entry/calendar.d.ts +10 -0
  25. package/dist/entry/chart.d.ts +2 -0
  26. package/dist/entry/display.d.ts +15 -0
  27. package/dist/entry/editor-style.d.ts +0 -0
  28. package/dist/entry/editor.d.ts +5 -0
  29. package/dist/entry/feedback.d.ts +6 -0
  30. package/dist/entry/form.d.ts +17 -0
  31. package/dist/entry/icon.d.ts +5 -0
  32. package/dist/entry/navigation.d.ts +9 -0
  33. package/dist/entry/table.d.ts +3 -0
  34. package/dist/entry/types.d.ts +1 -1
  35. package/dist/entry/video-player-style.d.ts +0 -0
  36. package/dist/entry/video-player.d.ts +3 -0
  37. package/dist/feedback.css +1 -0
  38. package/dist/feedback.d.ts +6 -0
  39. package/dist/feedback.js +385 -0
  40. package/dist/form.css +1 -0
  41. package/dist/form.d.ts +17 -0
  42. package/dist/form.js +3548 -0
  43. package/dist/icon.d.ts +5 -0
  44. package/dist/icon.js +18 -0
  45. package/dist/index.css +1 -7
  46. package/dist/index.js +4083 -4069
  47. package/dist/index.umd.cjs +26 -26
  48. package/dist/navigation.css +1 -0
  49. package/dist/navigation.d.ts +9 -0
  50. package/dist/navigation.js +1036 -0
  51. package/dist/table.css +1 -0
  52. package/dist/table.d.ts +3 -0
  53. package/dist/table.js +184 -0
  54. package/dist/usePopper-DvYrGFkh.js +1038 -0
  55. package/dist/video-player-style.css +1 -0
  56. package/dist/video-player-style.d.ts +0 -0
  57. package/dist/video-player-style.js +1 -0
  58. package/dist/video-player.css +1 -0
  59. package/dist/video-player.d.ts +3 -0
  60. package/dist/video-player.js +1751 -0
  61. package/package.json +44 -2
  62. package/dist/components/GlobalStyle/GlobalStyle.d.ts +0 -2
@@ -0,0 +1,47 @@
1
+ var p = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function a(n) {
3
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
4
+ }
5
+ var i = { exports: {} };
6
+ /*!
7
+ Copyright (c) 2018 Jed Watson.
8
+ Licensed under the MIT License (MIT), see
9
+ http://jedwatson.github.io/classnames
10
+ */
11
+ (function(n) {
12
+ (function() {
13
+ var f = {}.hasOwnProperty;
14
+ function r() {
15
+ for (var t = "", e = 0; e < arguments.length; e++) {
16
+ var o = arguments[e];
17
+ o && (t = s(t, l.call(this, o)));
18
+ }
19
+ return t;
20
+ }
21
+ function l(t) {
22
+ if (typeof t == "string" || typeof t == "number")
23
+ return this && this[t] || t;
24
+ if (typeof t != "object")
25
+ return "";
26
+ if (Array.isArray(t))
27
+ return r.apply(this, t);
28
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
29
+ return t.toString();
30
+ var e = "";
31
+ for (var o in t)
32
+ f.call(t, o) && t[o] && (e = s(e, this && this[o] || o));
33
+ return e;
34
+ }
35
+ function s(t, e) {
36
+ return e ? t ? t + " " + e : t + e : t;
37
+ }
38
+ n.exports ? (r.default = r, n.exports = r) : window.classNames = r;
39
+ })();
40
+ })(i);
41
+ var u = i.exports;
42
+ const c = /* @__PURE__ */ a(u);
43
+ export {
44
+ p as a,
45
+ c,
46
+ a as g
47
+ };
@@ -0,0 +1 @@
1
+ @charset "UTF-8";@layer Calendar{._CaledarRoot_1715d_3{width:100%;display:flex;flex-direction:column;flex:1 auto}._CalendarHeaderDate_1715d_9{color:var(--textPrimary, #1a1c20);font-weight:700;font-size:16px;line-height:26px}[data-typography=senior] ._CalendarHeaderDate_1715d_9{font-size:20px}[data-typography=mobile] ._CalendarHeaderDate_1715d_9{font-size:12px}[data-typography=senior] ._CalendarHeaderDate_1715d_9{line-height:30px}[data-typography=mobile] ._CalendarHeaderDate_1715d_9{line-height:26px}._CalendarDayTextList_1715d_27{display:grid;flex-direction:row;align-items:center;flex-shrink:0;padding:8px 0}._CalednarDayTextColumn_1715d_34{color:var(--textPrimary, #1a1c20);height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;font-weight:400;font-size:14px;line-height:24px}[data-typography=senior] ._CalednarDayTextColumn_1715d_34{font-size:16px}[data-typography=mobile] ._CalednarDayTextColumn_1715d_34{font-size:10px}[data-typography=senior] ._CalednarDayTextColumn_1715d_34{line-height:26px}[data-typography=mobile] ._CalednarDayTextColumn_1715d_34{line-height:24px}._CalednarDayTextColumn_1715d_34._sunday_1715d_57{color:#cc054b}._CalednarDayTextColumn_1715d_34._saturday_1715d_60{color:#2a3480}._CalendarBody_1715d_63{flex:1 auto;display:grid}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67{display:flex;align-items:center;justify-content:center;height:36px;margin-block:4px;cursor:pointer;position:relative}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._selected_1715d_76{background-color:var(--pContrastText, #f5f5f5)}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._between_1715d_79{background-color:var(--grey8, rgba(145, 158, 171, .0784313725))}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._start_1715d_82:before{content:"";position:absolute;top:0;left:50%;bottom:0;right:0;background-color:var(--grey8, rgba(145, 158, 171, .0784313725))}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._end_1715d_91:before{content:"";position:absolute;top:0;left:0;bottom:0;right:50%;background-color:var(--grey8, rgba(145, 158, 171, .0784313725))}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._both_1715d_100{border-radius:50%}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._today_1715d_103{color:var(--pMain, orange)}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._sunday_1715d_57{color:#cc054b}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67._saturday_1715d_60{color:#2a3480}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67:disabled{pointer-events:none;color:var(--Neutral-40, #8c8c8c)}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116{width:36px;line-height:36px;font-weight:400;font-size:14px;line-height:24px}[data-typography=senior] ._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116{font-size:16px}[data-typography=mobile] ._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116{font-size:10px}[data-typography=senior] ._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116{line-height:26px}[data-typography=mobile] ._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116{line-height:24px}._CalendarBody_1715d_63 ._CalendarBodyColumn_1715d_67 ._CalendarBodyColumnText_1715d_116._selected_1715d_76{border-radius:50%;aspect-ratio:1;color:var(--pContrastText, #f5f5f5);background-color:var(--pMain, orange)}}@layer ScrollCalendar{._Body_1px9a_2{width:100%;height:auto;overflow:hidden;display:flex}._Body_1px9a_2::-webkit-scrollbar{display:none}._Body_1px9a_2 ._ColumnWrap_1px9a_11{display:flex}._Column_1px9a_11{display:none;flex-direction:column;align-items:center;flex-shrink:0;color:#637381;font-weight:400;font-size:14px}._Column_1px9a_11._visible_1px9a_23{display:flex}._Column_1px9a_11._selected_1px9a_26{color:#00a76f}._Column_1px9a_11 ._Date_1px9a_29,._Column_1px9a_11 ._Text_1px9a_32{line-height:24px}}@layer WeeklyCalendar{._WeeklyCalendarRoot_15h4n_3{display:flex;flex-direction:column;height:100%;width:100%;padding:8px;border-radius:8px;-webkit-user-select:none;user-select:none}._CalendarHeader_15h4n_12{display:flex;flex-direction:row}._CalendarHeader_15h4n_12 ._Empty_15h4n_16{height:64px}._CalendarHeaderContent_15h4n_19{flex:1 auto;display:flex;flex-direction:column}._CalendarBody_15h4n_24{display:flex;flex-direction:row;flex:1 auto;overflow:hidden}._StandardTime_15h4n_30{font-size:11px;align-self:stretch;display:flex;flex-direction:row}._DateCellRow_15h4n_36{height:84px;display:flex;flex-direction:row;flex:1 auto;border-bottom:1px solid #f4f6f8}._DateCellRow_15h4n_36 ._DateCell_15h4n_36{display:flex;flex-direction:column;align-items:center;flex:1 auto;color:var(--textPrimary, #1a1c20)}._DateCellRow_15h4n_36 ._DateCell_15h4n_36._today_15h4n_50{color:var(--pMain, #00a76f)}._DateCellRow_15h4n_36 ._DateCell_15h4n_36 ._DayText_15h4n_53{line-height:32px;font-size:11px}._DateCellRow_15h4n_36 ._DateCell_15h4n_36 ._Date_15h4n_36{font-size:26px;line-height:46px}._TimelineWrapper_15h4n_61{position:relative;min-width:40px;flex-shrink:0;padding-left:8px;border-right:1px solid #f4f6f8;overflow-y:hidden}._TimelineWrapper_15h4n_61._noLines_15h4n_69{border-right:none}._Timeline_15h4n_61{position:relative;padding-right:8px;text-align:right;min-width:40px}._Timeline_15h4n_61 ._TimeText_15h4n_78{position:absolute;bottom:0;left:0;font-size:10px}._DateColumnRow_15h4n_84{display:flex;flex-direction:row;flex:1 auto;overflow-y:auto}._DateColumnRow_15h4n_84 ._DateColumnRowInner_15h4n_90{height:max-content;display:flex;flex-direction:row;flex:1 auto}._DateColumnRow_15h4n_84 ._DateColumn_15h4n_84{position:relative;flex:1;display:flex;border-right:1px solid #f4f6f8;background:repeating-linear-gradient(to bottom,var(--backgroundDefault, #ffffff) 0,var(--backgroundDefault, #ffffff) var(--bg-start-white, 47px),var(--backgroundNeutral, #f4f6f8) var(--bg-start-white, 47px),var(--backgroundNeutral, #f4f6f8) var(--bg-line-white, 48px))}._DateColumnRow_15h4n_84 ._DateColumn_15h4n_84._noLines_15h4n_69{border-right:none}._DateColumnRow_15h4n_84 ._DateColumn_15h4n_84 ._DateColumnInner_15h4n_107{position:relative;width:95%;flex:1}._DateColumnRow_15h4n_84 ._TodayIndicator_15h4n_112{position:absolute;bottom:0;left:0;width:100%;height:2px;background-color:#00a76f;z-index:9999}._DateColumnRow_15h4n_84 ._TodayIndicator_15h4n_112:before{position:absolute;left:0;top:50%;transform:translateY(-50%);content:"";border-radius:50%;background-color:#00a76f;z-index:10000}._DateColumnRow_15h4n_84 ._TimeCriteria_15h4n_131{height:max-content}._DateColumnRow_15h4n_84 ._TimeCriteria_15h4n_131 ._TimeCriteriaCell_15h4n_134{height:48px}._EventItem_15h4n_137{padding:4px;font-size:12px;background-color:orange;cursor:pointer}._EventItem_15h4n_137:hover{background-color:#ff8c00}._EventItem_15h4n_137._dragging_15h4n_146{z-index:10}._DateColumn_15h4n_84._allowCreate_15h4n_149{cursor:cell}._DateColumn_15h4n_84._dragging_15h4n_146 ._EventItem_15h4n_137{pointer-events:none}._EventItem_15h4n_137._draggable_15h4n_155{cursor:move}._EventItem_15h4n_137._dragging_15h4n_146{opacity:.5;z-index:10}}
@@ -0,0 +1,10 @@
1
+ export { default as Calendar } from '../components/Calendar/Calendar';
2
+ export { CalendarContext } from '../components/Calendar/Calendar.context';
3
+ export { default as ScrollCalendar } from '../components/ScrollCalendar/ScrollCalendar';
4
+ export { ScrollCalendarContext } from '../components/ScrollCalendar/ScrollCalendar.context';
5
+ export { default as WeeklyCalendar } from '../components/WeeklyCalendar/WeeklyCalendar';
6
+ export { WeeklyCalendarContext } from '../components/WeeklyCalendar/WeeklyCalendar.context';
7
+ export type { CalendarContextType } from '../components/Calendar/Calendar.context';
8
+ export type { ScrollCalendarContextType } from '../components/ScrollCalendar/ScrollCalendar.context';
9
+ export type { WeeklyCalendarContextType, EventItemAsProps, EventItemPopperAsProps, } from '../components/WeeklyCalendar/WeeklyCalendar.context';
10
+ export {};