mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Theme types .d.ts added
This commit is contained in:
parent
8cb2f744e1
commit
4d90410cba
612 changed files with 16099 additions and 776 deletions
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/accordion/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/autocomplete/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/avatar/index.d.ts
vendored
0
components/lib/themes/lara/avatar/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/avatar/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/badge/index.d.ts
vendored
0
components/lib/themes/lara/badge/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/badge/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/blockui/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/breadcrumb/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/button/index.d.ts
vendored
0
components/lib/themes/lara/button/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/button/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
export default {};
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
0
components/lib/themes/lara/card/index.d.ts
vendored
0
components/lib/themes/lara/card/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/card/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/carousel/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/cascadeselect/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/checkbox/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/chip/index.d.ts
vendored
0
components/lib/themes/lara/chip/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/chip/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/colorpicker/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/confirmdialog/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/confirmpopup/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/contextmenu/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/datatable/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/dataview/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/datepicker/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/dialog/index.d.ts
vendored
0
components/lib/themes/lara/dialog/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/dialog/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/divider/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/dock/index.d.ts
vendored
0
components/lib/themes/lara/dock/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/dock/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/drawer/index.d.ts
vendored
0
components/lib/themes/lara/drawer/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/drawer/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/editor/index.d.ts
vendored
0
components/lib/themes/lara/editor/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/editor/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/fieldset/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/fileupload/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/floatlabel/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/galleria/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/iconfield/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/image/index.d.ts
vendored
0
components/lib/themes/lara/image/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/image/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@ import badge from 'primevue/themes/lara/badge';
|
|||
import blockui from 'primevue/themes/lara/blockui';
|
||||
import breadcrumb from 'primevue/themes/lara/breadcrumb';
|
||||
import button from 'primevue/themes/lara/button';
|
||||
import buttongroup from 'primevue/themes/lara/buttongroup';
|
||||
import card from 'primevue/themes/lara/card';
|
||||
import carousel from 'primevue/themes/lara/carousel';
|
||||
import cascadeselect from 'primevue/themes/lara/cascadeselect';
|
||||
|
@ -34,7 +33,6 @@ import inplace from 'primevue/themes/lara/inplace';
|
|||
import inputchips from 'primevue/themes/lara/inputchips';
|
||||
import inputgroup from 'primevue/themes/lara/inputgroup';
|
||||
import inputnumber from 'primevue/themes/lara/inputnumber';
|
||||
import inputotp from 'primevue/themes/lara/inputotp';
|
||||
import inputtext from 'primevue/themes/lara/inputtext';
|
||||
import knob from 'primevue/themes/lara/knob';
|
||||
import listbox from 'primevue/themes/lara/listbox';
|
||||
|
@ -58,7 +56,6 @@ import radiobutton from 'primevue/themes/lara/radiobutton';
|
|||
import rating from 'primevue/themes/lara/rating';
|
||||
import ripple from 'primevue/themes/lara/ripple';
|
||||
import scrollpanel from 'primevue/themes/lara/scrollpanel';
|
||||
import scrolltop from 'primevue/themes/lara/scrolltop';
|
||||
import select from 'primevue/themes/lara/select';
|
||||
import selectbutton from 'primevue/themes/lara/selectbutton';
|
||||
import skeleton from 'primevue/themes/lara/skeleton';
|
||||
|
@ -470,7 +467,6 @@ export default {
|
|||
blockui,
|
||||
breadcrumb,
|
||||
button,
|
||||
buttongroup,
|
||||
datepicker,
|
||||
card,
|
||||
carousel,
|
||||
|
@ -499,8 +495,6 @@ export default {
|
|||
inputchips,
|
||||
inputgroup,
|
||||
inputnumber,
|
||||
inputotp,
|
||||
toggleswitch,
|
||||
inputtext,
|
||||
knob,
|
||||
listbox,
|
||||
|
@ -523,7 +517,6 @@ export default {
|
|||
radiobutton,
|
||||
rating,
|
||||
scrollpanel,
|
||||
scrolltop,
|
||||
select,
|
||||
selectbutton,
|
||||
skeleton,
|
||||
|
@ -542,6 +535,7 @@ export default {
|
|||
terminal,
|
||||
timeline,
|
||||
togglebutton,
|
||||
toggleswitch,
|
||||
tree,
|
||||
treeselect,
|
||||
treetable,
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inlinemessage/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inplace/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inputchips/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inputgroup/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inputnumber/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
export default {};
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
143
components/lib/themes/lara/inputtext/index.d.ts
vendored
143
components/lib/themes/lara/inputtext/index.d.ts
vendored
|
@ -1,143 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* InputText renders a text field to enter data.
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/inputtext/)
|
||||
*
|
||||
* @module lara/inputtext
|
||||
*
|
||||
*/
|
||||
import { ColorSchemeDesignToken } from '..';
|
||||
|
||||
export interface InputTextDesignTokens extends ColorSchemeDesignToken<InputTextDesignTokens> {
|
||||
/**
|
||||
* Used to pass tokens of the root section
|
||||
*/
|
||||
root?: {
|
||||
/**
|
||||
* Background of an input field
|
||||
*
|
||||
* @designToken inputtext.background
|
||||
*/
|
||||
background?: string;
|
||||
/**
|
||||
* Background of an input field when disabled
|
||||
*
|
||||
* @designToken inputtext.disabled.background
|
||||
*/
|
||||
disabledBackground?: string;
|
||||
/**
|
||||
* Background of an input field when filled mode
|
||||
*
|
||||
* @designToken inputtext.filled.background
|
||||
*/
|
||||
filledBackground?: string;
|
||||
/**
|
||||
* Background of an input field on the focus state of filled mode
|
||||
*
|
||||
* @designToken inputtext.filled.focus.background
|
||||
*/
|
||||
filledFocusBackground?: string;
|
||||
/**
|
||||
* Border color of an input field
|
||||
*
|
||||
* @designToken inputtext.border.color
|
||||
*/
|
||||
borderColor?: string;
|
||||
/**
|
||||
* Border color of an input field on the hover state
|
||||
*
|
||||
* @designToken inputtext.hover.border.color
|
||||
*/
|
||||
hoverBorderColor?: string;
|
||||
/**
|
||||
* Border color of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.border.color
|
||||
*/
|
||||
focusBorderColor?: string;
|
||||
/**
|
||||
* Border color of an input field when invalid
|
||||
*
|
||||
* @designToken inputtext.invalid.border.color
|
||||
*/
|
||||
invalidBorderColor?: string;
|
||||
/**
|
||||
* Color of an input field
|
||||
*
|
||||
* @designToken inputtext.color
|
||||
*/
|
||||
color?: string;
|
||||
/**
|
||||
* Color of an input field when disabled
|
||||
*
|
||||
* @designToken inputtext.disabled.color
|
||||
*/
|
||||
disabledColor?: string;
|
||||
/**
|
||||
* Placeholder color of an input field
|
||||
*
|
||||
* @designToken inputtext.placeholder.color
|
||||
*/
|
||||
placeholderColor?: string;
|
||||
/**
|
||||
* Shadow of an input field
|
||||
*
|
||||
* @designToken inputtext.shadow
|
||||
*/
|
||||
shadow?: string;
|
||||
/**
|
||||
* Padding right and left of an input field
|
||||
*
|
||||
* @designToken inputtext.padding.x
|
||||
*/
|
||||
paddingX?: string;
|
||||
/**
|
||||
* Padding top and bottom of an input field
|
||||
*
|
||||
* @designToken inputtext.padding.y
|
||||
*/
|
||||
paddingY?: string;
|
||||
/**
|
||||
* Border radius of an input field
|
||||
*
|
||||
* @designToken inputtext.border.radius
|
||||
*/
|
||||
borderRadius?: string;
|
||||
/**
|
||||
* Outline of an input field on the focus state
|
||||
*/
|
||||
focusRing?: {
|
||||
/**
|
||||
* Outline width of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.ring.width
|
||||
*/
|
||||
width?: string;
|
||||
/**
|
||||
* Outline style of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.ring.style
|
||||
*/
|
||||
style?: string;
|
||||
/**
|
||||
* Outline color of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.ring.color
|
||||
*/
|
||||
color?: string;
|
||||
/**
|
||||
* Outline offset of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.ring.offset
|
||||
*/
|
||||
offset?: string;
|
||||
/**
|
||||
* Shadow of an input field on the focus state
|
||||
*
|
||||
* @designToken inputtext.focus.ring.shadow
|
||||
*/
|
||||
shadow?: string;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/inputtext/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/knob/index.d.ts
vendored
0
components/lib/themes/lara/knob/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/knob/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/listbox/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/megamenu/index.d.ts"
|
||||
}
|
||||
|
|
0
components/lib/themes/lara/menu/index.d.ts
vendored
0
components/lib/themes/lara/menu/index.d.ts
vendored
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/menu/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/menubar/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/message/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/metergroup/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/multiselect/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/orderlist/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
"types": "../types/organizationchart/index.d.ts"
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue