-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
93 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
kolibri/library/components/adapters/react/dist/index.d.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import * as react from 'react'; | ||
import { JSX } from '@public-ui/library-components'; | ||
|
||
interface StyleReactProps { | ||
class?: string; | ||
className?: string; | ||
style?: { | ||
[key: string]: any; | ||
}; | ||
} | ||
|
||
declare const DemoButton: react.ForwardRefExoticComponent<JSX.DemoButton & Omit<react.HTMLAttributes<HTMLDemoButtonElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLDemoButtonElement>>; | ||
|
||
export { DemoButton }; |
14 changes: 14 additions & 0 deletions
14
kolibri/library/components/adapters/react/dist/index.d.mts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import * as react from 'react'; | ||
import { JSX } from '@public-ui/library-components'; | ||
|
||
interface StyleReactProps { | ||
class?: string; | ||
className?: string; | ||
style?: { | ||
[key: string]: any; | ||
}; | ||
} | ||
|
||
declare const DemoButton: react.ForwardRefExoticComponent<JSX.DemoButton & Omit<react.HTMLAttributes<HTMLDemoButtonElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLDemoButtonElement>>; | ||
|
||
export { DemoButton }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as vue from 'vue'; | ||
import { JSX } from '@public-ui/library-components'; | ||
|
||
interface InputProps<T> { | ||
modelValue?: T; | ||
} | ||
|
||
declare const DemoButton: vue.DefineSetupFnComponent<JSX.DemoButton & InputProps<string | number | boolean>, {}, {}, JSX.DemoButton & InputProps<string | number | boolean> & {}, vue.PublicProps>; | ||
|
||
export { DemoButton }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as vue from 'vue'; | ||
import { JSX } from '@public-ui/library-components'; | ||
|
||
interface InputProps<T> { | ||
modelValue?: T; | ||
} | ||
|
||
declare const DemoButton: vue.DefineSetupFnComponent<JSX.DemoButton & InputProps<string | number | boolean>, {}, {}, JSX.DemoButton & InputProps<string | number | boolean> & {}, vue.PublicProps>; | ||
|
||
export { DemoButton }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Generic, Theme } from 'adopted-style-sheets'; | ||
|
||
type RequiredButtonProps = NonNullable<unknown>; | ||
type OptionalButtonProps = NonNullable<unknown>; | ||
type RequiredButtonStates = RequiredButtonProps; | ||
type OptionalButtonStates = OptionalButtonProps; | ||
type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>; | ||
type ButtonStates = Generic.Element.Members<RequiredButtonStates, OptionalButtonStates>; | ||
type ButtonAPI = Generic.Element.ComponentApi<RequiredButtonProps, OptionalButtonProps, RequiredButtonStates, OptionalButtonStates>; | ||
|
||
declare const Demo: Theme<"demo", never, "button">; | ||
|
||
export { type ButtonAPI, type ButtonProps, type ButtonStates, Demo, type OptionalButtonProps, type OptionalButtonStates, type RequiredButtonProps, type RequiredButtonStates }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Generic, Theme } from 'adopted-style-sheets'; | ||
|
||
type RequiredButtonProps = NonNullable<unknown>; | ||
type OptionalButtonProps = NonNullable<unknown>; | ||
type RequiredButtonStates = RequiredButtonProps; | ||
type OptionalButtonStates = OptionalButtonProps; | ||
type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>; | ||
type ButtonStates = Generic.Element.Members<RequiredButtonStates, OptionalButtonStates>; | ||
type ButtonAPI = Generic.Element.ComponentApi<RequiredButtonProps, OptionalButtonProps, RequiredButtonStates, OptionalButtonStates>; | ||
|
||
declare const Demo: Theme<"demo", never, "button">; | ||
|
||
export { type ButtonAPI, type ButtonProps, type ButtonStates, Demo, type OptionalButtonProps, type OptionalButtonStates, type RequiredButtonProps, type RequiredButtonStates }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters