@xjur-ui/react 1.0.0 → 1.0.2

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 (117) hide show
  1. package/.turbo/turbo-build.log +63 -57
  2. package/CHANGELOG.md +18 -0
  3. package/dist/components/avatar.d.ts +11 -0
  4. package/dist/components/avatar.js +58 -0
  5. package/dist/components/badge.d.ts +13 -0
  6. package/dist/components/{ui/input/message.js → badge.js} +30 -47
  7. package/dist/components/{ui/button.d.ts → button.d.ts} +2 -2
  8. package/dist/components/{ui/button.js → button.js} +9 -6
  9. package/dist/components/calendar.d.ts +11 -0
  10. package/dist/components/calendar.js +751 -0
  11. package/dist/components/checkbox.d.ts +8 -0
  12. package/dist/components/{ui/input/root.js → checkbox.js} +69 -79
  13. package/dist/components/chip.d.ts +24 -0
  14. package/dist/components/chip.js +255 -0
  15. package/dist/components/collapsible.d.ts +8 -0
  16. package/dist/components/collapsible.js +41 -0
  17. package/dist/components/date-picker.d.ts +20 -0
  18. package/dist/components/date-picker.js +232 -0
  19. package/dist/components/divider.d.ts +7 -0
  20. package/dist/components/divider.js +28 -0
  21. package/dist/components/dropdown-menu.d.ts +22 -0
  22. package/dist/components/dropdown-menu.js +294 -0
  23. package/dist/components/{resources/icons.d.ts → icon.d.ts} +11 -2
  24. package/dist/components/{ui/icon.js → icon.js} +20 -5
  25. package/dist/components/input.d.ts +32 -0
  26. package/dist/components/input.js +315 -0
  27. package/dist/components/list.d.ts +25 -0
  28. package/dist/components/{ui/input/content.js → list.js} +83 -87
  29. package/dist/components/{ui/logo.d.ts → logo.d.ts} +2 -2
  30. package/dist/components/{ui/logo.js → logo.js} +5 -5
  31. package/dist/components/{ui/otp-input.js → otp-input.js} +1 -1
  32. package/dist/components/radio.d.ts +10 -0
  33. package/dist/components/{ui/input/label.js → radio.js} +68 -77
  34. package/dist/components/search-input.d.ts +17 -0
  35. package/dist/components/search-input.js +274 -0
  36. package/dist/components/select.d.ts +33 -0
  37. package/dist/components/select.js +550 -0
  38. package/dist/components/sheet.d.ts +19 -0
  39. package/dist/components/sheet.js +251 -0
  40. package/dist/components/switch.d.ts +7 -0
  41. package/dist/components/switch.js +36 -0
  42. package/dist/components/tabs.d.ts +11 -0
  43. package/dist/components/tabs.js +54 -0
  44. package/dist/components/tag.d.ts +18 -0
  45. package/dist/components/tag.js +189 -0
  46. package/dist/components/{ui/typography.d.ts → typography.d.ts} +4 -4
  47. package/dist/components/{ui/typography.js → typography.js} +1 -1
  48. package/dist/index.css +1233 -62
  49. package/dist/index.d.ts +2 -17
  50. package/dist/index.js +0 -788
  51. package/eslint.config.js +8 -1
  52. package/package.json +41 -10
  53. package/src/components/avatar.tsx +53 -0
  54. package/src/components/badge.tsx +40 -0
  55. package/src/components/{ui/button.tsx → button.tsx} +7 -5
  56. package/src/components/calendar.tsx +123 -0
  57. package/src/components/checkbox.tsx +57 -0
  58. package/src/components/chip.tsx +109 -0
  59. package/src/components/collapsible.tsx +35 -0
  60. package/src/components/date-picker.tsx +160 -0
  61. package/src/components/divider.tsx +23 -0
  62. package/src/components/dropdown-menu.tsx +101 -0
  63. package/src/components/{ui/icon.tsx → icon.tsx} +1 -1
  64. package/src/components/input.tsx +256 -0
  65. package/src/components/list.tsx +111 -0
  66. package/src/components/radio.tsx +74 -0
  67. package/src/components/search-input.tsx +112 -0
  68. package/src/components/select.tsx +240 -0
  69. package/src/components/sheet.tsx +141 -0
  70. package/src/components/switch.tsx +31 -0
  71. package/src/components/tabs.tsx +53 -0
  72. package/src/components/tag.tsx +91 -0
  73. package/src/index.css +4 -1
  74. package/src/index.ts +0 -1
  75. package/src/{components/resources → resources}/icons.ts +16 -1
  76. package/src/resources/input-mask.ts +91 -0
  77. package/dist/components/resources/icons.js +0 -133
  78. package/dist/components/resources/logo/horizontal.d.ts +0 -12
  79. package/dist/components/resources/logo/horizontal.js +0 -107
  80. package/dist/components/resources/logo/icon.d.ts +0 -12
  81. package/dist/components/resources/logo/icon.js +0 -79
  82. package/dist/components/resources/logo/index.d.ts +0 -4
  83. package/dist/components/resources/logo/index.js +0 -291
  84. package/dist/components/resources/logo/vertical.d.ts +0 -12
  85. package/dist/components/resources/logo/vertical.js +0 -107
  86. package/dist/components/ui/accordion.d.ts +0 -5
  87. package/dist/components/ui/accordion.js +0 -8
  88. package/dist/components/ui/icon.d.ts +0 -12
  89. package/dist/components/ui/index.d.ts +0 -17
  90. package/dist/components/ui/index.js +0 -788
  91. package/dist/components/ui/input/content.d.ts +0 -9
  92. package/dist/components/ui/input/index.d.ts +0 -12
  93. package/dist/components/ui/input/index.js +0 -335
  94. package/dist/components/ui/input/label.d.ts +0 -12
  95. package/dist/components/ui/input/message.d.ts +0 -10
  96. package/dist/components/ui/input/root.d.ts +0 -18
  97. package/dist/components/ui/input/slot.d.ts +0 -10
  98. package/dist/components/ui/input/slot.js +0 -20
  99. package/dist/components/ui/input/text.d.ts +0 -10
  100. package/dist/components/ui/input/text.js +0 -195
  101. package/src/components/ui/accordion.tsx +0 -3
  102. package/src/components/ui/index.ts +0 -13
  103. package/src/components/ui/input/content.tsx +0 -59
  104. package/src/components/ui/input/index.ts +0 -6
  105. package/src/components/ui/input/label.tsx +0 -41
  106. package/src/components/ui/input/message.tsx +0 -37
  107. package/src/components/ui/input/root.tsx +0 -57
  108. package/src/components/ui/input/slot.tsx +0 -21
  109. package/src/components/ui/input/text.tsx +0 -69
  110. /package/dist/components/{ui/otp-input.d.ts → otp-input.d.ts} +0 -0
  111. /package/src/components/{ui/logo.tsx → logo.tsx} +0 -0
  112. /package/src/components/{ui/otp-input.tsx → otp-input.tsx} +0 -0
  113. /package/src/components/{ui/typography.tsx → typography.tsx} +0 -0
  114. /package/src/{components/resources → resources}/logo/horizontal.tsx +0 -0
  115. /package/src/{components/resources → resources}/logo/icon.tsx +0 -0
  116. /package/src/{components/resources → resources}/logo/index.ts +0 -0
  117. /package/src/{components/resources → resources}/logo/vertical.tsx +0 -0
@@ -0,0 +1,91 @@
1
+ import { cva, cx, type ClassVariantProps } from '@xjur-ui/util'
2
+ import { type ComponentProps } from 'react'
3
+ import { Typography } from './typography'
4
+ import { Icon, type IconType } from './icon'
5
+
6
+ const tagVariants = cva(
7
+ [
8
+ 'group/tag relative h-large-2x w-fit rounded-small-1x px-small py-none flex items-center gap-small_1x-alt',
9
+ 'transition-all duration-200'
10
+ ],
11
+ {
12
+ variants: {
13
+ variant: {
14
+ primary:
15
+ 'bg-primary-alt-idle text-primary-label-idle hover:bg-primary-alt-hover',
16
+ danger:
17
+ 'bg-danger-alt-idle text-danger-label-idle hover:bg-danger-alt-hover',
18
+ neutral: 'bg-layer-1-idle text-neutral-dark hover:bg-layer-1-hover'
19
+ }
20
+ },
21
+ defaultVariants: {
22
+ variant: 'primary'
23
+ }
24
+ }
25
+ )
26
+
27
+ export function TagRoot({
28
+ className,
29
+ variant = 'primary',
30
+ ...props
31
+ }: ComponentProps<'div'> & ClassVariantProps<typeof tagVariants>) {
32
+ return <div className={cx(tagVariants({ variant }), className)} {...props} />
33
+ }
34
+
35
+ export function TagText({
36
+ variant = 'label',
37
+ size = 'sm-1x',
38
+ weight = 'medium',
39
+ className,
40
+ ...props
41
+ }: ComponentProps<typeof Typography>) {
42
+ return (
43
+ <Typography
44
+ className={cx(className, 'truncate')}
45
+ size={size}
46
+ variant={variant}
47
+ weight={weight}
48
+ {...props}
49
+ />
50
+ )
51
+ }
52
+
53
+ export function TagIcon({ className, ...props }: ComponentProps<typeof Icon>) {
54
+ return (
55
+ <Icon
56
+ className={
57
+ (cx(
58
+ 'text-size-body-md',
59
+ 'group-data-[variant=primary]:text-primary-label-idle',
60
+ 'group-data-[variant=danger]:text-danger-label-idle',
61
+ 'group-data-[variant=neutral]:text-icon-neutral-3'
62
+ ),
63
+ className)
64
+ }
65
+ {...props}
66
+ />
67
+ )
68
+ }
69
+
70
+ export function TagClose({
71
+ className,
72
+ children = <TagIcon name="close" />,
73
+ ...props
74
+ }: ComponentProps<'button'> & { name?: IconType }) {
75
+ return (
76
+ <button
77
+ className={cx(
78
+ className,
79
+ 'cursor-pointer bg-inherit',
80
+ 'invisible items-center justify-center group-hover/tag:visible',
81
+ 'absolute top-0 right-0',
82
+ 'h-large-2x w-large-2x rounded-circle',
83
+ 'transition-[visibility] duration-200'
84
+ )}
85
+ type="button"
86
+ {...props}
87
+ >
88
+ {children}
89
+ </button>
90
+ )
91
+ }
package/src/index.css CHANGED
@@ -1,2 +1,5 @@
1
1
  @import "tailwindcss";
2
- @import "@xjur-ui/styles/theme.css";
2
+ @import "@xjur-ui/styles/theme.css";
3
+ @import "tw-animate-css";
4
+ @plugin "tailwind-scrollbar-hide";
5
+ @plugin "tailwind-scrollbar";
package/src/index.ts CHANGED
@@ -1,2 +1 @@
1
1
  import './index.css'
2
- export * from './components/ui'
@@ -125,7 +125,22 @@ export const icons = [
125
125
  'wifi_off',
126
126
  'wifi',
127
127
  'work',
128
- 'workspaces'
128
+ 'workspaces',
129
+ 'article',
130
+ 'id_card',
131
+ 'badge',
132
+ 'home',
133
+ 'save',
134
+ 'code',
135
+ 'favorite',
136
+ 'analytics',
137
+ 'reports',
138
+ 'event',
139
+ 'account_circle',
140
+ 'history',
141
+ 'security',
142
+ 'bar_chart',
143
+ 'category'
129
144
  ] as const
130
145
 
131
146
  export type IconType = (typeof icons)[number]
@@ -0,0 +1,91 @@
1
+ import type { MaskOptions } from '@react-input/mask'
2
+
3
+ export type InputMaskType =
4
+ | 'cpf'
5
+ | 'cnpj'
6
+ | 'telefone'
7
+ | 'cep'
8
+ | 'numero-processo'
9
+ | 'custom'
10
+ | 'data'
11
+ | 'hora'
12
+ | 'data-hora'
13
+
14
+ export function inputMask(
15
+ type: InputMaskType,
16
+ options?: MaskOptions
17
+ ): MaskOptions {
18
+ switch (type) {
19
+ case 'cpf':
20
+ return { ...options, ...CPF_MASK }
21
+ case 'cnpj':
22
+ return { ...options, ...CNPJ_MASK }
23
+ case 'telefone':
24
+ return { ...options, ...PHONE_MASK }
25
+ case 'cep':
26
+ return { ...options, ...CEP_MASK }
27
+ case 'numero-processo':
28
+ return { ...options, ...NUMERO_PROCESSO_MASK }
29
+ case 'data':
30
+ return { ...options, ...DATE_MASK }
31
+ case 'hora':
32
+ return { ...options, ...TIME_MASK }
33
+ case 'data-hora':
34
+ return { ...options, ...DATETIME_MASK }
35
+ case 'custom':
36
+ if (!options) {
37
+ throw new Error('Options are required for custom mask')
38
+ }
39
+
40
+ return options
41
+ }
42
+ }
43
+
44
+ const CPF_MASK: MaskOptions = {
45
+ mask: '###.###.###-##',
46
+ replacement: {
47
+ '#': /\d/
48
+ }
49
+ }
50
+ const CNPJ_MASK: MaskOptions = {
51
+ mask: '##.###.###/####-##',
52
+ replacement: {
53
+ '#': /\d/
54
+ }
55
+ }
56
+ const PHONE_MASK: MaskOptions = {
57
+ mask: '(##) #####-####',
58
+ replacement: {
59
+ '#': /\d/
60
+ }
61
+ }
62
+ const CEP_MASK: MaskOptions = {
63
+ mask: '#####-###',
64
+ replacement: {
65
+ '#': /\d/
66
+ }
67
+ }
68
+ const NUMERO_PROCESSO_MASK: MaskOptions = {
69
+ mask: '#######-##.####.#.##.####',
70
+ replacement: {
71
+ '#': /\d/
72
+ }
73
+ }
74
+ const DATE_MASK: MaskOptions = {
75
+ mask: '##/##/####',
76
+ replacement: {
77
+ '#': /\d/
78
+ }
79
+ }
80
+ const TIME_MASK: MaskOptions = {
81
+ mask: '##:##',
82
+ replacement: {
83
+ '#': /\d/
84
+ }
85
+ }
86
+ const DATETIME_MASK: MaskOptions = {
87
+ mask: '##/##/#### ##:##',
88
+ replacement: {
89
+ '#': /\d/
90
+ }
91
+ }
@@ -1,133 +0,0 @@
1
- // src/components/resources/icons.ts
2
- var icons = [
3
- "account_balance",
4
- "ad_units",
5
- "add_a_photo",
6
- "add",
7
- "adjust",
8
- "archive",
9
- "arrow_downward_alt",
10
- "arrow_downward",
11
- "arrow_drop_down",
12
- "arrow_drop_up",
13
- "arrow_split",
14
- "arrow_upward_alt",
15
- "arrow_upward",
16
- "attach_file",
17
- "attach_money",
18
- "autorenew",
19
- "brightness_1",
20
- "calendar_today",
21
- "call",
22
- "chat_bubble",
23
- "check_circle",
24
- "check",
25
- "chevron_left",
26
- "chevron_right",
27
- "close",
28
- "collapse_all",
29
- "contacts",
30
- "content_copy",
31
- "dangerous",
32
- "dashboard",
33
- "delete",
34
- "download",
35
- "draft",
36
- "drafts",
37
- "drag_handle",
38
- "drag_indicator",
39
- "edit_document",
40
- "edit_square",
41
- "edit",
42
- "error",
43
- "expand_all",
44
- "file_export",
45
- "filter_alt",
46
- "filter_list",
47
- "first_page",
48
- "flag_2",
49
- "folder_open",
50
- "folder",
51
- "format_bold",
52
- "format_italic",
53
- "format_italic",
54
- "format_size",
55
- "format_strikethrough",
56
- "gavel",
57
- "group",
58
- "headphones",
59
- "help",
60
- "hourglass_bottom",
61
- "imagesmode",
62
- "import_contacts",
63
- "inbox",
64
- "info",
65
- "inventory_2",
66
- "keep",
67
- "keep",
68
- "keyboard_arrow_down",
69
- "keyboard_arrow_up",
70
- "keyboard_return",
71
- "label_off",
72
- "label",
73
- "last_page",
74
- "left_panel_close",
75
- "left_panel_open",
76
- "link_off",
77
- "link",
78
- "linked_services",
79
- "list",
80
- "location_on",
81
- "lock",
82
- "logout",
83
- "mail",
84
- "menu",
85
- "mic",
86
- "more_vert",
87
- "notifications",
88
- "numbers",
89
- "person_add",
90
- "person_off",
91
- "person",
92
- "play_circle",
93
- "progress_activity",
94
- "question_mark",
95
- "radio_button_unchecked",
96
- "refresh",
97
- "remove",
98
- "reply",
99
- "right_panel_close",
100
- "right_panel_open",
101
- "schedule",
102
- "search",
103
- "sell",
104
- "send",
105
- "settings",
106
- "share",
107
- "smart_display",
108
- "star",
109
- "star",
110
- "swap_vert",
111
- "thumb_down",
112
- "thumb_up",
113
- "tune",
114
- "unarchive",
115
- "undo",
116
- "upload",
117
- "verified_user",
118
- "videocam",
119
- "view_list",
120
- "view_module",
121
- "view_object_track",
122
- "visibility_off",
123
- "visibility",
124
- "warning",
125
- "wifi_2_bar",
126
- "wifi_off",
127
- "wifi",
128
- "work",
129
- "workspaces"
130
- ];
131
- export {
132
- icons
133
- };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function LogoHorizontalSolid({ color }: {
4
- color: string;
5
- }): react_jsx_runtime.JSX.Element;
6
- declare function LogoHorizontalColorful(): react_jsx_runtime.JSX.Element;
7
- declare const Horizontal: {
8
- Solid: typeof LogoHorizontalSolid;
9
- Colorful: typeof LogoHorizontalColorful;
10
- };
11
-
12
- export { Horizontal };
@@ -1,107 +0,0 @@
1
- // src/components/resources/logo/horizontal.tsx
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- function LogoHorizontalSolid({ color }) {
4
- return /* @__PURE__ */ jsxs(
5
- "svg",
6
- {
7
- fill: "none",
8
- height: "26",
9
- viewBox: "0 0 95 26",
10
- width: "95",
11
- xmlns: "http://www.w3.org/2000/svg",
12
- children: [
13
- /* @__PURE__ */ jsx(
14
- "path",
15
- {
16
- d: "M89.14 14.625c4.756-1.796 4.739-9.325-.024-11.12-.943-.407-1.952-.497-2.966-.498-3.344.002-6.687-.02-10.03.006v19.822h4.902c0-2.47.002-4.937-.004-7.406 0-.174.05-.221.22-.22q1.266.013 2.53 0c.168-.002.252.06.33.2 1.38 2.426 2.764 4.849 4.142 7.275.068.118.139.167.278.167 1.841-.017 3.68.02 5.52-.017zm-2.579-3.982c-.225.048-.459.068-.689.07-1.555.006-3.11.002-4.666.006-.135 0-.188-.032-.187-.178q.009-1.413 0-2.824c-.001-.157.06-.187.199-.186.843.004 4.203.007 5.04.032.713.022 1.356.523 1.538 1.137.253.858-.3 1.74-1.235 1.943M31.777 3.004 37.552 3c.148 0 .234.045.316.17l3.522 5.338 3.517-5.33c.085-.13.173-.179.329-.178l5.773.004-6.624 9.203c-.103.143-.096.231.003.37l7.378 10.28-5.919-.001c-.126 0-.19-.05-.254-.148l-4.2-6.408-4.17 6.378c-.084.13-.172.179-.328.178l-5.857-.004 7.34-10.253c.12-.167.109-.268-.007-.429zM62.469 3.008c.097 0 .176.08.176.177l.002 10.278c.003 1.018.184 2.003.671 2.912.782 1.455 2.111 2.006 3.593 1.862 1.715-.167 2.672-1.224 3.179-2.785.223-.688.27-1.4.27-2.118V3.131a.13.13 0 0 1 .13-.13h4.663a.13.13 0 0 1 .13.13l-.008 10.222c-.001 1.362-.152 2.7-.658 3.977-1.235 3.11-3.488 4.956-6.804 5.42-2.05.287-4.02-.017-5.826-1.077-2.034-1.193-3.267-3-3.895-5.25a9.4 9.4 0 0 1-.355-2.487l-.03-10.759c0-.097.08-.177.176-.177z",
17
- fill: color
18
- }
19
- ),
20
- /* @__PURE__ */ jsx(
21
- "path",
22
- {
23
- d: "M49.388 17.806c.156.038.286.074.418.1 1.007.192 1.877-.428 2.01-1.451a9 9 0 0 0 .062-1.158l.003-12.146a.15.15 0 0 1 .151-.15l4.62.003c.074 0 .133.059.133.132l.001 12.168c-.003 1.002-.06 2.002-.387 2.963q-.946 2.777-3.602 4.006c-.102.047-.171.065-.253-.049z",
24
- fill: color
25
- }
26
- ),
27
- /* @__PURE__ */ jsx(
28
- "path",
29
- {
30
- d: "m17.777 14.363 1.2-1.202c1.55 1.507 3.065 3.055 4.602 4.575 1.843 1.641 2.048 4.679.097 6.314-5.965 4.847-8.34-7.021-12.57-4.062-.899.72-1.69 1.553-2.48 2.385-1.048 1.08-1.954 2.45-3.557 2.656-3.952 1.004-6.748-4.05-3.903-6.918l3.407-3.328c.35-.26.81-.352 1.165-.018.417.392.277.926-.116 1.285l-3.397 3.48c-1.63 1.999.894 4.833 3.025 3.558 1.463-.762 2.435-2.146 3.59-3.281 3.38-3.854 5.97-1.74 8.775 1.338.49.484.948 1.002 1.444 1.481 2.533 2.454 5.9-1.151 3.424-3.583-1.553-1.575-3.15-3.109-4.705-4.68",
31
- fill: color
32
- }
33
- ),
34
- /* @__PURE__ */ jsx(
35
- "path",
36
- {
37
- d: "m3.574 9.428 1.14-1.143c.033.03 4.257 4.125 6.292 6.16.727.726 2.33.753 3.076-.013a904 904 0 0 1 8.545-8.636c2.063-2.027-.76-5.235-3.012-3.66-1.39 1.015-2.487 2.386-3.73 3.572-.278.28-.616.346-.939.187-.446-.21-.656-.841-.315-1.233 1.02-1.254 2.223-2.348 3.38-3.473 2.646-2.616 7.385-.512 7.067 3.199-.025 1.1-.461 2.04-1.235 2.803-2.895 2.857-5.81 5.695-8.7 8.555-.556.55-1.19.873-1.953.964-1.043.125-2.026-.05-2.917-.623-2.016-1.666-6.558-6.62-6.7-6.66z",
38
- fill: color
39
- }
40
- ),
41
- /* @__PURE__ */ jsx(
42
- "path",
43
- {
44
- d: "m16.59 10.646-1.193 1.2C12.49 8.736 9.357 5.85 6.349 2.84c-.439-.434-.9-.835-1.504-1.019-2.141-.718-4.149 2.184-2.573 3.9A32 32 0 0 0 4.135 7.6L2.898 8.812c-.572-.53-1.108-1.146-1.677-1.686-3.32-3.144.723-9.057 5.037-6.503.39.226.764.51 1.085.83 3.11 3.03 6.105 6.21 9.247 9.192",
45
- fill: color
46
- }
47
- )
48
- ]
49
- }
50
- );
51
- }
52
- function LogoHorizontalColorful() {
53
- return /* @__PURE__ */ jsxs(
54
- "svg",
55
- {
56
- fill: "none",
57
- height: "26",
58
- viewBox: "0 0 95 26",
59
- width: "95",
60
- xmlns: "http://www.w3.org/2000/svg",
61
- children: [
62
- /* @__PURE__ */ jsx(
63
- "path",
64
- {
65
- d: "M89.14 14.625c4.756-1.796 4.739-9.325-.024-11.12-.943-.407-1.952-.497-2.966-.498-3.344.002-6.687-.02-10.03.006v19.822h4.902c0-2.47.002-4.937-.004-7.406 0-.174.05-.221.22-.22q1.266.013 2.53 0c.168-.002.252.06.33.2 1.38 2.426 2.764 4.849 4.142 7.275.068.118.139.167.278.167 1.841-.017 3.68.02 5.52-.017zm-2.579-3.982c-.225.048-.459.068-.689.07-1.555.006-3.11.002-4.666.006-.135 0-.188-.032-.187-.178q.009-1.413 0-2.824c-.001-.157.06-.187.199-.186.843.004 4.203.007 5.04.032.713.022 1.356.523 1.538 1.137.253.858-.3 1.74-1.235 1.943M31.777 3.004 37.552 3c.148 0 .234.045.316.17l3.522 5.338 3.517-5.33c.085-.13.173-.179.329-.178l5.773.004-6.624 9.203c-.103.143-.096.231.003.37l7.378 10.28-5.919-.001c-.126 0-.19-.05-.254-.148l-4.2-6.408-4.17 6.378c-.084.13-.172.179-.328.178l-5.857-.004 7.34-10.253c.12-.167.109-.268-.007-.429zM62.469 3.008c.097 0 .176.08.176.177l.002 10.278c.003 1.018.184 2.003.671 2.912.782 1.455 2.111 2.006 3.593 1.862 1.715-.167 2.672-1.224 3.179-2.785.223-.688.27-1.4.27-2.118V3.131a.13.13 0 0 1 .13-.13h4.663a.13.13 0 0 1 .13.13l-.008 10.222c-.001 1.362-.152 2.7-.658 3.977-1.235 3.11-3.488 4.956-6.804 5.42-2.05.287-4.02-.017-5.826-1.077-2.034-1.193-3.267-3-3.895-5.25a9.4 9.4 0 0 1-.355-2.487l-.03-10.759c0-.097.08-.177.176-.177z",
66
- fill: "#504E50"
67
- }
68
- ),
69
- /* @__PURE__ */ jsx(
70
- "path",
71
- {
72
- d: "M49.388 17.806c.156.038.286.074.418.1 1.007.192 1.877-.428 2.01-1.451a9 9 0 0 0 .062-1.158l.003-12.146a.15.15 0 0 1 .151-.15l4.62.003c.074 0 .133.059.133.132l.001 12.168c-.003 1.002-.06 2.002-.387 2.963q-.946 2.777-3.602 4.006c-.102.047-.171.065-.253-.049z",
73
- fill: "#504E50"
74
- }
75
- ),
76
- /* @__PURE__ */ jsx(
77
- "path",
78
- {
79
- d: "m17.777 14.363 1.2-1.202c1.55 1.507 3.065 3.055 4.602 4.575 1.843 1.641 2.048 4.679.097 6.314-5.965 4.847-8.34-7.021-12.57-4.062-.899.72-1.69 1.553-2.48 2.385-1.048 1.08-1.954 2.45-3.557 2.656-3.952 1.004-6.748-4.05-3.903-6.918l3.407-3.328c.35-.26.81-.352 1.165-.018.417.392.277.926-.116 1.285l-3.397 3.48c-1.63 1.999.894 4.833 3.025 3.558 1.463-.762 2.435-2.146 3.59-3.281 3.38-3.854 5.97-1.74 8.775 1.338.49.484.948 1.002 1.444 1.481 2.533 2.454 5.9-1.151 3.424-3.583-1.553-1.575-3.15-3.109-4.705-4.68",
80
- fill: "#D68600"
81
- }
82
- ),
83
- /* @__PURE__ */ jsx(
84
- "path",
85
- {
86
- d: "m3.574 9.428 1.14-1.143c.033.03 4.257 4.125 6.292 6.16.727.726 2.33.753 3.076-.013a904 904 0 0 1 8.545-8.636c2.063-2.027-.76-5.235-3.012-3.66-1.39 1.015-2.487 2.386-3.73 3.572-.278.28-.616.346-.939.187-.446-.21-.656-.841-.315-1.233 1.02-1.254 2.223-2.348 3.38-3.473 2.646-2.616 7.385-.512 7.067 3.199-.025 1.1-.461 2.04-1.235 2.803-2.895 2.857-5.81 5.695-8.7 8.555-.556.55-1.19.873-1.953.964-1.043.125-2.026-.05-2.917-.623-2.016-1.666-6.558-6.62-6.7-6.66z",
87
- fill: "#66127D"
88
- }
89
- ),
90
- /* @__PURE__ */ jsx(
91
- "path",
92
- {
93
- d: "m16.59 10.646-1.193 1.2C12.49 8.736 9.357 5.85 6.349 2.84c-.439-.434-.9-.835-1.504-1.019-2.141-.718-4.149 2.184-2.573 3.9A32 32 0 0 0 4.135 7.6L2.898 8.812c-.572-.53-1.108-1.146-1.677-1.686-3.32-3.144.723-9.057 5.037-6.503.39.226.764.51 1.085.83 3.11 3.03 6.105 6.21 9.247 9.192",
94
- fill: "#D68600"
95
- }
96
- )
97
- ]
98
- }
99
- );
100
- }
101
- var Horizontal = {
102
- Solid: LogoHorizontalSolid,
103
- Colorful: LogoHorizontalColorful
104
- };
105
- export {
106
- Horizontal
107
- };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function LogoIconSolid({ color }: {
4
- color: string;
5
- }): react_jsx_runtime.JSX.Element;
6
- declare function LogoIconColorful(): react_jsx_runtime.JSX.Element;
7
- declare const Icon: {
8
- Solid: typeof LogoIconSolid;
9
- Colorful: typeof LogoIconColorful;
10
- };
11
-
12
- export { Icon };
@@ -1,79 +0,0 @@
1
- // src/components/resources/logo/icon.tsx
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- function LogoIconSolid({ color }) {
4
- return /* @__PURE__ */ jsxs(
5
- "svg",
6
- {
7
- fill: "none",
8
- height: "26",
9
- viewBox: "0 0 26 26",
10
- width: "26",
11
- xmlns: "http://www.w3.org/2000/svg",
12
- children: [
13
- /* @__PURE__ */ jsx(
14
- "path",
15
- {
16
- d: "M17.7771 14.3626C18.1813 13.9583 18.5751 13.5644 18.9779 13.1612C20.5269 14.6679 22.0424 16.2157 23.5793 17.7363C25.4224 19.377 25.6267 22.4146 23.6763 24.05C17.7108 28.8974 15.3367 17.0285 11.1052 19.9875C10.2073 20.7081 9.41678 21.5407 8.62623 22.3732C7.57834 23.4534 6.67195 24.8221 5.06874 25.0287C1.11705 26.0331 -1.6791 20.9798 1.16588 18.1112L4.57331 14.783C4.92332 14.5238 5.3824 14.4309 5.73811 14.7651C6.15548 15.1572 6.01505 15.6913 5.62227 16.0498L2.22482 19.5303C0.594533 21.5289 3.1191 24.3635 5.24981 23.0884C6.71294 22.3263 7.68491 20.9423 8.83937 19.8066C12.2197 15.9533 14.8099 18.0669 17.6149 21.1446C18.1057 21.629 18.5634 22.1473 19.0588 22.6262C21.5923 25.0802 24.9591 21.4749 22.483 19.0431C20.9304 17.4682 19.3333 15.934 17.7778 14.3623L17.7771 14.3626Z",
17
- fill: color
18
- }
19
- ),
20
- /* @__PURE__ */ jsx(
21
- "path",
22
- {
23
- d: "M3.57427 9.4276C3.95493 9.0462 4.32775 8.6723 4.71412 8.28518C4.74727 8.31556 8.97055 12.4102 11.0061 14.4445C11.7332 15.1712 13.3361 15.1983 14.0824 14.4316C16.9146 11.5384 19.7567 8.64943 22.6266 5.79551C24.6903 3.76946 21.8667 0.560949 19.6148 2.13589C18.2244 3.15071 17.1277 4.52226 15.8856 5.70793C15.6072 5.98889 15.2689 6.05359 14.9464 5.89524C14.5001 5.68506 14.2898 5.05379 14.6306 4.66238C15.6517 3.40772 16.8543 2.31355 18.0116 1.18864C20.6567 -1.42721 25.3964 0.676765 25.0785 4.3875C25.0528 5.48881 24.6169 6.42749 23.8428 7.19137C20.9475 10.0478 18.0337 12.8856 15.1428 15.7463C14.5868 16.2964 13.9523 16.6185 13.1896 16.71C12.1474 16.8351 11.1644 16.6596 10.2729 16.0873C8.25735 14.4205 3.7147 9.46657 3.57391 9.4276H3.57427Z",
24
- fill: color
25
- }
26
- ),
27
- /* @__PURE__ */ jsx(
28
- "path",
29
- {
30
- d: "M16.5895 10.6458C16.1661 11.0719 15.7865 11.454 15.3969 11.8461C12.4899 8.73665 9.35726 5.84949 6.34938 2.83865C5.91027 2.4047 5.44869 2.00399 4.84491 1.82026C2.70386 1.10178 0.696116 4.00359 2.27223 5.71973C2.86461 6.36815 3.49049 7.00228 4.13491 7.59923C3.71397 8.01244 3.31335 8.40564 2.89776 8.8135C2.32569 8.28304 1.78999 7.66679 1.22149 7.12667C-2.09897 3.98286 1.94361 -1.93015 6.25778 0.623506C6.64878 0.850132 7.0216 1.13431 7.3431 1.45316C10.4529 4.4833 13.4476 7.66321 16.5895 10.6458Z",
31
- fill: color
32
- }
33
- )
34
- ]
35
- }
36
- );
37
- }
38
- function LogoIconColorful() {
39
- return /* @__PURE__ */ jsxs(
40
- "svg",
41
- {
42
- fill: "none",
43
- height: "26",
44
- viewBox: "0 0 26 26",
45
- width: "26",
46
- xmlns: "http://www.w3.org/2000/svg",
47
- children: [
48
- /* @__PURE__ */ jsx(
49
- "path",
50
- {
51
- d: "M17.7771 14.3626C18.1813 13.9583 18.5751 13.5644 18.9779 13.1612C20.5269 14.6679 22.0424 16.2157 23.5793 17.7363C25.4224 19.377 25.6267 22.4146 23.6763 24.05C17.7108 28.8974 15.3367 17.0285 11.1052 19.9875C10.2073 20.7081 9.41678 21.5407 8.62623 22.3732C7.57834 23.4534 6.67195 24.8221 5.06874 25.0287C1.11705 26.0331 -1.6791 20.9798 1.16588 18.1112L4.57331 14.783C4.92332 14.5238 5.3824 14.4309 5.73811 14.7651C6.15548 15.1572 6.01505 15.6913 5.62227 16.0498L2.22482 19.5303C0.594533 21.5289 3.1191 24.3635 5.24981 23.0884C6.71294 22.3263 7.68491 20.9423 8.83937 19.8066C12.2197 15.9533 14.8099 18.0669 17.6149 21.1446C18.1057 21.629 18.5634 22.1473 19.0588 22.6262C21.5923 25.0802 24.9591 21.4749 22.483 19.0431C20.9304 17.4682 19.3333 15.934 17.7778 14.3623L17.7771 14.3626Z",
52
- fill: "#D68600"
53
- }
54
- ),
55
- /* @__PURE__ */ jsx(
56
- "path",
57
- {
58
- d: "M3.57427 9.4276C3.95493 9.0462 4.32775 8.6723 4.71412 8.28518C4.74727 8.31556 8.97055 12.4102 11.0061 14.4445C11.7332 15.1712 13.3361 15.1983 14.0824 14.4316C16.9146 11.5384 19.7567 8.64943 22.6266 5.79551C24.6903 3.76946 21.8667 0.560949 19.6148 2.13589C18.2244 3.15071 17.1277 4.52226 15.8856 5.70793C15.6072 5.98889 15.2689 6.05359 14.9464 5.89524C14.5001 5.68506 14.2898 5.05379 14.6306 4.66238C15.6517 3.40772 16.8543 2.31355 18.0116 1.18864C20.6567 -1.42721 25.3964 0.676765 25.0785 4.3875C25.0528 5.48881 24.6169 6.42749 23.8428 7.19137C20.9475 10.0478 18.0337 12.8856 15.1428 15.7463C14.5868 16.2964 13.9523 16.6185 13.1896 16.71C12.1474 16.8351 11.1644 16.6596 10.2729 16.0873C8.25735 14.4205 3.7147 9.46657 3.57391 9.4276H3.57427Z",
59
- fill: "#66127D"
60
- }
61
- ),
62
- /* @__PURE__ */ jsx(
63
- "path",
64
- {
65
- d: "M16.5895 10.6458C16.1661 11.0719 15.7865 11.454 15.3969 11.8461C12.4899 8.73665 9.35726 5.84949 6.34938 2.83865C5.91027 2.4047 5.44869 2.00399 4.84491 1.82026C2.70386 1.10178 0.696116 4.00359 2.27223 5.71973C2.86461 6.36815 3.49049 7.00228 4.13491 7.59923C3.71397 8.01244 3.31335 8.40564 2.89776 8.8135C2.32569 8.28304 1.78999 7.66679 1.22149 7.12667C-2.09897 3.98286 1.94361 -1.93015 6.25778 0.623506C6.64878 0.850132 7.0216 1.13431 7.3431 1.45316C10.4529 4.4833 13.4476 7.66321 16.5895 10.6458Z",
66
- fill: "#D68600"
67
- }
68
- )
69
- ]
70
- }
71
- );
72
- }
73
- var Icon = {
74
- Solid: LogoIconSolid,
75
- Colorful: LogoIconColorful
76
- };
77
- export {
78
- Icon
79
- };
@@ -1,4 +0,0 @@
1
- export { Horizontal } from './horizontal.js';
2
- export { Vertical } from './vertical.js';
3
- export { Icon } from './icon.js';
4
- import 'react/jsx-runtime';