@porsche-design-system/components-react 4.10.1 → 4.11.0
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/CHANGELOG.md +104 -9
- package/cjs/lib/components/link.wrapper.cjs +3 -3
- package/cjs/lib/components/popover.wrapper.cjs +3 -3
- package/cjs/lib/components/sheet.wrapper.cjs +3 -3
- package/esm/lib/components/input-search.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/link.wrapper.mjs +3 -3
- package/esm/lib/components/popover.wrapper.d.ts +10 -0
- package/esm/lib/components/popover.wrapper.mjs +3 -3
- package/esm/lib/components/sheet.wrapper.d.ts +12 -2
- package/esm/lib/components/sheet.wrapper.mjs +3 -3
- package/esm/lib/types.d.ts +7 -3
- package/package.json +2 -2
- package/skills/pds-audit-deprecations-react/SKILL.md +2 -2
- package/skills/pds-knowledge-react/SKILL.md +8 -7
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +9 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +7 -9
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +3 -3
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +26 -8
- package/skills/pds-knowledge-react/references/components/p-link/examples/Cover.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +3 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +39 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +4 -2
- package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +6 -3
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +2 -2
- package/skills/pds-knowledge-react/references/deprecations.md +4 -4
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/dialog.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/inline.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
- package/skills/pds-knowledge-react/references/examples/patterns/footer/simple.md +75 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/booking.md +479 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/contact.md +211 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/personal-details.md +253 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
- package/skills/pds-knowledge-react/references/examples/patterns/header/overlay.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/header/stacked.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/feature-tour.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/local-market-switch.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/priority-navigation.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/tile/call-to-action.md +71 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/category.md +60 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/disclosure.md +84 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment-stacked.md +54 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment.md +69 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/image.md +64 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-navigation.md +52 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-selection.md +66 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-teaser.md +78 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/product.md +92 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/vehicle-listing.md +107 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/video.md +114 -0
- package/skills/pds-knowledge-react/references/examples/templates/admin-panel.md +1 -0
- package/skills/pds-knowledge-react/references/examples/templates/landing-page.md +4 -3
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/no-video.md +1166 -0
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/video.md +1252 -0
- package/skills/pds-knowledge-react/references/examples.md +50 -1
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +239 -70
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +424 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +14 -3
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +239 -70
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +411 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +15 -4
- package/ssr/esm/public-api.d.ts +8696 -5
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +0 -35
- package/ssr/esm/BaseProps.d.ts +0 -2
- package/ssr/esm/getCachedMinifiedCss.d.ts +0 -23
- package/ssr/esm/hooks.d.ts +0 -15
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/banner.wrapper.d.ts +0 -86
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +0 -158
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +0 -140
- package/ssr/esm/lib/components/button.wrapper.d.ts +0 -118
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +0 -166
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/crest.wrapper.d.ts +0 -32
- package/ssr/esm/lib/components/display.wrapper.d.ts +0 -57
- package/ssr/esm/lib/components/divider.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +0 -53
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +0 -60
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +0 -50
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +0 -66
- package/ssr/esm/lib/components/flag.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +0 -110
- package/ssr/esm/lib/components/heading.wrapper.d.ts +0 -76
- package/ssr/esm/lib/components/icon.wrapper.d.ts +0 -52
- package/ssr/esm/lib/components/index.d.ts +0 -74
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +0 -102
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +0 -228
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +0 -210
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +0 -138
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +0 -104
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +0 -126
- package/ssr/esm/lib/components/link.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/modal.wrapper.d.ts +0 -100
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +0 -68
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +0 -156
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +0 -64
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +0 -43
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +0 -62
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/select.wrapper.d.ts +0 -164
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +0 -80
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/switch.wrapper.d.ts +0 -94
- package/ssr/esm/lib/components/table-body.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +0 -17
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +0 -36
- package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-head.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +0 -70
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +0 -15
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +0 -72
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/tag.wrapper.d.ts +0 -46
- package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +0 -18
- package/ssr/esm/lib/components/text.wrapper.d.ts +0 -78
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +0 -238
- package/ssr/esm/lib/components/toast.wrapper.d.ts +0 -3
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +0 -42
- package/ssr/esm/lib/dsr-components/accordion.d.ts +0 -18
- package/ssr/esm/lib/dsr-components/ai-tag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/banner.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/carousel.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/checkbox.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/crest.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/dialog-base.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/display.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/divider.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/fc-dismiss-button.d.ts +0 -16
- package/ssr/esm/lib/dsr-components/fieldset.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flyout.d.ts +0 -26
- package/ssr/esm/lib/dsr-components/heading.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/icon.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/inline-notification.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/input-base.d.ts +0 -38
- package/ssr/esm/lib/dsr-components/input-date.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-email.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-month.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-number.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-password.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-search.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-text.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-time.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-url.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-week.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/label.d.ts +0 -24
- package/ssr/esm/lib/dsr-components/link-pure.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/link.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/loading-message.d.ts +0 -8
- package/ssr/esm/lib/dsr-components/modal.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/model-signature.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +0 -40
- package/ssr/esm/lib/dsr-components/no-results-option.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/notification-base.d.ts +0 -14
- package/ssr/esm/lib/dsr-components/optgroup.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pagination.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/popover.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +0 -13
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/required.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/scroller.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +0 -21
- package/ssr/esm/lib/dsr-components/select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/select.d.ts +0 -41
- package/ssr/esm/lib/dsr-components/sheet.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/spinner.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/state-message.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/switch.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/table-body.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +0 -17
- package/ssr/esm/lib/dsr-components/tabs-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tabs.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tag.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/textarea.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/toast.d.ts +0 -7
- package/ssr/esm/lib/dsr-components/wordmark.d.ts +0 -6
- package/ssr/esm/lib/types.d.ts +0 -1862
- package/ssr/esm/minifyCss.d.ts +0 -1
- package/ssr/esm/provider.d.ts +0 -10
- package/ssr/esm/splitChildren.d.ts +0 -17
- package/ssr/esm/utils.d.ts +0 -4
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { TableHeadCellSort } from '../types';
|
|
3
|
-
export type PTableHeadCellProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Hides the visible column label while keeping it accessible to screen readers. Only applies when `sort` is not set.
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
8
|
-
hideLabel?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Allows the column header text to wrap onto multiple lines instead of being truncated to a single line.
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
multiline?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Configures sorting behavior for this column by providing an `id`, `active` state, and current `direction` (`asc` or `desc`).
|
|
16
|
-
*/
|
|
17
|
-
sort?: TableHeadCellSort;
|
|
18
|
-
};
|
|
19
|
-
export declare const PTableHeadCell: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
20
|
-
/**
|
|
21
|
-
* Hides the visible column label while keeping it accessible to screen readers. Only applies when `sort` is not set.
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
hideLabel?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Allows the column header text to wrap onto multiple lines instead of being truncated to a single line.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
multiline?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Configures sorting behavior for this column by providing an `id`, `active` state, and current `direction` (`asc` or `desc`).
|
|
32
|
-
*/
|
|
33
|
-
sort?: TableHeadCellSort;
|
|
34
|
-
} & {
|
|
35
|
-
children?: import("react").ReactNode | undefined;
|
|
36
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PTableHeadRowProps = BaseProps & {};
|
|
3
|
-
export declare const PTableHeadRow: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
4
|
-
children?: import("react").ReactNode | undefined;
|
|
5
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PTableHeadProps = BaseProps & {};
|
|
3
|
-
export declare const PTableHead: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
4
|
-
children?: import("react").ReactNode | undefined;
|
|
5
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PTableRowProps = BaseProps & {};
|
|
3
|
-
export declare const PTableRow: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
4
|
-
children?: import("react").ReactNode | undefined;
|
|
5
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { TableLayout, TableUpdateEventDetail } from '../types';
|
|
3
|
-
export type PTableProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets a screen-reader-only accessible caption that describes the table's content; it is not visible in the browser. Use an element with `slot="caption"` for a visible caption instead.
|
|
6
|
-
*/
|
|
7
|
-
caption?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Reduces the cell padding and spacing for a more condensed table layout in data-dense UIs.
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
compact?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Controls the CSS `table-layout` algorithm: `auto` sizes columns to fit their content, `fixed` distributes width equally.
|
|
15
|
-
* @default 'auto'
|
|
16
|
-
*/
|
|
17
|
-
layout?: TableLayout;
|
|
18
|
-
/**
|
|
19
|
-
* Emitted when the user clicks a sortable column header, carrying the new sort configuration in the event detail.
|
|
20
|
-
*/
|
|
21
|
-
onUpdate?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
22
|
-
/**
|
|
23
|
-
* @experimental Makes the scroll position indicator sticky at the viewport edge while scrolling, indicating overflow in the table.
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
sticky?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export declare const PTable: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
29
|
-
/**
|
|
30
|
-
* Sets a screen-reader-only accessible caption that describes the table's content; it is not visible in the browser. Use an element with `slot="caption"` for a visible caption instead.
|
|
31
|
-
*/
|
|
32
|
-
caption?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Reduces the cell padding and spacing for a more condensed table layout in data-dense UIs.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
compact?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Controls the CSS `table-layout` algorithm: `auto` sizes columns to fit their content, `fixed` distributes width equally.
|
|
40
|
-
* @default 'auto'
|
|
41
|
-
*/
|
|
42
|
-
layout?: TableLayout;
|
|
43
|
-
/**
|
|
44
|
-
* Emitted when the user clicks a sortable column header, carrying the new sort configuration in the event detail.
|
|
45
|
-
*/
|
|
46
|
-
onUpdate?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
47
|
-
/**
|
|
48
|
-
* @experimental Makes the scroll position indicator sticky at the viewport edge while scrolling, indicating overflow in the table.
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
sticky?: boolean;
|
|
52
|
-
} & {
|
|
53
|
-
children?: import("react").ReactNode | undefined;
|
|
54
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, TabsBarAriaAttribute, TabsBarBackground, TabsBarUpdateEventDetail, BreakpointCustomizable, TabsBarSize, TabsBarWeight } from '../types';
|
|
3
|
-
export type PTabsBarProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets the zero-based index of the currently active tab. Pass `undefined` to render all tabs in an unselected state.
|
|
6
|
-
*/
|
|
7
|
-
activeTabIndex?: number | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Sets ARIA attributes on the tablist, such as `aria-label` and `aria-description`.
|
|
10
|
-
*/
|
|
11
|
-
aria?: SelectedAriaAttributes<TabsBarAriaAttribute>;
|
|
12
|
-
/**
|
|
13
|
-
* Sets the background color of the tabs bar. Use `frosted` only when placed on top of images, videos, or gradients.
|
|
14
|
-
* @default 'none'
|
|
15
|
-
*/
|
|
16
|
-
background?: TabsBarBackground;
|
|
17
|
-
/**
|
|
18
|
-
* Reduces the tab height and padding for use in dense layouts where vertical space is limited.
|
|
19
|
-
*/
|
|
20
|
-
compact?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Emitted when the user clicks a different tab, carrying the new `activeTabIndex` in the event detail.
|
|
23
|
-
*/
|
|
24
|
-
onUpdate?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the font size of the tab labels using the PDS typographic scale. Supports responsive breakpoint values.
|
|
27
|
-
* @default 'small'
|
|
28
|
-
*/
|
|
29
|
-
size?: BreakpointCustomizable<TabsBarSize>;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Will be removed in the next major release. Has no effect anymore.
|
|
32
|
-
* @default 'regular'
|
|
33
|
-
*/
|
|
34
|
-
weight?: TabsBarWeight;
|
|
35
|
-
};
|
|
36
|
-
export declare const PTabsBar: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
37
|
-
/**
|
|
38
|
-
* Sets the zero-based index of the currently active tab. Pass `undefined` to render all tabs in an unselected state.
|
|
39
|
-
*/
|
|
40
|
-
activeTabIndex?: number | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Sets ARIA attributes on the tablist, such as `aria-label` and `aria-description`.
|
|
43
|
-
*/
|
|
44
|
-
aria?: SelectedAriaAttributes<TabsBarAriaAttribute>;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the background color of the tabs bar. Use `frosted` only when placed on top of images, videos, or gradients.
|
|
47
|
-
* @default 'none'
|
|
48
|
-
*/
|
|
49
|
-
background?: TabsBarBackground;
|
|
50
|
-
/**
|
|
51
|
-
* Reduces the tab height and padding for use in dense layouts where vertical space is limited.
|
|
52
|
-
*/
|
|
53
|
-
compact?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Emitted when the user clicks a different tab, carrying the new `activeTabIndex` in the event detail.
|
|
56
|
-
*/
|
|
57
|
-
onUpdate?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the font size of the tab labels using the PDS typographic scale. Supports responsive breakpoint values.
|
|
60
|
-
* @default 'small'
|
|
61
|
-
*/
|
|
62
|
-
size?: BreakpointCustomizable<TabsBarSize>;
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated Will be removed in the next major release. Has no effect anymore.
|
|
65
|
-
* @default 'regular'
|
|
66
|
-
*/
|
|
67
|
-
weight?: TabsBarWeight;
|
|
68
|
-
} & {
|
|
69
|
-
children?: import("react").ReactNode | undefined;
|
|
70
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PTabsItemProps = BaseProps & {
|
|
3
|
-
/**
|
|
4
|
-
* Sets the label text displayed in the tab navigation button that the user clicks to activate this tab's content.
|
|
5
|
-
*/
|
|
6
|
-
label: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const PTabsItem: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
9
|
-
/**
|
|
10
|
-
* Sets the label text displayed in the tab navigation button that the user clicks to activate this tab's content.
|
|
11
|
-
*/
|
|
12
|
-
label: string;
|
|
13
|
-
} & {
|
|
14
|
-
children?: import("react").ReactNode | undefined;
|
|
15
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, TabsAriaAttribute, TabsBackground, TabsUpdateEventDetail, BreakpointCustomizable, TabsSize, TabsWeight } from '../types';
|
|
3
|
-
export type PTabsProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets the zero-based index of the currently active tab; update this prop to switch tabs programmatically.
|
|
6
|
-
* @default 0
|
|
7
|
-
*/
|
|
8
|
-
activeTabIndex?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Sets ARIA attributes on the tablist, such as `aria-label` and `aria-description`.
|
|
11
|
-
*/
|
|
12
|
-
aria?: SelectedAriaAttributes<TabsAriaAttribute>;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the background color of the tabs bar. Use `frosted` only when placed on top of images, videos, or gradients.
|
|
15
|
-
* @default 'none'
|
|
16
|
-
*/
|
|
17
|
-
background?: TabsBackground;
|
|
18
|
-
/**
|
|
19
|
-
* Reduces the tab height and padding for use in dense layouts where vertical space is limited.
|
|
20
|
-
*/
|
|
21
|
-
compact?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Emitted when the user switches to a different tab, carrying the new `activeTabIndex` in the event detail.
|
|
24
|
-
*/
|
|
25
|
-
onUpdate?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the font size of the tab labels using the PDS typographic scale. Supports responsive breakpoint values.
|
|
28
|
-
* @default 'small'
|
|
29
|
-
*/
|
|
30
|
-
size?: BreakpointCustomizable<TabsSize>;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated Will be removed in the next major release. Has no effect anymore.
|
|
33
|
-
* @default 'regular'
|
|
34
|
-
*/
|
|
35
|
-
weight?: TabsWeight;
|
|
36
|
-
};
|
|
37
|
-
export declare const PTabs: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
38
|
-
/**
|
|
39
|
-
* Sets the zero-based index of the currently active tab; update this prop to switch tabs programmatically.
|
|
40
|
-
* @default 0
|
|
41
|
-
*/
|
|
42
|
-
activeTabIndex?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Sets ARIA attributes on the tablist, such as `aria-label` and `aria-description`.
|
|
45
|
-
*/
|
|
46
|
-
aria?: SelectedAriaAttributes<TabsAriaAttribute>;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the background color of the tabs bar. Use `frosted` only when placed on top of images, videos, or gradients.
|
|
49
|
-
* @default 'none'
|
|
50
|
-
*/
|
|
51
|
-
background?: TabsBackground;
|
|
52
|
-
/**
|
|
53
|
-
* Reduces the tab height and padding for use in dense layouts where vertical space is limited.
|
|
54
|
-
*/
|
|
55
|
-
compact?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Emitted when the user switches to a different tab, carrying the new `activeTabIndex` in the event detail.
|
|
58
|
-
*/
|
|
59
|
-
onUpdate?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the font size of the tab labels using the PDS typographic scale. Supports responsive breakpoint values.
|
|
62
|
-
* @default 'small'
|
|
63
|
-
*/
|
|
64
|
-
size?: BreakpointCustomizable<TabsSize>;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated Will be removed in the next major release. Has no effect anymore.
|
|
67
|
-
* @default 'regular'
|
|
68
|
-
*/
|
|
69
|
-
weight?: TabsWeight;
|
|
70
|
-
} & {
|
|
71
|
-
children?: import("react").ReactNode | undefined;
|
|
72
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, TagDismissibleAriaAttribute } from '../types';
|
|
3
|
-
export type PTagDismissibleProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the dismiss button element, for example use `aria-label` to provide a descriptive close action for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<TagDismissibleAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Reduces the tag's padding and height for use in dense layouts where vertical space is limited.
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
compact?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the visible label text displayed inside the tag alongside the dismiss button.
|
|
15
|
-
*/
|
|
16
|
-
label?: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const PTagDismissible: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
19
|
-
/**
|
|
20
|
-
* Sets ARIA attributes on the dismiss button element, for example use `aria-label` to provide a descriptive close action for screen readers.
|
|
21
|
-
*/
|
|
22
|
-
aria?: SelectedAriaAttributes<TagDismissibleAriaAttribute>;
|
|
23
|
-
/**
|
|
24
|
-
* Reduces the tag's padding and height for use in dense layouts where vertical space is limited.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
compact?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Sets the visible label text displayed inside the tag alongside the dismiss button.
|
|
30
|
-
*/
|
|
31
|
-
label?: string;
|
|
32
|
-
} & {
|
|
33
|
-
children?: import("react").ReactNode | undefined;
|
|
34
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { TagIcon, TagVariant } from '../types';
|
|
3
|
-
export type PTagProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Reduces the tag's padding and height for use in dense layouts where vertical space is limited.
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
8
|
-
compact?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Sets the icon displayed inside the tag alongside the label. Use `none` to render the tag without an icon.
|
|
11
|
-
* @default 'none'
|
|
12
|
-
*/
|
|
13
|
-
icon?: TagIcon;
|
|
14
|
-
/**
|
|
15
|
-
* Sets a URL to a custom SVG icon, overriding the built-in icon set when a brand-specific icon is needed.
|
|
16
|
-
*/
|
|
17
|
-
iconSource?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the visual style of the tag, which controls its background and text colors (e.g. `primary`, `secondary`, `notification-info`).
|
|
20
|
-
* @default 'secondary'
|
|
21
|
-
*/
|
|
22
|
-
variant?: TagVariant;
|
|
23
|
-
};
|
|
24
|
-
export declare const PTag: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
25
|
-
/**
|
|
26
|
-
* Reduces the tag's padding and height for use in dense layouts where vertical space is limited.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
compact?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the icon displayed inside the tag alongside the label. Use `none` to render the tag without an icon.
|
|
32
|
-
* @default 'none'
|
|
33
|
-
*/
|
|
34
|
-
icon?: TagIcon;
|
|
35
|
-
/**
|
|
36
|
-
* Sets a URL to a custom SVG icon, overriding the built-in icon set when a brand-specific icon is needed.
|
|
37
|
-
*/
|
|
38
|
-
iconSource?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Sets the visual style of the tag, which controls its background and text colors (e.g. `primary`, `secondary`, `notification-info`).
|
|
41
|
-
* @default 'secondary'
|
|
42
|
-
*/
|
|
43
|
-
variant?: TagVariant;
|
|
44
|
-
} & {
|
|
45
|
-
children?: import("react").ReactNode | undefined;
|
|
46
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PTextListItemProps = BaseProps & {};
|
|
3
|
-
export declare const PTextListItem: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
4
|
-
children?: import("react").ReactNode | undefined;
|
|
5
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { TextListType } from '../types';
|
|
3
|
-
export type PTextListProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets the list type to either `unordered` (bulleted) or `ordered` (numbered), controlling the rendered HTML element (`ul` vs `ol`).
|
|
6
|
-
* @default 'unordered'
|
|
7
|
-
*/
|
|
8
|
-
type?: TextListType;
|
|
9
|
-
};
|
|
10
|
-
export declare const PTextList: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the list type to either `unordered` (bulleted) or `ordered` (numbered), controlling the rendered HTML element (`ul` vs `ol`).
|
|
13
|
-
* @default 'unordered'
|
|
14
|
-
*/
|
|
15
|
-
type?: TextListType;
|
|
16
|
-
} & {
|
|
17
|
-
children?: import("react").ReactNode | undefined;
|
|
18
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { TextAlign, TextColor, TextHyphens, BreakpointCustomizable, TextSize, TextTag, TextWeight } from '../types';
|
|
3
|
-
export type PTextProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Text alignment of the text. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
|
|
6
|
-
* @default 'start'
|
|
7
|
-
*/
|
|
8
|
-
align?: TextAlign;
|
|
9
|
-
/**
|
|
10
|
-
* Text color of the text. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, 'success' / 'warning' / 'error' / 'info' for status messages, or 'inherit' to adopt the parent's color.
|
|
11
|
-
* @default 'primary'
|
|
12
|
-
*/
|
|
13
|
-
color?: TextColor;
|
|
14
|
-
/**
|
|
15
|
-
* Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
ellipsis?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Controls the hyphenation behavior of the text. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `­`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
|
|
21
|
-
* @default 'inherit'
|
|
22
|
-
*/
|
|
23
|
-
hyphens?: TextHyphens;
|
|
24
|
-
/**
|
|
25
|
-
* Size of the text. Also defines the size for specific breakpoints, like {base: "sm", l: "md"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
|
|
26
|
-
* @default 'sm'
|
|
27
|
-
*/
|
|
28
|
-
size?: BreakpointCustomizable<TextSize>;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the HTML tag of the rendered element to ensure correct semantic meaning (e.g. 'p' for paragraphs, 'blockquote' for quotes, 'time' for dates).
|
|
31
|
-
* @default 'p'
|
|
32
|
-
*/
|
|
33
|
-
tag?: TextTag;
|
|
34
|
-
/**
|
|
35
|
-
* The font weight of the text. Use 'normal' for regular body text, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis.
|
|
36
|
-
* @default 'normal'
|
|
37
|
-
*/
|
|
38
|
-
weight?: TextWeight;
|
|
39
|
-
};
|
|
40
|
-
export declare const PText: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
41
|
-
/**
|
|
42
|
-
* Text alignment of the text. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
|
|
43
|
-
* @default 'start'
|
|
44
|
-
*/
|
|
45
|
-
align?: TextAlign;
|
|
46
|
-
/**
|
|
47
|
-
* Text color of the text. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, 'success' / 'warning' / 'error' / 'info' for status messages, or 'inherit' to adopt the parent's color.
|
|
48
|
-
* @default 'primary'
|
|
49
|
-
*/
|
|
50
|
-
color?: TextColor;
|
|
51
|
-
/**
|
|
52
|
-
* Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
ellipsis?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Controls the hyphenation behavior of the text. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `­`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
|
|
58
|
-
* @default 'inherit'
|
|
59
|
-
*/
|
|
60
|
-
hyphens?: TextHyphens;
|
|
61
|
-
/**
|
|
62
|
-
* Size of the text. Also defines the size for specific breakpoints, like {base: "sm", l: "md"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
|
|
63
|
-
* @default 'sm'
|
|
64
|
-
*/
|
|
65
|
-
size?: BreakpointCustomizable<TextSize>;
|
|
66
|
-
/**
|
|
67
|
-
* Sets the HTML tag of the rendered element to ensure correct semantic meaning (e.g. 'p' for paragraphs, 'blockquote' for quotes, 'time' for dates).
|
|
68
|
-
* @default 'p'
|
|
69
|
-
*/
|
|
70
|
-
tag?: TextTag;
|
|
71
|
-
/**
|
|
72
|
-
* The font weight of the text. Use 'normal' for regular body text, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis.
|
|
73
|
-
* @default 'normal'
|
|
74
|
-
*/
|
|
75
|
-
weight?: TextWeight;
|
|
76
|
-
} & {
|
|
77
|
-
children?: import("react").ReactNode | undefined;
|
|
78
|
-
} & import("react").RefAttributes<HTMLElement>>;
|