@primereact/styles 11.0.0-alpha.9 → 11.0.0-rc.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/LICENSE.md +45 -0
- package/README.md +20 -0
- package/accordion/Accordion.style.d.ts +3 -3
- package/accordion/index.mjs +22 -2
- package/animateonscroll/AnimateOnScroll.style.d.ts +1 -1
- package/animateonscroll/index.mjs +0 -1
- package/{confirmpopup/ConfirmPopup.style.d.ts → autocomplete/AutoComplete.style.d.ts} +3 -3
- package/autocomplete/index.d.ts +1 -0
- package/autocomplete/index.mjs +78 -0
- package/avatar/Avatar.style.d.ts +3 -3
- package/avatar/index.d.ts +0 -1
- package/avatar/index.mjs +1 -2
- package/{avatar → avatargroup}/AvatarGroup.style.d.ts +2 -2
- package/avatargroup/index.d.ts +1 -0
- package/avatargroup/index.mjs +1 -0
- package/badge/Badge.style.d.ts +1 -1
- package/badge/index.d.ts +0 -1
- package/badge/index.mjs +1 -2
- package/base/index.mjs +0 -1
- package/breadcrumb/Breadcrumb.style.d.ts +3 -3
- package/breadcrumb/index.mjs +1 -29
- package/button/Button.style.d.ts +1 -1
- package/button/index.d.ts +0 -1
- package/button/index.mjs +1 -2
- package/{button → buttongroup}/ButtonGroup.style.d.ts +2 -2
- package/buttongroup/index.d.ts +1 -0
- package/buttongroup/index.mjs +1 -0
- package/card/Card.style.d.ts +3 -3
- package/card/index.mjs +0 -1
- package/carousel/Carousel.style.d.ts +3 -3
- package/carousel/index.mjs +1 -49
- package/checkbox/Checkbox.style.d.ts +3 -3
- package/checkbox/index.d.ts +0 -1
- package/checkbox/index.mjs +1 -2
- package/{checkbox → checkboxgroup}/CheckboxGroup.style.d.ts +2 -2
- package/checkboxgroup/index.d.ts +1 -0
- package/checkboxgroup/index.mjs +1 -0
- package/chip/Chip.style.d.ts +3 -3
- package/chip/index.mjs +118 -2
- package/{colorpicker/ColorPicker.style.d.ts → compare/Compare.style.d.ts} +3 -3
- package/compare/index.d.ts +1 -0
- package/compare/index.mjs +1 -0
- package/contextmenu/ContextMenu.style.d.ts +3 -3
- package/contextmenu/index.mjs +180 -2
- package/{imagecompare/ImageCompare.style.d.ts → datatable/DataTable.style.d.ts} +3 -3
- package/datatable/index.d.ts +1 -0
- package/datatable/index.mjs +73 -0
- package/dataview/DataView.style.d.ts +3 -3
- package/dataview/index.mjs +1 -2
- package/datepicker/DatePicker.style.d.ts +3 -3
- package/datepicker/index.mjs +41 -4
- package/dialog/Dialog.style.d.ts +3 -3
- package/dialog/index.mjs +97 -2
- package/divider/Divider.style.d.ts +1 -1
- package/divider/index.mjs +0 -1
- package/drawer/Drawer.style.d.ts +3 -3
- package/drawer/index.mjs +99 -2
- package/fieldset/Fieldset.style.d.ts +3 -3
- package/fieldset/index.mjs +8 -2
- package/fileupload/FileUpload.style.d.ts +3 -3
- package/fileupload/index.mjs +1 -2
- package/{label → floatlabel}/FloatLabel.style.d.ts +2 -2
- package/floatlabel/index.d.ts +1 -0
- package/floatlabel/index.mjs +1 -0
- package/fluid/Fluid.style.d.ts +1 -1
- package/fluid/index.mjs +0 -1
- package/focustrap/FocusTrap.style.d.ts +1 -1
- package/focustrap/index.mjs +1 -2
- package/gallery/Gallery.style.d.ts +3 -3
- package/gallery/index.mjs +1 -136
- package/iconfield/IconField.style.d.ts +3 -3
- package/iconfield/index.mjs +1 -2
- package/{label → iftalabel}/IftaLabel.style.d.ts +2 -2
- package/iftalabel/index.d.ts +1 -0
- package/iftalabel/index.mjs +1 -0
- package/index.d.ts +79 -0
- package/index.mjs +1 -0
- package/inplace/Inplace.style.d.ts +3 -3
- package/inplace/index.mjs +1 -2
- package/{commandmenu/CommandMenu.style.d.ts → inputcolor/InputColor.style.d.ts} +3 -3
- package/inputcolor/index.d.ts +1 -0
- package/inputcolor/index.mjs +1 -0
- package/inputgroup/InputGroup.style.d.ts +3 -3
- package/inputgroup/index.mjs +1 -2
- package/inputnumber/InputNumber.style.d.ts +3 -3
- package/inputnumber/index.mjs +1 -2
- package/inputotp/InputOtp.style.d.ts +3 -3
- package/inputotp/index.mjs +0 -1
- package/inputtags/InputTags.style.d.ts +3 -3
- package/inputtags/index.mjs +1 -68
- package/inputtext/InputText.style.d.ts +1 -1
- package/inputtext/index.mjs +1 -2
- package/knob/Knob.style.d.ts +3 -3
- package/knob/index.mjs +0 -1
- package/label/Label.style.d.ts +1 -1
- package/label/index.d.ts +0 -2
- package/label/index.mjs +1 -2
- package/listbox/Listbox.style.d.ts +3 -3
- package/listbox/index.mjs +17 -18
- package/menu/Menu.style.d.ts +3 -3
- package/menu/index.mjs +141 -104
- package/message/Message.style.d.ts +3 -3
- package/message/index.mjs +1 -2
- package/metergroup/MeterGroup.style.d.ts +3 -3
- package/metergroup/index.mjs +1 -2
- package/{confirmdialog/ConfirmDialog.style.d.ts → navigationmenu/NavigationMenu.style.d.ts} +3 -3
- package/navigationmenu/index.d.ts +1 -0
- package/navigationmenu/index.mjs +1 -0
- package/organizationchart/OrganizationChart.style.d.ts +15 -0
- package/organizationchart/index.d.ts +1 -0
- package/organizationchart/index.mjs +25 -0
- package/{badge → overlaybadge}/OverlayBadge.style.d.ts +2 -2
- package/overlaybadge/index.d.ts +1 -0
- package/overlaybadge/index.mjs +1 -0
- package/package.json +13 -14
- package/paginator/Paginator.style.d.ts +3 -3
- package/paginator/index.mjs +0 -1
- package/panel/Panel.style.d.ts +3 -3
- package/panel/index.mjs +8 -2
- package/password/Password.style.d.ts +3 -3
- package/password/index.mjs +1 -31
- package/popover/Popover.style.d.ts +3 -3
- package/popover/index.mjs +76 -2
- package/progressbar/ProgressBar.style.d.ts +3 -3
- package/progressbar/index.mjs +1 -2
- package/progressspinner/ProgressSpinner.style.d.ts +4 -3
- package/progressspinner/index.mjs +80 -2
- package/radiobutton/RadioButton.style.d.ts +3 -3
- package/radiobutton/index.d.ts +0 -1
- package/radiobutton/index.mjs +1 -2
- package/{radiobutton → radiobuttongroup}/RadioButtonGroup.style.d.ts +2 -2
- package/radiobuttongroup/index.d.ts +1 -0
- package/radiobuttongroup/index.mjs +1 -0
- package/rating/Rating.style.d.ts +3 -3
- package/rating/index.mjs +6 -66
- package/scrollarea/ScrollArea.style.d.ts +3 -3
- package/scrollarea/index.mjs +1 -2
- package/{switch/Switch.style.d.ts → select/Select.style.d.ts} +3 -3
- package/select/index.d.ts +1 -0
- package/select/index.mjs +78 -0
- package/sidebar/Sidebar.style.d.ts +15 -0
- package/sidebar/SidebarLayout.style.d.ts +15 -0
- package/sidebar/index.d.ts +2 -0
- package/sidebar/index.mjs +54 -0
- package/skeleton/Skeleton.style.d.ts +1 -1
- package/skeleton/index.mjs +1 -2
- package/slider/Slider.style.d.ts +3 -3
- package/slider/index.mjs +1 -2
- package/speeddial/SpeedDial.style.d.ts +3 -3
- package/speeddial/index.mjs +23 -2
- package/splitter/Splitter.style.d.ts +3 -3
- package/splitter/index.mjs +1 -2
- package/stepper/Stepper.style.d.ts +3 -3
- package/stepper/index.mjs +1 -2
- package/tabs/Tabs.style.d.ts +3 -3
- package/tabs/index.mjs +11 -2
- package/tag/Tag.style.d.ts +1 -1
- package/tag/index.mjs +1 -2
- package/terminal/Terminal.style.d.ts +3 -3
- package/terminal/index.mjs +1 -2
- package/textarea/Textarea.style.d.ts +1 -1
- package/textarea/index.mjs +1 -2
- package/timeline/Timeline.style.d.ts +3 -3
- package/timeline/index.mjs +0 -1
- package/toast/Toast.style.d.ts +3 -3
- package/toast/index.mjs +1 -4
- package/{orgchart/OrgChart.style.d.ts → toaster/Toaster.style.d.ts} +3 -3
- package/toaster/index.d.ts +1 -0
- package/toaster/index.mjs +1 -0
- package/togglebutton/ToggleButton.style.d.ts +3 -3
- package/togglebutton/index.d.ts +0 -1
- package/togglebutton/index.mjs +1 -2
- package/{togglebutton → togglebuttongroup}/ToggleButtonGroup.style.d.ts +2 -2
- package/togglebuttongroup/index.d.ts +1 -0
- package/togglebuttongroup/index.mjs +1 -0
- package/toggleswitch/ToggleSwitch.style.d.ts +15 -0
- package/toggleswitch/index.d.ts +1 -0
- package/toggleswitch/index.mjs +1 -0
- package/toolbar/Toolbar.style.d.ts +3 -3
- package/toolbar/index.mjs +0 -1
- package/tooltip/Tooltip.style.d.ts +3 -3
- package/tooltip/index.mjs +47 -50
- package/tree/Tree.style.d.ts +3 -3
- package/tree/index.mjs +38 -2
- package/utils/index.mjs +0 -1
- package/LICENSE +0 -21
- package/accordion/index.mjs.map +0 -1
- package/animateonscroll/index.mjs.map +0 -1
- package/avatar/index.mjs.map +0 -1
- package/badge/index.mjs.map +0 -1
- package/base/index.mjs.map +0 -1
- package/breadcrumb/index.mjs.map +0 -1
- package/button/index.mjs.map +0 -1
- package/card/index.mjs.map +0 -1
- package/carousel/index.mjs.map +0 -1
- package/checkbox/index.mjs.map +0 -1
- package/chip/index.mjs.map +0 -1
- package/colorpicker/index.d.ts +0 -1
- package/colorpicker/index.mjs +0 -122
- package/colorpicker/index.mjs.map +0 -1
- package/commandmenu/index.d.ts +0 -1
- package/commandmenu/index.mjs +0 -71
- package/commandmenu/index.mjs.map +0 -1
- package/confirmdialog/index.d.ts +0 -1
- package/confirmdialog/index.mjs +0 -2
- package/confirmdialog/index.mjs.map +0 -1
- package/confirmpopup/index.d.ts +0 -1
- package/confirmpopup/index.mjs +0 -2
- package/confirmpopup/index.mjs.map +0 -1
- package/contextmenu/index.mjs.map +0 -1
- package/dataview/index.mjs.map +0 -1
- package/datepicker/index.mjs.map +0 -1
- package/dialog/index.mjs.map +0 -1
- package/divider/index.mjs.map +0 -1
- package/drawer/index.mjs.map +0 -1
- package/fieldset/index.mjs.map +0 -1
- package/fileupload/index.mjs.map +0 -1
- package/fluid/index.mjs.map +0 -1
- package/focustrap/index.mjs.map +0 -1
- package/gallery/index.mjs.map +0 -1
- package/iconfield/index.mjs.map +0 -1
- package/imagecompare/index.d.ts +0 -1
- package/imagecompare/index.mjs +0 -2
- package/imagecompare/index.mjs.map +0 -1
- package/inplace/index.mjs.map +0 -1
- package/inputgroup/index.mjs.map +0 -1
- package/inputnumber/index.mjs.map +0 -1
- package/inputotp/index.mjs.map +0 -1
- package/inputtags/index.mjs.map +0 -1
- package/inputtext/index.mjs.map +0 -1
- package/knob/index.mjs.map +0 -1
- package/label/index.mjs.map +0 -1
- package/listbox/index.mjs.map +0 -1
- package/menu/index.mjs.map +0 -1
- package/message/index.mjs.map +0 -1
- package/metergroup/index.mjs.map +0 -1
- package/orgchart/index.d.ts +0 -1
- package/orgchart/index.mjs +0 -185
- package/orgchart/index.mjs.map +0 -1
- package/paginator/index.mjs.map +0 -1
- package/panel/index.mjs.map +0 -1
- package/password/index.mjs.map +0 -1
- package/popover/index.mjs.map +0 -1
- package/progressbar/index.mjs.map +0 -1
- package/progressspinner/index.mjs.map +0 -1
- package/radiobutton/index.mjs.map +0 -1
- package/rating/index.mjs.map +0 -1
- package/scrollarea/index.mjs.map +0 -1
- package/skeleton/index.mjs.map +0 -1
- package/slider/index.mjs.map +0 -1
- package/speeddial/index.mjs.map +0 -1
- package/splitter/index.mjs.map +0 -1
- package/stepper/index.mjs.map +0 -1
- package/switch/index.d.ts +0 -1
- package/switch/index.mjs +0 -2
- package/switch/index.mjs.map +0 -1
- package/tabs/index.mjs.map +0 -1
- package/tag/index.mjs.map +0 -1
- package/terminal/index.mjs.map +0 -1
- package/textarea/index.mjs.map +0 -1
- package/timeline/index.mjs.map +0 -1
- package/toast/index.mjs.map +0 -1
- package/togglebutton/index.mjs.map +0 -1
- package/toolbar/index.mjs.map +0 -1
- package/tooltip/index.mjs.map +0 -1
- package/tree/index.mjs.map +0 -1
- package/utils/index.mjs.map +0 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# PrimeUI License
|
|
2
|
+
|
|
3
|
+
This package is part of **PrimeUI**, a family of commercial UI libraries by PrimeTek Informatics.
|
|
4
|
+
|
|
5
|
+
## How PrimeUI May Be Used
|
|
6
|
+
|
|
7
|
+
PrimeUI may be used under one of two licenses. You choose the one that applies to you based on eligibility.
|
|
8
|
+
|
|
9
|
+
### Community License (Free)
|
|
10
|
+
|
|
11
|
+
Free for organizations that meet all of the following criteria:
|
|
12
|
+
|
|
13
|
+
- Less than $1,000,000 USD in annual gross revenue
|
|
14
|
+
- Fewer than 5 developers
|
|
15
|
+
- Fewer than 10 employees
|
|
16
|
+
- Less than $3,000,000 USD in venture capital or outside funding
|
|
17
|
+
|
|
18
|
+
Individuals, students, non-profits, and non-commercial open source projects also qualify.
|
|
19
|
+
|
|
20
|
+
The Community License provides full access to the core libraries and supports up to 4 developers. It requires annual renewal by confirming continued eligibility.
|
|
21
|
+
|
|
22
|
+
### Commercial License (Paid)
|
|
23
|
+
|
|
24
|
+
For organizations that do not qualify for the Community License.
|
|
25
|
+
|
|
26
|
+
Licensed per developer, perpetual, with one year of updates included. Renewal is optional and extends access to new versions. The Commercial Suite also includes PrimeBlocks, Theme Designer, all PrimeUI Pro components, and Premium Support.
|
|
27
|
+
|
|
28
|
+
## License Key
|
|
29
|
+
|
|
30
|
+
A valid license key is required to use this software. License verification is performed offline, with no telemetry and no remote connection. A missing, invalid, or expired key may cause the software to display a license notice.
|
|
31
|
+
|
|
32
|
+
## Full Terms
|
|
33
|
+
|
|
34
|
+
The complete license terms, eligibility details, and renewal information are available at:
|
|
35
|
+
|
|
36
|
+
- Community License: https://primeui.dev/licenses/community
|
|
37
|
+
- Commercial License: https://primeui.dev/licenses/commercial
|
|
38
|
+
|
|
39
|
+
## Restrictions
|
|
40
|
+
|
|
41
|
+
This software is distributed as a compiled package. You may not reverse-engineer, decompile, or extract its source code, redistribute it as a component library or development tool, or remove its license mechanisms. Redistributing the software so that third parties can develop with it requires a separate OEM License. See the full terms for details.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
© 2026 PrimeTek Informatics. All rights reserved.
|
package/README.md
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
1
|
# PrimeReact Styles
|
|
2
|
+
|
|
3
|
+
Component styles for PrimeReact. Each component's style module maps props and state to CSS class names using design tokens from the active preset, resolved at runtime by `@primeuix/styled`.
|
|
4
|
+
|
|
5
|
+
## How it works
|
|
6
|
+
|
|
7
|
+
Styles are defined as JavaScript objects rather than static CSS. Class names are computed from component state, so a button with `severity="danger"` and `outlined` gets the right combination of classes without any manual toggling:
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { ButtonStyle } from '@primereact/styles/button';
|
|
11
|
+
|
|
12
|
+
// ButtonStyle.root({ instance, props }) → 'p-button p-button-danger p-button-outlined'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
All class names follow the `.p-` prefix convention (`p-button`, `p-datatable`, `p-dialog-header`). The `@primeuix/styled` runtime resolves `dt('token.path')` references inside the token values, so swapping the active preset re-themes every component automatically.
|
|
16
|
+
|
|
17
|
+
Pass Through (PT) hooks into the same style layer — a consumer can override classes or attributes on any element without editing the style module.
|
|
18
|
+
|
|
19
|
+
## License
|
|
20
|
+
|
|
21
|
+
Licensed under the [PrimeUI License](https://primeui.dev/licenses) - Copyright (c) [PrimeTek Informatics](https://www.primetek.com.tr)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AccordionRootInstance } from '@primereact/types/primitive/accordion';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<AccordionRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<AccordionRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/accordion/index.mjs
CHANGED
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
import{createStyles as
|
|
2
|
-
|
|
1
|
+
import{createStyles as r}from"@primereact/styles/utils";import{style as c}from"@primeuix/styles/accordion";var e=`
|
|
2
|
+
${c}
|
|
3
|
+
|
|
4
|
+
/* @todo review styles */
|
|
5
|
+
.p-accordiontrigger {
|
|
6
|
+
padding: dt('accordion.header.padding');
|
|
7
|
+
height: 100%;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
outline: 0 none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-accordionheader {
|
|
13
|
+
padding: 0;
|
|
14
|
+
cursor: initial;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-accordionheader:has(.p-accordiontrigger:focus-visible) {
|
|
18
|
+
box-shadow: dt('accordion.header.focus.ring.shadow');
|
|
19
|
+
outline: dt('accordion.header.focus.ring.width') dt('accordion.header.focus.ring.style') dt('accordion.header.focus.ring.color');
|
|
20
|
+
outline-offset: dt('accordion.header.focus.ring.offset');
|
|
21
|
+
}
|
|
22
|
+
`,i=r({name:"accordion",style:e,classes:{root:"p-accordion p-component",header:"p-accordionheader",trigger:"p-accordiontrigger",content:"p-accordioncontent",indicator:"p-accordion-indicator",contentOuter:"p-accordioncontent-wrapper",contentInner:"p-accordioncontent-content",panel:({context:o})=>["p-accordionpanel",{"p-disabled":o.disabled}]}});export{i as styles};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnimateOnScrollInstance } from '@primereact/types/
|
|
1
|
+
import type { AnimateOnScrollInstance } from '@primereact/types/primitive/animateonscroll';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AutoCompleteRootInstance } from '@primereact/types/primitive/autocomplete';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<AutoCompleteRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<AutoCompleteRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AutoComplete.style';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import{createStyles as r}from"@primereact/styles/utils";import{style as a}from"@primeuix/styles/autocomplete";var l=`
|
|
2
|
+
${a}
|
|
3
|
+
|
|
4
|
+
/* For PrimeReact */
|
|
5
|
+
.p-autocomplete-popup {
|
|
6
|
+
position: relative;
|
|
7
|
+
background: dt('autocomplete.overlay.background');
|
|
8
|
+
color: dt('autocomplete.overlay.color');
|
|
9
|
+
border: 1px solid dt('autocomplete.overlay.border.color');
|
|
10
|
+
border-radius: dt('autocomplete.overlay.border.radius');
|
|
11
|
+
box-shadow: dt('autocomplete.overlay.shadow');
|
|
12
|
+
width: var(--px-positioner-anchor-width, max-content);
|
|
13
|
+
transform-origin: var(--px-transform-origin);
|
|
14
|
+
will-change: transform, opacity;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-autocomplete-trigger {
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
width: 100%;
|
|
20
|
+
outline: 0 none;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-autocomplete-value {
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-autocomplete-clear {
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-self: center;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-autocomplete-list {
|
|
37
|
+
border: unset;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-autocomplete-option {
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-autocomplete-arrow {
|
|
46
|
+
position: absolute;
|
|
47
|
+
border: 1px solid dt('autocomplete.overlay.border.color');
|
|
48
|
+
background: dt('autocomplete.overlay.background');
|
|
49
|
+
width: 0.75rem;
|
|
50
|
+
height: 0.75rem;
|
|
51
|
+
border-bottom-left-radius: 3px;
|
|
52
|
+
clip-path: polygon(0 100%, 0 0, 100% 100%);
|
|
53
|
+
|
|
54
|
+
&[data-side='top'] {
|
|
55
|
+
left: var(--px-placer-arrow-x);
|
|
56
|
+
bottom: -0.375rem;
|
|
57
|
+
transform: translateX(-50%) rotate(-45deg);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[data-side='bottom'] {
|
|
61
|
+
left: var(--px-placer-arrow-x);
|
|
62
|
+
top: -0.375rem;
|
|
63
|
+
transform: translateX(-50%) rotate(135deg);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-side='left'] {
|
|
67
|
+
top: var(--px-placer-arrow-y);
|
|
68
|
+
right: -0.375rem;
|
|
69
|
+
transform: translateY(-50%) rotate(-135deg);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&[data-side='right'] {
|
|
73
|
+
top: var(--px-placer-arrow-y);
|
|
74
|
+
left: -0.375rem;
|
|
75
|
+
transform: translateY(-50%) rotate(45deg);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
`,m=r({name:"autocomplete",style:l,classes:{root:({instance:e,props:o,context:p,state:t})=>["p-autocomplete p-component p-inputwrapper",{"p-inputwrapper-filled":e?.hasValue(),"p-inputwrapper-focus":t.focused||t.opened,"p-autocomplete-fluid":o.fluid??p.$fluid,"p-disabled":o.disabled}],input:"p-autocomplete-input",clear:"p-autocomplete-clear",indicator:"p-autocomplete-indicator",trigger:"p-autocomplete-trigger",value:({context:e})=>["p-autocomplete-value p-autocomplete-label",{"p-autocomplete-value-empty p-autocomplete-label-empty":e?.empty,"p-placeholder":e?.showPlaceholder}],positioner:"p-autocomplete-positioner",popup:"p-autocomplete-popup",header:"p-autocomplete-header",filter:"p-autocomplete-filter",list:"p-autocomplete-list",options:"p-autocomplete-options",option:({context:e})=>["p-autocomplete-option",{"p-focus":e?.focused,"p-disabled":e?.disabled,"p-autocomplete-option-selected":e?.selected}],optionGroup:"p-autocomplete-option-group",optionIndicator:"p-autocomplete-option-indicator",arrow:"p-autocomplete-arrow",empty:"p-autocomplete-empty-message"}});export{m as styles};
|
package/avatar/Avatar.style.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AvatarRootInstance } from '@primereact/types/primitive/avatar';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<AvatarRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<AvatarRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/avatar/index.d.ts
CHANGED
package/avatar/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{createStyles as
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as t}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/avatar";var o=t({name:"avatar",style:e,classes:{root:({props:a})=>["p-avatar p-component",{"p-avatar-image":a.image!=null,"p-avatar-circle":a.shape==="circle","p-avatar-lg":a.size==="large","p-avatar-xl":a.size==="xlarge"}],fallback:"p-avatar-label"}});export{o as styles};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AvatarGroupInstance } from '@primereact/types/
|
|
2
|
-
export declare const
|
|
1
|
+
import type { AvatarGroupInstance } from '@primereact/types/primitive/avatargroup';
|
|
2
|
+
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AvatarGroup.style';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createStyles as r}from"@primereact/styles/utils";var a=r({name:"avatargroup",classes:{root:"p-avatar-group"}});export{a as styles};
|
package/badge/Badge.style.d.ts
CHANGED
package/badge/index.d.ts
CHANGED
package/badge/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{createStyles as a}from"@primereact/styles/utils";import{style as t}from"@primeuix/styles/badge";import{isEmpty as
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as a}from"@primereact/styles/utils";import{style as t}from"@primeuix/styles/badge";import{isEmpty as i,isNotEmpty as r}from"@primeuix/utils/object";var g=a({name:"badge",style:t,classes:{root:({props:e})=>["p-badge p-component",{"p-badge-circle":e.shape==="circle"&&r(e.children),"p-badge-dot":i(e.children),"p-badge-sm":e.size==="small","p-badge-lg":e.size==="large","p-badge-xl":e.size==="xlarge","p-badge-info":e.severity==="info","p-badge-success":e.severity==="success","p-badge-warn":e.severity==="warn","p-badge-danger":e.severity==="danger","p-badge-secondary":e.severity==="secondary","p-badge-contrast":e.severity==="contrast"}]}});export{g as styles};
|
package/base/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BreadcrumbRootInstance } from '@primereact/types/primitive/breadcrumb';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<BreadcrumbRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<BreadcrumbRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/breadcrumb/index.mjs
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
import{createStyles as
|
|
2
|
-
${t}
|
|
3
|
-
|
|
4
|
-
.p-breadcrumb-item a {
|
|
5
|
-
text-decoration: none;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: dt('breadcrumb.item.gap');
|
|
9
|
-
transition:
|
|
10
|
-
background dt('breadcrumb.transition.duration'),
|
|
11
|
-
color dt('breadcrumb.transition.duration'),
|
|
12
|
-
outline-color dt('breadcrumb.transition.duration'),
|
|
13
|
-
box-shadow dt('breadcrumb.transition.duration');
|
|
14
|
-
border-radius: dt('breadcrumb.item.border.radius');
|
|
15
|
-
outline-color: transparent;
|
|
16
|
-
color: dt('breadcrumb.item.color');
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.p-breadcrumb-item a:focus-visible {
|
|
20
|
-
box-shadow: dt('breadcrumb.item.focus.ring.shadow');
|
|
21
|
-
outline: dt('breadcrumb.item.focus.ring.width') dt('breadcrumb.item.focus.ring.style') dt('breadcrumb.item.focus.ring.color');
|
|
22
|
-
outline-offset: dt('breadcrumb.item.focus.ring.offset');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.p-breadcrumb-item a:hover{
|
|
26
|
-
color: dt('breadcrumb.item.hover.color');
|
|
27
|
-
}
|
|
28
|
-
`,b=e({name:"breadcrumb",style:o,classes:{root:"p-breadcrumb p-component",list:"p-breadcrumb-list",item:({context:r})=>["p-breadcrumb-item",{"p-disabled":r.disabled}],separator:"p-breadcrumb-separator",icon:"p-breadcrumb-separator-icon"}});export{b as styles};
|
|
29
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as r}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/breadcrumb";var p=r({name:"breadcrumb",style:e,classes:{root:"p-breadcrumb p-component",list:"p-breadcrumb-list",item:"p-breadcrumb-item",separator:"p-breadcrumb-separator",link:"p-breadcrumb-item-link",current:"p-breadcrumb-current p-breadcrumb-item-link",ellipsis:"p-breadcrumb-ellipsis"}});export{p as styles};
|
package/button/Button.style.d.ts
CHANGED
package/button/index.d.ts
CHANGED
package/button/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{createStyles as o}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/button";var
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as o}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/button";var u=o({name:"button",style:e,classes:{root:({instance:n,props:t})=>["p-button p-component",{"p-button-icon-only":t.iconOnly,"p-button-loading":t.loading,"p-button-link":t.variant==="link",[`p-button-${t.severity}`]:t.severity,"p-button-raised":t.raised,"p-button-rounded":t.rounded,"p-button-text":t.variant==="text","p-button-outlined":t.variant==="outlined","p-button-sm":t.size==="small","p-button-lg":t.size==="large","p-button-plain":t.plain,"p-button-fluid":n.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({props:n})=>["p-button-icon",{[`p-button-icon-${n.iconPos}`]:n.label}],label:"p-button-label"}});export{u as styles};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ButtonGroupInstance } from '@primereact/types/
|
|
2
|
-
export declare const
|
|
1
|
+
import type { ButtonGroupInstance } from '@primereact/types/primitive/buttongroup';
|
|
2
|
+
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ButtonGroup.style';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createStyles as t}from"@primereact/styles/utils";import{style as o}from"@primeuix/styles/buttongroup";var p=t({name:"buttongroup",style:o,classes:{root:"p-buttongroup p-component"}});export{p as styles};
|
package/card/Card.style.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CardRootInstance } from '@primereact/types/primitive/card';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<CardRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<CardRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/card/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{createStyles as t}from"@primereact/styles/utils";import{style as r}from"@primeuix/styles/card";var a=t({name:"card",style:r,classes:{root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"}});export{a as styles};
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CarouselRootInstance } from '@primereact/types/primitive/carousel';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<CarouselRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<CarouselRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/carousel/index.mjs
CHANGED
|
@@ -1,49 +1 @@
|
|
|
1
|
-
import{createStyles as t}from"@primereact/styles/utils";var
|
|
2
|
-
|
|
3
|
-
.p-carousel-indicator-list {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
padding: dt('carousel.indicator.list.padding');
|
|
9
|
-
gap: dt('carousel.indicator.list.gap');
|
|
10
|
-
margin: 0;
|
|
11
|
-
list-style: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.p-carousel-indicator-button {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
background: dt('carousel.indicator.background');
|
|
19
|
-
width: dt('carousel.indicator.width');
|
|
20
|
-
height: dt('carousel.indicator.height');
|
|
21
|
-
border: 0 none;
|
|
22
|
-
transition:
|
|
23
|
-
background dt('carousel.transition.duration'),
|
|
24
|
-
color dt('carousel.transition.duration'),
|
|
25
|
-
outline-color dt('carousel.transition.duration'),
|
|
26
|
-
box-shadow dt('carousel.transition.duration');
|
|
27
|
-
outline-color: transparent;
|
|
28
|
-
border-radius: dt('carousel.indicator.border.radius');
|
|
29
|
-
padding: 0;
|
|
30
|
-
margin: 0;
|
|
31
|
-
user-select: none;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.p-carousel-indicator-button:focus-visible {
|
|
36
|
-
box-shadow: dt('carousel.indicator.focus.ring.shadow');
|
|
37
|
-
outline: dt('carousel.indicator.focus.ring.width') dt('carousel.indicator.focus.ring.style') dt('carousel.indicator.focus.ring.color');
|
|
38
|
-
outline-offset: dt('carousel.indicator.focus.ring.offset');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.p-carousel-indicator-button:hover {
|
|
42
|
-
background: dt('carousel.indicator.hover.background');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.p-carousel-indicator-active.p-carousel-indicator-button {
|
|
46
|
-
background: dt('carousel.indicator.active.background');
|
|
47
|
-
}
|
|
48
|
-
`,a=t({name:"carousel",style:r,classes:{root:"p-carousel p-component",viewport:"p-carousel-viewport",content:({context:o})=>["p-carousel-content",o.orientation==="vertical"?"p-carousel-content-vertical":"p-carousel-content-horizontal"],item:"p-carousel-item",indicators:"p-carousel-indicator-list",indicator:({context:o})=>["p-carousel-indicator-button",o.active?"p-carousel-indicator-active":""],prev:({context:o})=>[{"p-disabled":o.disabled}],next:({context:o})=>[{"p-disabled":o.disabled}]}});export{a as styles};
|
|
49
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as t}from"@primereact/styles/utils";import{style as o}from"@primeuix/styles/carousel";var i=t({name:"carousel",style:o,classes:{root:"p-carousel p-component",viewport:"p-carousel-viewport",content:({context:e})=>["p-carousel-content",e.orientation==="vertical"?"p-carousel-content-vertical":"p-carousel-content-horizontal"],item:"p-carousel-item",indicators:"p-carousel-indicator-list",indicator:({context:e})=>["p-carousel-indicator-button",e.active?"p-carousel-indicator-active":""],prev:({context:e})=>[{"p-disabled":e.disabled}],next:({context:e})=>[{"p-disabled":e.disabled}]}});export{i as styles};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CheckboxRootInstance } from '@primereact/types/primitive/checkbox';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<CheckboxRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<CheckboxRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|
package/checkbox/index.d.ts
CHANGED
package/checkbox/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{createStyles as
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import{createStyles as t}from"@primereact/styles/utils";import{style as o}from"@primeuix/styles/checkbox";var p=t({name:"checkbox",style:o,classes:{root:({props:e,state:c,instance:i})=>["p-checkbox p-component",{"p-checkbox-checked":c.checked,"p-disabled":e.disabled,"p-invalid":e.invalid,"p-variant-filled":(e.variant??i.$primereact.config?.inputVariant)==="filled","p-checkbox-sm p-inputfield-sm":e.size==="small","p-checkbox-lg p-inputfield-lg":e.size==="large"}],box:"p-checkbox-box",input:"p-checkbox-input",indicator:"p-checkbox-indicator"}});export{p as styles};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CheckboxGroupInstance } from '@primereact/types/
|
|
2
|
-
export declare const
|
|
1
|
+
import type { CheckboxGroupInstance } from '@primereact/types/primitive/checkboxgroup';
|
|
2
|
+
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CheckboxGroup.style';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createStyles as o}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/checkboxgroup";var p=o({name:"checkboxgroup",style:e,classes:{root:"p-checkbox-group p-component"}});export{p as styles};
|
package/chip/Chip.style.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChipRootInstance } from '@primereact/types/primitive/chip';
|
|
2
2
|
export declare const styles: {
|
|
3
3
|
name: string | undefined;
|
|
4
4
|
css: import("@primeuix/styled").StyleType | undefined;
|
|
5
5
|
style: import("@primeuix/styled").StyleType | undefined;
|
|
6
|
-
classes: import("@primereact/types/styles").ClassesType<
|
|
7
|
-
inlineStyles: import("@primereact/types/styles").InlineStylesType<
|
|
6
|
+
classes: import("@primereact/types/styles").ClassesType<ChipRootInstance> | undefined;
|
|
7
|
+
inlineStyles: import("@primereact/types/styles").InlineStylesType<ChipRootInstance>;
|
|
8
8
|
baseStyles: {
|
|
9
9
|
name: string;
|
|
10
10
|
css: string;
|