@sebgroup/green-core 2.36.0 → 2.37.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/components/menu-button/menu-button.styles.js +5 -0
- package/components/table/table.component.d.ts +14 -0
- package/components/table/table.component.js +90 -14
- package/components/table/table.stories.data.d.ts +9 -1
- package/components/table/table.stories.data.js +51 -3
- package/components/table/table.styles.js +181 -9
- package/components/table/table.types.d.ts +9 -1
- package/custom-elements.json +279 -258
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/table/api.md +2 -0
- package/generated/react/alert/index.d.ts +281 -3
- package/generated/react/backdrop/index.d.ts +281 -3
- package/generated/react/badge/index.d.ts +281 -3
- package/generated/react/blur/index.d.ts +281 -3
- package/generated/react/breadcrumb/index.d.ts +281 -3
- package/generated/react/breadcrumbs/index.d.ts +281 -3
- package/generated/react/button/index.d.ts +281 -3
- package/generated/react/calendar/index.d.ts +281 -3
- package/generated/react/card/index.d.ts +281 -3
- package/generated/react/card-linked/index.d.ts +281 -3
- package/generated/react/card-pattern-01/index.d.ts +281 -3
- package/generated/react/checkbox/index.d.ts +281 -3
- package/generated/react/checkbox-group/index.d.ts +281 -3
- package/generated/react/coachmark/index.d.ts +281 -3
- package/generated/react/context-menu/index.d.ts +281 -3
- package/generated/react/datepicker/index.d.ts +281 -3
- package/generated/react/details/index.d.ts +281 -3
- package/generated/react/dialog/index.d.ts +281 -3
- package/generated/react/div/index.d.ts +281 -3
- package/generated/react/divider/index.d.ts +281 -3
- package/generated/react/dropdown/index.d.ts +281 -3
- package/generated/react/fab/index.d.ts +281 -3
- package/generated/react/filter-chip/index.d.ts +281 -3
- package/generated/react/filter-chips/index.d.ts +281 -3
- package/generated/react/flex/index.d.ts +281 -3
- package/generated/react/form-summary/index.d.ts +281 -3
- package/generated/react/formatted-account/index.d.ts +281 -3
- package/generated/react/formatted-date/index.d.ts +281 -3
- package/generated/react/formatted-number/index.d.ts +281 -3
- package/generated/react/grid/index.d.ts +281 -3
- package/generated/react/grouped-list/index.d.ts +281 -3
- package/generated/react/icons/icon-ai/index.d.ts +281 -3
- package/generated/react/icons/icon-airplane-up/index.d.ts +281 -3
- package/generated/react/icons/icon-archive/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-box-left/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-box-left-alt/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-box-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-down/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-inbox/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-left/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-left-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-right-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-share-left/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-share-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-split/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-up/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-wall-down/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-wall-left/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-wall-right/index.d.ts +281 -3
- package/generated/react/icons/icon-arrow-wall-up/index.d.ts +281 -3
- package/generated/react/icons/icon-arrows-repeat/index.d.ts +281 -3
- package/generated/react/icons/icon-asterisk/index.d.ts +281 -3
- package/generated/react/icons/icon-at/index.d.ts +281 -3
- package/generated/react/icons/icon-back/index.d.ts +281 -3
- package/generated/react/icons/icon-backward/index.d.ts +281 -3
- package/generated/react/icons/icon-bag/index.d.ts +281 -3
- package/generated/react/icons/icon-bank/index.d.ts +281 -3
- package/generated/react/icons/icon-banknote/index.d.ts +281 -3
- package/generated/react/icons/icon-banknote-2/index.d.ts +281 -3
- package/generated/react/icons/icon-barcode/index.d.ts +281 -3
- package/generated/react/icons/icon-bars-three/index.d.ts +281 -3
- package/generated/react/icons/icon-bars-two/index.d.ts +281 -3
- package/generated/react/icons/icon-basket/index.d.ts +281 -3
- package/generated/react/icons/icon-battery-loading/index.d.ts +281 -3
- package/generated/react/icons/icon-bell/index.d.ts +281 -3
- package/generated/react/icons/icon-block/index.d.ts +281 -3
- package/generated/react/icons/icon-book/index.d.ts +281 -3
- package/generated/react/icons/icon-bookmark/index.d.ts +281 -3
- package/generated/react/icons/icon-bookmark-check/index.d.ts +281 -3
- package/generated/react/icons/icon-bookmark-delete/index.d.ts +281 -3
- package/generated/react/icons/icon-bookmark-plus/index.d.ts +281 -3
- package/generated/react/icons/icon-bookmark-remove/index.d.ts +281 -3
- package/generated/react/icons/icon-books/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-app-store/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-apple-music/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-bankid/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-chrome/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-facebook/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-figma/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-firefox/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-github/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-green/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-instagram/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-linkedin/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-play-store/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-rss-feed/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-seb/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-spotify/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-storybook/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-swish-word/index.d.ts +281 -3
- package/generated/react/icons/icon-brand-x/index.d.ts +281 -3
- package/generated/react/icons/icon-brush/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-annotation/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-dots/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-question/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-quotes/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-text/index.d.ts +281 -3
- package/generated/react/icons/icon-bubble-wide-annotation/index.d.ts +281 -3
- package/generated/react/icons/icon-bubbles/index.d.ts +281 -3
- package/generated/react/icons/icon-buildings/index.d.ts +281 -3
- package/generated/react/icons/icon-bullet-list/index.d.ts +281 -3
- package/generated/react/icons/icon-cain-link/index.d.ts +281 -3
- package/generated/react/icons/icon-calculator/index.d.ts +281 -3
- package/generated/react/icons/icon-calendar/index.d.ts +281 -3
- package/generated/react/icons/icon-calendar-check/index.d.ts +281 -3
- package/generated/react/icons/icon-calender-add/index.d.ts +281 -3
- package/generated/react/icons/icon-call/index.d.ts +281 -3
- package/generated/react/icons/icon-car/index.d.ts +281 -3
- package/generated/react/icons/icon-carussel/index.d.ts +281 -3
- package/generated/react/icons/icon-chain-link/index.d.ts +281 -3
- package/generated/react/icons/icon-chain-link-broken/index.d.ts +281 -3
- package/generated/react/icons/icon-charging-station/index.d.ts +281 -3
- package/generated/react/icons/icon-chart-one/index.d.ts +281 -3
- package/generated/react/icons/icon-chart-presentation/index.d.ts +281 -3
- package/generated/react/icons/icon-chart-two/index.d.ts +281 -3
- package/generated/react/icons/icon-checklist/index.d.ts +281 -3
- package/generated/react/icons/icon-checkmark/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-bottom/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-double-down/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-double-left/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-double-right/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-double-up/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-down-small/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-left/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-left-small/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-right/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-right-small/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-top/index.d.ts +281 -3
- package/generated/react/icons/icon-chevron-top-small/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-ban/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-check/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-dots/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-info/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-minus/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-plus/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-questionmark/index.d.ts +281 -3
- package/generated/react/icons/icon-circle-x/index.d.ts +281 -3
- package/generated/react/icons/icon-circles-three/index.d.ts +281 -3
- package/generated/react/icons/icon-clock/index.d.ts +281 -3
- package/generated/react/icons/icon-cloud-download/index.d.ts +281 -3
- package/generated/react/icons/icon-cloud-upload/index.d.ts +281 -3
- package/generated/react/icons/icon-cloudy-sun/index.d.ts +281 -3
- package/generated/react/icons/icon-code/index.d.ts +281 -3
- package/generated/react/icons/icon-code-brackets/index.d.ts +281 -3
- package/generated/react/icons/icon-compass-round/index.d.ts +281 -3
- package/generated/react/icons/icon-cookies/index.d.ts +281 -3
- package/generated/react/icons/icon-copy/index.d.ts +281 -3
- package/generated/react/icons/icon-credit-card/index.d.ts +281 -3
- package/generated/react/icons/icon-credit-card-add/index.d.ts +281 -3
- package/generated/react/icons/icon-cross-large/index.d.ts +281 -3
- package/generated/react/icons/icon-cross-small/index.d.ts +281 -3
- package/generated/react/icons/icon-cup-hot/index.d.ts +281 -3
- package/generated/react/icons/icon-cursor/index.d.ts +281 -3
- package/generated/react/icons/icon-details/index.d.ts +281 -3
- package/generated/react/icons/icon-devices/index.d.ts +281 -3
- package/generated/react/icons/icon-direction/index.d.ts +281 -3
- package/generated/react/icons/icon-dollar/index.d.ts +281 -3
- package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +281 -3
- package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +281 -3
- package/generated/react/icons/icon-dot-grid-three/index.d.ts +281 -3
- package/generated/react/icons/icon-dot-grid-two/index.d.ts +281 -3
- package/generated/react/icons/icon-email/index.d.ts +281 -3
- package/generated/react/icons/icon-emoji-angry/index.d.ts +281 -3
- package/generated/react/icons/icon-emoji-neutral/index.d.ts +281 -3
- package/generated/react/icons/icon-emoji-sad/index.d.ts +281 -3
- package/generated/react/icons/icon-emoji-smile/index.d.ts +281 -3
- package/generated/react/icons/icon-emoji-smiley/index.d.ts +281 -3
- package/generated/react/icons/icon-euro/index.d.ts +281 -3
- package/generated/react/icons/icon-expand/index.d.ts +281 -3
- package/generated/react/icons/icon-eye-open/index.d.ts +281 -3
- package/generated/react/icons/icon-eye-slash/index.d.ts +281 -3
- package/generated/react/icons/icon-fashion/index.d.ts +281 -3
- package/generated/react/icons/icon-fast-forward/index.d.ts +281 -3
- package/generated/react/icons/icon-file-bend/index.d.ts +281 -3
- package/generated/react/icons/icon-file-chart/index.d.ts +281 -3
- package/generated/react/icons/icon-file-text/index.d.ts +281 -3
- package/generated/react/icons/icon-files/index.d.ts +281 -3
- package/generated/react/icons/icon-filter/index.d.ts +281 -3
- package/generated/react/icons/icon-flag/index.d.ts +281 -3
- package/generated/react/icons/icon-floppy-disk/index.d.ts +281 -3
- package/generated/react/icons/icon-focus/index.d.ts +281 -3
- package/generated/react/icons/icon-focus-square/index.d.ts +281 -3
- package/generated/react/icons/icon-folder/index.d.ts +281 -3
- package/generated/react/icons/icon-folder-add-right/index.d.ts +281 -3
- package/generated/react/icons/icon-folder-paper/index.d.ts +281 -3
- package/generated/react/icons/icon-folder-upload/index.d.ts +281 -3
- package/generated/react/icons/icon-fullscreen/index.d.ts +281 -3
- package/generated/react/icons/icon-gift/index.d.ts +281 -3
- package/generated/react/icons/icon-globus/index.d.ts +281 -3
- package/generated/react/icons/icon-graduate-cap/index.d.ts +281 -3
- package/generated/react/icons/icon-green-power/index.d.ts +281 -3
- package/generated/react/icons/icon-group/index.d.ts +281 -3
- package/generated/react/icons/icon-growth/index.d.ts +281 -3
- package/generated/react/icons/icon-headphones/index.d.ts +281 -3
- package/generated/react/icons/icon-heart/index.d.ts +281 -3
- package/generated/react/icons/icon-heart-beat/index.d.ts +281 -3
- package/generated/react/icons/icon-history/index.d.ts +281 -3
- package/generated/react/icons/icon-home-energy-one/index.d.ts +281 -3
- package/generated/react/icons/icon-home-energy-two/index.d.ts +281 -3
- package/generated/react/icons/icon-home-open/index.d.ts +281 -3
- package/generated/react/icons/icon-home-roof/index.d.ts +281 -3
- package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +281 -3
- package/generated/react/icons/icon-hourglass/index.d.ts +281 -3
- package/generated/react/icons/icon-images/index.d.ts +281 -3
- package/generated/react/icons/icon-inbox-empty/index.d.ts +281 -3
- package/generated/react/icons/icon-industry/index.d.ts +281 -3
- package/generated/react/icons/icon-invite/index.d.ts +281 -3
- package/generated/react/icons/icon-jpg/index.d.ts +281 -3
- package/generated/react/icons/icon-key/index.d.ts +281 -3
- package/generated/react/icons/icon-knife-spoon/index.d.ts +281 -3
- package/generated/react/icons/icon-lab/index.d.ts +281 -3
- package/generated/react/icons/icon-law/index.d.ts +281 -3
- package/generated/react/icons/icon-leisure/index.d.ts +281 -3
- package/generated/react/icons/icon-light-bulb/index.d.ts +281 -3
- package/generated/react/icons/icon-light-bulb-simple/index.d.ts +281 -3
- package/generated/react/icons/icon-lightning/index.d.ts +281 -3
- package/generated/react/icons/icon-line-chart-four/index.d.ts +281 -3
- package/generated/react/icons/icon-line-chart-one/index.d.ts +281 -3
- package/generated/react/icons/icon-line-chart-three/index.d.ts +281 -3
- package/generated/react/icons/icon-line-chart-two/index.d.ts +281 -3
- package/generated/react/icons/icon-lock/index.d.ts +281 -3
- package/generated/react/icons/icon-macbook-air/index.d.ts +281 -3
- package/generated/react/icons/icon-magnifying-glass/index.d.ts +281 -3
- package/generated/react/icons/icon-maintenance/index.d.ts +281 -3
- package/generated/react/icons/icon-map-pin/index.d.ts +281 -3
- package/generated/react/icons/icon-megaphone/index.d.ts +281 -3
- package/generated/react/icons/icon-menu-sidebar/index.d.ts +281 -3
- package/generated/react/icons/icon-mic-off/index.d.ts +281 -3
- package/generated/react/icons/icon-mic-on/index.d.ts +281 -3
- package/generated/react/icons/icon-minimize/index.d.ts +281 -3
- package/generated/react/icons/icon-minus-large/index.d.ts +281 -3
- package/generated/react/icons/icon-minus-small/index.d.ts +281 -3
- package/generated/react/icons/icon-money-hand/index.d.ts +281 -3
- package/generated/react/icons/icon-moneybag/index.d.ts +281 -3
- package/generated/react/icons/icon-moon/index.d.ts +281 -3
- package/generated/react/icons/icon-mute/index.d.ts +281 -3
- package/generated/react/icons/icon-office/index.d.ts +281 -3
- package/generated/react/icons/icon-other/index.d.ts +281 -3
- package/generated/react/icons/icon-page-add/index.d.ts +281 -3
- package/generated/react/icons/icon-page-text/index.d.ts +281 -3
- package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +281 -3
- package/generated/react/icons/icon-paperclip/index.d.ts +281 -3
- package/generated/react/icons/icon-pause/index.d.ts +281 -3
- package/generated/react/icons/icon-pdf/index.d.ts +281 -3
- package/generated/react/icons/icon-pencel-line/index.d.ts +281 -3
- package/generated/react/icons/icon-pencil-sign/index.d.ts +281 -3
- package/generated/react/icons/icon-pencil-sparkle/index.d.ts +281 -3
- package/generated/react/icons/icon-pencil-wave/index.d.ts +281 -3
- package/generated/react/icons/icon-pension/index.d.ts +281 -3
- package/generated/react/icons/icon-people/index.d.ts +281 -3
- package/generated/react/icons/icon-people-a11y/index.d.ts +281 -3
- package/generated/react/icons/icon-people-add/index.d.ts +281 -3
- package/generated/react/icons/icon-people-added/index.d.ts +281 -3
- package/generated/react/icons/icon-people-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-people-copy/index.d.ts +281 -3
- package/generated/react/icons/icon-people-profile/index.d.ts +281 -3
- package/generated/react/icons/icon-people-remove/index.d.ts +281 -3
- package/generated/react/icons/icon-percent/index.d.ts +281 -3
- package/generated/react/icons/icon-phone/index.d.ts +281 -3
- package/generated/react/icons/icon-phone-dynamic-island/index.d.ts +281 -3
- package/generated/react/icons/icon-pie-chart/index.d.ts +281 -3
- package/generated/react/icons/icon-piggy-bank/index.d.ts +281 -3
- package/generated/react/icons/icon-pin/index.d.ts +281 -3
- package/generated/react/icons/icon-pinch/index.d.ts +281 -3
- package/generated/react/icons/icon-play/index.d.ts +281 -3
- package/generated/react/icons/icon-play-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-plus-large/index.d.ts +281 -3
- package/generated/react/icons/icon-plus-small/index.d.ts +281 -3
- package/generated/react/icons/icon-png/index.d.ts +281 -3
- package/generated/react/icons/icon-poop/index.d.ts +281 -3
- package/generated/react/icons/icon-postcard/index.d.ts +281 -3
- package/generated/react/icons/icon-pound/index.d.ts +281 -3
- package/generated/react/icons/icon-power/index.d.ts +281 -3
- package/generated/react/icons/icon-power-plant/index.d.ts +281 -3
- package/generated/react/icons/icon-printer/index.d.ts +281 -3
- package/generated/react/icons/icon-push/index.d.ts +281 -3
- package/generated/react/icons/icon-qr-code/index.d.ts +281 -3
- package/generated/react/icons/icon-rainy/index.d.ts +281 -3
- package/generated/react/icons/icon-raising-hand/index.d.ts +281 -3
- package/generated/react/icons/icon-reading-list/index.d.ts +281 -3
- package/generated/react/icons/icon-receipt-bill/index.d.ts +281 -3
- package/generated/react/icons/icon-receiption-bell/index.d.ts +281 -3
- package/generated/react/icons/icon-record/index.d.ts +281 -3
- package/generated/react/icons/icon-refund/index.d.ts +281 -3
- package/generated/react/icons/icon-robot/index.d.ts +281 -3
- package/generated/react/icons/icon-rocket/index.d.ts +281 -3
- package/generated/react/icons/icon-run-shortcut/index.d.ts +281 -3
- package/generated/react/icons/icon-safari/index.d.ts +281 -3
- package/generated/react/icons/icon-school/index.d.ts +281 -3
- package/generated/react/icons/icon-scissors/index.d.ts +281 -3
- package/generated/react/icons/icon-search-menu/index.d.ts +281 -3
- package/generated/react/icons/icon-seb/index.d.ts +281 -3
- package/generated/react/icons/icon-settings-gear/index.d.ts +281 -3
- package/generated/react/icons/icon-settings-slider-hor/index.d.ts +281 -3
- package/generated/react/icons/icon-settings-slider-three/index.d.ts +281 -3
- package/generated/react/icons/icon-settings-slider-ver/index.d.ts +281 -3
- package/generated/react/icons/icon-shapes/index.d.ts +281 -3
- package/generated/react/icons/icon-share/index.d.ts +281 -3
- package/generated/react/icons/icon-shield/index.d.ts +281 -3
- package/generated/react/icons/icon-shield-checked/index.d.ts +281 -3
- package/generated/react/icons/icon-shield-crossed/index.d.ts +281 -3
- package/generated/react/icons/icon-shopping-bag/index.d.ts +281 -3
- package/generated/react/icons/icon-signature/index.d.ts +281 -3
- package/generated/react/icons/icon-smartwatch/index.d.ts +281 -3
- package/generated/react/icons/icon-solar/index.d.ts +281 -3
- package/generated/react/icons/icon-solar-panel/index.d.ts +281 -3
- package/generated/react/icons/icon-sort/index.d.ts +281 -3
- package/generated/react/icons/icon-sort-ascending/index.d.ts +281 -3
- package/generated/react/icons/icon-sort-descending/index.d.ts +281 -3
- package/generated/react/icons/icon-sort-down/index.d.ts +281 -3
- package/generated/react/icons/icon-sort-up/index.d.ts +281 -3
- package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +281 -3
- package/generated/react/icons/icon-square-behind-square/index.d.ts +281 -3
- package/generated/react/icons/icon-square-check/index.d.ts +281 -3
- package/generated/react/icons/icon-square-grid-circle/index.d.ts +281 -3
- package/generated/react/icons/icon-square-info/index.d.ts +281 -3
- package/generated/react/icons/icon-square-minus/index.d.ts +281 -3
- package/generated/react/icons/icon-square-placeholder/index.d.ts +281 -3
- package/generated/react/icons/icon-square-plus/index.d.ts +281 -3
- package/generated/react/icons/icon-square-x/index.d.ts +281 -3
- package/generated/react/icons/icon-star/index.d.ts +281 -3
- package/generated/react/icons/icon-store/index.d.ts +281 -3
- package/generated/react/icons/icon-suitcase-work/index.d.ts +281 -3
- package/generated/react/icons/icon-sun/index.d.ts +281 -3
- package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +281 -3
- package/generated/react/icons/icon-tag/index.d.ts +281 -3
- package/generated/react/icons/icon-target-arrow/index.d.ts +281 -3
- package/generated/react/icons/icon-television/index.d.ts +281 -3
- package/generated/react/icons/icon-tennis/index.d.ts +281 -3
- package/generated/react/icons/icon-text-edit/index.d.ts +281 -3
- package/generated/react/icons/icon-thermostat/index.d.ts +281 -3
- package/generated/react/icons/icon-thumbs-down/index.d.ts +281 -3
- package/generated/react/icons/icon-thumbs-up/index.d.ts +281 -3
- package/generated/react/icons/icon-ticket/index.d.ts +281 -3
- package/generated/react/icons/icon-todos/index.d.ts +281 -3
- package/generated/react/icons/icon-trading-view-candles/index.d.ts +281 -3
- package/generated/react/icons/icon-trash-can/index.d.ts +281 -3
- package/generated/react/icons/icon-tree/index.d.ts +281 -3
- package/generated/react/icons/icon-trending-five/index.d.ts +281 -3
- package/generated/react/icons/icon-trending-four/index.d.ts +281 -3
- package/generated/react/icons/icon-trending-one/index.d.ts +281 -3
- package/generated/react/icons/icon-trending-three/index.d.ts +281 -3
- package/generated/react/icons/icon-trending-two/index.d.ts +281 -3
- package/generated/react/icons/icon-triangle-exclamation/index.d.ts +281 -3
- package/generated/react/icons/icon-truck/index.d.ts +281 -3
- package/generated/react/icons/icon-umbrella-security/index.d.ts +281 -3
- package/generated/react/icons/icon-unlocked/index.d.ts +281 -3
- package/generated/react/icons/icon-vertical-alignment-right/index.d.ts +281 -3
- package/generated/react/icons/icon-volume-full/index.d.ts +281 -3
- package/generated/react/icons/icon-volume-half/index.d.ts +281 -3
- package/generated/react/icons/icon-volume-off/index.d.ts +281 -3
- package/generated/react/icons/icon-wallet/index.d.ts +281 -3
- package/generated/react/icons/icon-warning-sign/index.d.ts +281 -3
- package/generated/react/icons/icon-wifi-full/index.d.ts +281 -3
- package/generated/react/icons/icon-youtube/index.d.ts +281 -3
- package/generated/react/icons/icon-zap/index.d.ts +281 -3
- package/generated/react/icons/icon-zoom-in/index.d.ts +281 -3
- package/generated/react/icons/icon-zoom-out/index.d.ts +281 -3
- package/generated/react/img/index.d.ts +281 -3
- package/generated/react/index.d.ts +1 -1
- package/generated/react/index.js +1 -1
- package/generated/react/input/index.d.ts +281 -3
- package/generated/react/link/index.d.ts +281 -3
- package/generated/react/list-item/index.d.ts +281 -3
- package/generated/react/mask/index.d.ts +281 -3
- package/generated/react/menu-button/index.d.ts +281 -3
- package/generated/react/menu-heading/index.d.ts +281 -3
- package/generated/react/menu-item/index.d.ts +281 -3
- package/generated/react/option/index.d.ts +281 -3
- package/generated/react/pagination/index.d.ts +281 -3
- package/generated/react/popover/index.d.ts +281 -3
- package/generated/react/radio/index.d.ts +281 -3
- package/generated/react/radio-group/index.d.ts +281 -3
- package/generated/react/rich-text/index.d.ts +281 -3
- package/generated/react/segment/index.d.ts +281 -3
- package/generated/react/segmented-control/index.d.ts +281 -3
- package/generated/react/select/index.d.ts +281 -3
- package/generated/react/sensitive-account/index.d.ts +281 -3
- package/generated/react/sensitive-date/index.d.ts +281 -3
- package/generated/react/sensitive-number/index.d.ts +281 -3
- package/generated/react/signal/index.d.ts +281 -3
- package/generated/react/spinner/index.d.ts +281 -3
- package/generated/react/table/index.d.ts +282 -3
- package/generated/react/text/index.d.ts +281 -3
- package/generated/react/textarea/index.d.ts +281 -3
- package/generated/react/theme/index.d.ts +281 -3
- package/generated/react/video/index.d.ts +281 -3
- package/package.json +484 -484
- package/utils/helpers/custom-element-scoping.js +1 -1
- package/utils/react.d.ts +3 -2
package/custom-elements.json
CHANGED
|
@@ -28730,7 +28730,7 @@
|
|
|
28730
28730
|
{
|
|
28731
28731
|
"kind": "variable",
|
|
28732
28732
|
"name": "style",
|
|
28733
|
-
"default": "css` @layer tokens, core, a11y, disabled, variants, sizes, sets; @layer tokens { :host { --_gap: var(--gds-sys-space-xs); --_padding-inline: var(--gds-sys-space-m); --_padding-block: var(--gds-sys-space-xs); --_color-bg: transparent; --_color-text: var(--gds-sys-color-content-neutral-01); --_color-border: transparent; --_font-size: 1rem; --_font-weight: 400; --_line-height: 1.25; display: inline-block; isolation: isolate; max-width: 100%; height: 100%; } } @layer core { .button { align-items: center; background-color: var(--_color-bg); border-bottom-width: 2px; border-style: none; border-color: var(--_color-border); border-bottom-style: solid; box-sizing: border-box; color-scheme: dark light; color: var(--_color-text); cursor: pointer; display: inline-flex; font-family: inherit; font-size: var(--_font-size); font-weight: var(--_font-weight); gap: var(--_gap); height: 100%; inline-size: 100%; justify-content: space-between; justify-items: center; line-height: var(--_line-height); outline-color: transparent; outline-offset: -2px; outline-style: solid; outline-width: 2px; padding-block: var(--_padding-block); padding-inline: var(--_padding-inline); position: relative; transition-property: color, border-color; transition: all var(--gds-sys-motion-duration-fastest); &:focus-visible { border-color: transparent; border-radius: 6px; outline-color: currentColor; overflow: visible; } &:hover, &.selected:hover, &:active { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-05) ); --_color-border: var(--gds-sys-color-border-interactive); } &.selected { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-06) ); --_color-border: var(--gds-sys-color-border-strong); } slot:not([name]) { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .compact { display: flex; flex-direction: column; --_padding-inline: var(--gds-sys-space-s); --_gap: 1px; font-size: 0.875rem; height: 56px; justify-content: center; & > slot[name] { order: 0; } & > slot:not([name]) { order: 1; } } a { text-decoration: none; } } :disabled { border-color: var(--_color-bg); color: var(--gds-sys-color-content-disabled-01); pointer-events: none; } @layer a11y { @media (prefers-reduced-motion: reduce) { .button { transition: none; } } } `"
|
|
28733
|
+
"default": "css` @layer tokens, core, a11y, disabled, variants, sizes, sets; @layer tokens { :host { --_gap: var(--gds-sys-space-xs); --_padding-inline: var(--gds-sys-space-m); --_padding-block: var(--gds-sys-space-xs); --_color-bg: transparent; --_color-text: var(--gds-sys-color-content-neutral-01); --_color-border: transparent; --_font-size: 1rem; --_font-weight: 400; --_line-height: 1.25; display: inline-block; isolation: isolate; max-width: 100%; height: 100%; } } @layer core { .button { align-items: center; background-color: var(--_color-bg); border-bottom-width: 2px; border-style: none; border-color: var(--_color-border); border-bottom-style: solid; box-sizing: border-box; color-scheme: dark light; color: var(--_color-text); cursor: pointer; display: inline-flex; font-family: inherit; font-size: var(--_font-size); font-weight: var(--_font-weight); gap: var(--_gap); height: 100%; inline-size: 100%; justify-content: space-between; justify-items: center; line-height: var(--_line-height); outline-color: transparent; outline-offset: -2px; outline-style: solid; outline-width: 2px; padding-block: var(--_padding-block); padding-inline: var(--_padding-inline); position: relative; transition-property: color, border-color; transition: all var(--gds-sys-motion-duration-fastest); &:focus-visible { border-color: transparent; border-radius: 6px; outline-color: currentColor; overflow: visible; } &:hover, &.selected:hover, &:active { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-05) ); --_color-border: var(--gds-sys-color-border-interactive); } &.selected { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-06) ); --_color-border: var(--gds-sys-color-border-strong); } slot:not([name]) { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .compact { display: flex; flex-direction: column; --_padding-inline: var(--gds-sys-space-s); --_gap: 1px; font-size: 0.875rem; height: 56px; justify-content: center; & > slot[name] { order: 0; } & > slot:not([name]) { order: 1; } @media (max-width: 576px) { font: var(--gds-sys-text-detail-book-xs); --_padding-inline: var(--gds-sys-space-xs); } } a { text-decoration: none; } } :disabled { border-color: var(--_color-bg); color: var(--gds-sys-color-content-disabled-01); pointer-events: none; } @layer a11y { @media (prefers-reduced-motion: reduce) { .button { transition: none; } } } `"
|
|
28734
28734
|
}
|
|
28735
28735
|
],
|
|
28736
28736
|
"exports": [
|
|
@@ -34484,6 +34484,10 @@
|
|
|
34484
34484
|
"description": "Content displayed at the end of the table header (before settings).",
|
|
34485
34485
|
"name": "`header-trail`"
|
|
34486
34486
|
},
|
|
34487
|
+
{
|
|
34488
|
+
"description": "Content displayed in the table footer area (before pagination).",
|
|
34489
|
+
"name": "`footer`"
|
|
34490
|
+
},
|
|
34487
34491
|
{
|
|
34488
34492
|
"description": "Custom error state content when data loading fails.",
|
|
34489
34493
|
"name": "`error`"
|
|
@@ -34684,6 +34688,15 @@
|
|
|
34684
34688
|
"description": "Disables data caching mechanism.",
|
|
34685
34689
|
"attribute": "nocache"
|
|
34686
34690
|
},
|
|
34691
|
+
{
|
|
34692
|
+
"kind": "field",
|
|
34693
|
+
"name": "tfoot",
|
|
34694
|
+
"type": {
|
|
34695
|
+
"text": "Types.Tfoot | undefined"
|
|
34696
|
+
},
|
|
34697
|
+
"description": "Configures a table footer row (`<tfoot>`) at the bottom of the table.\nThe footer row provides slot insertion points for each visible column,\nletting consumers render any aggregation (sum, average, count, etc.).\n\nUse `tfoot.label` to optionally show a label in the first cell (omitted by default).\nUse `tfoot.sticky` to pin the footer to the bottom of the scroll area.\n\nSlot naming convention: `tfoot:{columnKey}`\n\nAccepts: `{ label?: string, sticky?: boolean }` or omit to disable.",
|
|
34698
|
+
"attribute": "tfoot"
|
|
34699
|
+
},
|
|
34687
34700
|
{
|
|
34688
34701
|
"kind": "field",
|
|
34689
34702
|
"name": "dataLoadKey",
|
|
@@ -35113,6 +35126,14 @@
|
|
|
35113
35126
|
"description": "Disables data caching mechanism.",
|
|
35114
35127
|
"fieldName": "nocache"
|
|
35115
35128
|
},
|
|
35129
|
+
{
|
|
35130
|
+
"name": "tfoot",
|
|
35131
|
+
"type": {
|
|
35132
|
+
"text": "Types.Tfoot | undefined"
|
|
35133
|
+
},
|
|
35134
|
+
"description": "Configures a table footer row (`<tfoot>`) at the bottom of the table.\nThe footer row provides slot insertion points for each visible column,\nletting consumers render any aggregation (sum, average, count, etc.).\n\nUse `tfoot.label` to optionally show a label in the first cell (omitted by default).\nUse `tfoot.sticky` to pin the footer to the bottom of the scroll area.\n\nSlot naming convention: `tfoot:{columnKey}`\n\nAccepts: `{ label?: string, sticky?: boolean }` or omit to disable.",
|
|
35135
|
+
"fieldName": "tfoot"
|
|
35136
|
+
},
|
|
35116
35137
|
{
|
|
35117
35138
|
"name": "dataLoadKey",
|
|
35118
35139
|
"type": {
|
|
@@ -35246,7 +35267,7 @@
|
|
|
35246
35267
|
"type": {
|
|
35247
35268
|
"text": "object"
|
|
35248
35269
|
},
|
|
35249
|
-
"default": "{ Columns: [ { key: 'id', label: 'ID', sortable: false, }, { key: 'name', label: 'Name', sortable: true, }, { key: 'email', label: 'Email', sortable: true, justify: 'space-between', }, { key: 'role', label: 'Role', sortable: true, visible: false, }, { key: 'status', label: 'Status', sortable: true, }, { key: 'department', label: 'Department', sortable: true, }, { key: 'amount', label: 'Amount', sortable: true, justify: 'end', }, { key: 'account', label: 'Account', sortable: true, }, { key: 'login', label: 'Last Login', sortable: true, }, { key: 'download', label: 'Download', }, ] as TableColumn[], Actions: { label: 'Actions', justify: 'end', } as TableActions, Data: userDataProvider, /** * Generates slot content for the given rows (current page). * Creates per-row slot elements using `columnKey:rowKey:slotId` convention. * * Used with Lit's `render()` to update table light DOM on each data load: * ```ts * @gds-table-data-loaded=${(e) => render(Users.SlotContent(e.detail.rows), table)} * ``` */ SlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any) => html` <!-- name: avatar --> <gds-img src=\"${row.avatarUrl ?? '#'}\" alt=\"${String(row.name)}\" slot=\"name:${row.id}:avatar\" width=\"xl\" height=\"xl\" ></gds-img> <!-- email: copy button --> <gds-button slot=\"email:${row.id}:copy-button\" rank=\"tertiary\" size=\"small\" > <gds-icon-copy></gds-icon-copy> </gds-button> <!-- status: badge --> <gds-badge slot=\"status:${row.id}:status\" variant=\"${String(row.status) === 'Active' ? 'positive' : 'negative'}\" size=\"small\" > ${String(row.status)} </gds-badge> <!-- amount: formatted number --> <gds-formatted-number slot=\"amount:${row.id}:amount\" .value=${row.amount} ></gds-formatted-number> <!-- amount: currency --> <gds-badge slot=\"amount:${row.id}:currency\" size=\"small\"> SEK </gds-badge> <!-- account: formatted account --> <gds-formatted-account slot=\"account:${row.id}:main\" account=\"${row.account}\" format=\"seb-account\" ></gds-formatted-account> <!-- login: formatted date --> <gds-formatted-date slot=\"login:${row.id}:main\" .value=\"${String(row.login)}\" locale=\"sv-SE\" format=\"dateLong\" ></gds-formatted-date> <!-- download: link with icon --> <gds-link slot=\"download:${row.id}:main\" href=\"${row.download ?? '#'}\" text-decoration=\"underline\" download > Download file <gds-icon-cloud-download slot=\"trail\"></gds-icon-cloud-download> </gds-link> <!-- actions: context menu --> <gds-context-menu slot=\"actions:${row.id}:main\"> <gds-button slot=\"trigger\" rank=\"tertiary\" size=\"small\"> <gds-icon-dot-grid-one-horizontal></gds-icon-dot-grid-one-horizontal> </gds-button> <gds-menu-item>Edit ${String(row.name)}</gds-menu-item> <gds-menu-item>Delete</gds-menu-item> </gds-context-menu> `, )} ` }, }"
|
|
35270
|
+
"default": "{ Columns: [ { key: 'id', label: 'ID', sortable: false, }, { key: 'name', label: 'Name', sortable: true, }, { key: 'email', label: 'Email', sortable: true, justify: 'space-between', }, { key: 'role', label: 'Role', sortable: true, visible: false, }, { key: 'status', label: 'Status', sortable: true, }, { key: 'department', label: 'Department', sortable: true, }, { key: 'amount', label: 'Amount', sortable: true, justify: 'end', }, { key: 'account', label: 'Account', sortable: true, }, { key: 'login', label: 'Last Login', sortable: true, }, { key: 'download', label: 'Download', }, ] as TableColumn[], Actions: { label: 'Actions', justify: 'end', } as TableActions, Tfoot: { label: 'Totals', sticky: true, } as TableTfoot, Data: userDataProvider, /** * Generates slot content for the given rows (current page). * Creates per-row slot elements using `columnKey:rowKey:slotId` convention. * * Used with Lit's `render()` to update table light DOM on each data load: * ```ts * @gds-table-data-loaded=${(e) => render(Users.SlotContent(e.detail.rows), table)} * ``` */ SlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any) => html` <!-- name: avatar --> <gds-img src=\"${row.avatarUrl ?? '#'}\" alt=\"${String(row.name)}\" slot=\"name:${row.id}:avatar\" width=\"xl\" height=\"xl\" ></gds-img> <!-- email: copy button --> <gds-button slot=\"email:${row.id}:copy-button\" rank=\"tertiary\" size=\"small\" > <gds-icon-copy></gds-icon-copy> </gds-button> <!-- status: badge --> <gds-badge slot=\"status:${row.id}:status\" variant=\"${String(row.status) === 'Active' ? 'positive' : 'negative'}\" size=\"small\" > ${String(row.status)} </gds-badge> <!-- amount: formatted number --> <gds-formatted-number slot=\"amount:${row.id}:amount\" .value=${row.amount} ></gds-formatted-number> <!-- amount: currency --> <gds-badge slot=\"amount:${row.id}:currency\" size=\"small\"> SEK </gds-badge> <!-- account: formatted account --> <gds-formatted-account slot=\"account:${row.id}:main\" account=\"${row.account}\" format=\"seb-account\" ></gds-formatted-account> <!-- login: formatted date --> <gds-formatted-date slot=\"login:${row.id}:main\" .value=\"${String(row.login)}\" locale=\"sv-SE\" format=\"dateLong\" ></gds-formatted-date> <!-- download: link with icon --> <gds-link slot=\"download:${row.id}:main\" href=\"${row.download ?? '#'}\" text-decoration=\"underline\" download > Download file <gds-icon-cloud-download slot=\"trail\"></gds-icon-cloud-download> </gds-link> <!-- actions: context menu --> <gds-context-menu slot=\"actions:${row.id}:main\"> <gds-button slot=\"trigger\" rank=\"tertiary\" size=\"small\"> <gds-icon-dot-grid-one-horizontal></gds-icon-dot-grid-one-horizontal> </gds-button> <gds-menu-item>Edit ${String(row.name)}</gds-menu-item> <gds-menu-item>Delete</gds-menu-item> </gds-context-menu> `, )} ` }, /** * Generates tfoot slot content for the footer row. * Receives all rows on the page and computes aggregations. * * Slot naming: `tfoot:{columnKey}` */ TfootSlotContent: (rows: any[]): TemplateResult => { const totalAmount = rows.reduce( (sum, row) => sum + (Number(row.amount) || 0), 0, ) const activeCount = rows.filter( (row) => String(row.status) === 'Active', ).length const activeRate = Math.round((activeCount / rows.length) * 100) const departments = new Set(rows.map((row) => row.department)).size return html` <!-- tfoot: name row count --> <span slot=\"tfoot:name\">${rows.length} Users</span> <!-- tfoot: status active rate --> <gds-badge slot=\"tfoot:status\" variant=\"${activeRate >= 70 ? 'positive' : activeRate >= 40 ? 'warning' : 'negative'}\" size=\"small\" > ${activeRate}% active </gds-badge> <!-- tfoot: department count --> <gds-badge slot=\"tfoot:department\" variant=\"information\" size=\"small\"> ${departments} depts </gds-badge> <!-- tfoot: amount sum --> <gds-flex slot=\"tfoot:amount\" gap=\"s\" align-items=\"center\"> <gds-formatted-number .value=${totalAmount}></gds-formatted-number> <gds-badge size=\"small\">SEK</gds-badge> </gds-flex> ` }, }"
|
|
35250
35271
|
},
|
|
35251
35272
|
{
|
|
35252
35273
|
"kind": "variable",
|
|
@@ -35262,7 +35283,7 @@
|
|
|
35262
35283
|
"type": {
|
|
35263
35284
|
"text": "object"
|
|
35264
35285
|
},
|
|
35265
|
-
"default": "{ Columns: [ { key: 'task', label: 'Task', align: 'center' }, { key: 'assignee', label: 'Assignee', align: 'center' }, { key: 'priority', label: 'Priority', align: 'center', width: '100px' }, ] as TableColumn[], MultipleActions: { label: 'Actions', align: 'center', justify: 'start', width: '150px', } as TableActions, MultipleActionsSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-button slot=\"actions:${row.id ?? i + 1}:main\" rank=\"secondary\" size=\"small\" variant=\"positive\" > <gds-icon-circle-check size=\"m\"></gds-icon-circle-check> </gds-button> <gds-button slot=\"actions:${row.id ?? i + 1}:main\" rank=\"secondary\" size=\"small\" variant=\"negative\" > <gds-icon-cross-small size=\"m\"></gds-icon-cross-small> </gds-button> `, )} ` }, ActionLink: { label: 'Actions', align: 'center', justify: 'end', width: '150px', } as TableActions, ActionLinkSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-button slot=\"actions:${row.id ?? i + 1}:main\" size=\"small\" rank=\"secondary\" > View details </gds-button> `, )} ` }, ActionContextMenu: { label: 'Actions', align: 'center', justify: 'end', width: '150px', } as TableActions, ActionContextMenuSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-context-menu slot=\"actions:${row.id ?? i + 1}:main\"> <gds-button slot=\"trigger\" rank=\"tertiary\" size=\"small\"> <gds-icon-dot-grid-one-horizontal></gds-icon-dot-grid-one-horizontal> </gds-button> <gds-menu-item>Edit</gds-menu-item> <gds-menu-item>Archive</gds-menu-item> <gds-menu-item>Delete</gds-menu-item> </gds-context-menu> `, )} ` }, Data: actionsDataProvider, }"
|
|
35286
|
+
"default": "{ Columns: [ { key: 'task', label: 'Task', align: 'center' }, { key: 'assignee', label: 'Assignee', align: 'center' }, { key: 'priority', label: 'Priority', align: 'center', width: '100px' }, ] as TableColumn[], MultipleActions: { label: 'Actions', align: 'center', justify: 'start', // width: '150px', sticky: true, } as TableActions, MultipleActionsSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-button slot=\"actions:${row.id ?? i + 1}:main\" rank=\"secondary\" size=\"small\" variant=\"positive\" > <gds-icon-circle-check size=\"m\"></gds-icon-circle-check> </gds-button> <gds-button slot=\"actions:${row.id ?? i + 1}:main\" rank=\"secondary\" size=\"small\" variant=\"negative\" > <gds-icon-cross-small size=\"m\"></gds-icon-cross-small> </gds-button> `, )} ` }, ActionLink: { label: 'Actions', align: 'center', justify: 'end', // width: '150px', sticky: true, } as TableActions, ActionLinkSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-button slot=\"actions:${row.id ?? i + 1}:main\" size=\"small\" rank=\"secondary\" > View details </gds-button> `, )} ` }, ActionContextMenu: { label: 'Actions', align: 'center', justify: 'end', // width: '150px', sticky: true, } as TableActions, ActionContextMenuSlotContent: (rows: any[]): TemplateResult => { return html` ${rows.map( (row: any, i: number) => html` <gds-context-menu slot=\"actions:${row.id ?? i + 1}:main\"> <gds-button slot=\"trigger\" rank=\"tertiary\" size=\"small\"> <gds-icon-dot-grid-one-horizontal></gds-icon-dot-grid-one-horizontal> </gds-button> <gds-menu-item>Edit</gds-menu-item> <gds-menu-item>Archive</gds-menu-item> <gds-menu-item>Delete</gds-menu-item> </gds-context-menu> `, )} ` }, Data: actionsDataProvider, }"
|
|
35266
35287
|
}
|
|
35267
35288
|
],
|
|
35268
35289
|
"exports": [
|
|
@@ -35366,7 +35387,15 @@
|
|
|
35366
35387
|
"type": {
|
|
35367
35388
|
"text": "Story"
|
|
35368
35389
|
},
|
|
35369
|
-
"default": "{ args: { columns: ActionsData.Columns, actions: ActionsData.MultipleActions, data: ActionsData.Data, }, parameters: { docs: { description: { story: ` The \\`actions\\` property defines row interactions shown as the last cell of each row. Supports all cell types (button, link, context-menu, badge, etc.) and can contain multiple actions. When passed as an object \\`{ label, align, justify }\\`, it configures the actions column header and cell layout. The actual action content is provided through named slots using the \\`actions:rowKey:main\\` convention. `, }, }, }, render: (args) => { const multiRef = createRef<any>() const ctxRef = createRef<any>() const linkRef = createRef<any>() return html` <gds-table ${ref(multiRef)} plain headline=\"Multiple Actions\" summary=\"Multiple interactive elements in a single actions cell.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${args.actions}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = multiRef.value if (table) render(ActionsData.MultipleActionsSlotContent(e.detail.rows), table) }} > </gds-table> <br /> <br /> <br /> <gds-table ${ref(ctxRef)} plain headline=\"Context Menu\" summary=\"Actions grouped inside a context menu trigger.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${ActionsData.ActionContextMenu}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = ctxRef.value if (table) render( ActionsData.ActionContextMenuSlotContent(e.detail.rows), table, ) }} > </gds-table> <br /> <br /> <br /> <gds-table ${ref(linkRef)} plain headline=\"Link Action\" summary=\"Single button element as a row action.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${ActionsData.ActionLink}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = linkRef.value if (table) render(ActionsData.ActionLinkSlotContent(e.detail.rows), table) }} > </gds-table> ` }, }"
|
|
35390
|
+
"default": "{ args: { columns: ActionsData.Columns, actions: ActionsData.MultipleActions, data: ActionsData.Data, }, parameters: { docs: { description: { story: ` The \\`actions\\` property defines row interactions shown as the last cell of each row. Supports all cell types (button, link, context-menu, badge, etc.) and can contain multiple actions. When passed as an object \\`{ label, align, justify, sticky }\\`, it configures the actions column header and cell layout. The actual action content is provided through named slots using the \\`actions:rowKey:main\\` convention. #### Sticky Actions Set \\`sticky: true\\` on the actions configuration to pin the actions column to the right edge of the table during horizontal scrolling. This ensures action buttons remain accessible even when the table content overflows horizontally. `, }, }, }, render: (args) => { const multiRef = createRef<any>() const ctxRef = createRef<any>() const linkRef = createRef<any>() return html` <gds-table ${ref(multiRef)} plain headline=\"Multiple Actions\" summary=\"Multiple interactive elements in a single actions cell.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${args.actions}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = multiRef.value if (table) render(ActionsData.MultipleActionsSlotContent(e.detail.rows), table) }} > </gds-table> <br /> <br /> <br /> <gds-table ${ref(ctxRef)} plain headline=\"Context Menu\" summary=\"Actions grouped inside a context menu trigger.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${ActionsData.ActionContextMenu}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = ctxRef.value if (table) render( ActionsData.ActionContextMenuSlotContent(e.detail.rows), table, ) }} > </gds-table> <br /> <br /> <br /> <gds-table ${ref(linkRef)} plain headline=\"Link Action\" summary=\"Single button element as a row action.\" .rows=${2} .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${ActionsData.ActionLink}\" @gds-table-data-loaded=${(e: CustomEvent) => { const table = linkRef.value if (table) render(ActionsData.ActionLinkSlotContent(e.detail.rows), table) }} > </gds-table> ` }, }"
|
|
35391
|
+
},
|
|
35392
|
+
{
|
|
35393
|
+
"kind": "variable",
|
|
35394
|
+
"name": "Tfoot",
|
|
35395
|
+
"type": {
|
|
35396
|
+
"text": "Story"
|
|
35397
|
+
},
|
|
35398
|
+
"default": "{ args: { columns: Users.Columns, actions: Users.Actions, density: 'comfortable', variant: 'secondary', data: Users.Data, tfoot: Users.Tfoot, selectable: true, searchable: true, searchLabel: 'Search users', settings: true, plain: false, height: '80vh', responsive: false, nocache: false, striped: false, }, parameters: { docs: { description: { story: ` The \\`tfoot\\` property adds a \\`<tfoot>\\` footer row at the bottom of the table for displaying aggregated values (sums, averages, counts, etc.). The footer row is fully slot-based, the table provides insertion points for each visible column and you decide what to render (formatted numbers, badges, text, or nothing). When a \\`label\\` is provided, the first cell renders as a \\`<th scope=\"row\">\\` for proper accessibility semantics. #### Configuration \\`\\`\\`typescript const tfoot = { label: 'Total', // Label shown in the first cell (renders as <th scope=\"row\">) sticky: true, // Pin to the bottom of the scroll area } \\`\\`\\` #### Slot Convention Table footer slots use the naming pattern \\`tfoot:{columnKey}\\`: \\`\\`\\`html <gds-formatted-number slot=\"tfoot:amount\" .value=\\${sum}></gds-formatted-number> <gds-badge slot=\"tfoot:status\" size=\"small\">\\${count} active</gds-badge> \\`\\`\\` Compute your aggregation in the \\`gds-table-data-loaded\\` handler and render slot content into the table. When \\`sticky: true\\`, the footer stays pinned to the bottom of the scroll area combined with the sticky header, this creates a fixed frame around the scrollable data. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render( html`${Users.SlotContent(e.detail.rows)} ${Users.TfootSlotContent(e.detail.rows)}`, table, ) } return html` <gds-table ${ref(tableRef)} density=\"${args.density}\" variant=\"${args.variant}\" search-label=\"${args.searchLabel}\" ?searchable=\"${args.searchable}\" ?settings=\"${args.settings}\" ?plain=\"${args.plain}\" ?responsive=\"${args.responsive}\" ?nocache=\"${args.nocache}\" ?striped=\"${args.striped}\" ?selectable=\"${args.selectable}\" height=\"${args.height}\" .columns=\"${args.columns}\" .data=\"${args.data}\" .actions=\"${args.actions}\" .tfoot=\"${args.tfoot}\" rows=\"50\" @gds-table-data-loaded=${handleDataLoaded} > </gds-table> ` }, }"
|
|
35370
35399
|
},
|
|
35371
35400
|
{
|
|
35372
35401
|
"kind": "variable",
|
|
@@ -35398,7 +35427,7 @@
|
|
|
35398
35427
|
"type": {
|
|
35399
35428
|
"text": "Story"
|
|
35400
35429
|
},
|
|
35401
|
-
"default": "{ args: { columns: Users.Columns, data: Users.Data, density: 'compact', headline: 'User Management', summary: 'Overview of all users in the system', }, parameters: { docs: { description: { story: ` The \\`density\\` property controls the table's visual spacing and affects the table's **built-in UI** (search input, column settings dropdown, pagination). - **\\`comfortable\\`** (Default) · Standard spacing for balanced readability - **\\`compact\\`** · Reduced spacing to maximize information density - **\\`spacious\\`** · Increased spacing for enhanced readability > **Slot content sizing**
|
|
35430
|
+
"default": "{ args: { columns: Users.Columns, data: Users.Data, density: 'compact', headline: 'User Management', summary: 'Overview of all users in the system', }, parameters: { docs: { description: { story: ` The \\`density\\` property controls the table's visual spacing and affects the table's **built-in UI** (search input, column settings dropdown, pagination). - **\\`comfortable\\`** (Default) · Standard spacing for balanced readability - **\\`compact\\`** · Reduced spacing to maximize information density - **\\`spacious\\`** · Increased spacing for enhanced readability > **Slot content sizing** The density mode does **not** automatically resize components you provide via slots. When using a specific density, size your slotted components accordingly. For example, use \\`size=\"small\"\\` on badges and buttons in \\`compact\\` or \\`comfortable\\` mode, and \\`size=\"medium\"\\` in \\`spacious\\` mode to maintain visual consistency. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render(Users.SlotContent(e.detail.rows), table) } return html` <gds-table ${ref(tableRef)} headline=\"${args.headline}\" summary=\"${args.summary}\" searchable settings .density=\"${args.density}\" .columns=\"${args.columns}\" .data=\"${args.data}\" @gds-table-data-loaded=${handleDataLoaded} > </gds-table> ` }, }"
|
|
35402
35431
|
},
|
|
35403
35432
|
{
|
|
35404
35433
|
"kind": "variable",
|
|
@@ -35422,7 +35451,7 @@
|
|
|
35422
35451
|
"type": {
|
|
35423
35452
|
"text": "Story"
|
|
35424
35453
|
},
|
|
35425
|
-
"default": "{ args: { columns: Users.Columns, data: Users.Data, }, parameters: { docs: { description: { story: ` Use slots to add custom controls to the table header and
|
|
35454
|
+
"default": "{ args: { columns: Users.Columns, data: Users.Data, }, parameters: { docs: { description: { story: ` Use slots to add custom controls to the table header, footer, and content areas. - **header-lead**: Add filtering/sorting controls at the start of the header. - **header-trail**: Add actions (e.g., export buttons) at the end of the header. - **footer**: Replace the default pagination footer with custom content. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render(Users.SlotContent(e.detail.rows), table) } return html` <gds-table ${ref(tableRef)} .columns=\"${args.columns}\" .data=\"${args.data}\" rows=\"4\" settings searchable @gds-table-data-loaded=${handleDataLoaded} > <gds-dropdown size=\"small\" slot=\"header-lead\" plain searchable> <span slot=\"trigger\">Sorting</span> <gds-option value=\"by-name\">Sort by Name</gds-option> <gds-option value=\"by-status\">Sort by Status</gds-option> </gds-dropdown> <gds-button slot=\"header-trail\" rank=\"secondary\" size=\"small\"> Export </gds-button> </gds-table> ` }, }"
|
|
35426
35455
|
},
|
|
35427
35456
|
{
|
|
35428
35457
|
"kind": "variable",
|
|
@@ -35434,11 +35463,11 @@
|
|
|
35434
35463
|
},
|
|
35435
35464
|
{
|
|
35436
35465
|
"kind": "variable",
|
|
35437
|
-
"name": "
|
|
35466
|
+
"name": "SlotComposition",
|
|
35438
35467
|
"type": {
|
|
35439
35468
|
"text": "Story"
|
|
35440
35469
|
},
|
|
35441
|
-
"default": "{ args: { columns: Users.Columns, data: Users.Data, }, parameters: { docs: { description: { story: `
|
|
35470
|
+
"default": "{ args: { columns: Users.Columns, data: Users.Data, headline: 'User Management', summary: 'Overview of all users in the system', selectable: true, searchable: true, settings: true, density: 'comfortable', }, parameters: { docs: { description: { story: ` Slot composition lets you render custom components inside table cells using standard web component slots. Each row needs a **unique key** for slot naming set via the \\`key\\` parameter in \\`Slot()\\`, or it falls back to \\`row.id\\`, then the row index. #### 1. Compose data with \\`Slot()\\` \\`\\`\\`ts // With explicit unique key (value, slots, key) const data = users.map(row => ({ ...row, name: Slot(row.name, ['avatar', 'value'], row.accountId), email: Slot(row.email, ['value', 'copy-button'], row.accountId), status: Slot(row.status, ['status'], row.accountId), })) // Without key - falls back to row.id, then row index const data = users.map(row => ({ ...row, name: Slot(row.name, ['avatar', 'value']), email: Slot(row.email, ['value', 'copy-button']), status: Slot(row.status, ['status']), })) \\`\\`\\` The arguments are positional: \\`Slot(value, slots, key)\\` or \\`Slot(value, key, slots)\\`. The **value** is used for sorting/search, **slots** is an ordered array of slot ids (include \\`'value'\\` to render the plain text alongside your components), and **key** is an optional \\`string | number\\` used as a stable row identifier. #### 2. Render slot content on data load \\`\\`\\`ts @gds-table-data-loaded=\\${(e) => { render(slotContent(e.detail.rows), tableEl) }} \\`\\`\\` #### 3. Slot naming convention The slot name follows the pattern \\`columnKey:rowKey:slotId\\`. \\`\\`\\`html <!-- When key is set to row.accountId (e.g. \"ACC-1042\") --> <gds-badge slot=\"status:ACC-1042:status\" variant=\"positive\">Active</gds-badge> <gds-button slot=\"email:ACC-1042:copy-button\" rank=\"tertiary\" size=\"small\"> <gds-icon-copy></gds-icon-copy> </gds-button> <!-- When no key is set and row.id is 42 --> <gds-badge slot=\"status:42:status\" variant=\"positive\">Active</gds-badge> <gds-button slot=\"email:42:copy-button\" rank=\"tertiary\" size=\"small\"> <gds-icon-copy></gds-icon-copy> </gds-button> <!-- When no key and no row.id - falls back to row index (1-based) --> <gds-badge slot=\"status:1:status\" variant=\"positive\">Active</gds-badge> \\`\\`\\` Only the current page's slot content is rendered - previous elements are replaced on page change. > See the **Developer Guide** for full details on framework integration and the \\`Slot()\\` API. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render(Users.SlotContent(e.detail.rows), table) } return html` <gds-table ${ref(tableRef)} .columns=\"${args.columns}\" .data=\"${args.data}\" .headline=\"${args.headline}\" .summary=\"${args.summary}\" ?selectable=\"${args.selectable}\" ?searchable=\"${args.searchable}\" ?settings=\"${args.settings}\" density=\"${args.density}\" responsive rows=\"5\" @gds-table-data-loaded=${handleDataLoaded} > </gds-table> ` }, }"
|
|
35442
35471
|
},
|
|
35443
35472
|
{
|
|
35444
35473
|
"kind": "variable",
|
|
@@ -35447,14 +35476,6 @@
|
|
|
35447
35476
|
"text": "Story"
|
|
35448
35477
|
},
|
|
35449
35478
|
"default": "{ args: { columns: Users.Columns, data: Users.Data, }, parameters: { docs: { description: { story: ` The table component dispatches events for various user interactions. **Pagination Events** - **gds-page-change**: Fired when the active page changes. Detail: \\`{ page: number }\\` - **gds-rows-change**: Fired when the rows per page value changes. Detail: \\`{ rows: number }\\` **Sorting Events** - **gds-sort-change**: Fired when sorting changes. Detail: \\`{ sortColumn: string, sortDirection: 'asc' | 'desc' }\\` **Data Events** - **gds-table-data-loaded**: Fired when data is successfully loaded - **gds-table-data-error**: Fired when data loading fails - **gds-table-selection**: Fired when row selection changes This example demonstrates listening to pagination and sorting events and displaying the current state. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const state = { currentPage: 1, currentRows: 10, sortColumn: '', sortDirection: 'asc', } const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render(Users.SlotContent(e.detail.rows), table) } const handlePageChange = (e: CustomEvent) => { console.log('🔔 Page change event:', e.detail) state.currentPage = e.detail.page const pageEl = document.querySelector('#page-status') if (pageEl) { pageEl.textContent = `Page: ${state.currentPage}` } } const handleRowsChange = (e: CustomEvent) => { console.log('🔔 Rows change event:', e.detail) state.currentRows = e.detail.rows const rowsEl = document.querySelector('#rows-status') if (rowsEl) { rowsEl.textContent = `Rows: ${state.currentRows}` } } const handleSortChange = (e: CustomEvent) => { console.log('🔔 Sort change event:', e.detail) state.sortColumn = e.detail.sortColumn state.sortDirection = e.detail.sortDirection const sortEl = document.querySelector('#sort-status') if (sortEl) { sortEl.textContent = `${state.sortColumn} (${state.sortDirection})` } } return html` <gds-flex flex-direction=\"column\" gap=\"l\"> <gds-flex flex-direction=\"column\" gap=\"m\"> <gds-card variant=\"secondary\" padding=\"m\" border-radius=\"m\"> <gds-flex flex-direction=\"column\" gap=\"s\"> <gds-text font=\"heading-s\">Event Monitor</gds-text> <gds-text font=\"detail-book-s\" color=\"neutral-01\"> Open your browser console (F12) to see event logs </gds-text> <gds-flex gap=\"m\"> <gds-flex flex-direction=\"column\" gap=\"xs\" flex=\"1\"> <gds-text font=\"detail-book-s\" color=\"neutral-01\"> Current Page </gds-text> <gds-text id=\"page-status\" font=\"body-regular-m\" color=\"primary\" > Page: ${state.currentPage} </gds-text> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"xs\" flex=\"1\"> <gds-text font=\"detail-book-s\" color=\"neutral-01\"> Rows Per Page </gds-text> <gds-text id=\"rows-status\" font=\"body-regular-m\" color=\"primary\" > Rows: ${state.currentRows} </gds-text> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"xs\" flex=\"1\"> <gds-text font=\"detail-book-s\" color=\"neutral-01\"> Sort Column </gds-text> <gds-text id=\"sort-status\" font=\"body-regular-m\" color=\"primary\" > ${state.sortColumn ? `${state.sortColumn} (${state.sortDirection})` : 'None'} </gds-text> </gds-flex> </gds-flex> </gds-flex> </gds-card> </gds-flex> <gds-table ${ref(tableRef)} .columns=\"${args.columns}\" .data=\"${args.data}\" rows=\"5\" selectable searchable settings @gds-table-data-loaded=${handleDataLoaded} @gds-page-change=${(e: CustomEvent) => handlePageChange(e)} @gds-rows-change=${(e: CustomEvent) => handleRowsChange(e)} @gds-sort-change=${(e: CustomEvent) => handleSortChange(e)} > </gds-table> </gds-flex> ` }, }"
|
|
35450
|
-
},
|
|
35451
|
-
{
|
|
35452
|
-
"kind": "variable",
|
|
35453
|
-
"name": "SlotComposition",
|
|
35454
|
-
"type": {
|
|
35455
|
-
"text": "Story"
|
|
35456
|
-
},
|
|
35457
|
-
"default": "{ args: { columns: Users.Columns, data: Users.Data, headline: 'User Management', summary: 'Overview of all users in the system', selectable: true, searchable: true, settings: true, density: 'comfortable', }, parameters: { docs: { description: { story: ` Demonstrates dynamic slot composition for data-driven content injection into table cells. **Pattern:** Generate slots using \\`columnKey:rowKey:slotId\\` naming convention. Slot content is generated from \\`Users.SlotContent(rows)\\` which receives the current page's rows from the \\`gds-table-data-loaded\\` event and creates per-row elements (avatars, copy icons, download icons). Only the current page's slot content is rendered — when pages change, previous slot elements are replaced with new ones for the visible rows. `, }, }, }, render: (args) => { const tableRef = createRef<any>() const handleDataLoaded = (e: CustomEvent) => { const table = tableRef.value if (table) render(Users.SlotContent(e.detail.rows), table) } return html` <gds-table ${ref(tableRef)} .columns=\"${args.columns}\" .data=\"${args.data}\" .headline=\"${args.headline}\" .summary=\"${args.summary}\" ?selectable=\"${args.selectable}\" ?searchable=\"${args.searchable}\" ?settings=\"${args.settings}\" density=\"${args.density}\" responsive rows=\"5\" @gds-table-data-loaded=${handleDataLoaded} > </gds-table> ` }, }"
|
|
35458
35479
|
}
|
|
35459
35480
|
],
|
|
35460
35481
|
"exports": [
|
|
@@ -35530,6 +35551,14 @@
|
|
|
35530
35551
|
"module": "src/components/table/table.stories.ts"
|
|
35531
35552
|
}
|
|
35532
35553
|
},
|
|
35554
|
+
{
|
|
35555
|
+
"kind": "js",
|
|
35556
|
+
"name": "Tfoot",
|
|
35557
|
+
"declaration": {
|
|
35558
|
+
"name": "Tfoot",
|
|
35559
|
+
"module": "src/components/table/table.stories.ts"
|
|
35560
|
+
}
|
|
35561
|
+
},
|
|
35533
35562
|
{
|
|
35534
35563
|
"kind": "js",
|
|
35535
35564
|
"name": "Headline",
|
|
@@ -35596,9 +35625,9 @@
|
|
|
35596
35625
|
},
|
|
35597
35626
|
{
|
|
35598
35627
|
"kind": "js",
|
|
35599
|
-
"name": "
|
|
35628
|
+
"name": "SlotComposition",
|
|
35600
35629
|
"declaration": {
|
|
35601
|
-
"name": "
|
|
35630
|
+
"name": "SlotComposition",
|
|
35602
35631
|
"module": "src/components/table/table.stories.ts"
|
|
35603
35632
|
}
|
|
35604
35633
|
},
|
|
@@ -35609,14 +35638,6 @@
|
|
|
35609
35638
|
"name": "Events",
|
|
35610
35639
|
"module": "src/components/table/table.stories.ts"
|
|
35611
35640
|
}
|
|
35612
|
-
},
|
|
35613
|
-
{
|
|
35614
|
-
"kind": "js",
|
|
35615
|
-
"name": "SlotComposition",
|
|
35616
|
-
"declaration": {
|
|
35617
|
-
"name": "SlotComposition",
|
|
35618
|
-
"module": "src/components/table/table.stories.ts"
|
|
35619
|
-
}
|
|
35620
35641
|
}
|
|
35621
35642
|
]
|
|
35622
35643
|
},
|
|
@@ -35627,7 +35648,7 @@
|
|
|
35627
35648
|
{
|
|
35628
35649
|
"kind": "variable",
|
|
35629
35650
|
"name": "TableStyles",
|
|
35630
|
-
"default": "css` /* Host & Container */ :host { display: block; font: var(--gds-sys-text-detail-book-s); color: var(--gds-sys-color-content-neutral-01); text-align: left; --_table-height: 80vh; --_table-border-width: var(--gds-sys-space-5xs); --_table-border-color: var(--gds-sys-color-border-subtle-01); } /* Density Modes */ /* Compact density */ .table.compact { --table-cell-padding-y: var(--gds-sys-space-xs); --table-cell-padding-x: var(--gds-sys-space-s); --table-header-padding-y: var(--gds-sys-space-xs); --table-header-padding-x: var(--gds-sys-space-s); --table-row-min-height: var(--gds-sys-space-xl); --table-font-size: var(--gds-sys-text-detail-book-s); --table-gap: var(--gds-sys-space-m); --table-border-spacing: 0 var(--gds-sys-space-5xs); --table-data-padding: var(--gds-sys-space-5xs) var(--gds-sys-space-4xs); } /* Comfortable default */ .table.comfortable { --table-cell-padding-y: var(--gds-sys-space-s); --table-cell-padding-x: var(--gds-sys-space-m); --table-header-padding-y: var(--gds-sys-space-s); --table-header-padding-x: var(--gds-sys-space-m); --table-row-min-height: var(--gds-sys-space-4xl); --table-font-size: var(--gds-sys-text-detail-book-s); --table-gap: var(--gds-sys-space-l); --table-border-spacing: 0 var(--gds-sys-space-4xs); --table-data-padding: var(--gds-sys-space-3xs) var(--gds-sys-space-2xs); } /* Spacious density */ .table.spacious { --table-cell-padding-y: var(--gds-sys-space-l); --table-cell-padding-x: var(--gds-sys-space-l); --table-header-padding-y: var(--gds-sys-space-l); --table-header-padding-x: var(--gds-sys-space-l); --table-row-min-height: var(--gds-sys-space-5xl); --table-font-size: var(--gds-sys-text-detail-book-m); --table-gap: var(--gds-sys-space-xl); --table-border-spacing: 0 var(--gds-sys-space-3xs); --table-data-padding: var(--gds-sys-space-3xs) var(--gds-sys-space-xs); } /* Secondary and Tertiary */ .data.variant-secondary, .data.variant-tertiary { --_table-header-bg: var(--gds-sys-color-l2-neutral-01); --_table-header-hover: var(--gds-sys-color-l3-neutral-02); --_table-header-active: var(--gds-sys-color-l3-neutral-03); --_table-row-hover: var(--gds-sys-color-l2-neutral-01); --_table-row-selected-hover: var(--gds-sys-color-l3-neutral-03); --_table-row-striped: var(--gds-sys-color-l2-neutral-01); } /* Primary variant */ .data.variant-primary { --_table-header-bg: var(--gds-sys-color-l2-neutral-02); --_table-header-hover: var(--gds-sys-color-l3-neutral-02); --_table-header-active: var(--gds-sys-color-l3-neutral-03); --_table-row-hover: color-mix( in srgb, var(--gds-sys-color-l3-neutral-02), var(--gds-sys-color-state-neutral-01) ); --_table-row-selected-hover: var(--gds-sys-color-l3-neutral-03); --_table-row-striped: var(--gds-sys-color-l2-neutral-01); } /* Apply density variables */ .table { display: flex; flex-direction: column; gap: var(--table-gap); font: var(--table-font-size); width: 100%; } /* Container that enables horizontal scroll */ .data { width: 100%; overflow-x: auto; overflow-y: auto; max-height: var(--_table-height); box-sizing: border-box; padding: var(--table-data-padding); position: relative; border-radius: var(--gds-sys-radius-m); } .data:focus { outline: none; } .table-card { outline-color: transparent; outline-offset: var(--gds-sys-space-4xs); outline-style: solid; outline-width: var(--gds-sys-space-4xs); } .table-card:has(.data:focus-visible) { outline-color: var(--gds-sys-color-content-neutral-01); } .table-card:has(.data:focus-within:not(:focus-visible)) { outline-color: transparent; } table { width: max-content; min-width: 100%; table-layout: auto; border: none; border-collapse: separate; border-spacing: var(--table-border-spacing); } tbody td { font-weight: normal; padding-block: var(--table-cell-padding-y); padding-inline: var(--table-cell-padding-x); } thead tr th:first-child, tbody tr:hover td:first-child, tbody tr.selected td:first-child, .striped tbody tr td:first-child { border-top-left-radius: var(--gds-sys-radius-s); border-bottom-left-radius: var(--gds-sys-radius-s); } thead tr th:last-child, tbody tr:hover td:last-child, tbody tr.selected td:last-child, .striped tbody tr td:last-child { border-top-right-radius: var(--gds-sys-radius-s); border-bottom-right-radius: var(--gds-sys-radius-s); } /* Table Header */ thead tr th { padding-block: var(--gds-sys-space-3xs); background: var(--_table-header-bg); } thead th.sortable { cursor: pointer; user-select: none; } /* Column header content layout */ .column-header { display: flex; align-items: center; position: relative; justify-content: space-between; min-height: var(--gds-sys-space-l); gap: var(--table-gap); padding: calc(var(--table-cell-padding-y) / 2) var(--table-cell-padding-x); border-radius: var(--gds-sys-radius-xs); transition: all var(--gds-sys-motion-duration-fast); } th.sortable .column-header:hover { background-color: var(--_table-header-hover); } th.sortable:active .column-header { background-color: var(--_table-header-active); } .column-label { font-weight: var(--gds-sys-text-weight-book); } .sort-icon { display: flex; align-items: center; justify-content: center; transition-property: opacity; transition-duration: var(--gds-sys-motion-duration-fast); transition-timing-function: var(--gds-sys-motion-easing-ease); opacity: 0; } @media (hover: hover) and (min-width: 768px) { thead th.sortable:hover:not(.sorted) .sort-icon { opacity: 0.8; } } thead th.sorted .sort-icon { opacity: 1; } /* Table Body */ tbody tr td { border-top-style: solid; border-top-width: var(--_table-border-width); border-top-color: var(--_table-border-color); } tbody tr.loading { opacity: 0.3; pointer-events: none; } tbody tr.loading:not(:first-child) td { border-color: var(--gds-sys-color-border-subtle-02); } /* Row Selection */ .checkbox-cell { min-width: var(--gds-sys-space-l); width: var(--gds-sys-space-l); max-width: var(--gds-sys-space-l); padding: var(--table-cell-padding-y) var(--table-cell-padding-x); } tbody tr:hover td, tbody tr.selected td, tbody tr:first-child td { border-color: transparent; } tbody tr:hover + tr td, tbody tr.selected + tr td { border-color: transparent; } tbody tr.selected:last-child td { border-bottom-color: transparent; } tbody tr.selected { background-color: var(--gds-sys-color-l3-neutral-02); } @media (hover: hover) and (min-width: 768px) { tbody tr.selected:hover { background-color: var(--_table-row-selected-hover); } tbody tr:hover:not(.selected) { background-color: var(--_table-row-hover); } } tbody tr:hover, tbody tr:hover + tr { border-color: transparent; } /* Striped */ .striped tbody tr:not(.selected, :hover):nth-child(even) td { background-color: var(--_table-row-striped); } .striped tbody tr td { border-color: transparent; } /* Header & Footer Layout */ .header { display: flex; justify-content: space-between; transition-property: opacity, translate; transition-duration: var(--gds-sys-motion-duration-fast); transition-timing-function: var(--gds-sys-motion-easing-ease); @starting-style { opacity: 0; translate: 0 -2px; } } /* Shared layout for header and footer sections */ .header .lead, .header .trail { display: flex; align-items: center; gap: calc(var(--table-gap) * 0.8); width: max-content; } /* Cell Content & Alignment */ .cell-content { width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; } /* Wrapping utilities */ td.wrap .cell-content { white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } td.wrap, th.wrap { width: var(--cell-width); } /* Justify utilities */ .justify-start .cell-content { text-align: left; justify-content: start; } .justify-center .cell-content { text-align: center; justify-content: center; } .justify-space-between .cell-content { text-align: left; justify-content: space-between; } .justify-end .cell-content { text-align: right; justify-content: flex-end; } .justify-end:not(.sortable) .column-header { text-align: right; justify-content: flex-end; } .sortable.justify-end .column-header { flex-direction: row-reverse; } th.actions { padding-inline: 0; } th.actions.justify-end .column-header { justify-content: flex-end; } /* Align utilities */ td { height: 100%; } .align-start { vertical-align: top; } .align-end { vertical-align: bottom; } .align-center { vertical-align: middle; } .align-start .cell-content { align-items: start; } .align-center .cell-content { align-items: center; } .align-stretch .cell-content { align-items: stretch; } .align-end .cell-content { align-items: end; } /* Responsive Design */ @media (max-width: 760px) { .responsive.data { display: contents; } .responsive table { max-width: 100%; } .responsive thead { position: sticky; top: var(--gds-sys-space-s); z-index: 2; border-radius: var(--gds-sys-radius-s); } .responsive thead { display: none; } .responsive tbody { display: flex; flex-direction: column; gap: var(--table-gap); } .responsive tbody tr { display: flex; flex-direction: column; padding: var(--table-cell-padding-x); border: var(--gds-sys-space-5xs) solid var(--gds-sys-color-border-subtle-01); border-radius: var(--gds-sys-space-s); margin: 0; } .responsive tbody tr:hover, .responsive tbody tr:hover + tr { border-color: var(--gds-sys-color-border-subtle-01); } .responsive tr.selected { border-color: transparent; } .responsive td { width: 100%; max-width: 100%; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; padding: var(--gds-sys-space-xs) 0; border: none; } .responsive td .column-label { text-align: left; flex: 1; min-width: 0; } .responsive td .cell-content { justify-content: flex-start; flex: 1; width: 100%; gap: var(--gds-sys-space-s); } .responsive td .cell-wrapped-content { flex: 1; justify-content: flex-end; text-align: right; } .responsive tr:hover, .responsive tr td:hover { background: none; } } /* Medium screens: input and dropdown side by side */ @media (max-width: 760px) and (min-width: 480px) { .header { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'input dropdown' 'lead trail'; gap: calc(var(--table-gap) / 2); } .header .lead [gds-element='gds-input'] { grid-area: input; } .header .trail [gds-element='gds-dropdown'] { grid-area: dropdown; } .header .lead ::slotted(*:not([gds-element='gds-input'])) { grid-area: lead; } .header .trail ::slotted(*:not([gds-element='gds-dropdown'])) { grid-area: trail; } .header .lead, .header .trail { display: contents; } } /* Small screens: fully stacked */ @media (max-width: 479px) { .header { display: grid; grid-template-columns: 1fr; grid-template-areas: 'input' 'dropdown' 'lead' 'trail'; gap: calc(var(--table-gap) / 2); } .header .lead [gds-element='gds-input'] { grid-area: input; } .header .trail [gds-element='gds-dropdown'] { grid-area: dropdown; } .header .lead ::slotted(*:not([gds-element='gds-input'])) { grid-area: lead; } .header .trail ::slotted(*:not([gds-element='gds-dropdown'])) { grid-area: trail; } .header .lead, .header .trail { display: contents; } } /* Skeleton Loading State */ .skeleton { display: inline-block; background: linear-gradient( 90deg, var(--gds-sys-color-l3-neutral-01) 25%, var(--gds-sys-color-l2-neutral-01) 50%, var(--gds-sys-color-l3-neutral-01) 75% ); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; border-radius: var(--gds-sys-space-max); opacity: 0.1; } @keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* Skeleton elements */ .skeleton-text { height: 14px; width: 80%; min-width: 60px; } .skeleton-checkbox { height: 18px; width: 18px; border-radius: var(--gds-sys-radius-3xs); } .skeleton-action { height: 24px; width: 24px; border-radius: var(--gds-sys-radius-max); } /* Skeleton row styling */ .skeleton-row { opacity: 1; pointer-events: none; } .skeleton-row td { padding: var(--table-cell-padding-y) var(--table-cell-padding-x); } /* Different skeleton text widths for more natural look */ .skeleton-row:nth-child(odd) .skeleton-text { width: 70%; } .skeleton-row:nth-child(3n) .skeleton-text { width: 90%; } .skeleton-row:nth-child(4n) .skeleton-text { width: 60%; } /* Visually hidden - screen reader only without layout impact */ .visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; height: 0px; width: 0px; } /* Scroll driven animation */ @supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { tbody tr { animation-name: ROW_ANIMATION_VERTICAL, ROW_ANIMATION_VERTICAL; animation-fill-mode: both; animation-timing-function: ease-in-out; animation-direction: normal, reverse; animation-timeline: view(block); animation-range: entry -40px, exit -40px; } @keyframes ROW_ANIMATION_VERTICAL { 0% { opacity: 0; filter: blur(12px); translate: 0 12px; } } thead { position: sticky; top: 4px; z-index: 10; transition: box-shadow 200ms ease; border-radius: var(--gds-sys-radius-s); will-change: transform; } thead { background-color: var(--gds-sys-color-l1-neutral-01); } .data.scrolled thead { box-shadow: var(--gds-sys-shadow-l-01), var(--gds-sys-shadow-l-02), inset 0 -4px 6px var(--gds-sys-color-l1-neutral-01); backdrop-filter: blur(8px); background: color-mix( in srgb, var(--gds-sys-color-l2-neutral-01), transparent 30% ); } @media (prefers-reduced-transparency: no-preference) { .data.scrolled thead tr th { background: transparent; } } /* Horizontal scroll */ @property --_start-fade { syntax: '<length>'; inherits: false; initial-value: 0; } @property --_end-fade { syntax: '<length>'; inherits: false; initial-value: 0; } @keyframes scroll-fade { 0% { --_start-fade: 0; } 10%, 100% { --_start-fade: var(--gds-sys-space-4xl); } 0%, 90% { --_end-fade: var(--gds-sys-space-4xl); } 100% { --_end-fade: 0; } } .data { overflow-x: auto; mask: linear-gradient( to right, #0000, #ffff var(--_start-fade) calc(100% - var(--_end-fade)), #0000 ); animation: scroll-fade; animation-timeline: --scroll-fade; scroll-timeline: --scroll-fade x; } } } @media (max-width: 760px) { .responsive, .responsive tbody tr { animation: none; } } @supports not (animation-timeline: scroll()) { tbody tr { will-change: opacity, filter, translate; transition: all 242ms cubic-bezier(0.22, 0.61, 0.36, 1); @starting-style { opacity: 0; filter: blur(20px); translate: 0 10px; } } } /* Scrollbar */ .data { --_scrollbar-color-thumb: var(--gds-sys-color-content-neutral-02); --_scrollbar-color-track: var(--gds-sys-color-l3-neutral-02); --_scrollbar-width: var(--gds-sys-space-2xs); } @supports (scrollbar-width: auto) { .data { scrollbar-color: var(--_scrollbar-color-thumb) transparent; scrollbar-width: var(--_scrollbar-width); } } @supports selector(::-webkit-scrollbar) { .data::-webkit-scrollbar { width: var(--_scrollbar-width); height: var(--_scrollbar-width); } .data::-webkit-scrollbar-track { background: transparent; } .data::-webkit-scrollbar-thumb { background: var(--_scrollbar-color-thumb); border-radius: var(--gds-sys-radius-max); } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { tbody tr, tbody td .cell-content, thead th .column-header, .sort-icon, .column-header, .header { transition: none; animation: none; } } `"
|
|
35651
|
+
"default": "css` /* Host & Container */ :host { display: block; font: var(--gds-sys-text-detail-book-s); color: var(--gds-sys-color-content-neutral-01); text-align: left; --_table-height: 80vh; --_table-border-width: var(--gds-sys-space-5xs); --_table-border-color: var(--gds-sys-color-border-subtle-01); } /* Density Modes */ /* Compact density */ .table.compact { --table-cell-padding-y: var(--gds-sys-space-xs); --table-cell-padding-x: var(--gds-sys-space-s); --table-header-padding-y: var(--gds-sys-space-xs); --table-header-padding-x: var(--gds-sys-space-s); --table-row-min-height: var(--gds-sys-space-xl); --table-font-size: var(--gds-sys-text-detail-book-s); --table-gap: var(--gds-sys-space-m); --table-border-spacing: 0 var(--gds-sys-space-5xs); --table-data-padding: var(--gds-sys-space-5xs) var(--gds-sys-space-4xs); --table-data-padding-x: var(--gds-sys-space-4xs); } /* Comfortable default */ .table.comfortable { --table-cell-padding-y: var(--gds-sys-space-s); --table-cell-padding-x: var(--gds-sys-space-m); --table-header-padding-y: var(--gds-sys-space-s); --table-header-padding-x: var(--gds-sys-space-m); --table-row-min-height: var(--gds-sys-space-4xl); --table-font-size: var(--gds-sys-text-detail-book-s); --table-gap: var(--gds-sys-space-l); --table-border-spacing: 0 var(--gds-sys-space-4xs); --table-data-padding: var(--gds-sys-space-3xs) var(--gds-sys-space-2xs); --table-data-padding-x: var(--gds-sys-space-2xs); } /* Spacious density */ .table.spacious { --table-cell-padding-y: var(--gds-sys-space-l); --table-cell-padding-x: var(--gds-sys-space-l); --table-header-padding-y: var(--gds-sys-space-l); --table-header-padding-x: var(--gds-sys-space-l); --table-row-min-height: var(--gds-sys-space-5xl); --table-font-size: var(--gds-sys-text-detail-book-m); --table-gap: var(--gds-sys-space-xl); --table-border-spacing: 0 var(--gds-sys-space-3xs); --table-data-padding: var(--gds-sys-space-3xs) var(--gds-sys-space-xs); --table-data-padding-x: var(--gds-sys-space-xs); } /* Secondary and Tertiary */ .data.variant-secondary, .data.variant-tertiary { --_table-header-bg: var(--gds-sys-color-l2-neutral-01); --_table-header-hover: var(--gds-sys-color-l3-neutral-02); --_table-header-active: var(--gds-sys-color-l3-neutral-03); --_table-row-hover: var(--gds-sys-color-l2-neutral-01); --_table-row-selected-hover: var(--gds-sys-color-l3-neutral-03); --_table-row-striped: var(--gds-sys-color-l2-neutral-01); --_table-card-bg: var(--gds-sys-color-l1-neutral-01); } /* Primary variant */ .data.variant-primary { --_table-header-bg: var(--gds-sys-color-l2-neutral-02); --_table-header-hover: var(--gds-sys-color-l3-neutral-02); --_table-header-active: var(--gds-sys-color-l3-neutral-03); --_table-row-hover: color-mix( in srgb, var(--gds-sys-color-l3-neutral-02), var(--gds-sys-color-state-neutral-01) ); --_table-row-selected-hover: var(--gds-sys-color-l3-neutral-03); --_table-row-striped: var(--gds-sys-color-l2-neutral-01); --_table-card-bg: var(--gds-sys-color-l2-neutral-01); } /* Apply density variables */ .table { display: flex; flex-direction: column; gap: var(--table-gap); font: var(--table-font-size); width: 100%; } /* Container that enables horizontal scroll */ .data { width: 100%; overflow-x: auto; overflow-y: auto; max-height: var(--_table-height); box-sizing: border-box; padding: var(--table-data-padding); position: relative; border-radius: var(--gds-sys-radius-m); } .data:focus { outline: none; } .table-card { outline-color: transparent; outline-offset: var(--gds-sys-space-4xs); outline-style: solid; outline-width: var(--gds-sys-space-4xs); } .table-card:has(.data:focus-visible) { outline-color: var(--gds-sys-color-content-neutral-01); } .table-card:has(.data:focus-within:not(:focus-visible)) { outline-color: transparent; } table { width: max-content; min-width: 100%; table-layout: auto; border: none; border-collapse: separate; border-spacing: var(--table-border-spacing); } tbody td { font-weight: normal; padding-block: var(--table-cell-padding-y); padding-inline: var(--table-cell-padding-x); } thead tr th:first-child, tbody tr:hover td:first-child, tbody tr.selected td:first-child, .striped tbody tr td:first-child { border-top-left-radius: var(--gds-sys-radius-s); border-bottom-left-radius: var(--gds-sys-radius-s); } thead tr th:last-child, tbody tr:hover td:last-child, tbody tr.selected td:last-child, .striped tbody tr td:last-child { border-top-right-radius: var(--gds-sys-radius-s); border-bottom-right-radius: var(--gds-sys-radius-s); } /* Table Header */ thead tr th { padding-block: var(--gds-sys-space-3xs); background: var(--_table-header-bg); } thead th.sortable { cursor: pointer; user-select: none; } /* Column header content layout */ .column-header { display: flex; align-items: center; position: relative; justify-content: space-between; min-height: var(--gds-sys-space-l); gap: var(--table-gap); padding: calc(var(--table-cell-padding-y) / 2) var(--table-cell-padding-x); border-radius: var(--gds-sys-radius-xs); transition: all var(--gds-sys-motion-duration-fast); } th.sortable .column-header:hover { background-color: var(--_table-header-hover); } th.sortable:active .column-header { background-color: var(--_table-header-active); } .column-label { font-weight: var(--gds-sys-text-weight-book); } .sort-icon { display: flex; align-items: center; justify-content: center; transition-property: opacity; transition-duration: var(--gds-sys-motion-duration-fast); transition-timing-function: var(--gds-sys-motion-easing-ease); opacity: 0; } @media (hover: hover) and (min-width: 768px) { thead th.sortable:hover:not(.sorted) .sort-icon { opacity: 0.8; } } thead th.sorted .sort-icon { opacity: 1; } /* Table Body */ tbody tr td { border-top-style: solid; border-top-width: var(--_table-border-width); border-top-color: var(--_table-border-color); } tbody tr.loading { opacity: 0.3; pointer-events: none; } tbody tr.loading:not(:first-child) td { border-color: var(--gds-sys-color-border-subtle-02); } /* Row Selection */ .checkbox-cell { min-width: var(--gds-sys-space-l); width: var(--gds-sys-space-l); max-width: var(--gds-sys-space-l); padding: var(--table-cell-padding-y) var(--table-cell-padding-x); } tbody tr:hover td, tbody tr.selected td, tbody tr:first-child td { border-color: transparent; } tbody tr:hover + tr td, tbody tr.selected + tr td { border-color: transparent; } tbody tr.selected:last-child td { border-bottom-color: transparent; } tbody tr.selected { background-color: var(--gds-sys-color-l3-neutral-02); } @media (hover: hover) and (min-width: 768px) { tbody tr.selected:hover { background-color: var(--_table-row-selected-hover); } tbody tr:hover:not(.selected) { background-color: var(--_table-row-hover); } } tbody tr:hover, tbody tr:hover + tr { border-color: transparent; } /* Striped */ .striped tbody tr:not(.selected, :hover):nth-child(even) td { background-color: var(--_table-row-striped); } .striped tbody tr td { border-color: transparent; } /* Header & Footer Layout */ .header { display: flex; justify-content: space-between; transition-property: opacity, translate; transition-duration: var(--gds-sys-motion-duration-fast); transition-timing-function: var(--gds-sys-motion-easing-ease); @starting-style { opacity: 0; translate: 0 -2px; } } /* Shared layout for header and footer sections */ .header .lead, .header .trail { display: flex; align-items: center; gap: calc(var(--table-gap) * 0.8); width: max-content; } /* Cell Content & Alignment */ .cell-content { width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; } /* Wrapping utilities */ td.wrap .cell-content { white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } td.wrap, th.wrap { width: var(--cell-width); } /* Justify utilities */ .justify-start .cell-content { text-align: left; justify-content: start; } .justify-center .cell-content { text-align: center; justify-content: center; } .justify-space-between .cell-content { text-align: left; justify-content: space-between; } .justify-end .cell-content { text-align: right; justify-content: flex-end; } .justify-end:not(.sortable) .column-header { text-align: right; justify-content: flex-end; } .sortable.justify-end .column-header { flex-direction: row-reverse; } th.actions { padding-inline: 0; } th.actions.justify-end .column-header { justify-content: flex-end; } /* Sticky actions column */ th.actions.sticky, td.actions-cell.sticky { position: sticky; right: calc(-1 * var(--table-data-padding-x, 0px)); z-index: 1; width: max-content; padding-right: calc( var(--table-cell-padding-x) + var(--table-data-padding-x, 0px) ); } th.actions.sticky { z-index: 2; background: var(--_table-header-bg); } th.actions.sticky .column-header { justify-content: flex-end; } td.actions-cell.sticky { background: var(--_table-card-bg); } td.actions-cell.sticky .cell-content { justify-content: flex-end; position: relative; } /* Left gradient fade on sticky action cells */ td.actions-cell.sticky::before { content: ''; position: absolute; inset-block: 0; right: 100%; width: var(--gds-sys-space-4xl); pointer-events: none; background: linear-gradient(to right, transparent, var(--_table-card-bg)); } th.actions.sticky::before { content: ''; position: absolute; inset-block: 0; right: 100%; width: var(--gds-sys-space-4xl); pointer-events: none; background: linear-gradient(to right, transparent, var(--_table-header-bg)); } /* Sticky action inherits row hover/selected/striped backgrounds */ tbody tr:hover td.actions-cell.sticky { background: var(--_table-row-hover); } tbody tr:hover td.actions-cell.sticky::before { background: linear-gradient(to right, transparent, var(--_table-row-hover)); } tbody tr.selected td.actions-cell.sticky { background: var(--gds-sys-color-l3-neutral-02); } tbody tr.selected td.actions-cell.sticky::before { background: linear-gradient( to right, transparent, var(--gds-sys-color-l3-neutral-02) ); } .striped tbody tr:not(.selected, :hover):nth-child(even) td.actions-cell.sticky { background: var(--_table-row-striped); } .striped tbody tr:not(.selected, :hover):nth-child(even) td.actions-cell.sticky::before { background: linear-gradient( to right, transparent, var(--_table-row-striped) ); } /* Table Footer Row */ tfoot.tablefoot tr td, tfoot.tablefoot tr th[scope='row'] { padding-block: var(--table-cell-padding-y); padding-inline: var(--table-cell-padding-x); background: var(--_table-header-bg); font-weight: normal; border-top: var(--_table-border-width) solid var(--_table-border-color); } tfoot.tablefoot tr th[scope='row'] { font-weight: var(--gds-sys-text-weight-book); } tfoot.tablefoot tr td:first-child, tfoot.tablefoot tr th:first-child { border-top-left-radius: var(--gds-sys-radius-s); border-bottom-left-radius: var(--gds-sys-radius-s); } tfoot.tablefoot tr td:last-child, tfoot.tablefoot tr th:last-child { border-top-right-radius: var(--gds-sys-radius-s); border-bottom-right-radius: var(--gds-sys-radius-s); } .tablefoot-label { font-weight: var(--gds-sys-text-weight-book); white-space: nowrap; } tfoot.tablefoot.sticky { position: sticky; bottom: 0; z-index: 10; will-change: transform; } /* When sticky tablefoot: move padding from .data to table, keep tfoot edge-to-edge */ .data:has(tfoot.tablefoot.sticky) { padding: 0; } .data:has(tfoot.tablefoot.sticky) table { padding-top: var(--table-data-padding-x); padding-inline: var(--table-data-padding-x); } tfoot.tablefoot.sticky tr td, tfoot.tablefoot.sticky tr th[scope='row'] { border-radius: 0; background: var(--_table-card-bg); border-top: var(--_table-border-width) solid var(--_table-border-color); } /* Align utilities */ td { height: 100%; } .align-start { vertical-align: top; } .align-end { vertical-align: bottom; } .align-center { vertical-align: middle; } .align-start .cell-content { align-items: start; } .align-center .cell-content { align-items: center; } .align-stretch .cell-content { align-items: stretch; } .align-end .cell-content { align-items: end; } /* Responsive Design */ @media (max-width: 760px) { .responsive.data { display: contents; } .responsive table { max-width: 100%; } .responsive thead { position: sticky; top: var(--gds-sys-space-s); z-index: 2; border-radius: var(--gds-sys-radius-s); } .responsive thead { display: none; } .responsive tbody { display: flex; flex-direction: column; gap: var(--table-gap); } .responsive tbody tr { display: flex; flex-direction: column; padding: var(--table-cell-padding-x); border: var(--gds-sys-space-5xs) solid var(--gds-sys-color-border-subtle-01); border-radius: var(--gds-sys-space-s); margin: 0; } .responsive tbody tr:hover, .responsive tbody tr:hover + tr { border-color: var(--gds-sys-color-border-subtle-01); } .responsive tr.selected { border-color: transparent; } .responsive td { width: 100%; max-width: 100%; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; padding: var(--gds-sys-space-xs) 0; border: none; } .responsive td .column-label { text-align: left; flex: 1; min-width: 0; } .responsive td .cell-content { justify-content: flex-start; flex: 1; width: 100%; gap: var(--gds-sys-space-s); } .responsive td .cell-wrapped-content { flex: 1; justify-content: flex-end; text-align: right; } .responsive tr:hover, .responsive tr td:hover { background: none; } } /* Medium screens: input and dropdown side by side */ @media (max-width: 760px) and (min-width: 480px) { .header { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'input dropdown' 'lead trail'; gap: calc(var(--table-gap) / 2); } .header .lead [gds-element='gds-input'] { grid-area: input; } .header .trail [gds-element='gds-dropdown'] { grid-area: dropdown; } .header .lead ::slotted(*:not([gds-element='gds-input'])) { grid-area: lead; } .header .trail ::slotted(*:not([gds-element='gds-dropdown'])) { grid-area: trail; } .header .lead, .header .trail { display: contents; } } /* Small screens: fully stacked */ @media (max-width: 479px) { .header { display: grid; grid-template-columns: 1fr; grid-template-areas: 'input' 'dropdown' 'lead' 'trail'; gap: calc(var(--table-gap) / 2); } .header .lead [gds-element='gds-input'] { grid-area: input; } .header .trail [gds-element='gds-dropdown'] { grid-area: dropdown; } .header .lead ::slotted(*:not([gds-element='gds-input'])) { grid-area: lead; } .header .trail ::slotted(*:not([gds-element='gds-dropdown'])) { grid-area: trail; } .header .lead, .header .trail { display: contents; } } /* Skeleton Loading State */ .skeleton { display: inline-block; background: linear-gradient( 90deg, var(--gds-sys-color-l3-neutral-01) 25%, var(--gds-sys-color-l2-neutral-01) 50%, var(--gds-sys-color-l3-neutral-01) 75% ); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; border-radius: var(--gds-sys-space-max); opacity: 0.1; } @keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* Skeleton elements */ .skeleton-text { height: 14px; width: 80%; min-width: 60px; } .skeleton-checkbox { height: 18px; width: 18px; border-radius: var(--gds-sys-radius-3xs); } .skeleton-action { height: 24px; width: 24px; border-radius: var(--gds-sys-radius-max); } /* Skeleton row styling */ .skeleton-row { opacity: 1; pointer-events: none; } .skeleton-row td { padding: var(--table-cell-padding-y) var(--table-cell-padding-x); } /* Different skeleton text widths for more natural look */ .skeleton-row:nth-child(odd) .skeleton-text { width: 70%; } .skeleton-row:nth-child(3n) .skeleton-text { width: 90%; } .skeleton-row:nth-child(4n) .skeleton-text { width: 60%; } /* Visually hidden - screen reader only without layout impact */ .visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; height: 0px; width: 0px; } /* Scroll driven animation */ @supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { tbody tr { animation-name: ROW_ANIMATION_VERTICAL, ROW_ANIMATION_VERTICAL; animation-fill-mode: both; animation-timing-function: ease-in-out; animation-direction: normal, reverse; animation-timeline: view(block); animation-range: entry -40px, exit -40px; } @keyframes ROW_ANIMATION_VERTICAL { 0% { opacity: 0; filter: blur(12px); translate: 0 12px; } } thead { position: sticky; top: 4px; z-index: 10; transition: box-shadow 200ms ease; border-radius: var(--gds-sys-radius-s); will-change: transform; } thead { background-color: var(--gds-sys-color-l1-neutral-01); } .data.scrolled thead { box-shadow: var(--gds-sys-shadow-l-01), var(--gds-sys-shadow-l-02), inset 0 -4px 6px var(--gds-sys-color-l1-neutral-01); backdrop-filter: blur(8px); background: color-mix( in srgb, var(--gds-sys-color-l2-neutral-01), transparent 30% ); } @media (prefers-reduced-transparency: no-preference) { .data.scrolled thead tr th { background: transparent; } } /* Sticky table footer */ tfoot.tablefoot.sticky { background-color: var(--_table-card-bg); } tfoot.tablefoot.sticky tr td, tfoot.tablefoot.sticky tr th[scope='row'] { background: var(--_table-card-bg); } /* Horizontal scroll */ @property --_start-fade { syntax: '<length>'; inherits: false; initial-value: 0; } @property --_end-fade { syntax: '<length>'; inherits: false; initial-value: 0; } @keyframes scroll-fade { 0% { --_start-fade: 0px; --_end-fade: var(--gds-sys-space-4xl); } 1% { --_start-fade: var(--gds-sys-space-4xl); --_end-fade: var(--gds-sys-space-4xl); } 99% { --_start-fade: var(--gds-sys-space-4xl); --_end-fade: var(--gds-sys-space-4xl); } 100% { --_start-fade: var(--gds-sys-space-4xl); --_end-fade: 0px; } } .data { overflow-x: auto; mask: linear-gradient( to right, #0000, #ffff var(--_start-fade) calc(100% - var(--_end-fade)), #0000 ); animation: scroll-fade both linear; animation-timeline: scroll(self inline); } /* When sticky actions are present, remove the right fade.*/ .data:has(td.actions-cell.sticky) { mask: linear-gradient( to right, #0000, #ffff var(--_start-fade), #ffff 100% ); } } } @media (max-width: 760px) { .responsive, .responsive tbody tr { animation: none; } } @supports not (animation-timeline: scroll()) { tbody tr { will-change: opacity, filter, translate; transition: all 242ms cubic-bezier(0.22, 0.61, 0.36, 1); @starting-style { opacity: 0; filter: blur(20px); translate: 0 10px; } } } /* Scrollbar */ .data { --_scrollbar-color-thumb: var(--gds-sys-color-content-neutral-02); --_scrollbar-color-track: var(--gds-sys-color-l3-neutral-02); --_scrollbar-width: var(--gds-sys-space-2xs); } @supports (scrollbar-width: auto) { .data { scrollbar-color: var(--_scrollbar-color-thumb) transparent; scrollbar-width: var(--_scrollbar-width); } } @supports selector(::-webkit-scrollbar) { .data::-webkit-scrollbar { width: var(--_scrollbar-width); height: var(--_scrollbar-width); } .data::-webkit-scrollbar-track { background: transparent; } .data::-webkit-scrollbar-thumb { background: var(--_scrollbar-color-thumb); border-radius: var(--gds-sys-radius-max); } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { tbody tr, tbody td .cell-content, thead th .column-header, .sort-icon, .column-header, .header { transition: none; animation: none; } } `"
|
|
35631
35652
|
}
|
|
35632
35653
|
],
|
|
35633
35654
|
"exports": [
|
|
@@ -35667,7 +35688,7 @@
|
|
|
35667
35688
|
"text": "{\n compact: {\n input: 'small',\n dropdown: 'small',\n },\n comfortable: {\n input: 'small',\n dropdown: 'small',\n },\n spacious: {\n input: 'large',\n dropdown: 'medium',\n },\n}"
|
|
35668
35689
|
},
|
|
35669
35690
|
"default": "{ compact: { input: 'small', dropdown: 'small', }, comfortable: { input: 'small', dropdown: 'small', }, spacious: { input: 'large', dropdown: 'medium', }, }",
|
|
35670
|
-
"description": "Internal density configuration for the table's built-in UI controls\n(search input, column settings dropdown). Does not affect user-provided\nslot content
|
|
35691
|
+
"description": "Internal density configuration for the table's built-in UI controls\n(search input, column settings dropdown). Does not affect user-provided\nslot content size your own components to match the chosen density."
|
|
35671
35692
|
},
|
|
35672
35693
|
{
|
|
35673
35694
|
"kind": "function",
|
|
@@ -43266,7 +43287,7 @@
|
|
|
43266
43287
|
"name": "*",
|
|
43267
43288
|
"declaration": {
|
|
43268
43289
|
"name": "*",
|
|
43269
|
-
"module": "src/generated/react/sensitive-
|
|
43290
|
+
"module": "src/generated/react/sensitive-account/index.js"
|
|
43270
43291
|
}
|
|
43271
43292
|
},
|
|
43272
43293
|
{
|
|
@@ -43274,7 +43295,7 @@
|
|
|
43274
43295
|
"name": "*",
|
|
43275
43296
|
"declaration": {
|
|
43276
43297
|
"name": "*",
|
|
43277
|
-
"module": "src/generated/react/sensitive-
|
|
43298
|
+
"module": "src/generated/react/sensitive-date/index.js"
|
|
43278
43299
|
}
|
|
43279
43300
|
},
|
|
43280
43301
|
{
|
|
@@ -233529,7 +233550,7 @@
|
|
|
233529
233550
|
},
|
|
233530
233551
|
{
|
|
233531
233552
|
"kind": "javascript-module",
|
|
233532
|
-
"path": "src/components/sensitive/
|
|
233553
|
+
"path": "src/components/sensitive/number/index.ts",
|
|
233533
233554
|
"declarations": [],
|
|
233534
233555
|
"exports": [
|
|
233535
233556
|
{
|
|
@@ -233537,19 +233558,19 @@
|
|
|
233537
233558
|
"name": "*",
|
|
233538
233559
|
"declaration": {
|
|
233539
233560
|
"name": "*",
|
|
233540
|
-
"module": "src/components/sensitive/
|
|
233561
|
+
"module": "src/components/sensitive/number/sensitive-number"
|
|
233541
233562
|
}
|
|
233542
233563
|
}
|
|
233543
233564
|
]
|
|
233544
233565
|
},
|
|
233545
233566
|
{
|
|
233546
233567
|
"kind": "javascript-module",
|
|
233547
|
-
"path": "src/components/sensitive/
|
|
233568
|
+
"path": "src/components/sensitive/number/sensitive-number.component.ts",
|
|
233548
233569
|
"declarations": [
|
|
233549
233570
|
{
|
|
233550
233571
|
"kind": "class",
|
|
233551
233572
|
"description": "",
|
|
233552
|
-
"name": "
|
|
233573
|
+
"name": "GdsSensitiveNumber",
|
|
233553
233574
|
"members": [
|
|
233554
233575
|
{
|
|
233555
233576
|
"kind": "field",
|
|
@@ -233558,33 +233579,31 @@
|
|
|
233558
233579
|
"text": "boolean"
|
|
233559
233580
|
},
|
|
233560
233581
|
"default": "false",
|
|
233561
|
-
"description": "When true, hides the sensitive
|
|
233582
|
+
"description": "When true, hides the sensitive number.",
|
|
233562
233583
|
"attribute": "hide"
|
|
233563
233584
|
},
|
|
233564
233585
|
{
|
|
233565
233586
|
"kind": "field",
|
|
233566
|
-
"name": "
|
|
233587
|
+
"name": "formattedValue",
|
|
233567
233588
|
"type": {
|
|
233568
|
-
"text": "
|
|
233589
|
+
"text": "string"
|
|
233569
233590
|
},
|
|
233570
|
-
"
|
|
233591
|
+
"readonly": true,
|
|
233571
233592
|
"inheritedFrom": {
|
|
233572
|
-
"name": "
|
|
233573
|
-
"module": "src/components/formatted-text/
|
|
233593
|
+
"name": "GdsFormattedText",
|
|
233594
|
+
"module": "src/components/formatted-text/formatted-text.ts"
|
|
233574
233595
|
}
|
|
233575
233596
|
},
|
|
233576
233597
|
{
|
|
233577
233598
|
"kind": "field",
|
|
233578
|
-
"name": "
|
|
233599
|
+
"name": "value",
|
|
233579
233600
|
"type": {
|
|
233580
|
-
"text": "
|
|
233601
|
+
"text": "number | string | undefined"
|
|
233581
233602
|
},
|
|
233582
|
-
"
|
|
233583
|
-
"description": "Specifies the date format.",
|
|
233584
|
-
"attribute": "format",
|
|
233603
|
+
"description": "The numerical value to display.",
|
|
233585
233604
|
"inheritedFrom": {
|
|
233586
|
-
"name": "
|
|
233587
|
-
"module": "src/components/formatted-text/
|
|
233605
|
+
"name": "GdsFormattedNumber",
|
|
233606
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
233588
233607
|
}
|
|
233589
233608
|
},
|
|
233590
233609
|
{
|
|
@@ -233593,23 +233612,37 @@
|
|
|
233593
233612
|
"type": {
|
|
233594
233613
|
"text": "string | undefined"
|
|
233595
233614
|
},
|
|
233596
|
-
"description": "The locale used for
|
|
233615
|
+
"description": "The locale used for number formatting.",
|
|
233597
233616
|
"attribute": "locale",
|
|
233598
233617
|
"inheritedFrom": {
|
|
233599
|
-
"name": "
|
|
233600
|
-
"module": "src/components/formatted-text/
|
|
233618
|
+
"name": "GdsFormattedNumber",
|
|
233619
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
233601
233620
|
}
|
|
233602
233621
|
},
|
|
233603
233622
|
{
|
|
233604
233623
|
"kind": "field",
|
|
233605
|
-
"name": "
|
|
233624
|
+
"name": "currency",
|
|
233606
233625
|
"type": {
|
|
233607
|
-
"text": "string"
|
|
233626
|
+
"text": "string | undefined"
|
|
233608
233627
|
},
|
|
233609
|
-
"
|
|
233628
|
+
"description": "The currency used when formatting numbers.",
|
|
233629
|
+
"attribute": "currency",
|
|
233610
233630
|
"inheritedFrom": {
|
|
233611
|
-
"name": "
|
|
233612
|
-
"module": "src/components/formatted-text/formatted-
|
|
233631
|
+
"name": "GdsFormattedNumber",
|
|
233632
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
233633
|
+
}
|
|
233634
|
+
},
|
|
233635
|
+
{
|
|
233636
|
+
"kind": "field",
|
|
233637
|
+
"name": "decimals",
|
|
233638
|
+
"type": {
|
|
233639
|
+
"text": "number | undefined"
|
|
233640
|
+
},
|
|
233641
|
+
"description": "The number of decimal places to display.",
|
|
233642
|
+
"attribute": "decimals",
|
|
233643
|
+
"inheritedFrom": {
|
|
233644
|
+
"name": "GdsFormattedNumber",
|
|
233645
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
233613
233646
|
}
|
|
233614
233647
|
},
|
|
233615
233648
|
{
|
|
@@ -234587,32 +234620,56 @@
|
|
|
234587
234620
|
"text": "boolean"
|
|
234588
234621
|
},
|
|
234589
234622
|
"default": "false",
|
|
234590
|
-
"description": "When true, hides the sensitive
|
|
234623
|
+
"description": "When true, hides the sensitive number.",
|
|
234591
234624
|
"fieldName": "hide"
|
|
234592
234625
|
},
|
|
234593
234626
|
{
|
|
234594
|
-
"name": "
|
|
234627
|
+
"name": "locale",
|
|
234595
234628
|
"type": {
|
|
234596
|
-
"text": "
|
|
234629
|
+
"text": "string | undefined"
|
|
234597
234630
|
},
|
|
234598
|
-
"
|
|
234599
|
-
"
|
|
234600
|
-
"fieldName": "format",
|
|
234631
|
+
"description": "The locale used for number formatting.",
|
|
234632
|
+
"fieldName": "locale",
|
|
234601
234633
|
"inheritedFrom": {
|
|
234602
|
-
"name": "
|
|
234603
|
-
"module": "src/components/formatted-text/
|
|
234634
|
+
"name": "GdsFormattedNumber",
|
|
234635
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
234604
234636
|
}
|
|
234605
234637
|
},
|
|
234606
234638
|
{
|
|
234607
|
-
"name": "
|
|
234639
|
+
"name": "currency",
|
|
234608
234640
|
"type": {
|
|
234609
234641
|
"text": "string | undefined"
|
|
234610
234642
|
},
|
|
234611
|
-
"description": "The
|
|
234612
|
-
"fieldName": "
|
|
234643
|
+
"description": "The currency used when formatting numbers.",
|
|
234644
|
+
"fieldName": "currency",
|
|
234613
234645
|
"inheritedFrom": {
|
|
234614
|
-
"name": "
|
|
234615
|
-
"module": "src/components/formatted-text/
|
|
234646
|
+
"name": "GdsFormattedNumber",
|
|
234647
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
234648
|
+
}
|
|
234649
|
+
},
|
|
234650
|
+
{
|
|
234651
|
+
"name": "decimals",
|
|
234652
|
+
"type": {
|
|
234653
|
+
"text": "number | undefined"
|
|
234654
|
+
},
|
|
234655
|
+
"description": "The number of decimal places to display.",
|
|
234656
|
+
"fieldName": "decimals",
|
|
234657
|
+
"inheritedFrom": {
|
|
234658
|
+
"name": "GdsFormattedNumber",
|
|
234659
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
234660
|
+
}
|
|
234661
|
+
},
|
|
234662
|
+
{
|
|
234663
|
+
"name": "format",
|
|
234664
|
+
"type": {
|
|
234665
|
+
"text": "NumberFormats"
|
|
234666
|
+
},
|
|
234667
|
+
"default": "'decimalsAndThousands'",
|
|
234668
|
+
"description": "Specifies the number format.",
|
|
234669
|
+
"fieldName": "format",
|
|
234670
|
+
"inheritedFrom": {
|
|
234671
|
+
"name": "GdsFormattedNumber",
|
|
234672
|
+
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
234616
234673
|
}
|
|
234617
234674
|
},
|
|
234618
234675
|
{
|
|
@@ -234656,10 +234713,10 @@
|
|
|
234656
234713
|
}
|
|
234657
234714
|
],
|
|
234658
234715
|
"superclass": {
|
|
234659
|
-
"name": "
|
|
234660
|
-
"module": "/src/components/formatted-text/
|
|
234716
|
+
"name": "GdsFormattedNumber",
|
|
234717
|
+
"module": "/src/components/formatted-text/number/formatted-number.component"
|
|
234661
234718
|
},
|
|
234662
|
-
"tagName": "gds-sensitive-
|
|
234719
|
+
"tagName": "gds-sensitive-number",
|
|
234663
234720
|
"customElement": true,
|
|
234664
234721
|
"events": [
|
|
234665
234722
|
{
|
|
@@ -234698,17 +234755,17 @@
|
|
|
234698
234755
|
"exports": [
|
|
234699
234756
|
{
|
|
234700
234757
|
"kind": "js",
|
|
234701
|
-
"name": "
|
|
234758
|
+
"name": "GdsSensitiveNumber",
|
|
234702
234759
|
"declaration": {
|
|
234703
|
-
"name": "
|
|
234704
|
-
"module": "src/components/sensitive/
|
|
234760
|
+
"name": "GdsSensitiveNumber",
|
|
234761
|
+
"module": "src/components/sensitive/number/sensitive-number.component.ts"
|
|
234705
234762
|
}
|
|
234706
234763
|
}
|
|
234707
234764
|
]
|
|
234708
234765
|
},
|
|
234709
234766
|
{
|
|
234710
234767
|
"kind": "javascript-module",
|
|
234711
|
-
"path": "src/components/sensitive/
|
|
234768
|
+
"path": "src/components/sensitive/number/sensitive-number.stories.ts",
|
|
234712
234769
|
"declarations": [
|
|
234713
234770
|
{
|
|
234714
234771
|
"kind": "variable",
|
|
@@ -234716,8 +234773,8 @@
|
|
|
234716
234773
|
"type": {
|
|
234717
234774
|
"text": "Meta"
|
|
234718
234775
|
},
|
|
234719
|
-
"default": "{ title: 'Components/Sensitive/
|
|
234720
|
-
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/
|
|
234776
|
+
"default": "{ title: 'Components/Sensitive/Number', component: 'gds-sensitive-number', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-number'), format: { control: { type: 'select' }, options: Object.keys(numberFormats), }, currency: { type: 'string', }, decimals: { type: 'number', }, }, }",
|
|
234777
|
+
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/number)\n\nGdsSensitiveNumber displays a formatted number and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
|
|
234721
234778
|
},
|
|
234722
234779
|
{
|
|
234723
234780
|
"kind": "variable",
|
|
@@ -234725,7 +234782,7 @@
|
|
|
234725
234782
|
"type": {
|
|
234726
234783
|
"text": "Story"
|
|
234727
234784
|
},
|
|
234728
|
-
"default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-
|
|
234785
|
+
"default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-number .hide=${args.hide} .value=${args.value} .locale=${args.locale} .currency=${args.currency} .decimals=${args.decimals} ></gds-sensitive-number>`, }"
|
|
234729
234786
|
}
|
|
234730
234787
|
],
|
|
234731
234788
|
"exports": [
|
|
@@ -234734,7 +234791,7 @@
|
|
|
234734
234791
|
"name": "default",
|
|
234735
234792
|
"declaration": {
|
|
234736
234793
|
"name": "meta",
|
|
234737
|
-
"module": "src/components/sensitive/
|
|
234794
|
+
"module": "src/components/sensitive/number/sensitive-number.stories.ts"
|
|
234738
234795
|
}
|
|
234739
234796
|
},
|
|
234740
234797
|
{
|
|
@@ -234742,29 +234799,29 @@
|
|
|
234742
234799
|
"name": "Default",
|
|
234743
234800
|
"declaration": {
|
|
234744
234801
|
"name": "Default",
|
|
234745
|
-
"module": "src/components/sensitive/
|
|
234802
|
+
"module": "src/components/sensitive/number/sensitive-number.stories.ts"
|
|
234746
234803
|
}
|
|
234747
234804
|
}
|
|
234748
234805
|
]
|
|
234749
234806
|
},
|
|
234750
234807
|
{
|
|
234751
234808
|
"kind": "javascript-module",
|
|
234752
|
-
"path": "src/components/sensitive/
|
|
234809
|
+
"path": "src/components/sensitive/number/sensitive-number.ts",
|
|
234753
234810
|
"declarations": [],
|
|
234754
234811
|
"exports": [
|
|
234755
234812
|
{
|
|
234756
234813
|
"kind": "js",
|
|
234757
|
-
"name": "
|
|
234814
|
+
"name": "GdsSensitiveNumber",
|
|
234758
234815
|
"declaration": {
|
|
234759
|
-
"name": "
|
|
234760
|
-
"module": "src/components/sensitive/
|
|
234816
|
+
"name": "GdsSensitiveNumber",
|
|
234817
|
+
"module": "src/components/sensitive/number/sensitive-number.ts"
|
|
234761
234818
|
}
|
|
234762
234819
|
}
|
|
234763
234820
|
]
|
|
234764
234821
|
},
|
|
234765
234822
|
{
|
|
234766
234823
|
"kind": "javascript-module",
|
|
234767
|
-
"path": "src/components/sensitive/
|
|
234824
|
+
"path": "src/components/sensitive/date/index.ts",
|
|
234768
234825
|
"declarations": [],
|
|
234769
234826
|
"exports": [
|
|
234770
234827
|
{
|
|
@@ -234772,19 +234829,19 @@
|
|
|
234772
234829
|
"name": "*",
|
|
234773
234830
|
"declaration": {
|
|
234774
234831
|
"name": "*",
|
|
234775
|
-
"module": "src/components/sensitive/
|
|
234832
|
+
"module": "src/components/sensitive/date/sensitive-date"
|
|
234776
234833
|
}
|
|
234777
234834
|
}
|
|
234778
234835
|
]
|
|
234779
234836
|
},
|
|
234780
234837
|
{
|
|
234781
234838
|
"kind": "javascript-module",
|
|
234782
|
-
"path": "src/components/sensitive/
|
|
234839
|
+
"path": "src/components/sensitive/date/sensitive-date.component.ts",
|
|
234783
234840
|
"declarations": [
|
|
234784
234841
|
{
|
|
234785
234842
|
"kind": "class",
|
|
234786
234843
|
"description": "",
|
|
234787
|
-
"name": "
|
|
234844
|
+
"name": "GdsSensitiveDate",
|
|
234788
234845
|
"members": [
|
|
234789
234846
|
{
|
|
234790
234847
|
"kind": "field",
|
|
@@ -234793,31 +234850,33 @@
|
|
|
234793
234850
|
"text": "boolean"
|
|
234794
234851
|
},
|
|
234795
234852
|
"default": "false",
|
|
234796
|
-
"description": "When true, hides the sensitive
|
|
234853
|
+
"description": "When true, hides the sensitive date.",
|
|
234797
234854
|
"attribute": "hide"
|
|
234798
234855
|
},
|
|
234799
234856
|
{
|
|
234800
234857
|
"kind": "field",
|
|
234801
|
-
"name": "
|
|
234858
|
+
"name": "value",
|
|
234802
234859
|
"type": {
|
|
234803
|
-
"text": "string"
|
|
234860
|
+
"text": "Date | string | undefined"
|
|
234804
234861
|
},
|
|
234805
|
-
"
|
|
234862
|
+
"description": "The date value to be formatted, either Date or ISO string.",
|
|
234806
234863
|
"inheritedFrom": {
|
|
234807
|
-
"name": "
|
|
234808
|
-
"module": "src/components/formatted-text/formatted-
|
|
234864
|
+
"name": "GdsFormattedDate",
|
|
234865
|
+
"module": "src/components/formatted-text/date/formatted-date.component.ts"
|
|
234809
234866
|
}
|
|
234810
234867
|
},
|
|
234811
234868
|
{
|
|
234812
234869
|
"kind": "field",
|
|
234813
|
-
"name": "
|
|
234870
|
+
"name": "format",
|
|
234814
234871
|
"type": {
|
|
234815
|
-
"text": "
|
|
234872
|
+
"text": "DateTimeFormat"
|
|
234816
234873
|
},
|
|
234817
|
-
"
|
|
234874
|
+
"default": "'dateOnlyNumbers'",
|
|
234875
|
+
"description": "Specifies the date format.",
|
|
234876
|
+
"attribute": "format",
|
|
234818
234877
|
"inheritedFrom": {
|
|
234819
|
-
"name": "
|
|
234820
|
-
"module": "src/components/formatted-text/
|
|
234878
|
+
"name": "GdsFormattedDate",
|
|
234879
|
+
"module": "src/components/formatted-text/date/formatted-date.component.ts"
|
|
234821
234880
|
}
|
|
234822
234881
|
},
|
|
234823
234882
|
{
|
|
@@ -234826,37 +234885,23 @@
|
|
|
234826
234885
|
"type": {
|
|
234827
234886
|
"text": "string | undefined"
|
|
234828
234887
|
},
|
|
234829
|
-
"description": "The locale used for
|
|
234888
|
+
"description": "The locale used for date formatting.",
|
|
234830
234889
|
"attribute": "locale",
|
|
234831
234890
|
"inheritedFrom": {
|
|
234832
|
-
"name": "
|
|
234833
|
-
"module": "src/components/formatted-text/
|
|
234834
|
-
}
|
|
234835
|
-
},
|
|
234836
|
-
{
|
|
234837
|
-
"kind": "field",
|
|
234838
|
-
"name": "currency",
|
|
234839
|
-
"type": {
|
|
234840
|
-
"text": "string | undefined"
|
|
234841
|
-
},
|
|
234842
|
-
"description": "The currency used when formatting numbers.",
|
|
234843
|
-
"attribute": "currency",
|
|
234844
|
-
"inheritedFrom": {
|
|
234845
|
-
"name": "GdsFormattedNumber",
|
|
234846
|
-
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
234891
|
+
"name": "GdsFormattedDate",
|
|
234892
|
+
"module": "src/components/formatted-text/date/formatted-date.component.ts"
|
|
234847
234893
|
}
|
|
234848
234894
|
},
|
|
234849
234895
|
{
|
|
234850
234896
|
"kind": "field",
|
|
234851
|
-
"name": "
|
|
234897
|
+
"name": "formattedValue",
|
|
234852
234898
|
"type": {
|
|
234853
|
-
"text": "
|
|
234899
|
+
"text": "string"
|
|
234854
234900
|
},
|
|
234855
|
-
"
|
|
234856
|
-
"attribute": "decimals",
|
|
234901
|
+
"readonly": true,
|
|
234857
234902
|
"inheritedFrom": {
|
|
234858
|
-
"name": "
|
|
234859
|
-
"module": "src/components/formatted-text/
|
|
234903
|
+
"name": "GdsFormattedText",
|
|
234904
|
+
"module": "src/components/formatted-text/formatted-text.ts"
|
|
234860
234905
|
}
|
|
234861
234906
|
},
|
|
234862
234907
|
{
|
|
@@ -235834,56 +235879,32 @@
|
|
|
235834
235879
|
"text": "boolean"
|
|
235835
235880
|
},
|
|
235836
235881
|
"default": "false",
|
|
235837
|
-
"description": "When true, hides the sensitive
|
|
235882
|
+
"description": "When true, hides the sensitive date.",
|
|
235838
235883
|
"fieldName": "hide"
|
|
235839
235884
|
},
|
|
235840
235885
|
{
|
|
235841
|
-
"name": "
|
|
235886
|
+
"name": "format",
|
|
235842
235887
|
"type": {
|
|
235843
|
-
"text": "
|
|
235888
|
+
"text": "DateTimeFormat"
|
|
235844
235889
|
},
|
|
235845
|
-
"
|
|
235846
|
-
"
|
|
235890
|
+
"default": "'dateOnlyNumbers'",
|
|
235891
|
+
"description": "Specifies the date format.",
|
|
235892
|
+
"fieldName": "format",
|
|
235847
235893
|
"inheritedFrom": {
|
|
235848
|
-
"name": "
|
|
235849
|
-
"module": "src/components/formatted-text/
|
|
235894
|
+
"name": "GdsFormattedDate",
|
|
235895
|
+
"module": "src/components/formatted-text/date/formatted-date.component.ts"
|
|
235850
235896
|
}
|
|
235851
235897
|
},
|
|
235852
235898
|
{
|
|
235853
|
-
"name": "
|
|
235899
|
+
"name": "locale",
|
|
235854
235900
|
"type": {
|
|
235855
235901
|
"text": "string | undefined"
|
|
235856
235902
|
},
|
|
235857
|
-
"description": "The
|
|
235858
|
-
"fieldName": "
|
|
235859
|
-
"inheritedFrom": {
|
|
235860
|
-
"name": "GdsFormattedNumber",
|
|
235861
|
-
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
235862
|
-
}
|
|
235863
|
-
},
|
|
235864
|
-
{
|
|
235865
|
-
"name": "decimals",
|
|
235866
|
-
"type": {
|
|
235867
|
-
"text": "number | undefined"
|
|
235868
|
-
},
|
|
235869
|
-
"description": "The number of decimal places to display.",
|
|
235870
|
-
"fieldName": "decimals",
|
|
235871
|
-
"inheritedFrom": {
|
|
235872
|
-
"name": "GdsFormattedNumber",
|
|
235873
|
-
"module": "src/components/formatted-text/number/formatted-number.component.ts"
|
|
235874
|
-
}
|
|
235875
|
-
},
|
|
235876
|
-
{
|
|
235877
|
-
"name": "format",
|
|
235878
|
-
"type": {
|
|
235879
|
-
"text": "NumberFormats"
|
|
235880
|
-
},
|
|
235881
|
-
"default": "'decimalsAndThousands'",
|
|
235882
|
-
"description": "Specifies the number format.",
|
|
235883
|
-
"fieldName": "format",
|
|
235903
|
+
"description": "The locale used for date formatting.",
|
|
235904
|
+
"fieldName": "locale",
|
|
235884
235905
|
"inheritedFrom": {
|
|
235885
|
-
"name": "
|
|
235886
|
-
"module": "src/components/formatted-text/
|
|
235906
|
+
"name": "GdsFormattedDate",
|
|
235907
|
+
"module": "src/components/formatted-text/date/formatted-date.component.ts"
|
|
235887
235908
|
}
|
|
235888
235909
|
},
|
|
235889
235910
|
{
|
|
@@ -235927,10 +235948,10 @@
|
|
|
235927
235948
|
}
|
|
235928
235949
|
],
|
|
235929
235950
|
"superclass": {
|
|
235930
|
-
"name": "
|
|
235931
|
-
"module": "/src/components/formatted-text/
|
|
235951
|
+
"name": "GdsFormattedDate",
|
|
235952
|
+
"module": "/src/components/formatted-text/date/formatted-date.component"
|
|
235932
235953
|
},
|
|
235933
|
-
"tagName": "gds-sensitive-
|
|
235954
|
+
"tagName": "gds-sensitive-date",
|
|
235934
235955
|
"customElement": true,
|
|
235935
235956
|
"events": [
|
|
235936
235957
|
{
|
|
@@ -235969,17 +235990,17 @@
|
|
|
235969
235990
|
"exports": [
|
|
235970
235991
|
{
|
|
235971
235992
|
"kind": "js",
|
|
235972
|
-
"name": "
|
|
235993
|
+
"name": "GdsSensitiveDate",
|
|
235973
235994
|
"declaration": {
|
|
235974
|
-
"name": "
|
|
235975
|
-
"module": "src/components/sensitive/
|
|
235995
|
+
"name": "GdsSensitiveDate",
|
|
235996
|
+
"module": "src/components/sensitive/date/sensitive-date.component.ts"
|
|
235976
235997
|
}
|
|
235977
235998
|
}
|
|
235978
235999
|
]
|
|
235979
236000
|
},
|
|
235980
236001
|
{
|
|
235981
236002
|
"kind": "javascript-module",
|
|
235982
|
-
"path": "src/components/sensitive/
|
|
236003
|
+
"path": "src/components/sensitive/date/sensitive-date.stories.ts",
|
|
235983
236004
|
"declarations": [
|
|
235984
236005
|
{
|
|
235985
236006
|
"kind": "variable",
|
|
@@ -235987,8 +236008,8 @@
|
|
|
235987
236008
|
"type": {
|
|
235988
236009
|
"text": "Meta"
|
|
235989
236010
|
},
|
|
235990
|
-
"default": "{ title: 'Components/Sensitive/
|
|
235991
|
-
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/
|
|
236011
|
+
"default": "{ title: 'Components/Sensitive/Date', component: 'gds-sensitive-date', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-date'), format: { control: { type: 'select' }, options: Object.keys(dateTimeFormats), }, }, }",
|
|
236012
|
+
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/date)\n\nGdsSensitiveDate displays a formatted date and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
|
|
235992
236013
|
},
|
|
235993
236014
|
{
|
|
235994
236015
|
"kind": "variable",
|
|
@@ -235996,7 +236017,7 @@
|
|
|
235996
236017
|
"type": {
|
|
235997
236018
|
"text": "Story"
|
|
235998
236019
|
},
|
|
235999
|
-
"default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-
|
|
236020
|
+
"default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-date .hide=${args.hide} .value=${args.value} .locale=${args.locale} .format=${args.format} ></gds-sensitive-date>`, }"
|
|
236000
236021
|
}
|
|
236001
236022
|
],
|
|
236002
236023
|
"exports": [
|
|
@@ -236005,7 +236026,7 @@
|
|
|
236005
236026
|
"name": "default",
|
|
236006
236027
|
"declaration": {
|
|
236007
236028
|
"name": "meta",
|
|
236008
|
-
"module": "src/components/sensitive/
|
|
236029
|
+
"module": "src/components/sensitive/date/sensitive-date.stories.ts"
|
|
236009
236030
|
}
|
|
236010
236031
|
},
|
|
236011
236032
|
{
|
|
@@ -236013,22 +236034,22 @@
|
|
|
236013
236034
|
"name": "Default",
|
|
236014
236035
|
"declaration": {
|
|
236015
236036
|
"name": "Default",
|
|
236016
|
-
"module": "src/components/sensitive/
|
|
236037
|
+
"module": "src/components/sensitive/date/sensitive-date.stories.ts"
|
|
236017
236038
|
}
|
|
236018
236039
|
}
|
|
236019
236040
|
]
|
|
236020
236041
|
},
|
|
236021
236042
|
{
|
|
236022
236043
|
"kind": "javascript-module",
|
|
236023
|
-
"path": "src/components/sensitive/
|
|
236044
|
+
"path": "src/components/sensitive/date/sensitive-date.ts",
|
|
236024
236045
|
"declarations": [],
|
|
236025
236046
|
"exports": [
|
|
236026
236047
|
{
|
|
236027
236048
|
"kind": "js",
|
|
236028
|
-
"name": "
|
|
236049
|
+
"name": "GdsSensitiveDate",
|
|
236029
236050
|
"declaration": {
|
|
236030
|
-
"name": "
|
|
236031
|
-
"module": "src/components/sensitive/
|
|
236051
|
+
"name": "GdsSensitiveDate",
|
|
236052
|
+
"module": "src/components/sensitive/date/sensitive-date.ts"
|
|
236032
236053
|
}
|
|
236033
236054
|
}
|
|
236034
236055
|
]
|
|
@@ -236120,16 +236141,16 @@
|
|
|
236120
236141
|
},
|
|
236121
236142
|
{
|
|
236122
236143
|
"kind": "javascript-module",
|
|
236123
|
-
"path": "src/generated/react/
|
|
236144
|
+
"path": "src/generated/react/blur/index.ts",
|
|
236124
236145
|
"declarations": [
|
|
236125
236146
|
{
|
|
236126
236147
|
"kind": "function",
|
|
236127
|
-
"name": "
|
|
236148
|
+
"name": "GdsBlur",
|
|
236128
236149
|
"parameters": [
|
|
236129
236150
|
{
|
|
236130
236151
|
"name": "props",
|
|
236131
236152
|
"type": {
|
|
236132
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
236153
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<GdsBlurClass>>\n > & { ref?: React.Ref<GdsBlurClass> }"
|
|
236133
236154
|
}
|
|
236134
236155
|
}
|
|
236135
236156
|
]
|
|
@@ -236138,26 +236159,26 @@
|
|
|
236138
236159
|
"exports": [
|
|
236139
236160
|
{
|
|
236140
236161
|
"kind": "js",
|
|
236141
|
-
"name": "
|
|
236162
|
+
"name": "GdsBlur",
|
|
236142
236163
|
"declaration": {
|
|
236143
|
-
"name": "
|
|
236144
|
-
"module": "src/generated/react/
|
|
236164
|
+
"name": "GdsBlur",
|
|
236165
|
+
"module": "src/generated/react/blur/index.ts"
|
|
236145
236166
|
}
|
|
236146
236167
|
}
|
|
236147
236168
|
]
|
|
236148
236169
|
},
|
|
236149
236170
|
{
|
|
236150
236171
|
"kind": "javascript-module",
|
|
236151
|
-
"path": "src/generated/react/
|
|
236172
|
+
"path": "src/generated/react/breadcrumb/index.ts",
|
|
236152
236173
|
"declarations": [
|
|
236153
236174
|
{
|
|
236154
236175
|
"kind": "function",
|
|
236155
|
-
"name": "
|
|
236176
|
+
"name": "GdsBreadcrumb",
|
|
236156
236177
|
"parameters": [
|
|
236157
236178
|
{
|
|
236158
236179
|
"name": "props",
|
|
236159
236180
|
"type": {
|
|
236160
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
236181
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<GdsBreadcrumbClass>>\n > & { ref?: React.Ref<GdsBreadcrumbClass> }"
|
|
236161
236182
|
}
|
|
236162
236183
|
}
|
|
236163
236184
|
]
|
|
@@ -236166,10 +236187,10 @@
|
|
|
236166
236187
|
"exports": [
|
|
236167
236188
|
{
|
|
236168
236189
|
"kind": "js",
|
|
236169
|
-
"name": "
|
|
236190
|
+
"name": "GdsBreadcrumb",
|
|
236170
236191
|
"declaration": {
|
|
236171
|
-
"name": "
|
|
236172
|
-
"module": "src/generated/react/
|
|
236192
|
+
"name": "GdsBreadcrumb",
|
|
236193
|
+
"module": "src/generated/react/breadcrumb/index.ts"
|
|
236173
236194
|
}
|
|
236174
236195
|
}
|
|
236175
236196
|
]
|
|
@@ -236558,16 +236579,16 @@
|
|
|
236558
236579
|
},
|
|
236559
236580
|
{
|
|
236560
236581
|
"kind": "javascript-module",
|
|
236561
|
-
"path": "src/generated/react/
|
|
236582
|
+
"path": "src/generated/react/divider/index.ts",
|
|
236562
236583
|
"declarations": [
|
|
236563
236584
|
{
|
|
236564
236585
|
"kind": "function",
|
|
236565
|
-
"name": "
|
|
236586
|
+
"name": "GdsDivider",
|
|
236566
236587
|
"parameters": [
|
|
236567
236588
|
{
|
|
236568
236589
|
"name": "props",
|
|
236569
236590
|
"type": {
|
|
236570
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
236591
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<GdsDividerClass>>\n > & { ref?: React.Ref<GdsDividerClass> }"
|
|
236571
236592
|
}
|
|
236572
236593
|
}
|
|
236573
236594
|
]
|
|
@@ -236576,26 +236597,26 @@
|
|
|
236576
236597
|
"exports": [
|
|
236577
236598
|
{
|
|
236578
236599
|
"kind": "js",
|
|
236579
|
-
"name": "
|
|
236600
|
+
"name": "GdsDivider",
|
|
236580
236601
|
"declaration": {
|
|
236581
|
-
"name": "
|
|
236582
|
-
"module": "src/generated/react/
|
|
236602
|
+
"name": "GdsDivider",
|
|
236603
|
+
"module": "src/generated/react/divider/index.ts"
|
|
236583
236604
|
}
|
|
236584
236605
|
}
|
|
236585
236606
|
]
|
|
236586
236607
|
},
|
|
236587
236608
|
{
|
|
236588
236609
|
"kind": "javascript-module",
|
|
236589
|
-
"path": "src/generated/react/
|
|
236610
|
+
"path": "src/generated/react/div/index.ts",
|
|
236590
236611
|
"declarations": [
|
|
236591
236612
|
{
|
|
236592
236613
|
"kind": "function",
|
|
236593
|
-
"name": "
|
|
236614
|
+
"name": "GdsDiv",
|
|
236594
236615
|
"parameters": [
|
|
236595
236616
|
{
|
|
236596
236617
|
"name": "props",
|
|
236597
236618
|
"type": {
|
|
236598
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
236619
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<GdsDivClass>>\n > & { ref?: React.Ref<GdsDivClass> }"
|
|
236599
236620
|
}
|
|
236600
236621
|
}
|
|
236601
236622
|
]
|
|
@@ -236604,10 +236625,10 @@
|
|
|
236604
236625
|
"exports": [
|
|
236605
236626
|
{
|
|
236606
236627
|
"kind": "js",
|
|
236607
|
-
"name": "
|
|
236628
|
+
"name": "GdsDiv",
|
|
236608
236629
|
"declaration": {
|
|
236609
|
-
"name": "
|
|
236610
|
-
"module": "src/generated/react/
|
|
236630
|
+
"name": "GdsDiv",
|
|
236631
|
+
"module": "src/generated/react/div/index.ts"
|
|
236611
236632
|
}
|
|
236612
236633
|
}
|
|
236613
236634
|
]
|
|
@@ -237821,16 +237842,16 @@
|
|
|
237821
237842
|
},
|
|
237822
237843
|
{
|
|
237823
237844
|
"kind": "javascript-module",
|
|
237824
|
-
"path": "src/generated/react/icons/icon-arrow-
|
|
237845
|
+
"path": "src/generated/react/icons/icon-arrow-box-left/index.ts",
|
|
237825
237846
|
"declarations": [
|
|
237826
237847
|
{
|
|
237827
237848
|
"kind": "function",
|
|
237828
|
-
"name": "
|
|
237849
|
+
"name": "IconArrowBoxLeft",
|
|
237829
237850
|
"parameters": [
|
|
237830
237851
|
{
|
|
237831
237852
|
"name": "props",
|
|
237832
237853
|
"type": {
|
|
237833
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
237854
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconArrowBoxLeftClass>>\n > & { ref?: React.Ref<IconArrowBoxLeftClass> }"
|
|
237834
237855
|
}
|
|
237835
237856
|
}
|
|
237836
237857
|
]
|
|
@@ -237839,26 +237860,26 @@
|
|
|
237839
237860
|
"exports": [
|
|
237840
237861
|
{
|
|
237841
237862
|
"kind": "js",
|
|
237842
|
-
"name": "
|
|
237863
|
+
"name": "IconArrowBoxLeft",
|
|
237843
237864
|
"declaration": {
|
|
237844
|
-
"name": "
|
|
237845
|
-
"module": "src/generated/react/icons/icon-arrow-
|
|
237865
|
+
"name": "IconArrowBoxLeft",
|
|
237866
|
+
"module": "src/generated/react/icons/icon-arrow-box-left/index.ts"
|
|
237846
237867
|
}
|
|
237847
237868
|
}
|
|
237848
237869
|
]
|
|
237849
237870
|
},
|
|
237850
237871
|
{
|
|
237851
237872
|
"kind": "javascript-module",
|
|
237852
|
-
"path": "src/generated/react/icons/icon-arrow-
|
|
237873
|
+
"path": "src/generated/react/icons/icon-arrow-bottom-top/index.ts",
|
|
237853
237874
|
"declarations": [
|
|
237854
237875
|
{
|
|
237855
237876
|
"kind": "function",
|
|
237856
|
-
"name": "
|
|
237877
|
+
"name": "IconArrowBottomTop",
|
|
237857
237878
|
"parameters": [
|
|
237858
237879
|
{
|
|
237859
237880
|
"name": "props",
|
|
237860
237881
|
"type": {
|
|
237861
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
237882
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconArrowBottomTopClass>>\n > & { ref?: React.Ref<IconArrowBottomTopClass> }"
|
|
237862
237883
|
}
|
|
237863
237884
|
}
|
|
237864
237885
|
]
|
|
@@ -237867,26 +237888,26 @@
|
|
|
237867
237888
|
"exports": [
|
|
237868
237889
|
{
|
|
237869
237890
|
"kind": "js",
|
|
237870
|
-
"name": "
|
|
237891
|
+
"name": "IconArrowBottomTop",
|
|
237871
237892
|
"declaration": {
|
|
237872
|
-
"name": "
|
|
237873
|
-
"module": "src/generated/react/icons/icon-arrow-
|
|
237893
|
+
"name": "IconArrowBottomTop",
|
|
237894
|
+
"module": "src/generated/react/icons/icon-arrow-bottom-top/index.ts"
|
|
237874
237895
|
}
|
|
237875
237896
|
}
|
|
237876
237897
|
]
|
|
237877
237898
|
},
|
|
237878
237899
|
{
|
|
237879
237900
|
"kind": "javascript-module",
|
|
237880
|
-
"path": "src/generated/react/icons/icon-arrow-box-
|
|
237901
|
+
"path": "src/generated/react/icons/icon-arrow-box-left-alt/index.ts",
|
|
237881
237902
|
"declarations": [
|
|
237882
237903
|
{
|
|
237883
237904
|
"kind": "function",
|
|
237884
|
-
"name": "
|
|
237905
|
+
"name": "IconArrowBoxLeftAlt",
|
|
237885
237906
|
"parameters": [
|
|
237886
237907
|
{
|
|
237887
237908
|
"name": "props",
|
|
237888
237909
|
"type": {
|
|
237889
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
237910
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconArrowBoxLeftAltClass>>\n > & { ref?: React.Ref<IconArrowBoxLeftAltClass> }"
|
|
237890
237911
|
}
|
|
237891
237912
|
}
|
|
237892
237913
|
]
|
|
@@ -237895,26 +237916,26 @@
|
|
|
237895
237916
|
"exports": [
|
|
237896
237917
|
{
|
|
237897
237918
|
"kind": "js",
|
|
237898
|
-
"name": "
|
|
237919
|
+
"name": "IconArrowBoxLeftAlt",
|
|
237899
237920
|
"declaration": {
|
|
237900
|
-
"name": "
|
|
237901
|
-
"module": "src/generated/react/icons/icon-arrow-box-
|
|
237921
|
+
"name": "IconArrowBoxLeftAlt",
|
|
237922
|
+
"module": "src/generated/react/icons/icon-arrow-box-left-alt/index.ts"
|
|
237902
237923
|
}
|
|
237903
237924
|
}
|
|
237904
237925
|
]
|
|
237905
237926
|
},
|
|
237906
237927
|
{
|
|
237907
237928
|
"kind": "javascript-module",
|
|
237908
|
-
"path": "src/generated/react/icons/icon-arrow-box-
|
|
237929
|
+
"path": "src/generated/react/icons/icon-arrow-box-right/index.ts",
|
|
237909
237930
|
"declarations": [
|
|
237910
237931
|
{
|
|
237911
237932
|
"kind": "function",
|
|
237912
|
-
"name": "
|
|
237933
|
+
"name": "IconArrowBoxRight",
|
|
237913
237934
|
"parameters": [
|
|
237914
237935
|
{
|
|
237915
237936
|
"name": "props",
|
|
237916
237937
|
"type": {
|
|
237917
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
237938
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconArrowBoxRightClass>>\n > & { ref?: React.Ref<IconArrowBoxRightClass> }"
|
|
237918
237939
|
}
|
|
237919
237940
|
}
|
|
237920
237941
|
]
|
|
@@ -237923,10 +237944,10 @@
|
|
|
237923
237944
|
"exports": [
|
|
237924
237945
|
{
|
|
237925
237946
|
"kind": "js",
|
|
237926
|
-
"name": "
|
|
237947
|
+
"name": "IconArrowBoxRight",
|
|
237927
237948
|
"declaration": {
|
|
237928
|
-
"name": "
|
|
237929
|
-
"module": "src/generated/react/icons/icon-arrow-box-
|
|
237949
|
+
"name": "IconArrowBoxRight",
|
|
237950
|
+
"module": "src/generated/react/icons/icon-arrow-box-right/index.ts"
|
|
237930
237951
|
}
|
|
237931
237952
|
}
|
|
237932
237953
|
]
|
|
@@ -239193,16 +239214,16 @@
|
|
|
239193
239214
|
},
|
|
239194
239215
|
{
|
|
239195
239216
|
"kind": "javascript-module",
|
|
239196
|
-
"path": "src/generated/react/icons/icon-brand-
|
|
239217
|
+
"path": "src/generated/react/icons/icon-brand-apple-music/index.ts",
|
|
239197
239218
|
"declarations": [
|
|
239198
239219
|
{
|
|
239199
239220
|
"kind": "function",
|
|
239200
|
-
"name": "
|
|
239221
|
+
"name": "IconBrandAppleMusic",
|
|
239201
239222
|
"parameters": [
|
|
239202
239223
|
{
|
|
239203
239224
|
"name": "props",
|
|
239204
239225
|
"type": {
|
|
239205
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
239226
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandAppleMusicClass>>\n > & { ref?: React.Ref<IconBrandAppleMusicClass> }"
|
|
239206
239227
|
}
|
|
239207
239228
|
}
|
|
239208
239229
|
]
|
|
@@ -239211,26 +239232,26 @@
|
|
|
239211
239232
|
"exports": [
|
|
239212
239233
|
{
|
|
239213
239234
|
"kind": "js",
|
|
239214
|
-
"name": "
|
|
239235
|
+
"name": "IconBrandAppleMusic",
|
|
239215
239236
|
"declaration": {
|
|
239216
|
-
"name": "
|
|
239217
|
-
"module": "src/generated/react/icons/icon-brand-
|
|
239237
|
+
"name": "IconBrandAppleMusic",
|
|
239238
|
+
"module": "src/generated/react/icons/icon-brand-apple-music/index.ts"
|
|
239218
239239
|
}
|
|
239219
239240
|
}
|
|
239220
239241
|
]
|
|
239221
239242
|
},
|
|
239222
239243
|
{
|
|
239223
239244
|
"kind": "javascript-module",
|
|
239224
|
-
"path": "src/generated/react/icons/icon-brand-
|
|
239245
|
+
"path": "src/generated/react/icons/icon-brand-bankid/index.ts",
|
|
239225
239246
|
"declarations": [
|
|
239226
239247
|
{
|
|
239227
239248
|
"kind": "function",
|
|
239228
|
-
"name": "
|
|
239249
|
+
"name": "IconBrandBankid",
|
|
239229
239250
|
"parameters": [
|
|
239230
239251
|
{
|
|
239231
239252
|
"name": "props",
|
|
239232
239253
|
"type": {
|
|
239233
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
239254
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandBankidClass>>\n > & { ref?: React.Ref<IconBrandBankidClass> }"
|
|
239234
239255
|
}
|
|
239235
239256
|
}
|
|
239236
239257
|
]
|
|
@@ -239239,10 +239260,10 @@
|
|
|
239239
239260
|
"exports": [
|
|
239240
239261
|
{
|
|
239241
239262
|
"kind": "js",
|
|
239242
|
-
"name": "
|
|
239263
|
+
"name": "IconBrandBankid",
|
|
239243
239264
|
"declaration": {
|
|
239244
|
-
"name": "
|
|
239245
|
-
"module": "src/generated/react/icons/icon-brand-
|
|
239265
|
+
"name": "IconBrandBankid",
|
|
239266
|
+
"module": "src/generated/react/icons/icon-brand-bankid/index.ts"
|
|
239246
239267
|
}
|
|
239247
239268
|
}
|
|
239248
239269
|
]
|
|
@@ -239557,16 +239578,16 @@
|
|
|
239557
239578
|
},
|
|
239558
239579
|
{
|
|
239559
239580
|
"kind": "javascript-module",
|
|
239560
|
-
"path": "src/generated/react/icons/icon-brand-
|
|
239581
|
+
"path": "src/generated/react/icons/icon-brand-storybook/index.ts",
|
|
239561
239582
|
"declarations": [
|
|
239562
239583
|
{
|
|
239563
239584
|
"kind": "function",
|
|
239564
|
-
"name": "
|
|
239585
|
+
"name": "IconBrandStorybook",
|
|
239565
239586
|
"parameters": [
|
|
239566
239587
|
{
|
|
239567
239588
|
"name": "props",
|
|
239568
239589
|
"type": {
|
|
239569
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
239590
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandStorybookClass>>\n > & { ref?: React.Ref<IconBrandStorybookClass> }"
|
|
239570
239591
|
}
|
|
239571
239592
|
}
|
|
239572
239593
|
]
|
|
@@ -239575,26 +239596,26 @@
|
|
|
239575
239596
|
"exports": [
|
|
239576
239597
|
{
|
|
239577
239598
|
"kind": "js",
|
|
239578
|
-
"name": "
|
|
239599
|
+
"name": "IconBrandStorybook",
|
|
239579
239600
|
"declaration": {
|
|
239580
|
-
"name": "
|
|
239581
|
-
"module": "src/generated/react/icons/icon-brand-
|
|
239601
|
+
"name": "IconBrandStorybook",
|
|
239602
|
+
"module": "src/generated/react/icons/icon-brand-storybook/index.ts"
|
|
239582
239603
|
}
|
|
239583
239604
|
}
|
|
239584
239605
|
]
|
|
239585
239606
|
},
|
|
239586
239607
|
{
|
|
239587
239608
|
"kind": "javascript-module",
|
|
239588
|
-
"path": "src/generated/react/icons/icon-brand-
|
|
239609
|
+
"path": "src/generated/react/icons/icon-brand-spotify/index.ts",
|
|
239589
239610
|
"declarations": [
|
|
239590
239611
|
{
|
|
239591
239612
|
"kind": "function",
|
|
239592
|
-
"name": "
|
|
239613
|
+
"name": "IconBrandSpotify",
|
|
239593
239614
|
"parameters": [
|
|
239594
239615
|
{
|
|
239595
239616
|
"name": "props",
|
|
239596
239617
|
"type": {
|
|
239597
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
239618
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandSpotifyClass>>\n > & { ref?: React.Ref<IconBrandSpotifyClass> }"
|
|
239598
239619
|
}
|
|
239599
239620
|
}
|
|
239600
239621
|
]
|
|
@@ -239603,10 +239624,10 @@
|
|
|
239603
239624
|
"exports": [
|
|
239604
239625
|
{
|
|
239605
239626
|
"kind": "js",
|
|
239606
|
-
"name": "
|
|
239627
|
+
"name": "IconBrandSpotify",
|
|
239607
239628
|
"declaration": {
|
|
239608
|
-
"name": "
|
|
239609
|
-
"module": "src/generated/react/icons/icon-brand-
|
|
239629
|
+
"name": "IconBrandSpotify",
|
|
239630
|
+
"module": "src/generated/react/icons/icon-brand-spotify/index.ts"
|
|
239610
239631
|
}
|
|
239611
239632
|
}
|
|
239612
239633
|
]
|
|
@@ -245241,16 +245262,16 @@
|
|
|
245241
245262
|
},
|
|
245242
245263
|
{
|
|
245243
245264
|
"kind": "javascript-module",
|
|
245244
|
-
"path": "src/generated/react/icons/icon-
|
|
245265
|
+
"path": "src/generated/react/icons/icon-school/index.ts",
|
|
245245
245266
|
"declarations": [
|
|
245246
245267
|
{
|
|
245247
245268
|
"kind": "function",
|
|
245248
|
-
"name": "
|
|
245269
|
+
"name": "IconSchool",
|
|
245249
245270
|
"parameters": [
|
|
245250
245271
|
{
|
|
245251
245272
|
"name": "props",
|
|
245252
245273
|
"type": {
|
|
245253
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
245274
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconSchoolClass>>\n > & { ref?: React.Ref<IconSchoolClass> }"
|
|
245254
245275
|
}
|
|
245255
245276
|
}
|
|
245256
245277
|
]
|
|
@@ -245259,26 +245280,26 @@
|
|
|
245259
245280
|
"exports": [
|
|
245260
245281
|
{
|
|
245261
245282
|
"kind": "js",
|
|
245262
|
-
"name": "
|
|
245283
|
+
"name": "IconSchool",
|
|
245263
245284
|
"declaration": {
|
|
245264
|
-
"name": "
|
|
245265
|
-
"module": "src/generated/react/icons/icon-
|
|
245285
|
+
"name": "IconSchool",
|
|
245286
|
+
"module": "src/generated/react/icons/icon-school/index.ts"
|
|
245266
245287
|
}
|
|
245267
245288
|
}
|
|
245268
245289
|
]
|
|
245269
245290
|
},
|
|
245270
245291
|
{
|
|
245271
245292
|
"kind": "javascript-module",
|
|
245272
|
-
"path": "src/generated/react/icons/icon-
|
|
245293
|
+
"path": "src/generated/react/icons/icon-safari/index.ts",
|
|
245273
245294
|
"declarations": [
|
|
245274
245295
|
{
|
|
245275
245296
|
"kind": "function",
|
|
245276
|
-
"name": "
|
|
245297
|
+
"name": "IconSafari",
|
|
245277
245298
|
"parameters": [
|
|
245278
245299
|
{
|
|
245279
245300
|
"name": "props",
|
|
245280
245301
|
"type": {
|
|
245281
|
-
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<
|
|
245302
|
+
"text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconSafariClass>>\n > & { ref?: React.Ref<IconSafariClass> }"
|
|
245282
245303
|
}
|
|
245283
245304
|
}
|
|
245284
245305
|
]
|
|
@@ -245287,10 +245308,10 @@
|
|
|
245287
245308
|
"exports": [
|
|
245288
245309
|
{
|
|
245289
245310
|
"kind": "js",
|
|
245290
|
-
"name": "
|
|
245311
|
+
"name": "IconSafari",
|
|
245291
245312
|
"declaration": {
|
|
245292
|
-
"name": "
|
|
245293
|
-
"module": "src/generated/react/icons/icon-
|
|
245313
|
+
"name": "IconSafari",
|
|
245314
|
+
"module": "src/generated/react/icons/icon-safari/index.ts"
|
|
245294
245315
|
}
|
|
245295
245316
|
}
|
|
245296
245317
|
]
|