From 56317fb9d7b08e7f9f571c51f2058082e0af3987 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 27 May 2024 00:40:30 +0300 Subject: [PATCH] Update theme doc files --- .../lib/themes/types/accordion/index.d.ts | 11 + .../lib/themes/types/autocomplete/index.d.ts | 6 + .../lib/themes/types/breadcrumb/index.d.ts | 6 + components/lib/themes/types/button/index.d.ts | 12 + .../lib/themes/types/carousel/index.d.ts | 6 + .../lib/themes/types/cascadeselect/index.d.ts | 6 + .../lib/themes/types/checkbox/index.d.ts | 6 + components/lib/themes/types/chip/index.d.ts | 6 + .../lib/themes/types/colorpicker/index.d.ts | 11 + .../lib/themes/types/contextmenu/index.d.ts | 6 + .../lib/themes/types/datatable/index.d.ts | 72 +- .../lib/themes/types/datepicker/index.d.ts | 11 + .../lib/themes/types/fieldset/index.d.ts | 6 + .../lib/themes/types/fileupload/index.d.ts | 6 + .../lib/themes/types/galleria/index.d.ts | 6 + components/lib/themes/types/image/index.d.ts | 11 + .../lib/themes/types/inplace/index.d.ts | 6 + .../lib/themes/types/inputchips/index.d.ts | 6 + .../lib/themes/types/inputnumber/index.d.ts | 11 + .../lib/themes/types/inputtext/index.d.ts | 6 + components/lib/themes/types/knob/index.d.ts | 46 + .../lib/themes/types/listbox/index.d.ts | 24 + .../lib/themes/types/megamenu/index.d.ts | 6 + components/lib/themes/types/menu/index.d.ts | 6 + .../lib/themes/types/menubar/index.d.ts | 6 + .../lib/themes/types/message/index.d.ts | 6 + .../lib/themes/types/multiselect/index.d.ts | 6 + .../themes/types/organizationchart/index.d.ts | 6 + .../lib/themes/types/paginator/index.d.ts | 24 + .../lib/themes/types/panelmenu/index.d.ts | 6 + .../lib/themes/types/password/index.d.ts | 15 +- .../lib/themes/types/radiobutton/index.d.ts | 6 + components/lib/themes/types/rating/index.d.ts | 6 + .../lib/themes/types/scrollpanel/index.d.ts | 11 + components/lib/themes/types/select/index.d.ts | 18 + components/lib/themes/types/slider/index.d.ts | 11 + .../lib/themes/types/speeddial/index.d.ts | 6 + .../lib/themes/types/splitter/index.d.ts | 6 + .../lib/themes/types/stepper/index.d.ts | 17 + components/lib/themes/types/steps/index.d.ts | 17 + .../lib/themes/types/tabmenu/index.d.ts | 11 + components/lib/themes/types/tabs/index.d.ts | 11 + .../lib/themes/types/tabview/index.d.ts | 11 + .../lib/themes/types/textarea/index.d.ts | 6 + .../lib/themes/types/tieredmenu/index.d.ts | 6 + components/lib/themes/types/toast/index.d.ts | 6 + .../lib/themes/types/togglebutton/index.d.ts | 6 + .../lib/themes/types/toggleswitch/index.d.ts | 112 +- components/lib/themes/types/tree/index.d.ts | 6 + .../lib/themes/types/treeselect/index.d.ts | 6 + .../lib/themes/types/treetable/index.d.ts | 72 +- doc/common/apidoc/index.json | 1098 ++++++++++++++--- 52 files changed, 1576 insertions(+), 241 deletions(-) diff --git a/components/lib/themes/types/accordion/index.d.ts b/components/lib/themes/types/accordion/index.d.ts index 224e5b6f5..6b686f05f 100644 --- a/components/lib/themes/types/accordion/index.d.ts +++ b/components/lib/themes/types/accordion/index.d.ts @@ -11,6 +11,17 @@ import { ColorSchemeDesignToken } from '..'; export interface AccordionDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken accordion.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the panel section */ diff --git a/components/lib/themes/types/autocomplete/index.d.ts b/components/lib/themes/types/autocomplete/index.d.ts index 4e737662e..43ba010b0 100644 --- a/components/lib/themes/types/autocomplete/index.d.ts +++ b/components/lib/themes/types/autocomplete/index.d.ts @@ -140,6 +140,12 @@ export interface AutoCompleteDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken colorpicker.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the preview section */ diff --git a/components/lib/themes/types/contextmenu/index.d.ts b/components/lib/themes/types/contextmenu/index.d.ts index f20b8f96c..da5ea1bd0 100644 --- a/components/lib/themes/types/contextmenu/index.d.ts +++ b/components/lib/themes/types/contextmenu/index.d.ts @@ -45,6 +45,12 @@ export interface ContextMenuDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken datatable.transition.duration + */ + transitionDuration?: string; + /** + * Border color of root + * + * @designToken datatable.border.color + */ + borderColor?: string; + }; /** * Used to pass tokens of the header section */ @@ -45,12 +62,6 @@ export interface DataTableDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken datepicker.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the panel section */ diff --git a/components/lib/themes/types/fieldset/index.d.ts b/components/lib/themes/types/fieldset/index.d.ts index b1ae411dc..00e16e822 100644 --- a/components/lib/themes/types/fieldset/index.d.ts +++ b/components/lib/themes/types/fieldset/index.d.ts @@ -45,6 +45,12 @@ export interface FieldsetDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken image.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the preview section */ diff --git a/components/lib/themes/types/inplace/index.d.ts b/components/lib/themes/types/inplace/index.d.ts index e16e1fe3c..74ff81ab9 100644 --- a/components/lib/themes/types/inplace/index.d.ts +++ b/components/lib/themes/types/inplace/index.d.ts @@ -62,6 +62,12 @@ export interface InplaceDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken inputnumber.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the button section */ diff --git a/components/lib/themes/types/inputtext/index.d.ts b/components/lib/themes/types/inputtext/index.d.ts index b64a04944..f3b8eeef8 100644 --- a/components/lib/themes/types/inputtext/index.d.ts +++ b/components/lib/themes/types/inputtext/index.d.ts @@ -140,5 +140,11 @@ export interface InputTextDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken knob.transition.duration + */ + transitionDuration?: string; + /** + * Focus ring of root + */ + focusRing?: { + /** + * Focus ring width of root + * + * @designToken knob.focus.ring.width + */ + width?: string; + /** + * Focus ring style of root + * + * @designToken knob.focus.ring.style + */ + style?: string; + /** + * Focus ring color of root + * + * @designToken knob.focus.ring.color + */ + color?: string; + /** + * Focus ring offset of root + * + * @designToken knob.focus.ring.offset + */ + offset?: string; + /** + * Focus ring shadow of root + * + * @designToken knob.focus.ring.shadow + */ + shadow?: string; + }; + }; /** * Used to pass tokens of the value section */ diff --git a/components/lib/themes/types/listbox/index.d.ts b/components/lib/themes/types/listbox/index.d.ts index b570e4ce4..b9f6ef4b9 100644 --- a/components/lib/themes/types/listbox/index.d.ts +++ b/components/lib/themes/types/listbox/index.d.ts @@ -110,6 +110,12 @@ export interface ListboxDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken scrollpanel.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the bar section */ diff --git a/components/lib/themes/types/select/index.d.ts b/components/lib/themes/types/select/index.d.ts index 91864c497..e40156879 100644 --- a/components/lib/themes/types/select/index.d.ts +++ b/components/lib/themes/types/select/index.d.ts @@ -140,6 +140,12 @@ export interface SelectDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken slider.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the track section */ diff --git a/components/lib/themes/types/speeddial/index.d.ts b/components/lib/themes/types/speeddial/index.d.ts index 424190003..7c5ea1ee2 100644 --- a/components/lib/themes/types/speeddial/index.d.ts +++ b/components/lib/themes/types/speeddial/index.d.ts @@ -21,5 +21,11 @@ export interface SpeedDialDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken stepper.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the separator section */ @@ -170,6 +181,12 @@ export interface StepperDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken steps.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the separator section */ @@ -119,6 +130,12 @@ export interface StepsDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken tabmenu.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the tablist section */ diff --git a/components/lib/themes/types/tabs/index.d.ts b/components/lib/themes/types/tabs/index.d.ts index d9b211338..608d5dd24 100644 --- a/components/lib/themes/types/tabs/index.d.ts +++ b/components/lib/themes/types/tabs/index.d.ts @@ -11,6 +11,17 @@ import { ColorSchemeDesignToken } from '..'; export interface TabsDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken tabs.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the tablist section */ diff --git a/components/lib/themes/types/tabview/index.d.ts b/components/lib/themes/types/tabview/index.d.ts index 5d1c1f352..d79342b42 100644 --- a/components/lib/themes/types/tabview/index.d.ts +++ b/components/lib/themes/types/tabview/index.d.ts @@ -11,6 +11,17 @@ import { ColorSchemeDesignToken } from '..'; export interface TabViewDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken tabview.transition.duration + */ + transitionDuration?: string; + }; /** * Used to pass tokens of the tab list section */ diff --git a/components/lib/themes/types/textarea/index.d.ts b/components/lib/themes/types/textarea/index.d.ts index b8701b963..bd38b99ef 100644 --- a/components/lib/themes/types/textarea/index.d.ts +++ b/components/lib/themes/types/textarea/index.d.ts @@ -140,5 +140,11 @@ export interface TextareaDesignTokens extends ColorSchemeDesignToken { - /** - * Used to pass tokens of the handle section - */ - handle?: { - /** - * Border radius of handle - * - * @designToken toggleswitch.handle.border.radius - */ - borderRadius?: string; - /** - * Size of handle - * - * @designToken toggleswitch.handle.size - */ - size?: string; - /** - * Background of handle - * - * @designToken toggleswitch.handle.background - */ - background?: string; - /** - * Hover background of handle - * - * @designToken toggleswitch.handle.hover.background - */ - hoverBackground?: string; - /** - * Checked background of handle - * - * @designToken toggleswitch.handle.checked.background - */ - checkedBackground?: string; - /** - * Checked hover background of handle - * - * @designToken toggleswitch.handle.checked.hover.background - */ - checkedHoverBackground?: string; - }; /** * Used to pass tokens of the root section */ @@ -133,12 +92,42 @@ export interface ToggleSwitchDesignTokens extends ColorSchemeDesignToken { + /** + * Used to pass tokens of the root section + */ + root?: { + /** + * Transition duration of root + * + * @designToken treetable.transition.duration + */ + transitionDuration?: string; + /** + * Border color of root + * + * @designToken treetable.border.color + */ + borderColor?: string; + }; /** * Used to pass tokens of the header section */ @@ -45,12 +62,6 @@ export interface TreeTableDesignTokens extends ColorSchemeDesignToken