@olundot/ui 0.21.0 → 0.21.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @olundot/ui
|
|
2
2
|
|
|
3
|
+
## 0.21.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0fbced9: `FilterToolbar`에서 칩 제거가 툴바가 640px 아래로 좁아진 뒤 반영돼도 포커스를 잃지 않고 접힌 필터 버튼으로 갑니다. 접힌 필터 버튼에 있던 포커스도 640px을 넘나들 때 유지됩니다.
|
|
8
|
+
|
|
9
|
+
## 0.21.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- dcadbb9: ModeToggle과 Tabs `contained`의 선택 칸에 테두리가 생기고, 어둠 테마에서 선택 칸이 홈보다 밝아집니다.
|
|
14
|
+
|
|
3
15
|
## 0.21.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -3228,7 +3228,7 @@ var tabsTriggerVariants = cva9(
|
|
|
3228
3228
|
variants: {
|
|
3229
3229
|
variant: {
|
|
3230
3230
|
line: "",
|
|
3231
|
-
contained: "rounded-[var(--radius-sm)] border border-transparent px-[var(--space-3)] data-[state=active]:border-[var(--
|
|
3231
|
+
contained: "rounded-[var(--radius-sm)] border border-transparent px-[var(--space-3)] data-[state=active]:border-[var(--text-tertiary)] data-[state=active]:bg-[var(--fill-on-inset)] data-[state=active]:after:hidden"
|
|
3232
3232
|
},
|
|
3233
3233
|
orientation: {
|
|
3234
3234
|
horizontal: "",
|
|
@@ -5868,7 +5868,7 @@ var FilterToolbar = React31.forwardRef(
|
|
|
5868
5868
|
if (request.removed.some((key) => present.has(key))) return;
|
|
5869
5869
|
pendingFocusRef.current = null;
|
|
5870
5870
|
const active = rootElement?.ownerDocument.activeElement;
|
|
5871
|
-
if (active && active !== rootElement.ownerDocument.body) return;
|
|
5871
|
+
if (active && active !== rootElement.ownerDocument.body && canTakeFocus(active)) return;
|
|
5872
5872
|
const candidates = [
|
|
5873
5873
|
...request.next.map((key) => chipRemoveRefs.current.get(key)),
|
|
5874
5874
|
triggerRef.current,
|
|
@@ -6005,10 +6005,9 @@ var FilterToolbar = React31.forwardRef(
|
|
|
6005
6005
|
children: search
|
|
6006
6006
|
}
|
|
6007
6007
|
) : null,
|
|
6008
|
-
|
|
6009
|
-
collapsible && !usesSheet ? /* @__PURE__ */ jsxs28(Popover, { open: overlayOpen, onOpenChange: handleOverlayOpenChange, children: [
|
|
6008
|
+
collapsible ? /* @__PURE__ */ jsxs28(Popover, { open: overlayOpen, onOpenChange: handleOverlayOpenChange, children: [
|
|
6010
6009
|
/* @__PURE__ */ jsx32(PopoverAnchor, { asChild: true, children: collapseTrigger }),
|
|
6011
|
-
overlayOpen ? /* @__PURE__ */ jsxs28(
|
|
6010
|
+
overlayOpen && !usesSheet ? /* @__PURE__ */ jsxs28(
|
|
6012
6011
|
PopoverContent,
|
|
6013
6012
|
{
|
|
6014
6013
|
role: "dialog",
|
|
@@ -6023,7 +6022,7 @@ var FilterToolbar = React31.forwardRef(
|
|
|
6023
6022
|
]
|
|
6024
6023
|
}
|
|
6025
6024
|
) : null
|
|
6026
|
-
] }) :
|
|
6025
|
+
] }) : collapseTrigger,
|
|
6027
6026
|
filters && !linesInSheet ? /* @__PURE__ */ jsx32(
|
|
6028
6027
|
"div",
|
|
6029
6028
|
{
|
|
@@ -10327,14 +10326,15 @@ var modeToggleVariants = cva19(
|
|
|
10327
10326
|
var modeToggleItemVariants = cva19(
|
|
10328
10327
|
[
|
|
10329
10328
|
"inline-flex min-h-[28px] cursor-pointer items-center justify-center gap-[var(--space-1)]",
|
|
10330
|
-
"rounded-[calc(var(--radius-md)_-_2px)] px-[var(--space-3)] py-[var(--space-1)]",
|
|
10329
|
+
"rounded-[calc(var(--radius-md)_-_2px)] border border-transparent px-[var(--space-3)] py-[var(--space-1)]",
|
|
10331
10330
|
"font-[family-name:var(--font-display)] text-xs font-medium leading-none",
|
|
10332
|
-
"text-text-secondary transition-[background-color,color,box-shadow]",
|
|
10331
|
+
"text-text-secondary transition-[background-color,border-color,color,box-shadow]",
|
|
10333
10332
|
"duration-[var(--dur-fast)] ease-[var(--ease-standard)]",
|
|
10334
10333
|
"hover:text-foreground",
|
|
10335
10334
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--focus-ring)]",
|
|
10336
10335
|
"disabled:cursor-not-allowed disabled:text-text-disabled disabled:hover:text-text-disabled",
|
|
10337
|
-
"data-[state=active]:
|
|
10336
|
+
"data-[state=active]:border-[var(--text-tertiary)] data-[state=active]:bg-[var(--fill-on-inset)]",
|
|
10337
|
+
"data-[state=active]:font-semibold",
|
|
10338
10338
|
"data-[state=active]:text-foreground data-[state=active]:shadow-[var(--shadow-1)]",
|
|
10339
10339
|
"[&_svg]:pointer-events-none [&_svg]:size-[14px] [&_svg]:shrink-0 [&_svg]:stroke-[1.75]"
|
|
10340
10340
|
].join(" ")
|