Skip to content

Commit dde86ec

Browse files
Merge pull request #143 from linked-planet/dev
Dev
2 parents 325b091 + ef5aef0 commit dde86ec

File tree

6 files changed

+51
-44
lines changed

6 files changed

+51
-44
lines changed

library/src/components/Calendar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,13 @@ type CalendarBaseRangeProps = Pick<
170170
secondarySelected?: DateRange
171171
}
172172

173+
//TODO: move to CVA
173174
const buttonStyles =
174-
"h-full w-full group-data-[disabled=true]:cursor-not-allowed focus-visible:ring-0 focus-visible:outline focus-visible:outline-selected-bold focus-visible:outline-2 focus-visible:outline-offset-2"
175+
"h-full w-full group-data-[disabled=true]:cursor-not-allowed focus-visible:ring-0 focus-visible:outline-selected-bold focus-visible:outline-2 focus-visible:outline-offset-2 bg-transparent border-none rounded-none"
175176
const captionStyles = "flex justify-center items-center relative w-full pb-2"
176177
const captionLabelStyles = "text-text text-sm font-bold flex justify-center"
177178
const daySelectedStyles =
178-
"rounded-none bg-selected group-data-[disabled=false]:hover:bg-selected-hovered group-data-[disabled=false]:active:bg-selected-pressed text-selected-text-inverse font-bold w-full h-full"
179+
"bg-selected group-data-[disabled=false]:hover:bg-selected-hovered group-data-[disabled=false]:active:bg-selected-pressed text-selected-text-inverse font-bold w-full h-full"
179180
const headStyles = "text-text-subtle text-sm border-b-0"
180181
const dayTodayStyles =
181182
"font-bold relative text-brand-text aria-selected:text-text-inverse after:absolute after:block after:left-1 after:right-1 after:bg-brand-text aria-selected:after:bg-text-inverse after:h-[2px]"

library/src/components/dnd/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const DnD = {
66
DragItem,
77
}
88

9-
export namespace DnD {
9+
export namespace DnDTypes {
1010
export type DnDListProps<T> = DnDListPropsType<T>
1111
export type DragItemProps = DragItemPropsType
1212
}

library/src/components/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export * from "./Toggle"
2020
export * from "./filters"
2121
export * from "./Pagination"
2222
export * from "./inputs"
23+
export type { SelectComponentProps } from "./inputs"
2324
export * from "./Modal"
2425
export * from "./datatable"
2526
export * from "./AnimatedList"
@@ -34,8 +35,10 @@ export * from "./Breadcrumbs"
3435
export * from "./SectionMessage"
3536
export * from "./codeblock"
3637
export * from "./dnd"
38+
export type { DnDTypes } from "./dnd"
3739
export * from "./tour"
3840
export * from "./form"
41+
export type { DynamicFormTypes } from "./form"
3942
export * from "./EventList"
4043
export * from "./HighlightedText"
4144
export * from "./SlideOpen"

library/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import "./styles.css"
22

33
export * from "./components"
4+
export type { DynamicFormTypes } from "./components"
5+
export type { DnDTypes } from "./components"
6+
export type { SelectComponentProps } from "./components"
47
export * from "./layouting"
58
export * from "./theming"
69
export * from "./localization"

package-lock.json

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"lowlight": "^3.3.0",
107107
"lucide-react": "^0.488.0",
108108
"mime-types": "^3.0.1",
109-
"motion": "^12.7.3",
109+
"motion": "^12.7.4",
110110
"react-awesome-slider": "^4.1.0",
111111
"react-day-picker": "^8.10.1",
112112
"react-intl": "^7.1.10",
@@ -131,7 +131,7 @@
131131
"@hello-pangea/dnd": "^18.0.1",
132132
"@monaco-editor/react": "^4.7.0",
133133
"@tailwindcss/vite": "^4.1.4",
134-
"@tanstack/react-query": "^5.74.3",
134+
"@tanstack/react-query": "^5.74.4",
135135
"@total-typescript/ts-reset": "^0.6.1",
136136
"@types/node": "^22.14.1",
137137
"@types/react": "^18.3.20",
@@ -152,7 +152,7 @@
152152
"tailwindcss": "^4.0.3",
153153
"typescript": "^5.8.3",
154154
"typescript-plugin-css-modules": "^5.1.0",
155-
"vite": "^6.3.0",
155+
"vite": "^6.3.1",
156156
"vite-plugin-dts": "^4.5.3",
157157
"vitest": "^3.1.1"
158158
},

0 commit comments

Comments
 (0)