@primereact/styles 11.0.0-alpha.9 → 11.0.0-rc.1
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 -1
- package/accordion/index.mjs.map +1 -1
- package/animateonscroll/AnimateOnScroll.style.d.ts +1 -1
- package/animateonscroll/index.mjs.map +1 -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 +79 -0
- package/autocomplete/index.mjs.map +1 -0
- package/avatar/Avatar.style.d.ts +3 -3
- package/avatar/index.d.ts +0 -1
- package/avatar/index.mjs +1 -1
- package/avatar/index.mjs.map +1 -1
- package/{avatar → avatargroup}/AvatarGroup.style.d.ts +2 -2
- package/avatargroup/index.d.ts +1 -0
- package/avatargroup/index.mjs +2 -0
- package/avatargroup/index.mjs.map +1 -0
- package/badge/Badge.style.d.ts +1 -1
- package/badge/index.d.ts +0 -1
- package/badge/index.mjs +1 -1
- package/badge/index.mjs.map +1 -1
- package/breadcrumb/Breadcrumb.style.d.ts +3 -3
- package/breadcrumb/index.mjs +1 -28
- package/breadcrumb/index.mjs.map +1 -1
- package/button/Button.style.d.ts +1 -1
- package/button/index.d.ts +0 -1
- package/button/index.mjs +1 -1
- package/button/index.mjs.map +1 -1
- package/{button → buttongroup}/ButtonGroup.style.d.ts +2 -2
- package/buttongroup/index.d.ts +1 -0
- package/buttongroup/index.mjs +2 -0
- package/buttongroup/index.mjs.map +1 -0
- package/card/Card.style.d.ts +3 -3
- package/card/index.mjs.map +1 -1
- package/carousel/Carousel.style.d.ts +3 -3
- package/carousel/index.mjs +1 -48
- package/carousel/index.mjs.map +1 -1
- package/checkbox/Checkbox.style.d.ts +3 -3
- package/checkbox/index.d.ts +0 -1
- package/checkbox/index.mjs +1 -1
- package/checkbox/index.mjs.map +1 -1
- package/{checkbox → checkboxgroup}/CheckboxGroup.style.d.ts +2 -2
- package/checkboxgroup/index.d.ts +1 -0
- package/checkboxgroup/index.mjs +2 -0
- package/checkboxgroup/index.mjs.map +1 -0
- package/chip/Chip.style.d.ts +3 -3
- package/chip/index.mjs +118 -1
- package/chip/index.mjs.map +1 -1
- package/{colorpicker/ColorPicker.style.d.ts → compare/Compare.style.d.ts} +3 -3
- package/compare/index.d.ts +1 -0
- package/compare/index.mjs +2 -0
- package/compare/index.mjs.map +1 -0
- package/contextmenu/ContextMenu.style.d.ts +3 -3
- package/contextmenu/index.mjs +180 -1
- package/contextmenu/index.mjs.map +1 -1
- package/{imagecompare/ImageCompare.style.d.ts → datatable/DataTable.style.d.ts} +3 -3
- package/datatable/index.d.ts +1 -0
- package/datatable/index.mjs +74 -0
- package/datatable/index.mjs.map +1 -0
- package/dataview/DataView.style.d.ts +3 -3
- package/dataview/index.mjs +1 -1
- package/dataview/index.mjs.map +1 -1
- package/datepicker/DatePicker.style.d.ts +3 -3
- package/datepicker/index.mjs +41 -3
- package/datepicker/index.mjs.map +1 -1
- package/dialog/Dialog.style.d.ts +3 -3
- package/dialog/index.mjs +97 -1
- package/dialog/index.mjs.map +1 -1
- package/divider/Divider.style.d.ts +1 -1
- package/divider/index.mjs.map +1 -1
- package/drawer/Drawer.style.d.ts +3 -3
- package/drawer/index.mjs +99 -1
- package/drawer/index.mjs.map +1 -1
- package/fieldset/Fieldset.style.d.ts +3 -3
- package/fieldset/index.mjs +8 -1
- package/fieldset/index.mjs.map +1 -1
- package/fileupload/FileUpload.style.d.ts +3 -3
- package/fileupload/index.mjs +1 -1
- package/fileupload/index.mjs.map +1 -1
- package/{label → floatlabel}/FloatLabel.style.d.ts +2 -2
- package/floatlabel/index.d.ts +1 -0
- package/floatlabel/index.mjs +2 -0
- package/floatlabel/index.mjs.map +1 -0
- package/fluid/Fluid.style.d.ts +1 -1
- package/fluid/index.mjs.map +1 -1
- package/focustrap/FocusTrap.style.d.ts +1 -1
- package/focustrap/index.mjs +1 -1
- package/focustrap/index.mjs.map +1 -1
- package/gallery/Gallery.style.d.ts +3 -3
- package/gallery/index.mjs +1 -135
- package/gallery/index.mjs.map +1 -1
- package/iconfield/IconField.style.d.ts +3 -3
- package/iconfield/index.mjs +1 -1
- package/iconfield/index.mjs.map +1 -1
- package/{label → iftalabel}/IftaLabel.style.d.ts +2 -2
- package/iftalabel/index.d.ts +1 -0
- package/iftalabel/index.mjs +2 -0
- package/iftalabel/index.mjs.map +1 -0
- package/inplace/Inplace.style.d.ts +3 -3
- package/inplace/index.mjs +1 -1
- package/inplace/index.mjs.map +1 -1
- package/{commandmenu/CommandMenu.style.d.ts → inputcolor/InputColor.style.d.ts} +3 -3
- package/inputcolor/index.d.ts +1 -0
- package/inputcolor/index.mjs +2 -0
- package/inputcolor/index.mjs.map +1 -0
- package/inputgroup/InputGroup.style.d.ts +3 -3
- package/inputgroup/index.mjs +1 -1
- package/inputgroup/index.mjs.map +1 -1
- package/inputnumber/InputNumber.style.d.ts +3 -3
- package/inputnumber/index.mjs +1 -1
- package/inputnumber/index.mjs.map +1 -1
- package/inputotp/InputOtp.style.d.ts +3 -3
- package/inputotp/index.mjs.map +1 -1
- package/inputtags/InputTags.style.d.ts +3 -3
- package/inputtags/index.mjs +1 -67
- package/inputtags/index.mjs.map +1 -1
- package/inputtext/InputText.style.d.ts +1 -1
- package/inputtext/index.mjs.map +1 -1
- package/knob/Knob.style.d.ts +3 -3
- package/knob/index.mjs.map +1 -1
- package/label/Label.style.d.ts +1 -1
- package/label/index.d.ts +0 -2
- package/label/index.mjs +1 -1
- package/label/index.mjs.map +1 -1
- package/listbox/Listbox.style.d.ts +3 -3
- package/listbox/index.mjs +17 -17
- package/listbox/index.mjs.map +1 -1
- package/menu/Menu.style.d.ts +3 -3
- package/menu/index.mjs +141 -103
- package/menu/index.mjs.map +1 -1
- package/message/Message.style.d.ts +3 -3
- package/message/index.mjs +1 -1
- package/message/index.mjs.map +1 -1
- package/metergroup/MeterGroup.style.d.ts +3 -3
- package/metergroup/index.mjs +1 -1
- package/metergroup/index.mjs.map +1 -1
- package/{confirmdialog/ConfirmDialog.style.d.ts → navigationmenu/NavigationMenu.style.d.ts} +3 -3
- package/navigationmenu/index.d.ts +1 -0
- package/navigationmenu/index.mjs +2 -0
- package/navigationmenu/index.mjs.map +1 -0
- package/organizationchart/OrganizationChart.style.d.ts +15 -0
- package/organizationchart/index.d.ts +1 -0
- package/organizationchart/index.mjs +2 -0
- package/organizationchart/index.mjs.map +1 -0
- package/{badge → overlaybadge}/OverlayBadge.style.d.ts +2 -2
- package/overlaybadge/index.d.ts +1 -0
- package/overlaybadge/index.mjs +2 -0
- package/overlaybadge/index.mjs.map +1 -0
- package/package.json +11 -14
- package/paginator/Paginator.style.d.ts +3 -3
- package/paginator/index.mjs.map +1 -1
- package/panel/Panel.style.d.ts +3 -3
- package/panel/index.mjs +8 -1
- package/panel/index.mjs.map +1 -1
- package/password/Password.style.d.ts +3 -3
- package/password/index.mjs +1 -30
- package/password/index.mjs.map +1 -1
- package/popover/Popover.style.d.ts +3 -3
- package/popover/index.mjs +76 -1
- package/popover/index.mjs.map +1 -1
- package/progressbar/ProgressBar.style.d.ts +3 -3
- package/progressbar/index.mjs +1 -1
- package/progressbar/index.mjs.map +1 -1
- package/progressspinner/ProgressSpinner.style.d.ts +4 -3
- package/progressspinner/index.mjs +80 -1
- package/progressspinner/index.mjs.map +1 -1
- package/radiobutton/RadioButton.style.d.ts +3 -3
- package/radiobutton/index.d.ts +0 -1
- package/radiobutton/index.mjs +1 -1
- package/radiobutton/index.mjs.map +1 -1
- package/{radiobutton → radiobuttongroup}/RadioButtonGroup.style.d.ts +2 -2
- package/radiobuttongroup/index.d.ts +1 -0
- package/radiobuttongroup/index.mjs +2 -0
- package/radiobuttongroup/index.mjs.map +1 -0
- package/rating/Rating.style.d.ts +3 -3
- package/rating/index.mjs +1 -66
- package/rating/index.mjs.map +1 -1
- package/scrollarea/ScrollArea.style.d.ts +3 -3
- package/scrollarea/index.mjs +1 -1
- package/scrollarea/index.mjs.map +1 -1
- package/{switch/Switch.style.d.ts → select/Select.style.d.ts} +3 -3
- package/select/index.d.ts +1 -0
- package/select/index.mjs +79 -0
- package/select/index.mjs.map +1 -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 +55 -0
- package/sidebar/index.mjs.map +1 -0
- package/skeleton/Skeleton.style.d.ts +1 -1
- package/skeleton/index.mjs +1 -1
- package/skeleton/index.mjs.map +1 -1
- package/slider/Slider.style.d.ts +3 -3
- package/slider/index.mjs +1 -1
- package/slider/index.mjs.map +1 -1
- package/speeddial/SpeedDial.style.d.ts +3 -3
- package/speeddial/index.mjs +23 -1
- package/speeddial/index.mjs.map +1 -1
- package/splitter/Splitter.style.d.ts +3 -3
- package/splitter/index.mjs +1 -1
- package/splitter/index.mjs.map +1 -1
- package/stepper/Stepper.style.d.ts +3 -3
- package/stepper/index.mjs +1 -1
- package/stepper/index.mjs.map +1 -1
- package/tabs/Tabs.style.d.ts +3 -3
- package/tabs/index.mjs +1 -1
- package/tabs/index.mjs.map +1 -1
- package/tag/Tag.style.d.ts +1 -1
- package/tag/index.mjs +1 -1
- package/tag/index.mjs.map +1 -1
- package/terminal/Terminal.style.d.ts +3 -3
- package/terminal/index.mjs +1 -1
- package/terminal/index.mjs.map +1 -1
- package/textarea/Textarea.style.d.ts +1 -1
- package/textarea/index.mjs +1 -1
- package/textarea/index.mjs.map +1 -1
- package/timeline/Timeline.style.d.ts +3 -3
- package/timeline/index.mjs.map +1 -1
- package/toast/Toast.style.d.ts +3 -3
- package/toast/index.mjs +1 -3
- package/toast/index.mjs.map +1 -1
- package/{orgchart/OrgChart.style.d.ts → toaster/Toaster.style.d.ts} +3 -3
- package/toaster/index.d.ts +1 -0
- package/toaster/index.mjs +2 -0
- package/toaster/index.mjs.map +1 -0
- package/togglebutton/ToggleButton.style.d.ts +3 -3
- package/togglebutton/index.d.ts +0 -1
- package/togglebutton/index.mjs +1 -1
- package/togglebutton/index.mjs.map +1 -1
- package/{togglebutton → togglebuttongroup}/ToggleButtonGroup.style.d.ts +2 -2
- package/togglebuttongroup/index.d.ts +1 -0
- package/togglebuttongroup/index.mjs +2 -0
- package/togglebuttongroup/index.mjs.map +1 -0
- package/toggleswitch/ToggleSwitch.style.d.ts +15 -0
- package/toggleswitch/index.d.ts +1 -0
- package/toggleswitch/index.mjs +2 -0
- package/toggleswitch/index.mjs.map +1 -0
- package/toolbar/Toolbar.style.d.ts +3 -3
- package/toolbar/index.mjs.map +1 -1
- package/tooltip/Tooltip.style.d.ts +3 -3
- package/tooltip/index.mjs +47 -49
- package/tooltip/index.mjs.map +1 -1
- package/tree/Tree.style.d.ts +3 -3
- package/tree/index.mjs +38 -1
- package/tree/index.mjs.map +1 -1
- package/LICENSE +0 -21
- 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/imagecompare/index.d.ts +0 -1
- package/imagecompare/index.mjs +0 -2
- package/imagecompare/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/switch/index.d.ts +0 -1
- package/switch/index.mjs +0 -2
- package/switch/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,23 @@
|
|
|
1
|
-
import{createStyles as
|
|
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};
|
|
2
23
|
//# sourceMappingURL=index.mjs.map
|
package/accordion/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/accordion/Accordion.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type {
|
|
1
|
+
{"version":3,"sources":["../../src/accordion/Accordion.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AccordionRootInstance } from '@primereact/types/primitive/accordion';\nimport { style as accordion_style } from '@primeuix/styles/accordion';\n\nconst style = /*css*/ `\n${accordion_style}\n\n/* @todo review styles */\n.p-accordiontrigger {\n padding: dt('accordion.header.padding');\n height: 100%;\n cursor: pointer;\n outline: 0 none;\n}\n\n.p-accordionheader {\n padding: 0;\n cursor: initial;\n}\n\n.p-accordionheader:has(.p-accordiontrigger:focus-visible) {\n box-shadow: dt('accordion.header.focus.ring.shadow');\n outline: dt('accordion.header.focus.ring.width') dt('accordion.header.focus.ring.style') dt('accordion.header.focus.ring.color');\n outline-offset: dt('accordion.header.focus.ring.offset');\n}\n`;\n\nexport const styles = createStyles<AccordionRootInstance>({\n name: 'accordion',\n style,\n classes: {\n root: 'p-accordion p-component',\n header: 'p-accordionheader',\n trigger: 'p-accordiontrigger',\n content: 'p-accordioncontent',\n indicator: 'p-accordion-indicator',\n contentOuter: 'p-accordioncontent-wrapper',\n contentInner: 'p-accordioncontent-content',\n panel: ({ context }) => {\n return [\n 'p-accordionpanel',\n {\n 'p-disabled': context.disabled\n }\n ];\n }\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAASC,MAAuB,6BAEzC,IAAMC,EAAgB;AAAA,EACpBD,CAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAsBJE,EAASH,EAAoC,CACtD,KAAM,YACN,MAAAE,EACA,QAAS,CACL,KAAM,0BACN,OAAQ,oBACR,QAAS,qBACT,QAAS,qBACT,UAAW,wBACX,aAAc,6BACd,aAAc,6BACd,MAAO,CAAC,CAAE,QAAAE,CAAQ,IACP,CACH,mBACA,CACI,aAAcA,EAAQ,QAC1B,CACJ,CAER,CACJ,CAAC","names":["createStyles","accordion_style","style","styles","context"]}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/animateonscroll/AnimateOnScroll.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AnimateOnScrollInstance } from '@primereact/types/
|
|
1
|
+
{"version":3,"sources":["../../src/animateonscroll/AnimateOnScroll.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AnimateOnScrollInstance } from '@primereact/types/primitive/animateonscroll';\n\nexport const styles = createStyles<AnimateOnScrollInstance>({\n name: 'animateonscroll-directive'\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAGtB,IAAMC,EAASD,EAAsC,CACxD,KAAM,2BACV,CAAC","names":["createStyles","styles"]}
|
|
@@ -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,79 @@
|
|
|
1
|
+
import{createStyles as a}from"@primereact/styles/utils";import{style as l}from"@primeuix/styles/autocomplete";var i=`
|
|
2
|
+
${l}
|
|
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
|
+
`,d=a({name:"autocomplete",style:i,classes:{root:({instance:o,props:e,context:r,state:t})=>{var p;return["p-autocomplete p-component p-inputwrapper",{"p-inputwrapper-filled":o==null?void 0:o.hasValue(),"p-inputwrapper-focus":t.focused||t.opened,"p-autocomplete-fluid":(p=e.fluid)!=null?p:r.$fluid,"p-disabled":e.disabled}]},input:"p-autocomplete-input",clear:"p-autocomplete-clear",indicator:"p-autocomplete-indicator",trigger:"p-autocomplete-trigger",value:({context:o})=>["p-autocomplete-value p-autocomplete-label",{"p-autocomplete-value-empty p-autocomplete-label-empty":o==null?void 0:o.empty,"p-placeholder":o==null?void 0:o.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:o})=>["p-autocomplete-option",{"p-focus":o==null?void 0:o.focused,"p-disabled":o==null?void 0:o.disabled,"p-autocomplete-option-selected":o==null?void 0:o.selected}],optionGroup:"p-autocomplete-option-group",optionIndicator:"p-autocomplete-option-indicator",arrow:"p-autocomplete-arrow",empty:"p-autocomplete-empty-message"}});export{d as styles};
|
|
79
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/autocomplete/AutoComplete.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AutoCompleteRootInstance } from '@primereact/types/primitive/autocomplete';\nimport { style as autocomplete_style } from '@primeuix/styles/autocomplete';\n\nconst style = /*css*/ `\n${autocomplete_style}\n\n/* For PrimeReact */\n.p-autocomplete-popup {\n position: relative;\n background: dt('autocomplete.overlay.background');\n color: dt('autocomplete.overlay.color');\n border: 1px solid dt('autocomplete.overlay.border.color');\n border-radius: dt('autocomplete.overlay.border.radius');\n box-shadow: dt('autocomplete.overlay.shadow');\n width: var(--px-positioner-anchor-width, max-content);\n transform-origin: var(--px-transform-origin);\n will-change: transform, opacity;\n}\n\n.p-autocomplete-trigger {\n display: inline-flex;\n width: 100%;\n outline: 0 none;\n cursor: pointer;\n}\n\n.p-autocomplete-value {\n text-align: left;\n}\n\n.p-autocomplete-clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n align-self: center;\n cursor: pointer;\n}\n\n.p-autocomplete-list {\n border: unset;\n overflow: auto;\n}\n\n.p-autocomplete-option {\n flex-shrink: 0;\n}\n\n.p-autocomplete-arrow {\n position: absolute;\n border: 1px solid dt('autocomplete.overlay.border.color');\n background: dt('autocomplete.overlay.background');\n width: 0.75rem;\n height: 0.75rem;\n border-bottom-left-radius: 3px;\n clip-path: polygon(0 100%, 0 0, 100% 100%);\n\n &[data-side='top'] {\n left: var(--px-placer-arrow-x);\n bottom: -0.375rem;\n transform: translateX(-50%) rotate(-45deg);\n }\n\n &[data-side='bottom'] {\n left: var(--px-placer-arrow-x);\n top: -0.375rem;\n transform: translateX(-50%) rotate(135deg);\n }\n\n &[data-side='left'] {\n top: var(--px-placer-arrow-y);\n right: -0.375rem;\n transform: translateY(-50%) rotate(-135deg);\n }\n\n &[data-side='right'] {\n top: var(--px-placer-arrow-y);\n left: -0.375rem;\n transform: translateY(-50%) rotate(45deg);\n }\n}\n`;\n\nexport const styles = createStyles<AutoCompleteRootInstance>({\n name: 'autocomplete',\n style,\n classes: {\n root: ({ instance, props, context, state }) => [\n 'p-autocomplete p-component p-inputwrapper',\n {\n 'p-inputwrapper-filled': instance?.hasValue(),\n 'p-inputwrapper-focus': state.focused || state.opened,\n 'p-autocomplete-fluid': props.fluid ?? context.$fluid,\n 'p-disabled': props.disabled\n }\n ],\n input: 'p-autocomplete-input',\n clear: 'p-autocomplete-clear',\n indicator: 'p-autocomplete-indicator',\n trigger: 'p-autocomplete-trigger',\n value: ({ context }) => [\n 'p-autocomplete-value p-autocomplete-label',\n {\n 'p-autocomplete-value-empty p-autocomplete-label-empty': context?.empty,\n 'p-placeholder': context?.showPlaceholder\n }\n ],\n positioner: 'p-autocomplete-positioner',\n popup: 'p-autocomplete-popup',\n header: 'p-autocomplete-header',\n filter: 'p-autocomplete-filter',\n list: 'p-autocomplete-list',\n options: 'p-autocomplete-options',\n option: ({ context }) => [\n 'p-autocomplete-option',\n {\n 'p-focus': context?.focused,\n 'p-disabled': context?.disabled,\n 'p-autocomplete-option-selected': context?.selected\n }\n ],\n optionGroup: 'p-autocomplete-option-group',\n optionIndicator: 'p-autocomplete-option-indicator',\n arrow: 'p-autocomplete-arrow',\n empty: 'p-autocomplete-empty-message'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAASC,MAA0B,gCAE5C,IAAMC,EAAgB;AAAA,EACpBD,CAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA8EPE,EAASH,EAAuC,CACzD,KAAM,eACN,MAAAE,EACA,QAAS,CACL,KAAM,CAAC,CAAE,SAAAE,EAAU,MAAAC,EAAO,QAAAC,EAAS,MAAAC,CAAM,IAAG,CAvFpD,IAAAC,EAuFuD,OAC3C,4CACA,CACI,wBAAyBJ,GAAA,YAAAA,EAAU,WACnC,uBAAwBG,EAAM,SAAWA,EAAM,OAC/C,wBAAwBC,EAAAH,EAAM,QAAN,KAAAG,EAAeF,EAAQ,OAC/C,aAAcD,EAAM,QACxB,CACJ,GACA,MAAO,uBACP,MAAO,uBACP,UAAW,2BACX,QAAS,yBACT,MAAO,CAAC,CAAE,QAAAC,CAAQ,IAAM,CACpB,4CACA,CACI,wDAAyDA,GAAA,YAAAA,EAAS,MAClE,gBAAiBA,GAAA,YAAAA,EAAS,eAC9B,CACJ,EACA,WAAY,4BACZ,MAAO,uBACP,OAAQ,wBACR,OAAQ,wBACR,KAAM,sBACN,QAAS,yBACT,OAAQ,CAAC,CAAE,QAAAA,CAAQ,IAAM,CACrB,wBACA,CACI,UAAWA,GAAA,YAAAA,EAAS,QACpB,aAAcA,GAAA,YAAAA,EAAS,SACvB,iCAAkCA,GAAA,YAAAA,EAAS,QAC/C,CACJ,EACA,YAAa,8BACb,gBAAiB,kCACjB,MAAO,uBACP,MAAO,8BACX,CACJ,CAAC","names":["createStyles","autocomplete_style","style","styles","instance","props","context","state","_a"]}
|
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,2 @@
|
|
|
1
|
-
import{createStyles as
|
|
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};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/avatar/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/avatar/Avatar.style.ts"
|
|
1
|
+
{"version":3,"sources":["../../src/avatar/Avatar.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AvatarRootInstance } from '@primereact/types/primitive/avatar';\nimport { style } from '@primeuix/styles/avatar';\n\nexport const styles = createStyles<AvatarRootInstance>({\n name: 'avatar',\n style,\n classes: {\n root: ({ props }) => [\n 'p-avatar p-component',\n {\n 'p-avatar-image': props.image != null,\n 'p-avatar-circle': props.shape === 'circle',\n 'p-avatar-lg': props.size === 'large',\n 'p-avatar-xl': props.size === 'xlarge'\n }\n ],\n fallback: 'p-avatar-label'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,0BAEf,IAAMC,EAASF,EAAiC,CACnD,KAAM,SACN,MAAAC,EACA,QAAS,CACL,KAAM,CAAC,CAAE,MAAAE,CAAM,IAAM,CACjB,uBACA,CACI,iBAAkBA,EAAM,OAAS,KACjC,kBAAmBA,EAAM,QAAU,SACnC,cAAeA,EAAM,OAAS,QAC9B,cAAeA,EAAM,OAAS,QAClC,CACJ,EACA,SAAU,gBACd,CACJ,CAAC","names":["createStyles","style","styles","props"]}
|
|
@@ -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
|
+
{"version":3,"sources":["../../src/avatargroup/AvatarGroup.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { AvatarGroupInstance } from '@primereact/types/primitive/avatargroup';\n\nexport const styles = createStyles<AvatarGroupInstance>({\n name: 'avatargroup',\n classes: {\n root: 'p-avatar-group'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAGtB,IAAMC,EAASD,EAAkC,CACpD,KAAM,cACN,QAAS,CACL,KAAM,gBACV,CACJ,CAAC","names":["createStyles","styles"]}
|
package/badge/Badge.style.d.ts
CHANGED
package/badge/index.d.ts
CHANGED
package/badge/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createStyles as a}from"@primereact/styles/utils";import{style as t}from"@primeuix/styles/badge";import{isEmpty as
|
|
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};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/badge/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/badge/Badge.style.ts"
|
|
1
|
+
{"version":3,"sources":["../../src/badge/Badge.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { BadgeInstance } from '@primereact/types/primitive/badge';\nimport { style } from '@primeuix/styles/badge';\nimport { isEmpty, isNotEmpty } from '@primeuix/utils/object';\n\nexport const styles = createStyles<BadgeInstance>({\n name: 'badge',\n style,\n classes: {\n root: ({ props }) => [\n 'p-badge p-component',\n {\n 'p-badge-circle': props.shape === 'circle' && isNotEmpty(props.children),\n 'p-badge-dot': isEmpty(props.children),\n 'p-badge-sm': props.size === 'small',\n 'p-badge-lg': props.size === 'large',\n 'p-badge-xl': props.size === 'xlarge',\n 'p-badge-info': props.severity === 'info',\n 'p-badge-success': props.severity === 'success',\n 'p-badge-warn': props.severity === 'warn',\n 'p-badge-danger': props.severity === 'danger',\n 'p-badge-secondary': props.severity === 'secondary',\n 'p-badge-contrast': props.severity === 'contrast'\n }\n ]\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,yBACtB,OAAS,WAAAC,EAAS,cAAAC,MAAkB,yBAE7B,IAAMC,EAASJ,EAA4B,CAC9C,KAAM,QACN,MAAAC,EACA,QAAS,CACL,KAAM,CAAC,CAAE,MAAAI,CAAM,IAAM,CACjB,sBACA,CACI,iBAAkBA,EAAM,QAAU,UAAYF,EAAWE,EAAM,QAAQ,EACvE,cAAeH,EAAQG,EAAM,QAAQ,EACrC,aAAcA,EAAM,OAAS,QAC7B,aAAcA,EAAM,OAAS,QAC7B,aAAcA,EAAM,OAAS,SAC7B,eAAgBA,EAAM,WAAa,OACnC,kBAAmBA,EAAM,WAAa,UACtC,eAAgBA,EAAM,WAAa,OACnC,iBAAkBA,EAAM,WAAa,SACrC,oBAAqBA,EAAM,WAAa,YACxC,mBAAoBA,EAAM,WAAa,UAC3C,CACJ,CACJ,CACJ,CAAC","names":["createStyles","style","isEmpty","isNotEmpty","styles","props"]}
|
|
@@ -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,2 @@
|
|
|
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};
|
|
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};
|
|
29
2
|
//# sourceMappingURL=index.mjs.map
|
package/breadcrumb/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/breadcrumb/Breadcrumb.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type {
|
|
1
|
+
{"version":3,"sources":["../../src/breadcrumb/Breadcrumb.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { BreadcrumbRootInstance } from '@primereact/types/primitive/breadcrumb';\nimport { style } from '@primeuix/styles/breadcrumb';\n\nexport const styles = createStyles<BreadcrumbRootInstance>({\n name: 'breadcrumb',\n style,\n classes: {\n root: 'p-breadcrumb p-component',\n list: 'p-breadcrumb-list',\n item: 'p-breadcrumb-item',\n separator: 'p-breadcrumb-separator',\n link: 'p-breadcrumb-item-link',\n current: 'p-breadcrumb-current p-breadcrumb-item-link',\n ellipsis: 'p-breadcrumb-ellipsis'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,8BAEf,IAAMC,EAASF,EAAqC,CACvD,KAAM,aACN,MAAAC,EACA,QAAS,CACL,KAAM,2BACN,KAAM,oBACN,KAAM,oBACN,UAAW,yBACX,KAAM,yBACN,QAAS,8CACT,SAAU,uBACd,CACJ,CAAC","names":["createStyles","style","styles"]}
|
package/button/Button.style.d.ts
CHANGED
package/button/index.d.ts
CHANGED
package/button/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createStyles as o}from"@primereact/styles/utils";import{style as e}from"@primeuix/styles/button";var
|
|
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};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/button/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/button/Button.style.ts"
|
|
1
|
+
{"version":3,"sources":["../../src/button/Button.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { ButtonInstance } from '@primereact/types/primitive/button';\nimport { style } from '@primeuix/styles/button';\n\nexport const styles = createStyles<ButtonInstance>({\n name: 'button',\n style,\n classes: {\n root: ({ instance, props }) => [\n 'p-button p-component',\n {\n 'p-button-icon-only': props.iconOnly,\n 'p-button-loading': props.loading,\n 'p-button-link': props.variant === 'link',\n [`p-button-${props.severity}`]: props.severity,\n 'p-button-raised': props.raised,\n 'p-button-rounded': props.rounded,\n 'p-button-text': props.variant === 'text',\n 'p-button-outlined': props.variant === 'outlined',\n 'p-button-sm': props.size === 'small',\n 'p-button-lg': props.size === 'large',\n 'p-button-plain': props.plain,\n 'p-button-fluid': instance.hasFluid\n }\n ],\n loadingIcon: 'p-button-loading-icon',\n icon: ({ props }) => [\n 'p-button-icon',\n {\n [`p-button-icon-${props.iconPos}`]: props.label\n }\n ],\n label: 'p-button-label'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,0BAEf,IAAMC,EAASF,EAA6B,CAC/C,KAAM,SACN,MAAAC,EACA,QAAS,CACL,KAAM,CAAC,CAAE,SAAAE,EAAU,MAAAC,CAAM,IAAM,CAC3B,uBACA,CACI,qBAAsBA,EAAM,SAC5B,mBAAoBA,EAAM,QAC1B,gBAAiBA,EAAM,UAAY,OACnC,CAAC,YAAYA,EAAM,QAAQ,EAAE,EAAGA,EAAM,SACtC,kBAAmBA,EAAM,OACzB,mBAAoBA,EAAM,QAC1B,gBAAiBA,EAAM,UAAY,OACnC,oBAAqBA,EAAM,UAAY,WACvC,cAAeA,EAAM,OAAS,QAC9B,cAAeA,EAAM,OAAS,QAC9B,iBAAkBA,EAAM,MACxB,iBAAkBD,EAAS,QAC/B,CACJ,EACA,YAAa,wBACb,KAAM,CAAC,CAAE,MAAAC,CAAM,IAAM,CACjB,gBACA,CACI,CAAC,iBAAiBA,EAAM,OAAO,EAAE,EAAGA,EAAM,KAC9C,CACJ,EACA,MAAO,gBACX,CACJ,CAAC","names":["createStyles","style","styles","instance","props"]}
|
|
@@ -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
|
+
{"version":3,"sources":["../../src/buttongroup/ButtonGroup.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { ButtonGroupInstance } from '@primereact/types/primitive/buttongroup';\nimport { style } from '@primeuix/styles/buttongroup';\n\nexport const styles = createStyles<ButtonGroupInstance>({\n name: 'buttongroup',\n style,\n classes: {\n root: 'p-buttongroup p-component'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,+BAEf,IAAMC,EAASF,EAAkC,CACpD,KAAM,cACN,MAAAC,EACA,QAAS,CACL,KAAM,2BACV,CACJ,CAAC","names":["createStyles","style","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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/card/Card.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type {
|
|
1
|
+
{"version":3,"sources":["../../src/card/Card.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { CardRootInstance } from '@primereact/types/primitive/card';\nimport { style } from '@primeuix/styles/card';\n\nexport const styles = createStyles<CardRootInstance>({\n name: 'card',\n style,\n classes: {\n root: 'p-card p-component',\n header: 'p-card-header',\n body: 'p-card-body',\n caption: 'p-card-caption',\n title: 'p-card-title',\n subtitle: 'p-card-subtitle',\n content: 'p-card-content',\n footer: 'p-card-footer'\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,wBAEf,IAAMC,EAASF,EAA+B,CACjD,KAAM,OACN,MAAAC,EACA,QAAS,CACL,KAAM,qBACN,OAAQ,gBACR,KAAM,cACN,QAAS,iBACT,MAAO,eACP,SAAU,kBACV,QAAS,iBACT,OAAQ,eACZ,CACJ,CAAC","names":["createStyles","style","styles"]}
|
|
@@ -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,2 @@
|
|
|
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};
|
|
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};
|
|
49
2
|
//# sourceMappingURL=index.mjs.map
|
package/carousel/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/carousel/Carousel.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type {
|
|
1
|
+
{"version":3,"sources":["../../src/carousel/Carousel.style.ts"],"sourcesContent":["import { createStyles } from '@primereact/styles/utils';\nimport type { CarouselRootInstance } from '@primereact/types/primitive/carousel';\nimport { style } from '@primeuix/styles/carousel';\n\nexport const styles = createStyles<CarouselRootInstance>({\n name: 'carousel',\n style,\n classes: {\n root: 'p-carousel p-component',\n viewport: 'p-carousel-viewport',\n content: ({ context }) => ['p-carousel-content', context.orientation === 'vertical' ? 'p-carousel-content-vertical' : 'p-carousel-content-horizontal'],\n item: 'p-carousel-item',\n indicators: 'p-carousel-indicator-list',\n indicator: ({ context }) => ['p-carousel-indicator-button', context.active ? 'p-carousel-indicator-active' : ''],\n prev: ({ context }) => [\n {\n 'p-disabled': context.disabled\n }\n ],\n next: ({ context }) => [\n {\n 'p-disabled': context.disabled\n }\n ]\n }\n});\n"],"mappings":"AAAA,OAAS,gBAAAA,MAAoB,2BAE7B,OAAS,SAAAC,MAAa,4BAEf,IAAMC,EAASF,EAAmC,CACrD,KAAM,WACN,MAAAC,EACA,QAAS,CACL,KAAM,yBACN,SAAU,sBACV,QAAS,CAAC,CAAE,QAAAE,CAAQ,IAAM,CAAC,qBAAsBA,EAAQ,cAAgB,WAAa,8BAAgC,+BAA+B,EACrJ,KAAM,kBACN,WAAY,4BACZ,UAAW,CAAC,CAAE,QAAAA,CAAQ,IAAM,CAAC,8BAA+BA,EAAQ,OAAS,8BAAgC,EAAE,EAC/G,KAAM,CAAC,CAAE,QAAAA,CAAQ,IAAM,CACnB,CACI,aAAcA,EAAQ,QAC1B,CACJ,EACA,KAAM,CAAC,CAAE,QAAAA,CAAQ,IAAM,CACnB,CACI,aAAcA,EAAQ,QAC1B,CACJ,CACJ,CACJ,CAAC","names":["createStyles","style","styles","context"]}
|
|
@@ -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,2 @@
|
|
|
1
|
-
import{createStyles as
|
|
1
|
+
import{createStyles as a}from"@primereact/styles/utils";import{style as n}from"@primeuix/styles/checkbox";var r=a({name:"checkbox",style:n,classes:{root:({props:e,state:t,instance:o})=>{var c,i;return["p-checkbox p-component",{"p-checkbox-checked":t.checked,"p-disabled":e.disabled,"p-invalid":e.invalid,"p-variant-filled":((i=e.variant)!=null?i:(c=o.$primereact.config)==null?void 0:c.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{r as styles};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|