@xjur-ui/react 1.0.6 → 2.0.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 (115) hide show
  1. package/.turbo/turbo-build.log +97 -45
  2. package/CHANGELOG.md +44 -0
  3. package/README.md +146 -0
  4. package/dist/chunk-CBFC4QME.js +2 -0
  5. package/dist/chunk-CBFC4QME.js.map +1 -0
  6. package/dist/chunk-EIG6CBTQ.js +2 -0
  7. package/dist/chunk-EIG6CBTQ.js.map +1 -0
  8. package/dist/chunk-FASEHVMD.js +2 -0
  9. package/dist/chunk-FASEHVMD.js.map +1 -0
  10. package/dist/chunk-KIFR5VIE.js +2 -0
  11. package/dist/chunk-KIFR5VIE.js.map +1 -0
  12. package/dist/chunk-KS6WGBHQ.js +2 -0
  13. package/dist/chunk-KS6WGBHQ.js.map +1 -0
  14. package/dist/chunk-NELCN6E2.js +2 -0
  15. package/dist/chunk-NELCN6E2.js.map +1 -0
  16. package/dist/chunk-NPTLORW5.js +2 -0
  17. package/dist/chunk-NPTLORW5.js.map +1 -0
  18. package/dist/chunk-RWMV7APX.js +2 -0
  19. package/dist/chunk-RWMV7APX.js.map +1 -0
  20. package/dist/chunk-SHHXKVVR.js +2 -0
  21. package/dist/chunk-SHHXKVVR.js.map +1 -0
  22. package/dist/chunk-TB6KI6CL.js +2 -0
  23. package/dist/chunk-TB6KI6CL.js.map +1 -0
  24. package/dist/components/avatar-group.js +2 -179
  25. package/dist/components/avatar-group.js.map +1 -0
  26. package/dist/components/avatar.js +2 -59
  27. package/dist/components/avatar.js.map +1 -0
  28. package/dist/components/badge.js +2 -111
  29. package/dist/components/badge.js.map +1 -0
  30. package/dist/components/button.js +2 -98
  31. package/dist/components/button.js.map +1 -0
  32. package/dist/components/calendar.js +2 -751
  33. package/dist/components/calendar.js.map +1 -0
  34. package/dist/components/checkbox.js +2 -153
  35. package/dist/components/checkbox.js.map +1 -0
  36. package/dist/components/chip.d.ts +3 -1
  37. package/dist/components/chip.js +2 -256
  38. package/dist/components/chip.js.map +1 -0
  39. package/dist/components/collapsible.js +2 -41
  40. package/dist/components/collapsible.js.map +1 -0
  41. package/dist/components/date-picker.d.ts +8 -3
  42. package/dist/components/date-picker.js +2 -232
  43. package/dist/components/date-picker.js.map +1 -0
  44. package/dist/components/divider.js +2 -29
  45. package/dist/components/divider.js.map +1 -0
  46. package/dist/components/dropdown-menu.js +2 -295
  47. package/dist/components/dropdown-menu.js.map +1 -0
  48. package/dist/components/icon.js +2 -177
  49. package/dist/components/icon.js.map +1 -0
  50. package/dist/components/input.d.ts +9 -4
  51. package/dist/components/input.js +2 -315
  52. package/dist/components/input.js.map +1 -0
  53. package/dist/components/list.js +2 -179
  54. package/dist/components/list.js.map +1 -0
  55. package/dist/components/logo.js +2 -324
  56. package/dist/components/logo.js.map +1 -0
  57. package/dist/components/otp-input.js +2 -47
  58. package/dist/components/otp-input.js.map +1 -0
  59. package/dist/components/radio.js +2 -156
  60. package/dist/components/radio.js.map +1 -0
  61. package/dist/components/rich-editor.d.ts +2 -1
  62. package/dist/components/rich-editor.js +2 -723
  63. package/dist/components/rich-editor.js.map +1 -0
  64. package/dist/components/search-input.js +2 -274
  65. package/dist/components/search-input.js.map +1 -0
  66. package/dist/components/select.d.ts +6 -3
  67. package/dist/components/select.js +2 -550
  68. package/dist/components/select.js.map +1 -0
  69. package/dist/components/sheet.js +2 -251
  70. package/dist/components/sheet.js.map +1 -0
  71. package/dist/components/skeleton.js +2 -16
  72. package/dist/components/skeleton.js.map +1 -0
  73. package/dist/components/status.js +2 -111
  74. package/dist/components/status.js.map +1 -0
  75. package/dist/components/switch.js +2 -36
  76. package/dist/components/switch.js.map +1 -0
  77. package/dist/components/table.js +2 -196
  78. package/dist/components/table.js.map +1 -0
  79. package/dist/components/tabs.d.ts +9 -6
  80. package/dist/components/tabs.js +2 -54
  81. package/dist/components/tabs.js.map +1 -0
  82. package/dist/components/tag.d.ts +3 -1
  83. package/dist/components/tag.js +2 -189
  84. package/dist/components/tag.js.map +1 -0
  85. package/dist/components/tooltip.js +2 -58
  86. package/dist/components/tooltip.js.map +1 -0
  87. package/dist/components/typography.js +2 -78
  88. package/dist/components/typography.js.map +1 -0
  89. package/dist/hooks/index.d.ts +7 -0
  90. package/dist/hooks/index.js +2 -0
  91. package/dist/hooks/index.js.map +1 -0
  92. package/dist/index.css +2 -2322
  93. package/dist/index.css.map +1 -0
  94. package/dist/logo-PQRZORCS.js +3 -0
  95. package/dist/logo-PQRZORCS.js.map +1 -0
  96. package/package.json +41 -8
  97. package/src/components/calendar.tsx +7 -6
  98. package/src/components/chip.tsx +11 -3
  99. package/src/components/date-picker.tsx +125 -22
  100. package/src/components/icon.tsx +1 -1
  101. package/src/components/input.tsx +124 -60
  102. package/src/components/logo.tsx +25 -20
  103. package/src/components/rich-editor.tsx +4 -3
  104. package/src/components/select.tsx +104 -26
  105. package/src/components/tabs.tsx +56 -37
  106. package/src/components/tag.tsx +11 -3
  107. package/src/index.css +2 -2
  108. package/src/resources/logo/index.tsx +33 -0
  109. package/tsup.config.ts +23 -5
  110. package/dist/components/test.d.ts +0 -5
  111. package/dist/components/test.js +0 -8
  112. package/dist/index.js +0 -0
  113. package/src/components/test.tsx +0 -3
  114. package/src/index.ts +0 -1
  115. package/src/resources/logo/index.ts +0 -3
@@ -1,232 +1,2 @@
1
- // src/components/date-picker.tsx
2
- import * as RadixPopover from "@radix-ui/react-popover";
3
- import { cx } from "@xjur-ui/util";
4
-
5
- // src/components/typography.tsx
6
- import { Slot } from "@radix-ui/react-slot";
7
- import { cva } from "@xjur-ui/util";
8
- import { memo } from "react";
9
- import { jsx } from "react/jsx-runtime";
10
- var typographyVariants = cva("", {
11
- variants: {
12
- variant: {
13
- body: "",
14
- label: "",
15
- title: "",
16
- headline: ""
17
- },
18
- size: {
19
- "sm-2x": "",
20
- "sm-1x": "",
21
- sm: "",
22
- md: "",
23
- lg: ""
24
- },
25
- weight: {
26
- thin: "font-thin",
27
- extraLight: "font-extralight",
28
- light: "font-light",
29
- normal: "font-normal",
30
- medium: "font-medium",
31
- semibold: "font-semibold",
32
- bold: "font-bold",
33
- extraBold: "font-extrabold",
34
- black: "font-black"
35
- }
36
- },
37
- compoundVariants: [
38
- { variant: "body", size: "sm-1x", class: "text-size-body-sm-1x" },
39
- { variant: "body", size: "sm", class: "text-size-body-sm" },
40
- { variant: "body", size: "md", class: "text-size-body-md" },
41
- { variant: "body", size: "lg", class: "text-size-body-lg" },
42
- { variant: "label", size: "sm-2x", class: "text-size-label-sm-2x" },
43
- { variant: "label", size: "sm-1x", class: "text-size-label-sm-1x" },
44
- { variant: "label", size: "sm", class: "text-size-label-sm" },
45
- { variant: "label", size: "md", class: "text-size-label-md" },
46
- { variant: "label", size: "lg", class: "text-size-label-lg" },
47
- { variant: "title", size: "sm", class: "text-size-title-sm" },
48
- { variant: "title", size: "md", class: "text-size-title-md" },
49
- { variant: "title", size: "lg", class: "text-size-title-lg" },
50
- { variant: "headline", size: "sm", class: "text-size-headline-sm" },
51
- { variant: "headline", size: "md", class: "text-size-headline-md" },
52
- { variant: "headline", size: "lg", class: "text-size-headline-lg" }
53
- ],
54
- defaultVariants: {
55
- variant: "body",
56
- size: "md",
57
- weight: "normal"
58
- }
59
- });
60
- var Typography = memo(
61
- ({
62
- variant,
63
- size,
64
- weight,
65
- asChild,
66
- className,
67
- ...props
68
- }) => {
69
- const Component = asChild ? Slot : "span";
70
- return /* @__PURE__ */ jsx(
71
- Component,
72
- {
73
- className: typographyVariants({ variant, size, weight, className }),
74
- ...props
75
- }
76
- );
77
- }
78
- );
79
- Typography.displayName = "Typography";
80
-
81
- // src/components/date-picker.tsx
82
- import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
83
- function DatePickerRoot(props) {
84
- return /* @__PURE__ */ jsx2(RadixPopover.Root, { ...props });
85
- }
86
- function DatePickerTrigger({
87
- className,
88
- ...props
89
- }) {
90
- return /* @__PURE__ */ jsx2(
91
- RadixPopover.Trigger,
92
- {
93
- className: cx(
94
- className,
95
- "group h-large-4x rounded-small-1x gap-small py-small_1x-alt px-small relative flex w-full cursor-pointer items-center",
96
- "bg-layer-2-idle border-border-layer-2 hover:border-border-layer-3 border",
97
- "data-[state=open]:border-primary-idle",
98
- "has-[input:not(:placeholder-shown)]:text-primary-idle",
99
- "has-[input:not(:placeholder-shown)]:border-primary-idle"
100
- ),
101
- ...props
102
- }
103
- );
104
- }
105
- function DatePickerContent({
106
- className,
107
- sideOffset = 5,
108
- side = "bottom",
109
- align = "start",
110
- ...props
111
- }) {
112
- return /* @__PURE__ */ jsx2(RadixPopover.Portal, { children: /* @__PURE__ */ jsx2(
113
- RadixPopover.Content,
114
- {
115
- align,
116
- className: cx(
117
- className,
118
- "group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-content-available-width)] min-w-[var(--radix-popover-trigger-width)]"
119
- ),
120
- side,
121
- sideOffset,
122
- ...props
123
- }
124
- ) });
125
- }
126
- function DatePickerValue({
127
- className,
128
- displayValue = "",
129
- value,
130
- ...props
131
- }) {
132
- return /* @__PURE__ */ jsxs(Fragment, { children: [
133
- !!displayValue && /* @__PURE__ */ jsx2(Typography, { className: "text-neutral-dark group-has-[div[data-slot=date-picker-left-slot]]:pl-large-1x", children: displayValue }),
134
- /* @__PURE__ */ jsx2(
135
- "input",
136
- {
137
- ...props,
138
- "aria-readonly": true,
139
- className: cx("pointer-events-none", className),
140
- hidden: true,
141
- placeholder: props.placeholder ?? " ",
142
- readOnly: true,
143
- value: value ?? ""
144
- }
145
- )
146
- ] });
147
- }
148
- function DatePickerLabel({
149
- className,
150
- htmlFor,
151
- children,
152
- ...props
153
- }) {
154
- return /* @__PURE__ */ jsx2(
155
- Typography,
156
- {
157
- asChild: true,
158
- className: cx(
159
- "inline-block max-w-full truncate text-left font-normal",
160
- "left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2",
161
- "ease transition-all duration-250",
162
- // Content Open
163
- "group-data-[state=open]:text-primary-idle",
164
- "group-data-[state=open]:-top-[3px]",
165
- "group-data-[state=open]:text-size-label-sm-1x",
166
- "group-data-[state=open]:font-medium",
167
- // Filled
168
- "group-has-[input:not(:placeholder-shown)]:text-primary-idle",
169
- "group-has-[input:not(:placeholder-shown)]:-top-[3px]",
170
- "group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x",
171
- "group-has-[input:not(:placeholder-shown)]:font-medium",
172
- // If has left slot
173
- "group-has-[div[data-slot=date-picker-left-slot]]:left-large-4x",
174
- "group-has-[div[data-slot=date-picker-left-slot]]:group-data-[state=open]:left-small",
175
- "group-has-[div[data-slot=date-picker-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small",
176
- // If has right slot
177
- "group-has-[div[data-slot=date-picker-right-slot]]:right-large-4x",
178
- "group-has-[div[data-slot=date-picker-right-slot]]:group-data-[state=open]:right-small",
179
- "group-has-[div[data-slot=date-picker-right-slot]]:group-has-[input:not(:placeholder-shown)]:right-small",
180
- // Animate
181
- "group-data-[state=open]:animate-in",
182
- "group-data-[state=closed]:animate-out",
183
- "group-has-[input:not(:placeholder-shown)]:animate-out",
184
- className
185
- ),
186
- weight: "medium",
187
- ...props,
188
- children: /* @__PURE__ */ jsx2("label", { htmlFor, children: /* @__PURE__ */ jsx2("span", { className: "bg-layer-2-idle rounded-small-1x max-w-full", children }) })
189
- }
190
- );
191
- }
192
- function DatePickerLeftSlot({
193
- className,
194
- ...props
195
- }) {
196
- return /* @__PURE__ */ jsx2(
197
- "div",
198
- {
199
- ...props,
200
- className: cx(
201
- className,
202
- "left-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center"
203
- ),
204
- "data-slot": "date-picker-left-slot"
205
- }
206
- );
207
- }
208
- function DatePickerRightSlot({
209
- className,
210
- ...props
211
- }) {
212
- return /* @__PURE__ */ jsx2(
213
- "div",
214
- {
215
- ...props,
216
- className: cx(
217
- className,
218
- "right-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center"
219
- ),
220
- "data-slot": "date-picker-right-slot"
221
- }
222
- );
223
- }
224
- export {
225
- DatePickerContent,
226
- DatePickerLabel,
227
- DatePickerLeftSlot,
228
- DatePickerRightSlot,
229
- DatePickerRoot,
230
- DatePickerTrigger,
231
- DatePickerValue
232
- };
1
+ import {a}from'../chunk-EIG6CBTQ.js';import {createContext,useContext}from'react';import*as l from'@radix-ui/react-popover';import {tv,twMerge,twJoin}from'@xjur-ui/util';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var g=createContext({disabled:false,variant:"filled",hasError:false});function u(){let e=useContext(g);if(!e)throw new Error("useDatePicker must be used within a DatePickerRoot");return e}function w({disabled:e=false,variant:t="filled",hasError:a=false,...o}){return jsx(g.Provider,{value:{disabled:e,variant:t,hasError:a},children:jsx(l.Root,{...o})})}function k({className:e,...t}){let{disabled:a,variant:o,hasError:i}=u(),s=tv({base:twMerge("border border-transparent group h-large-4x rounded-small-1x gap-small py-small_1x-alt px-small relative flex w-full items-center cursor-pointer","data-[state=open]:border-primary-idle","has-[input:not(:placeholder-shown)]:text-primary-idle","has-[input:not(:placeholder-shown)]:border-primary-idle","focus-within:border-primary-idle focus-within:hover:border-primary-idle","hover:border-border-layer-1"),variants:{variant:{filled:"bg-layer-2-hover",outlined:"bg-layer-2-idle border-border-layer-2 hover:border-border-layer-3",disabled:"hover:border-transparent border-none bg-layer-2-idle cursor-text select-text"},state:{idle:"",error:twMerge("focus-within:border-danger-idle hover:border-danger-idle border-danger-idle focus-within:hover:border-danger-idle","data-[state=open]:border-danger-idle has-[input:not(:placeholder-shown)]:border-danger-idle")}},defaultVariants:{variant:"filled",state:"idle"}});return jsx(l.Trigger,{className:s({variant:a?"disabled":o,state:i?"error":"idle",className:e}),...t,disabled:a})}function C({className:e,sideOffset:t=5,side:a="bottom",align:o="start",...i}){return jsx(l.Portal,{children:jsx(l.Content,{align:o,className:twJoin(e,"group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-content-available-width)] min-w-[var(--radix-popover-trigger-width)]"),side:a,sideOffset:t,...i})})}function R({className:e,displayValue:t="",value:a$1,...o}){return jsxs(Fragment,{children:[!!t&&jsx(a,{className:"text-neutral-dark group-has-[div[data-slot=date-picker-left-slot]]:pl-large-1x",children:t}),jsx("input",{...o,"aria-readonly":true,className:twJoin("pointer-events-none",e),hidden:true,placeholder:o.placeholder??" ",readOnly:true,value:a$1??""})]})}function D({className:e,htmlFor:t,children:a$1,...o}){let{variant:i,disabled:s,hasError:p}=u();return jsx(a,{asChild:true,className:twJoin("group inline-block max-w-full truncate text-left font-normal","left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2","ease transition-all duration-250","group-data-[state=open]:text-primary-idle group-data-[state=open]:data-[error=true]:text-danger-label-active","group-data-[state=open]:-top-[3px]","group-data-[state=open]:text-size-label-sm-1x","group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:text-primary-idle group-has-[input:not(:placeholder-shown)]:data-[error=true]:text-danger-label-active","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=date-picker-left-slot]]:left-large-4x","group-has-[div[data-slot=date-picker-left-slot]]:group-data-[state=open]:left-small","group-has-[div[data-slot=date-picker-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=date-picker-right-slot]]:right-large-4x","group-has-[div[data-slot=date-picker-right-slot]]:group-data-[state=open]:right-small","group-has-[div[data-slot=date-picker-right-slot]]:group-has-[input:not(:placeholder-shown)]:right-small","group-data-[state=open]:animate-in","group-data-[state=closed]:animate-out","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden",e),"data-disabled":s,"data-error":p,"data-variant":i,weight:"medium",...o,children:jsx("label",{htmlFor:t,children:jsx("span",{className:twJoin("rounded-small-1x max-w-full","group-data-[variant=outlined]:bg-layer-2-idle","group-data-[variant=filled]:bg-layer-2-hover"),children:a$1})})})}function N({className:e,...t}){return jsx("div",{...t,className:twJoin(e,"left-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center"),"data-slot":"date-picker-left-slot"})}function T({className:e,...t}){return jsx("div",{...t,className:twJoin(e,"right-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center"),"data-slot":"date-picker-right-slot"})}function E({className:e,variant:t="body",size:a$1="sm",weight:o="normal",...i}){let{hasError:s}=u(),p=tv({base:"text-size-body-sm mt-small-1x font-normal",variants:{state:{error:"text-danger-label-active",idle:"text-neutral-dark"}}});return jsx(a,{className:p({state:s?"error":"idle",className:e}),size:a$1,variant:t,weight:o,...i})}export{E as DatePickerCaption,C as DatePickerContent,D as DatePickerLabel,N as DatePickerLeftSlot,T as DatePickerRightSlot,w as DatePickerRoot,k as DatePickerTrigger,R as DatePickerValue};//# sourceMappingURL=date-picker.js.map
2
+ //# sourceMappingURL=date-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/date-picker.tsx"],"names":["DatePickerContext","createContext","useDatePicker","context","useContext","DatePickerRoot","disabled","variant","hasError","props","jsx","DatePickerTrigger","className","trigger","tv","twMerge","DatePickerContent","sideOffset","side","align","twJoin","DatePickerValue","displayValue","value","jsxs","Fragment","Typography","DatePickerLabel","htmlFor","children","DatePickerLeftSlot","DatePickerRightSlot","DatePickerCaption","size","weight","caption"],"mappings":"4NAMA,IAAMA,CAAAA,CAAoBC,aAAAA,CAAc,CACtC,QAAA,CAAU,KAAA,CACV,OAAA,CAAS,QAAA,CACT,QAAA,CAAU,KACZ,CAAC,CAAA,CAED,SAASC,CAAAA,EAAgB,CACvB,IAAMC,CAAAA,CAAUC,UAAAA,CAAWJ,CAAiB,CAAA,CAC5C,GAAI,CAACG,CAAAA,CACH,MAAM,IAAI,KAAA,CAAM,oDAAoD,CAAA,CAEtE,OAAOA,CACT,CAEO,SAASE,CAAAA,CAAe,CAC7B,QAAA,CAAAC,CAAAA,CAAW,KAAA,CACX,OAAA,CAAAC,CAAAA,CAAU,QAAA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A,CAAkB,CAChC,SAAA,CAAApB,CAAAA,CACA,OAAA,CAAAL,CAAAA,CAAU,OACV,IAAA,CAAA0B,GAAAA,CAAO,IAAA,CACP,MAAA,CAAAC,CAAAA,CAAS,QAAA,CACT,GAAGzB,CACL,CAAA,CAAsC,CACpC,GAAM,CAAE,QAAA,CAAAD,CAAS,EAAIN,CAAAA,EAAc,CAE7BiC,CAAAA,CAAUrB,EAAAA,CAAG,CACjB,IAAA,CAAM,2CAAA,CACN,QAAA,CAAU,CACR,KAAA,CAAO,CACL,KAAA,CAAO,0BAAA,CACP,IAAA,CAAM,mBACR,CACF,CACF,CAAC,CAAA,CAED,OACEJ,GAAAA,CAACgB,CAAAA,CAAA,CACC,SAAA,CAAWS,CAAAA,CAAQ,CACjB,KAAA,CAAO3B,CAAAA,CAAW,OAAA,CAAU,OAC5B,SAAA,CAAAI,CACF,CAAC,CAAA,CACD,IAAA,CAAMqB,GAAAA,CACN,OAAA,CAAS1B,CAAAA,CACT,MAAA,CAAQ2B,CAAAA,CACP,GAAGzB,CAAAA,CACN,CAEJ","file":"date-picker.js","sourcesContent":["import { createContext, useContext } from 'react'\nimport type { ComponentProps } from 'react'\nimport * as RadixPopover from '@radix-ui/react-popover'\nimport { tv, twJoin, twMerge } from '@xjur-ui/util'\nimport { Typography, type TypographyProps } from './typography'\n\nconst DatePickerContext = createContext({\n disabled: false,\n variant: 'filled' as 'filled' | 'outlined',\n hasError: false\n})\n\nfunction useDatePicker() {\n const context = useContext(DatePickerContext)\n if (!context) {\n throw new Error('useDatePicker must be used within a DatePickerRoot')\n }\n return context\n}\n\nexport function DatePickerRoot({\n disabled = false,\n variant = 'filled',\n hasError = false,\n ...props\n}: ComponentProps<typeof RadixPopover.Root> & {\n disabled?: boolean\n variant?: 'filled' | 'outlined'\n hasError?: boolean\n}) {\n return (\n <DatePickerContext.Provider value={{ disabled, variant, hasError }}>\n <RadixPopover.Root {...props} />\n </DatePickerContext.Provider>\n )\n}\n\nexport function DatePickerTrigger({\n className,\n ...props\n}: ComponentProps<typeof RadixPopover.Trigger>) {\n const { disabled, variant, hasError } = useDatePicker()\n\n const trigger = tv({\n base: twMerge(\n 'border border-transparent group h-large-4x rounded-small-1x gap-small py-small_1x-alt px-small relative flex w-full items-center cursor-pointer',\n 'data-[state=open]:border-primary-idle',\n 'has-[input:not(:placeholder-shown)]:text-primary-idle',\n 'has-[input:not(:placeholder-shown)]:border-primary-idle',\n 'focus-within:border-primary-idle focus-within:hover:border-primary-idle',\n 'hover:border-border-layer-1'\n ),\n variants: {\n variant: {\n filled: 'bg-layer-2-hover',\n outlined:\n 'bg-layer-2-idle border-border-layer-2 hover:border-border-layer-3',\n disabled:\n 'hover:border-transparent border-none bg-layer-2-idle cursor-text select-text'\n },\n state: {\n idle: '',\n error: twMerge(\n 'focus-within:border-danger-idle hover:border-danger-idle border-danger-idle focus-within:hover:border-danger-idle',\n 'data-[state=open]:border-danger-idle has-[input:not(:placeholder-shown)]:border-danger-idle'\n )\n }\n },\n defaultVariants: {\n variant: 'filled',\n state: 'idle'\n }\n })\n\n return (\n <RadixPopover.Trigger\n className={trigger({\n variant: disabled ? 'disabled' : variant,\n state: hasError ? 'error' : 'idle',\n className\n })}\n {...props}\n disabled={disabled}\n />\n )\n}\n\nexport function DatePickerContent({\n className,\n sideOffset = 5,\n side = 'bottom',\n align = 'start',\n ...props\n}: ComponentProps<typeof RadixPopover.Content>) {\n return (\n <RadixPopover.Portal>\n <RadixPopover.Content\n align={align}\n className={twJoin(\n className,\n 'group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-content-available-width)] min-w-[var(--radix-popover-trigger-width)]'\n )}\n side={side}\n sideOffset={sideOffset}\n {...props}\n />\n </RadixPopover.Portal>\n )\n}\n\nexport function DatePickerValue({\n className,\n displayValue = '',\n value,\n ...props\n}: ComponentProps<'input'> & { displayValue?: string }) {\n return (\n <>\n {!!displayValue && (\n <Typography className=\"text-neutral-dark group-has-[div[data-slot=date-picker-left-slot]]:pl-large-1x\">\n {displayValue}\n </Typography>\n )}\n\n <input\n {...props}\n aria-readonly={true}\n className={twJoin('pointer-events-none', className)}\n hidden={true}\n placeholder={props.placeholder ?? ' '}\n readOnly={true}\n value={value ?? ''}\n />\n </>\n )\n}\n\nexport function DatePickerLabel({\n className,\n htmlFor,\n children,\n ...props\n}: TypographyProps & { htmlFor?: string }) {\n const { variant, disabled, hasError } = useDatePicker()\n\n return (\n <Typography\n asChild={true}\n className={twJoin(\n 'group inline-block max-w-full truncate text-left font-normal',\n 'left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2',\n 'ease transition-all duration-250',\n // Content Open\n 'group-data-[state=open]:text-primary-idle group-data-[state=open]:data-[error=true]:text-danger-label-active',\n 'group-data-[state=open]:-top-[3px]',\n 'group-data-[state=open]:text-size-label-sm-1x',\n 'group-data-[state=open]:font-medium',\n // Filled\n 'group-has-[input:not(:placeholder-shown)]:text-primary-idle group-has-[input:not(:placeholder-shown)]:data-[error=true]:text-danger-label-active',\n 'group-has-[input:not(:placeholder-shown)]:-top-[3px]',\n 'group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x',\n 'group-has-[input:not(:placeholder-shown)]:font-medium',\n // If has left slot\n 'group-has-[div[data-slot=date-picker-left-slot]]:left-large-4x',\n 'group-has-[div[data-slot=date-picker-left-slot]]:group-data-[state=open]:left-small',\n 'group-has-[div[data-slot=date-picker-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small',\n // If has right slot\n 'group-has-[div[data-slot=date-picker-right-slot]]:right-large-4x',\n 'group-has-[div[data-slot=date-picker-right-slot]]:group-data-[state=open]:right-small',\n 'group-has-[div[data-slot=date-picker-right-slot]]:group-has-[input:not(:placeholder-shown)]:right-small',\n // Animate\n 'group-data-[state=open]:animate-in',\n 'group-data-[state=closed]:animate-out',\n 'group-has-[input:not(:placeholder-shown)]:animate-out',\n 'data-[disabled=true]:hidden',\n\n className\n )}\n data-disabled={disabled}\n data-error={hasError}\n data-variant={variant}\n weight=\"medium\"\n {...props}\n >\n <label htmlFor={htmlFor}>\n <span\n className={twJoin(\n 'rounded-small-1x max-w-full',\n 'group-data-[variant=outlined]:bg-layer-2-idle',\n 'group-data-[variant=filled]:bg-layer-2-hover'\n )}\n >\n {children}\n </span>\n </label>\n </Typography>\n )\n}\n\nexport function DatePickerLeftSlot({\n className,\n ...props\n}: ComponentProps<'div'>) {\n return (\n <div\n {...props}\n className={twJoin(\n className,\n 'left-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center'\n )}\n data-slot=\"date-picker-left-slot\"\n />\n )\n}\n\nexport function DatePickerRightSlot({\n className,\n ...props\n}: ComponentProps<'div'>) {\n return (\n <div\n {...props}\n className={twJoin(\n className,\n 'right-small absolute top-1/2 flex -translate-y-1/2 items-center justify-center'\n )}\n data-slot=\"date-picker-right-slot\"\n />\n )\n}\n\nexport function DatePickerCaption({\n className,\n variant = 'body',\n size = 'sm',\n weight = 'normal',\n ...props\n}: ComponentProps<typeof Typography>) {\n const { hasError } = useDatePicker()\n\n const caption = tv({\n base: 'text-size-body-sm mt-small-1x font-normal',\n variants: {\n state: {\n error: 'text-danger-label-active',\n idle: 'text-neutral-dark'\n }\n }\n })\n\n return (\n <Typography\n className={caption({\n state: hasError ? 'error' : 'idle',\n className\n })}\n size={size}\n variant={variant}\n weight={weight}\n {...props}\n />\n )\n}\n"]}
@@ -1,29 +1,2 @@
1
- // src/components/divider.tsx
2
- import "react";
3
- import * as SeparatorPrimitive from "@radix-ui/react-separator";
4
- import { cx } from "@xjur-ui/util";
5
- import { jsx } from "react/jsx-runtime";
6
- function Divider({
7
- className,
8
- orientation = "horizontal",
9
- decorative = true,
10
- ...props
11
- }) {
12
- return /* @__PURE__ */ jsx(
13
- SeparatorPrimitive.Root,
14
- {
15
- className: cx(
16
- "bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full",
17
- "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
18
- className
19
- ),
20
- "data-slot": "separator",
21
- decorative,
22
- orientation,
23
- ...props
24
- }
25
- );
26
- }
27
- export {
28
- Divider
29
- };
1
+ export{a as Divider}from'../chunk-CBFC4QME.js';//# sourceMappingURL=divider.js.map
2
+ //# sourceMappingURL=divider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"divider.js"}
@@ -1,295 +1,2 @@
1
- // src/components/dropdown-menu.tsx
2
- import "react";
3
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
4
- import { cx as cx3 } from "@xjur-ui/util";
5
-
6
- // src/components/list.tsx
7
- import { Slot as Slot2 } from "@radix-ui/react-slot";
8
- import { cx, cva as cva2 } from "@xjur-ui/util";
9
-
10
- // src/components/typography.tsx
11
- import { Slot } from "@radix-ui/react-slot";
12
- import { cva } from "@xjur-ui/util";
13
- import { memo } from "react";
14
- import { jsx } from "react/jsx-runtime";
15
- var typographyVariants = cva("", {
16
- variants: {
17
- variant: {
18
- body: "",
19
- label: "",
20
- title: "",
21
- headline: ""
22
- },
23
- size: {
24
- "sm-2x": "",
25
- "sm-1x": "",
26
- sm: "",
27
- md: "",
28
- lg: ""
29
- },
30
- weight: {
31
- thin: "font-thin",
32
- extraLight: "font-extralight",
33
- light: "font-light",
34
- normal: "font-normal",
35
- medium: "font-medium",
36
- semibold: "font-semibold",
37
- bold: "font-bold",
38
- extraBold: "font-extrabold",
39
- black: "font-black"
40
- }
41
- },
42
- compoundVariants: [
43
- { variant: "body", size: "sm-1x", class: "text-size-body-sm-1x" },
44
- { variant: "body", size: "sm", class: "text-size-body-sm" },
45
- { variant: "body", size: "md", class: "text-size-body-md" },
46
- { variant: "body", size: "lg", class: "text-size-body-lg" },
47
- { variant: "label", size: "sm-2x", class: "text-size-label-sm-2x" },
48
- { variant: "label", size: "sm-1x", class: "text-size-label-sm-1x" },
49
- { variant: "label", size: "sm", class: "text-size-label-sm" },
50
- { variant: "label", size: "md", class: "text-size-label-md" },
51
- { variant: "label", size: "lg", class: "text-size-label-lg" },
52
- { variant: "title", size: "sm", class: "text-size-title-sm" },
53
- { variant: "title", size: "md", class: "text-size-title-md" },
54
- { variant: "title", size: "lg", class: "text-size-title-lg" },
55
- { variant: "headline", size: "sm", class: "text-size-headline-sm" },
56
- { variant: "headline", size: "md", class: "text-size-headline-md" },
57
- { variant: "headline", size: "lg", class: "text-size-headline-lg" }
58
- ],
59
- defaultVariants: {
60
- variant: "body",
61
- size: "md",
62
- weight: "normal"
63
- }
64
- });
65
- var Typography = memo(
66
- ({
67
- variant,
68
- size,
69
- weight,
70
- asChild,
71
- className,
72
- ...props
73
- }) => {
74
- const Component = asChild ? Slot : "span";
75
- return /* @__PURE__ */ jsx(
76
- Component,
77
- {
78
- className: typographyVariants({ variant, size, weight, className }),
79
- ...props
80
- }
81
- );
82
- }
83
- );
84
- Typography.displayName = "Typography";
85
-
86
- // src/components/list.tsx
87
- import { jsx as jsx2 } from "react/jsx-runtime";
88
- function ListRoot({
89
- className,
90
- asChild,
91
- ...props
92
- }) {
93
- const Comp = asChild ? Slot2 : "div";
94
- return /* @__PURE__ */ jsx2(
95
- Comp,
96
- {
97
- ...props,
98
- className: cx(
99
- className,
100
- "rounded-small scrollbar-hide bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-10 max-h-[400px] list-none overflow-y-auto border"
101
- )
102
- }
103
- );
104
- }
105
- function ListHeader({
106
- className,
107
- asChild,
108
- ...props
109
- }) {
110
- const Comp = asChild ? Slot2 : "div";
111
- return /* @__PURE__ */ jsx2(Comp, { ...props, className: cx(className, "px-small pt-small-1x") });
112
- }
113
- function ListHeaderTitle({
114
- variant = "label",
115
- size = "sm",
116
- weight = "medium",
117
- className,
118
- ...props
119
- }) {
120
- return /* @__PURE__ */ jsx2(
121
- Typography,
122
- {
123
- className: cx(className, "text-neutral-placeholder"),
124
- size,
125
- variant,
126
- weight,
127
- ...props
128
- }
129
- );
130
- }
131
- function ListContent({
132
- className,
133
- asChild,
134
- ...props
135
- }) {
136
- const Comp = asChild ? Slot2 : "ul";
137
- return /* @__PURE__ */ jsx2(
138
- Comp,
139
- {
140
- ...props,
141
- className: cx("gap-small-1x p-small flex flex-col", className)
142
- }
143
- );
144
- }
145
- var variants = cva2(
146
- [
147
- "py-medium px-small flex items-center gap-small rounded-small-1x",
148
- "bg-layer-2-idle text-neutral-dark",
149
- "hover:bg-layer-2-hover transition-colors duration-100 ease-out",
150
- "active:bg-layer-2-pressed"
151
- ],
152
- {
153
- variants: {
154
- size: {
155
- md: "h-large-4x",
156
- lg: "h-large-7x"
157
- },
158
- isActive: {
159
- true: "bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"
160
- }
161
- },
162
- defaultVariants: {
163
- size: "md",
164
- isActive: false
165
- }
166
- }
167
- );
168
- function ListItem({
169
- className,
170
- size,
171
- isActive,
172
- asChild,
173
- ...props
174
- }) {
175
- const Comp = asChild ? Slot2 : "li";
176
- return /* @__PURE__ */ jsx2(Comp, { ...props, className: cx(variants({ size, isActive }), className) });
177
- }
178
-
179
- // src/components/divider.tsx
180
- import "react";
181
- import * as SeparatorPrimitive from "@radix-ui/react-separator";
182
- import { cx as cx2 } from "@xjur-ui/util";
183
- import { jsx as jsx3 } from "react/jsx-runtime";
184
- function Divider({
185
- className,
186
- orientation = "horizontal",
187
- decorative = true,
188
- ...props
189
- }) {
190
- return /* @__PURE__ */ jsx3(
191
- SeparatorPrimitive.Root,
192
- {
193
- className: cx2(
194
- "bg-border-layer-2 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full",
195
- "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
196
- className
197
- ),
198
- "data-slot": "separator",
199
- decorative,
200
- orientation,
201
- ...props
202
- }
203
- );
204
- }
205
-
206
- // src/components/dropdown-menu.tsx
207
- import { jsx as jsx4 } from "react/jsx-runtime";
208
- function DropdownMenuRoot({
209
- ...props
210
- }) {
211
- return /* @__PURE__ */ jsx4(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
212
- }
213
- function DropdownMenuPortal({
214
- ...props
215
- }) {
216
- return /* @__PURE__ */ jsx4(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
217
- }
218
- function DropdownMenuTrigger({
219
- ...props
220
- }) {
221
- return /* @__PURE__ */ jsx4(
222
- DropdownMenuPrimitive.Trigger,
223
- {
224
- "data-slot": "dropdown-menu-trigger",
225
- ...props
226
- }
227
- );
228
- }
229
- function DropdownMenuContent({
230
- className,
231
- sideOffset = 4,
232
- align = "start",
233
- side = "bottom",
234
- children,
235
- ...props
236
- }) {
237
- return /* @__PURE__ */ jsx4(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx4(
238
- DropdownMenuPrimitive.Content,
239
- {
240
- align,
241
- className: cx3(
242
- "group z-10 max-h-[var(--radix-popover-content-available-height)] max-w-[var(--radix-popover-trigger-width)] min-w-[var(--radix-popover-trigger-width)]",
243
- className
244
- ),
245
- "data-slot": "dropdown-menu-content",
246
- side,
247
- sideOffset,
248
- ...props,
249
- children: /* @__PURE__ */ jsx4(ListRoot, { children })
250
- }
251
- ) });
252
- }
253
- function DropdownMenuList({
254
- ...props
255
- }) {
256
- return /* @__PURE__ */ jsx4(ListContent, { ...props });
257
- }
258
- function DropdownMenuHeader({
259
- ...props
260
- }) {
261
- return /* @__PURE__ */ jsx4(ListHeader, { ...props });
262
- }
263
- function DropdownMenuHeaderTitle({
264
- ...props
265
- }) {
266
- return /* @__PURE__ */ jsx4(ListHeaderTitle, { ...props });
267
- }
268
- function DropdownMenuItem({
269
- className,
270
- ...props
271
- }) {
272
- return /* @__PURE__ */ jsx4(ListItem, { className: cx3(className, "cursor-pointer"), ...props });
273
- }
274
- function DropdownMenuItemText({
275
- ...props
276
- }) {
277
- return /* @__PURE__ */ jsx4(Typography, { ...props });
278
- }
279
- function DropdownMenuItemDivider({
280
- ...props
281
- }) {
282
- return /* @__PURE__ */ jsx4(Divider, { ...props });
283
- }
284
- export {
285
- DropdownMenuContent,
286
- DropdownMenuHeader,
287
- DropdownMenuHeaderTitle,
288
- DropdownMenuItem,
289
- DropdownMenuItemDivider,
290
- DropdownMenuItemText,
291
- DropdownMenuList,
292
- DropdownMenuPortal,
293
- DropdownMenuRoot,
294
- DropdownMenuTrigger
295
- };
1
+ export{d as DropdownMenuContent,f as DropdownMenuHeader,g as DropdownMenuHeaderTitle,h as DropdownMenuItem,j as DropdownMenuItemDivider,i as DropdownMenuItemText,e as DropdownMenuList,b as DropdownMenuPortal,a as DropdownMenuRoot,c as DropdownMenuTrigger}from'../chunk-RWMV7APX.js';import'../chunk-CBFC4QME.js';import'../chunk-KIFR5VIE.js';import'../chunk-EIG6CBTQ.js';//# sourceMappingURL=dropdown-menu.js.map
2
+ //# sourceMappingURL=dropdown-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dropdown-menu.js"}