@dotss/tictoccroc 0.2.0 → 0.3.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 (47) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.mjs +143 -122
  3. package/dist/parent/b2b/components/ActionButtons/ActionButtons.d.ts +13 -0
  4. package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +30 -0
  5. package/dist/parent/b2b/components/ActionButtons/index.d.ts +3 -0
  6. package/dist/parent/b2b/components/ActionButtons/index.mjs +4 -0
  7. package/dist/parent/b2b/components/BottomNotes/BottomNotes.d.ts +6 -0
  8. package/dist/parent/b2b/components/BottomNotes/BottomNotes.mjs +37 -0
  9. package/dist/parent/b2b/components/BottomNotes/index.d.ts +3 -0
  10. package/dist/parent/b2b/components/BottomNotes/index.mjs +4 -0
  11. package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.d.ts +4 -0
  12. package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs +16 -0
  13. package/dist/parent/b2b/components/EmployeeNumberField/index.d.ts +3 -0
  14. package/dist/parent/b2b/components/EmployeeNumberField/index.mjs +4 -0
  15. package/dist/parent/b2b/components/NameField/NameField.d.ts +4 -0
  16. package/dist/parent/b2b/components/NameField/NameField.mjs +8 -0
  17. package/dist/parent/b2b/components/NameField/index.d.ts +3 -0
  18. package/dist/parent/b2b/components/NameField/index.mjs +4 -0
  19. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.d.ts +4 -0
  20. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs +31 -0
  21. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.d.ts +2 -0
  22. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs +10 -0
  23. package/dist/parent/b2b/components/PhoneNumberField/index.d.ts +4 -0
  24. package/dist/parent/b2b/components/PhoneNumberField/index.mjs +7 -0
  25. package/dist/parent/b2b/components/Title/Title.d.ts +4 -0
  26. package/dist/parent/b2b/components/Title/Title.mjs +19 -0
  27. package/dist/parent/b2b/components/Title/index.d.ts +3 -0
  28. package/dist/parent/b2b/components/Title/index.mjs +4 -0
  29. package/dist/parent/b2b/components/TopLogo/TopLogo.d.ts +11 -0
  30. package/dist/parent/b2b/components/TopLogo/TopLogo.mjs +94 -0
  31. package/dist/parent/b2b/components/TopLogo/index.d.ts +3 -0
  32. package/dist/parent/b2b/components/TopLogo/index.mjs +4 -0
  33. package/dist/parent/b2b/components/index.d.ts +14 -0
  34. package/dist/parent/b2b/components/index.mjs +19 -0
  35. package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.d.ts +1 -0
  36. package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs +1692 -0
  37. package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.test.d.ts +1 -0
  38. package/dist/parent/b2b/utils/index.d.ts +1 -0
  39. package/dist/parent/b2b/utils/index.mjs +4 -0
  40. package/dist/shared/components/TextField/TextField.d.ts +14 -0
  41. package/dist/shared/components/TextField/TextField.mjs +56 -0
  42. package/dist/shared/components/TextField/index.d.ts +3 -0
  43. package/dist/shared/components/TextField/index.mjs +4 -0
  44. package/dist/shared/components/index.d.ts +2 -0
  45. package/dist/shared/components/index.mjs +8 -6
  46. package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +6 -7
  47. package/package.json +21 -3
@@ -0,0 +1,11 @@
1
+ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
2
+ import { ImageProps } from '../../../../shared/components';
3
+ export interface TopLogoProps extends FlexboxProps {
4
+ leftLogoUrl?: string;
5
+ leftLogoProps?: ImageProps;
6
+ rightLogoUrl?: string;
7
+ rightLogoProps?: ImageProps;
8
+ collaborated?: boolean;
9
+ }
10
+ declare function TopLogo({ leftLogoUrl, rightLogoUrl, leftLogoProps, rightLogoProps, collaborated, ...props }: TopLogoProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
+ export default TopLogo;
@@ -0,0 +1,94 @@
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import p from "@dotss/ui/Flexbox";
3
+ import "../../../../shared/components/Scheduler/Scheduler.mjs";
4
+ import "@dotss/ui";
5
+ import "@dotss/ui/core/useTheme";
6
+ import "dayjs";
7
+ import "react";
8
+ import "@dotss/ui/Dialog";
9
+ import i from "../../../../shared/components/Image/Image.mjs";
10
+ import "../../../../shared/components/TimePicker/TimePicker.mjs";
11
+ import "../../../../shared/components/Calendar/Calendar.mjs";
12
+ import "../../../../shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
13
+ import "@dotss/ui/hooks";
14
+ import "@dotss/ui/Menu";
15
+ import "@dotss/ui/IconButton";
16
+ import "@dotss/ui/TextField";
17
+ import "@dotss/ui/Typography";
18
+ function v({
19
+ leftLogoUrl: e,
20
+ rightLogoUrl: s,
21
+ leftLogoProps: a,
22
+ rightLogoProps: r,
23
+ collaborated: o = !0,
24
+ ...c
25
+ }) {
26
+ return /* @__PURE__ */ m(
27
+ p,
28
+ {
29
+ alignItems: "center",
30
+ justifyContent: "center",
31
+ gap: 5,
32
+ inlineCSS: { width: "100%" },
33
+ ...c,
34
+ children: [
35
+ e && /* @__PURE__ */ t(
36
+ i,
37
+ {
38
+ src: e,
39
+ alt: "left logo",
40
+ width: 100,
41
+ height: 100,
42
+ disabledResizing: !0,
43
+ ...a
44
+ }
45
+ ),
46
+ !e && o && /* @__PURE__ */ t(
47
+ i,
48
+ {
49
+ src: "https://stage-static.tictoccroc.co.kr/admin/images/pages/tictoccroc-logo.svg",
50
+ alt: "left logo",
51
+ disabledResizing: !0,
52
+ width: 120,
53
+ height: 90,
54
+ ...r
55
+ }
56
+ ),
57
+ o && /* @__PURE__ */ t(
58
+ i,
59
+ {
60
+ src: "https://stage-static.tictoccroc.co.kr/admin/images/pages/collaborated.svg",
61
+ alt: "collaborated",
62
+ disabledResizing: !0,
63
+ width: 30,
64
+ height: 30
65
+ }
66
+ ),
67
+ /* @__PURE__ */ t(
68
+ i,
69
+ {
70
+ src: s,
71
+ alt: "right logo",
72
+ disabledResizing: !0,
73
+ enableFallback: !0,
74
+ style: {
75
+ width: "100%",
76
+ height: "100%",
77
+ objectFit: "contain"
78
+ },
79
+ wrapperProps: {
80
+ inlineCSS: {
81
+ width: 100,
82
+ height: 100
83
+ }
84
+ },
85
+ ...r
86
+ }
87
+ )
88
+ ]
89
+ }
90
+ );
91
+ }
92
+ export {
93
+ v as default
94
+ };
@@ -0,0 +1,3 @@
1
+ import { default as TopLogo } from './TopLogo';
2
+ export type { TopLogoProps } from './TopLogo';
3
+ export default TopLogo;
@@ -0,0 +1,4 @@
1
+ import p from "./TopLogo.mjs";
2
+ export {
3
+ p as default
4
+ };
@@ -0,0 +1,14 @@
1
+ export { default as ActionButtons } from './ActionButtons';
2
+ export { default as BottomNotes } from './BottomNotes';
3
+ export { default as EmployeeNumberField } from './EmployeeNumberField';
4
+ export { default as NameField } from './NameField';
5
+ export { default as PhoneNumberField } from './PhoneNumberField';
6
+ export { default as Title } from './Title';
7
+ export { default as TopLogo } from './TopLogo';
8
+ export * from './ActionButtons';
9
+ export * from './BottomNotes';
10
+ export * from './EmployeeNumberField';
11
+ export * from './NameField';
12
+ export * from './PhoneNumberField';
13
+ export * from './Title';
14
+ export * from './TopLogo';
@@ -0,0 +1,19 @@
1
+ import { default as t } from "./ActionButtons/ActionButtons.mjs";
2
+ import { default as a } from "./BottomNotes/BottomNotes.mjs";
3
+ import { default as l } from "./EmployeeNumberField/EmployeeNumberField.mjs";
4
+ import { default as s } from "./NameField/NameField.mjs";
5
+ import { default as u } from "./PhoneNumberField/PhoneNumberField.mjs";
6
+ import { isSuccess as i, isValid as x } from "./PhoneNumberField/PhoneNumberField.utils.mjs";
7
+ import { default as c } from "./Title/Title.mjs";
8
+ import { default as F } from "./TopLogo/TopLogo.mjs";
9
+ export {
10
+ t as ActionButtons,
11
+ a as BottomNotes,
12
+ l as EmployeeNumberField,
13
+ s as NameField,
14
+ u as PhoneNumberField,
15
+ c as Title,
16
+ F as TopLogo,
17
+ i as isSuccess,
18
+ x as isValid
19
+ };
@@ -0,0 +1 @@
1
+ export default function convertMdToHtml(md: string): string;