@sebgroup/green-core 3.13.0 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/badge/badge.styles.js +1 -1
- package/components/button/button.styles.js +1 -1
- package/components/button/button.trans.styles.scss.js +1 -1
- package/components/context-menu/context-menu.trans.styles.scss.js +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/popover/popover.trans.styles.scss.js +1 -1
- package/components/tabs/index.d.ts +3 -0
- package/components/tabs/index.js +3 -0
- package/components/tabs/tab/index.d.ts +1 -0
- package/components/tabs/tab/index.js +1 -0
- package/components/tabs/tab/tab.component.d.ts +49 -0
- package/components/tabs/tab/tab.component.js +120 -0
- package/components/tabs/tab/tab.d.ts +2 -0
- package/components/tabs/tab/tab.js +6 -0
- package/components/tabs/tab/tab.styles.d.ts +2 -0
- package/components/tabs/tab/tab.styles.js +69 -0
- package/components/tabs/tab-panel/index.d.ts +1 -0
- package/components/tabs/tab-panel/index.js +1 -0
- package/components/tabs/tab-panel/tab-panel.component.d.ts +33 -0
- package/components/tabs/tab-panel/tab-panel.component.js +73 -0
- package/components/tabs/tab-panel/tab-panel.d.ts +2 -0
- package/components/tabs/tab-panel/tab-panel.js +6 -0
- package/components/tabs/tab-panel/tab-panel.styles.d.ts +2 -0
- package/components/tabs/tab-panel/tab-panel.styles.js +22 -0
- package/components/tabs/tabs.component.d.ts +41 -0
- package/components/tabs/tabs.component.js +439 -0
- package/components/tabs/tabs.d.ts +2 -0
- package/components/tabs/tabs.js +6 -0
- package/components/tabs/tabs.styles.d.ts +2 -0
- package/components/tabs/tabs.styles.js +115 -0
- package/custom-elements.json +27235 -25714
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +39 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/list-item-pattern-01/guidelines.md +1 -0
- package/generated/mcp/list-item-pattern-01/index.json +1 -0
- package/generated/mcp/tab/angular.md +25 -0
- package/generated/mcp/tab/api.md +32 -0
- package/generated/mcp/tab/index.json +8 -0
- package/generated/mcp/tab/react.md +25 -0
- package/generated/mcp/tab-panel/angular.md +17 -0
- package/generated/mcp/tab-panel/api.md +20 -0
- package/generated/mcp/tab-panel/index.json +8 -0
- package/generated/mcp/tab-panel/react.md +17 -0
- package/generated/mcp/tabs/angular.md +26 -0
- package/generated/mcp/tabs/api.md +49 -0
- package/generated/mcp/tabs/guidelines.md +71 -0
- package/generated/mcp/tabs/index.json +9 -0
- package/generated/mcp/tabs/react.md +26 -0
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/alert/index.d.ts +118 -110
- package/generated/react/avatar/index.d.ts +116 -108
- package/generated/react/avatar-group/index.d.ts +114 -106
- package/generated/react/backdrop/index.d.ts +115 -107
- package/generated/react/badge/index.d.ts +118 -110
- package/generated/react/blur/index.d.ts +114 -106
- package/generated/react/breadcrumb/index.d.ts +118 -110
- package/generated/react/breadcrumbs/index.d.ts +115 -107
- package/generated/react/button/index.d.ts +127 -119
- package/generated/react/calendar/index.d.ts +121 -113
- package/generated/react/card/index.d.ts +114 -106
- package/generated/react/card-linked/index.d.ts +116 -108
- package/generated/react/card-pattern-01/index.d.ts +124 -116
- package/generated/react/checkbox/index.d.ts +127 -119
- package/generated/react/checkbox-group/index.d.ts +128 -120
- package/generated/react/coachmark/index.d.ts +117 -109
- package/generated/react/context-menu/index.d.ts +118 -110
- package/generated/react/datepicker/index.d.ts +136 -128
- package/generated/react/details/index.d.ts +117 -109
- package/generated/react/dialog/index.d.ts +116 -108
- package/generated/react/div/index.d.ts +114 -106
- package/generated/react/divider/index.d.ts +114 -106
- package/generated/react/dropdown/index.d.ts +139 -131
- package/generated/react/fab/index.d.ts +127 -119
- package/generated/react/filter-chip/index.d.ts +115 -107
- package/generated/react/filter-chips/index.d.ts +127 -119
- package/generated/react/flex/index.d.ts +114 -106
- package/generated/react/form-summary/index.d.ts +117 -109
- package/generated/react/formatted-account/index.d.ts +117 -109
- package/generated/react/formatted-date/index.d.ts +116 -108
- package/generated/react/formatted-number/index.d.ts +117 -109
- package/generated/react/grid/index.d.ts +114 -106
- package/generated/react/grouped-list/index.d.ts +115 -107
- package/generated/react/icons/icon-ai/index.d.ts +116 -108
- package/generated/react/icons/icon-airplane-up/index.d.ts +116 -108
- package/generated/react/icons/icon-archive/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-box-left/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-box-left-alt/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-box-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-down/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-inbox/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-left/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-left-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-right-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-share-left/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-share-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-split/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-up/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-wall-down/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-wall-left/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-wall-right/index.d.ts +116 -108
- package/generated/react/icons/icon-arrow-wall-up/index.d.ts +116 -108
- package/generated/react/icons/icon-arrows-repeat-right/index.d.ts +116 -108
- package/generated/react/icons/icon-asterisk/index.d.ts +116 -108
- package/generated/react/icons/icon-at/index.d.ts +116 -108
- package/generated/react/icons/icon-back/index.d.ts +116 -108
- package/generated/react/icons/icon-backward/index.d.ts +116 -108
- package/generated/react/icons/icon-bag/index.d.ts +116 -108
- package/generated/react/icons/icon-bank/index.d.ts +116 -108
- package/generated/react/icons/icon-banknote/index.d.ts +116 -108
- package/generated/react/icons/icon-banknote-2/index.d.ts +116 -108
- package/generated/react/icons/icon-barcode/index.d.ts +116 -108
- package/generated/react/icons/icon-bars-three/index.d.ts +116 -108
- package/generated/react/icons/icon-bars-two/index.d.ts +116 -108
- package/generated/react/icons/icon-basket/index.d.ts +116 -108
- package/generated/react/icons/icon-battery-loading/index.d.ts +116 -108
- package/generated/react/icons/icon-bell/index.d.ts +116 -108
- package/generated/react/icons/icon-block/index.d.ts +116 -108
- package/generated/react/icons/icon-book/index.d.ts +116 -108
- package/generated/react/icons/icon-bookmark/index.d.ts +116 -108
- package/generated/react/icons/icon-bookmark-check/index.d.ts +116 -108
- package/generated/react/icons/icon-bookmark-delete/index.d.ts +116 -108
- package/generated/react/icons/icon-bookmark-plus/index.d.ts +116 -108
- package/generated/react/icons/icon-bookmark-remove/index.d.ts +116 -108
- package/generated/react/icons/icon-books/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-app-store/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-apple-music/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-bankid/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-chrome/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-facebook/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-figma/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-firefox/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-github/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-green/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-instagram/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-linkedin/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-play-store/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-rss-feed/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-seb/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-spotify/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-storybook/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-swish-word/index.d.ts +116 -108
- package/generated/react/icons/icon-brand-x/index.d.ts +116 -108
- package/generated/react/icons/icon-brush/index.d.ts +116 -108
- package/generated/react/icons/icon-bubble-annotation/index.d.ts +116 -108
- package/generated/react/icons/icon-bubbles/index.d.ts +116 -108
- package/generated/react/icons/icon-buildings/index.d.ts +116 -108
- package/generated/react/icons/icon-bullet-list/index.d.ts +116 -108
- package/generated/react/icons/icon-calculator/index.d.ts +116 -108
- package/generated/react/icons/icon-calendar/index.d.ts +116 -108
- package/generated/react/icons/icon-calendar-check/index.d.ts +116 -108
- package/generated/react/icons/icon-calendar-repeat/index.d.ts +116 -108
- package/generated/react/icons/icon-calender-add/index.d.ts +116 -108
- package/generated/react/icons/icon-call/index.d.ts +116 -108
- package/generated/react/icons/icon-car/index.d.ts +116 -108
- package/generated/react/icons/icon-carussel/index.d.ts +116 -108
- package/generated/react/icons/icon-chain-link/index.d.ts +116 -108
- package/generated/react/icons/icon-chain-link-broken/index.d.ts +116 -108
- package/generated/react/icons/icon-chart-two/index.d.ts +116 -108
- package/generated/react/icons/icon-checklist/index.d.ts +116 -108
- package/generated/react/icons/icon-checkmark/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-bottom/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-double-down/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-double-left/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-double-right/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-double-up/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-down-small/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-grabber-vertical-reversed/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-left/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-left-small/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-right/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-right-small/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-top/index.d.ts +116 -108
- package/generated/react/icons/icon-chevron-top-small/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-ban/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-check/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-dots/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-info/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-minus/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-plus/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-questionmark/index.d.ts +116 -108
- package/generated/react/icons/icon-circle-x/index.d.ts +116 -108
- package/generated/react/icons/icon-circles-three/index.d.ts +116 -108
- package/generated/react/icons/icon-clock/index.d.ts +116 -108
- package/generated/react/icons/icon-cloud-download/index.d.ts +116 -108
- package/generated/react/icons/icon-cloud-upload/index.d.ts +116 -108
- package/generated/react/icons/icon-cloudy-sun/index.d.ts +116 -108
- package/generated/react/icons/icon-code/index.d.ts +116 -108
- package/generated/react/icons/icon-code-brackets/index.d.ts +116 -108
- package/generated/react/icons/icon-compass-round/index.d.ts +116 -108
- package/generated/react/icons/icon-cookies/index.d.ts +116 -108
- package/generated/react/icons/icon-copy/index.d.ts +116 -108
- package/generated/react/icons/icon-credit-card/index.d.ts +116 -108
- package/generated/react/icons/icon-credit-card-add/index.d.ts +116 -108
- package/generated/react/icons/icon-cross-large/index.d.ts +116 -108
- package/generated/react/icons/icon-cross-small/index.d.ts +116 -108
- package/generated/react/icons/icon-cup-hot/index.d.ts +116 -108
- package/generated/react/icons/icon-cursor/index.d.ts +116 -108
- package/generated/react/icons/icon-details/index.d.ts +115 -107
- package/generated/react/icons/icon-devices/index.d.ts +116 -108
- package/generated/react/icons/icon-direction/index.d.ts +116 -108
- package/generated/react/icons/icon-dollar/index.d.ts +116 -108
- package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +116 -108
- package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +116 -108
- package/generated/react/icons/icon-dot-grid-three/index.d.ts +116 -108
- package/generated/react/icons/icon-dot-grid-two/index.d.ts +116 -108
- package/generated/react/icons/icon-email/index.d.ts +116 -108
- package/generated/react/icons/icon-emoji-angry/index.d.ts +116 -108
- package/generated/react/icons/icon-emoji-neutral/index.d.ts +116 -108
- package/generated/react/icons/icon-emoji-sad/index.d.ts +116 -108
- package/generated/react/icons/icon-emoji-smile/index.d.ts +116 -108
- package/generated/react/icons/icon-emoji-smiley/index.d.ts +116 -108
- package/generated/react/icons/icon-euro/index.d.ts +116 -108
- package/generated/react/icons/icon-expand/index.d.ts +116 -108
- package/generated/react/icons/icon-eye-open/index.d.ts +116 -108
- package/generated/react/icons/icon-eye-slash/index.d.ts +116 -108
- package/generated/react/icons/icon-fashion/index.d.ts +116 -108
- package/generated/react/icons/icon-fast-forward/index.d.ts +116 -108
- package/generated/react/icons/icon-file-bend/index.d.ts +116 -108
- package/generated/react/icons/icon-file-chart/index.d.ts +116 -108
- package/generated/react/icons/icon-file-text/index.d.ts +116 -108
- package/generated/react/icons/icon-files/index.d.ts +116 -108
- package/generated/react/icons/icon-filter/index.d.ts +116 -108
- package/generated/react/icons/icon-flag/index.d.ts +116 -108
- package/generated/react/icons/icon-floppy-disk/index.d.ts +116 -108
- package/generated/react/icons/icon-focus/index.d.ts +116 -108
- package/generated/react/icons/icon-folder/index.d.ts +116 -108
- package/generated/react/icons/icon-folder-add-right/index.d.ts +116 -108
- package/generated/react/icons/icon-fullscreen/index.d.ts +116 -108
- package/generated/react/icons/icon-gift/index.d.ts +116 -108
- package/generated/react/icons/icon-globus/index.d.ts +116 -108
- package/generated/react/icons/icon-graduate-cap/index.d.ts +116 -108
- package/generated/react/icons/icon-green-power/index.d.ts +116 -108
- package/generated/react/icons/icon-group/index.d.ts +116 -108
- package/generated/react/icons/icon-growth/index.d.ts +116 -108
- package/generated/react/icons/icon-headphones/index.d.ts +116 -108
- package/generated/react/icons/icon-heart/index.d.ts +116 -108
- package/generated/react/icons/icon-heart-beat/index.d.ts +116 -108
- package/generated/react/icons/icon-history/index.d.ts +116 -108
- package/generated/react/icons/icon-home-energy-one/index.d.ts +116 -108
- package/generated/react/icons/icon-home-energy-two/index.d.ts +116 -108
- package/generated/react/icons/icon-home-open/index.d.ts +116 -108
- package/generated/react/icons/icon-home-roof/index.d.ts +116 -108
- package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +116 -108
- package/generated/react/icons/icon-hourglass/index.d.ts +116 -108
- package/generated/react/icons/icon-images/index.d.ts +116 -108
- package/generated/react/icons/icon-inbox-empty/index.d.ts +116 -108
- package/generated/react/icons/icon-industry/index.d.ts +116 -108
- package/generated/react/icons/icon-jpg/index.d.ts +116 -108
- package/generated/react/icons/icon-key/index.d.ts +116 -108
- package/generated/react/icons/icon-knife-spoon/index.d.ts +116 -108
- package/generated/react/icons/icon-lab/index.d.ts +116 -108
- package/generated/react/icons/icon-law/index.d.ts +116 -108
- package/generated/react/icons/icon-leisure/index.d.ts +116 -108
- package/generated/react/icons/icon-light-bulb-simple/index.d.ts +116 -108
- package/generated/react/icons/icon-lightning/index.d.ts +116 -108
- package/generated/react/icons/icon-line-chart-four/index.d.ts +116 -108
- package/generated/react/icons/icon-line-chart-one/index.d.ts +116 -108
- package/generated/react/icons/icon-line-chart-three/index.d.ts +116 -108
- package/generated/react/icons/icon-line-chart-two/index.d.ts +116 -108
- package/generated/react/icons/icon-lock/index.d.ts +116 -108
- package/generated/react/icons/icon-macbook-air/index.d.ts +116 -108
- package/generated/react/icons/icon-magnifying-glass/index.d.ts +116 -108
- package/generated/react/icons/icon-map-pin/index.d.ts +116 -108
- package/generated/react/icons/icon-megaphone/index.d.ts +116 -108
- package/generated/react/icons/icon-menu-sidebar/index.d.ts +116 -108
- package/generated/react/icons/icon-mic-off/index.d.ts +116 -108
- package/generated/react/icons/icon-mic-on/index.d.ts +116 -108
- package/generated/react/icons/icon-minimize/index.d.ts +116 -108
- package/generated/react/icons/icon-minus-large/index.d.ts +116 -108
- package/generated/react/icons/icon-minus-small/index.d.ts +116 -108
- package/generated/react/icons/icon-money-hand/index.d.ts +116 -108
- package/generated/react/icons/icon-moneybag/index.d.ts +116 -108
- package/generated/react/icons/icon-moon/index.d.ts +116 -108
- package/generated/react/icons/icon-mute/index.d.ts +116 -108
- package/generated/react/icons/icon-newspaper/index.d.ts +116 -108
- package/generated/react/icons/icon-office/index.d.ts +116 -108
- package/generated/react/icons/icon-page-add/index.d.ts +116 -108
- package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +116 -108
- package/generated/react/icons/icon-paperclip/index.d.ts +116 -108
- package/generated/react/icons/icon-pause/index.d.ts +116 -108
- package/generated/react/icons/icon-pdf/index.d.ts +116 -108
- package/generated/react/icons/icon-pencil-sign/index.d.ts +116 -108
- package/generated/react/icons/icon-pencil-sparkle/index.d.ts +116 -108
- package/generated/react/icons/icon-pencil-wave/index.d.ts +116 -108
- package/generated/react/icons/icon-pension/index.d.ts +116 -108
- package/generated/react/icons/icon-people/index.d.ts +116 -108
- package/generated/react/icons/icon-people-a11y/index.d.ts +116 -108
- package/generated/react/icons/icon-people-add/index.d.ts +116 -108
- package/generated/react/icons/icon-people-added/index.d.ts +116 -108
- package/generated/react/icons/icon-people-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-people-copy/index.d.ts +116 -108
- package/generated/react/icons/icon-people-profile/index.d.ts +116 -108
- package/generated/react/icons/icon-people-remove/index.d.ts +116 -108
- package/generated/react/icons/icon-percent/index.d.ts +116 -108
- package/generated/react/icons/icon-phone/index.d.ts +116 -108
- package/generated/react/icons/icon-pie-chart/index.d.ts +116 -108
- package/generated/react/icons/icon-piggy-bank/index.d.ts +116 -108
- package/generated/react/icons/icon-pin/index.d.ts +116 -108
- package/generated/react/icons/icon-pinch/index.d.ts +116 -108
- package/generated/react/icons/icon-play/index.d.ts +116 -108
- package/generated/react/icons/icon-play-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-plus-large/index.d.ts +116 -108
- package/generated/react/icons/icon-plus-small/index.d.ts +116 -108
- package/generated/react/icons/icon-png/index.d.ts +116 -108
- package/generated/react/icons/icon-poop/index.d.ts +116 -108
- package/generated/react/icons/icon-postcard/index.d.ts +116 -108
- package/generated/react/icons/icon-pound/index.d.ts +116 -108
- package/generated/react/icons/icon-power/index.d.ts +116 -108
- package/generated/react/icons/icon-power-plant/index.d.ts +116 -108
- package/generated/react/icons/icon-printer/index.d.ts +116 -108
- package/generated/react/icons/icon-push/index.d.ts +116 -108
- package/generated/react/icons/icon-qr-code/index.d.ts +116 -108
- package/generated/react/icons/icon-rainy/index.d.ts +116 -108
- package/generated/react/icons/icon-raising-hand/index.d.ts +116 -108
- package/generated/react/icons/icon-reading-list/index.d.ts +116 -108
- package/generated/react/icons/icon-receipt-bill/index.d.ts +116 -108
- package/generated/react/icons/icon-receiption-bell/index.d.ts +116 -108
- package/generated/react/icons/icon-record/index.d.ts +116 -108
- package/generated/react/icons/icon-refund/index.d.ts +116 -108
- package/generated/react/icons/icon-robot/index.d.ts +116 -108
- package/generated/react/icons/icon-rocket/index.d.ts +116 -108
- package/generated/react/icons/icon-run-shortcut/index.d.ts +116 -108
- package/generated/react/icons/icon-safari/index.d.ts +116 -108
- package/generated/react/icons/icon-school/index.d.ts +116 -108
- package/generated/react/icons/icon-scissors/index.d.ts +116 -108
- package/generated/react/icons/icon-search-menu/index.d.ts +116 -108
- package/generated/react/icons/icon-settings-gear/index.d.ts +116 -108
- package/generated/react/icons/icon-settings-slider-hor/index.d.ts +116 -108
- package/generated/react/icons/icon-settings-slider-ver/index.d.ts +116 -108
- package/generated/react/icons/icon-shapes/index.d.ts +116 -108
- package/generated/react/icons/icon-share/index.d.ts +116 -108
- package/generated/react/icons/icon-shield/index.d.ts +116 -108
- package/generated/react/icons/icon-shield-checked/index.d.ts +116 -108
- package/generated/react/icons/icon-shield-crossed/index.d.ts +116 -108
- package/generated/react/icons/icon-shopping-bag/index.d.ts +116 -108
- package/generated/react/icons/icon-signature/index.d.ts +116 -108
- package/generated/react/icons/icon-smartwatch/index.d.ts +116 -108
- package/generated/react/icons/icon-solar/index.d.ts +116 -108
- package/generated/react/icons/icon-sort/index.d.ts +116 -108
- package/generated/react/icons/icon-sort-ascending/index.d.ts +116 -108
- package/generated/react/icons/icon-sort-descending/index.d.ts +116 -108
- package/generated/react/icons/icon-sort-down/index.d.ts +116 -108
- package/generated/react/icons/icon-sort-up/index.d.ts +116 -108
- package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +116 -108
- package/generated/react/icons/icon-square-behind-square/index.d.ts +116 -108
- package/generated/react/icons/icon-square-grid-circle/index.d.ts +116 -108
- package/generated/react/icons/icon-square-placeholder/index.d.ts +116 -108
- package/generated/react/icons/icon-star/index.d.ts +116 -108
- package/generated/react/icons/icon-store/index.d.ts +116 -108
- package/generated/react/icons/icon-sun/index.d.ts +116 -108
- package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +116 -108
- package/generated/react/icons/icon-tag/index.d.ts +116 -108
- package/generated/react/icons/icon-target-arrow/index.d.ts +116 -108
- package/generated/react/icons/icon-television/index.d.ts +116 -108
- package/generated/react/icons/icon-tennis/index.d.ts +116 -108
- package/generated/react/icons/icon-text-edit/index.d.ts +116 -108
- package/generated/react/icons/icon-thermostat/index.d.ts +116 -108
- package/generated/react/icons/icon-thumbs-down/index.d.ts +116 -108
- package/generated/react/icons/icon-thumbs-up/index.d.ts +116 -108
- package/generated/react/icons/icon-ticket/index.d.ts +116 -108
- package/generated/react/icons/icon-trading-view-candles/index.d.ts +116 -108
- package/generated/react/icons/icon-trash-can/index.d.ts +116 -108
- package/generated/react/icons/icon-tree/index.d.ts +116 -108
- package/generated/react/icons/icon-trending-five/index.d.ts +116 -108
- package/generated/react/icons/icon-trending-four/index.d.ts +116 -108
- package/generated/react/icons/icon-trending-one/index.d.ts +116 -108
- package/generated/react/icons/icon-trending-three/index.d.ts +116 -108
- package/generated/react/icons/icon-trending-two/index.d.ts +116 -108
- package/generated/react/icons/icon-triangle-exclamation/index.d.ts +116 -108
- package/generated/react/icons/icon-truck/index.d.ts +116 -108
- package/generated/react/icons/icon-umbrella-security/index.d.ts +116 -108
- package/generated/react/icons/icon-unlocked/index.d.ts +116 -108
- package/generated/react/icons/icon-volume-full/index.d.ts +116 -108
- package/generated/react/icons/icon-volume-half/index.d.ts +116 -108
- package/generated/react/icons/icon-volume-off/index.d.ts +116 -108
- package/generated/react/icons/icon-wallet/index.d.ts +116 -108
- package/generated/react/icons/icon-warning-sign/index.d.ts +116 -108
- package/generated/react/icons/icon-wifi-full/index.d.ts +116 -108
- package/generated/react/icons/icon-youtube/index.d.ts +116 -108
- package/generated/react/icons/icon-zap/index.d.ts +116 -108
- package/generated/react/icons/icon-zoom-in/index.d.ts +116 -108
- package/generated/react/icons/icon-zoom-out/index.d.ts +116 -108
- package/generated/react/img/index.d.ts +116 -108
- package/generated/react/index.d.ts +11 -8
- package/generated/react/index.js +11 -8
- package/generated/react/input/index.d.ts +139 -131
- package/generated/react/link/index.d.ts +117 -109
- package/generated/react/list/index.d.ts +114 -106
- package/generated/react/list-item/index.d.ts +114 -106
- package/generated/react/list-item-pattern-01/index.d.ts +121 -113
- package/generated/react/mask/index.d.ts +117 -109
- package/generated/react/menu-button/index.d.ts +120 -112
- package/generated/react/menu-heading/index.d.ts +114 -106
- package/generated/react/menu-item/index.d.ts +114 -106
- package/generated/react/option/index.d.ts +118 -110
- package/generated/react/pagination/index.d.ts +120 -112
- package/generated/react/popover/index.d.ts +123 -115
- package/generated/react/radio/index.d.ts +119 -111
- package/generated/react/radio-group/index.d.ts +127 -119
- package/generated/react/rich-text/index.d.ts +114 -106
- package/generated/react/segment/index.d.ts +118 -110
- package/generated/react/segmented-control/index.d.ts +116 -108
- package/generated/react/select/index.d.ts +129 -121
- package/generated/react/sensitive-account/index.d.ts +118 -110
- package/generated/react/sensitive-date/index.d.ts +117 -109
- package/generated/react/sensitive-number/index.d.ts +118 -110
- package/generated/react/signal/index.d.ts +114 -106
- package/generated/react/spinner/index.d.ts +117 -109
- package/generated/react/switch/index.d.ts +126 -118
- package/generated/react/tab/index.d.ts +682 -0
- package/generated/react/tab/index.js +14 -0
- package/generated/react/tab-panel/index.d.ts +675 -0
- package/generated/react/tab-panel/index.js +14 -0
- package/generated/react/table/index.d.ts +125 -117
- package/generated/react/tabs/index.d.ts +699 -0
- package/generated/react/tabs/index.js +14 -0
- package/generated/react/text/index.d.ts +115 -107
- package/generated/react/textarea/index.d.ts +137 -129
- package/generated/react/theme/index.d.ts +114 -106
- package/generated/react/video/index.d.ts +114 -106
- package/package.json +7 -1
- package/primitives/listbox/listbox.trans.styles.scss.js +1 -1
- package/primitives/listbox/option.trans.styles.scss.js +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -48,10 +48,10 @@ export declare const GdsVideo: {
|
|
|
48
48
|
position?: string | undefined;
|
|
49
49
|
transform?: string | undefined;
|
|
50
50
|
inset?: string | undefined;
|
|
51
|
-
readonly semanticVersion?: "__GDS_SEM_VER__"
|
|
52
|
-
syncFirstRender?: boolean
|
|
51
|
+
readonly semanticVersion?: "__GDS_SEM_VER__";
|
|
52
|
+
syncFirstRender?: boolean;
|
|
53
53
|
gdsElementName?: string | undefined;
|
|
54
|
-
_isUsingTransitionalStyles?: boolean
|
|
54
|
+
_isUsingTransitionalStyles?: boolean;
|
|
55
55
|
_dynamicStylesController?: import("../../../utils/controllers/dynamic-styles-controller").DynamicStylesController | undefined;
|
|
56
56
|
connectedCallback?: (() => void) | undefined;
|
|
57
57
|
disconnectedCallback?: (() => void) | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const GdsVideo: {
|
|
|
65
65
|
removeController?: ((controller: import("lit").ReactiveController) => void) | undefined;
|
|
66
66
|
attributeChangedCallback?: ((name: string, _old: string | null, value: string | null) => void) | undefined;
|
|
67
67
|
requestUpdate?: ((name?: PropertyKey, oldValue?: unknown, options?: import("lit").PropertyDeclaration, useNewValue?: boolean, newValue?: unknown) => void) | undefined;
|
|
68
|
-
readonly updateComplete?: Promise<boolean
|
|
68
|
+
readonly updateComplete?: Promise<boolean>;
|
|
69
69
|
accessKey?: string | undefined;
|
|
70
70
|
readonly accessKeyLabel?: string | undefined;
|
|
71
71
|
autocapitalize?: string | undefined;
|
|
@@ -85,11 +85,12 @@ export declare const GdsVideo: {
|
|
|
85
85
|
spellcheck?: boolean | undefined;
|
|
86
86
|
title?: string | undefined;
|
|
87
87
|
translate?: boolean | undefined;
|
|
88
|
+
writingSuggestions?: string | undefined;
|
|
88
89
|
attachInternals?: (() => ElementInternals) | undefined;
|
|
89
90
|
click?: (() => void) | undefined;
|
|
90
91
|
hidePopover?: (() => void) | undefined;
|
|
91
92
|
showPopover?: (() => void) | undefined;
|
|
92
|
-
togglePopover?: ((
|
|
93
|
+
togglePopover?: ((options?: boolean) => boolean) | undefined;
|
|
93
94
|
addEventListener?: {
|
|
94
95
|
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
95
96
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -99,20 +100,22 @@ export declare const GdsVideo: {
|
|
|
99
100
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
100
101
|
} | undefined;
|
|
101
102
|
readonly attributes?: NamedNodeMap | undefined;
|
|
102
|
-
|
|
103
|
+
classList?: DOMTokenList;
|
|
103
104
|
className?: string | undefined;
|
|
104
105
|
readonly clientHeight?: number | undefined;
|
|
105
106
|
readonly clientLeft?: number | undefined;
|
|
106
107
|
readonly clientTop?: number | undefined;
|
|
107
108
|
readonly clientWidth?: number | undefined;
|
|
109
|
+
readonly currentCSSZoom?: number | undefined;
|
|
108
110
|
id?: string | undefined;
|
|
111
|
+
innerHTML?: string | undefined;
|
|
109
112
|
readonly localName?: string | undefined;
|
|
110
113
|
readonly namespaceURI?: string | null | undefined;
|
|
111
114
|
onfullscreenchange?: ((this: Element, ev: Event) => any) | null | undefined;
|
|
112
115
|
onfullscreenerror?: ((this: Element, ev: Event) => any) | null | undefined;
|
|
113
116
|
outerHTML?: string | undefined;
|
|
114
117
|
readonly ownerDocument?: Document | undefined;
|
|
115
|
-
|
|
118
|
+
part?: DOMTokenList;
|
|
116
119
|
readonly prefix?: string | null | undefined;
|
|
117
120
|
readonly scrollHeight?: number | undefined;
|
|
118
121
|
scrollLeft?: number | undefined;
|
|
@@ -151,12 +154,13 @@ export declare const GdsVideo: {
|
|
|
151
154
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
152
155
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
153
156
|
} | undefined;
|
|
157
|
+
getHTML?: ((options?: GetHTMLOptions) => string) | undefined;
|
|
154
158
|
hasAttribute?: ((qualifiedName: string) => boolean) | undefined;
|
|
155
159
|
hasAttributeNS?: ((namespace: string | null, localName: string) => boolean) | undefined;
|
|
156
160
|
hasAttributes?: (() => boolean) | undefined;
|
|
157
161
|
hasPointerCapture?: ((pointerId: number) => boolean) | undefined;
|
|
158
162
|
insertAdjacentElement?: ((where: InsertPosition, element: Element) => Element | null) | undefined;
|
|
159
|
-
insertAdjacentHTML?: ((position: InsertPosition,
|
|
163
|
+
insertAdjacentHTML?: ((position: InsertPosition, string: string) => void) | undefined;
|
|
160
164
|
insertAdjacentText?: ((where: InsertPosition, data: string) => void) | undefined;
|
|
161
165
|
matches?: ((selectors: string) => boolean) | undefined;
|
|
162
166
|
releasePointerCapture?: ((pointerId: number) => void) | undefined;
|
|
@@ -164,7 +168,7 @@ export declare const GdsVideo: {
|
|
|
164
168
|
removeAttributeNS?: ((namespace: string | null, localName: string) => void) | undefined;
|
|
165
169
|
removeAttributeNode?: ((attr: Attr) => Attr) | undefined;
|
|
166
170
|
requestFullscreen?: ((options?: FullscreenOptions) => Promise<void>) | undefined;
|
|
167
|
-
requestPointerLock?: (() => void) | undefined;
|
|
171
|
+
requestPointerLock?: ((options?: PointerLockOptions) => Promise<void>) | undefined;
|
|
168
172
|
scroll?: {
|
|
169
173
|
(options?: ScrollToOptions): void;
|
|
170
174
|
(x: number, y: number): void;
|
|
@@ -208,7 +212,7 @@ export declare const GdsVideo: {
|
|
|
208
212
|
readonly previousSibling?: ChildNode | null | undefined;
|
|
209
213
|
textContent?: string | null | undefined;
|
|
210
214
|
appendChild?: (<T extends Node>(node: T) => T) | undefined;
|
|
211
|
-
cloneNode?: ((
|
|
215
|
+
cloneNode?: ((subtree?: boolean) => Node) | undefined;
|
|
212
216
|
compareDocumentPosition?: ((other: Node) => number) | undefined;
|
|
213
217
|
contains?: ((other: Node | null) => boolean) | undefined;
|
|
214
218
|
getRootNode?: ((options?: GetRootNodeOptions) => Node) | undefined;
|
|
@@ -249,6 +253,7 @@ export declare const GdsVideo: {
|
|
|
249
253
|
ariaChecked?: string | null | undefined;
|
|
250
254
|
ariaColCount?: string | null | undefined;
|
|
251
255
|
ariaColIndex?: string | null | undefined;
|
|
256
|
+
ariaColIndexText?: string | null | undefined;
|
|
252
257
|
ariaColSpan?: string | null | undefined;
|
|
253
258
|
ariaCurrent?: string | null | undefined;
|
|
254
259
|
ariaDescription?: string | null | undefined;
|
|
@@ -269,10 +274,12 @@ export declare const GdsVideo: {
|
|
|
269
274
|
ariaPosInSet?: string | null | undefined;
|
|
270
275
|
ariaPressed?: string | null | undefined;
|
|
271
276
|
ariaReadOnly?: string | null | undefined;
|
|
277
|
+
ariaRelevant?: string | null | undefined;
|
|
272
278
|
ariaRequired?: string | null | undefined;
|
|
273
279
|
ariaRoleDescription?: string | null | undefined;
|
|
274
280
|
ariaRowCount?: string | null | undefined;
|
|
275
281
|
ariaRowIndex?: string | null | undefined;
|
|
282
|
+
ariaRowIndexText?: string | null | undefined;
|
|
276
283
|
ariaRowSpan?: string | null | undefined;
|
|
277
284
|
ariaSelected?: string | null | undefined;
|
|
278
285
|
ariaSetSize?: string | null | undefined;
|
|
@@ -288,7 +295,6 @@ export declare const GdsVideo: {
|
|
|
288
295
|
before?: ((...nodes: (Node | string)[]) => void) | undefined;
|
|
289
296
|
remove?: (() => void) | undefined;
|
|
290
297
|
replaceWith?: ((...nodes: (Node | string)[]) => void) | undefined;
|
|
291
|
-
innerHTML?: string | undefined;
|
|
292
298
|
readonly nextElementSibling?: Element | null | undefined;
|
|
293
299
|
readonly previousElementSibling?: Element | null | undefined;
|
|
294
300
|
readonly childElementCount?: number | undefined;
|
|
@@ -314,7 +320,7 @@ export declare const GdsVideo: {
|
|
|
314
320
|
replaceChildren?: ((...nodes: (Node | string)[]) => void) | undefined;
|
|
315
321
|
readonly assignedSlot?: HTMLSlotElement | null | undefined;
|
|
316
322
|
readonly attributeStyleMap?: StylePropertyMap | undefined;
|
|
317
|
-
|
|
323
|
+
style?: CSSStyleDeclaration;
|
|
318
324
|
contentEditable?: string | undefined;
|
|
319
325
|
enterKeyHint?: string | undefined;
|
|
320
326
|
inputMode?: string | undefined;
|
|
@@ -334,7 +340,9 @@ export declare const GdsVideo: {
|
|
|
334
340
|
onchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
335
341
|
onclick?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
336
342
|
onclose?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
343
|
+
oncontextlost?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
337
344
|
oncontextmenu?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
345
|
+
oncontextrestored?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
338
346
|
oncopy?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
339
347
|
oncuechange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
340
348
|
oncut?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
@@ -400,10 +408,10 @@ export declare const GdsVideo: {
|
|
|
400
408
|
onsuspend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
401
409
|
ontimeupdate?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
402
410
|
ontoggle?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
403
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
404
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
405
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
406
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
411
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
412
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
413
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
414
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
407
415
|
ontransitioncancel?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
408
416
|
ontransitionend?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
409
417
|
ontransitionrun?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
@@ -422,118 +430,118 @@ export declare const GdsVideo: {
|
|
|
422
430
|
blur?: (() => void) | undefined;
|
|
423
431
|
focus?: ((options?: FocusOptions) => void) | undefined;
|
|
424
432
|
}, "dir" | "slot" | "style" | "title" | "role" | "aria-label" | "property" | "content" | "color" | "accessKey" | "draggable" | "hidden" | "inert" | "lang" | "popover" | "translate" | "className" | "id" | "prefix" | "contentEditable" | "enterKeyHint" | "inputMode" | "nonce" | "tabIndex" | "aria-selected" | "defaultChecked" | "defaultValue" | "popoverTargetAction" | "aria-haspopup" | "aria-expanded" | "rel" | "aria-multiselectable" | "aria-valuemin" | "aria-valuemax" | "aria-valuetext" | "aria-checked" | "aria-disabled" | "aria-description" | "aria-invalid" | "aria-describedby" | "aria-live" | "onToggle" | "resource" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoCapitalize" | "autoFocus" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popoverTarget" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-hidden" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture">, "children"> & {
|
|
425
|
-
children?:
|
|
433
|
+
children?: React.ReactNode;
|
|
426
434
|
} & {
|
|
427
|
-
dir?: string | undefined;
|
|
428
|
-
slot?: string | undefined;
|
|
435
|
+
dir?: string | undefined | undefined;
|
|
436
|
+
slot?: string | undefined | undefined;
|
|
429
437
|
style?: import("react").CSSProperties | undefined;
|
|
430
|
-
title?: string | undefined;
|
|
438
|
+
title?: string | undefined | undefined;
|
|
431
439
|
role?: import("react").AriaRole | undefined;
|
|
432
|
-
"aria-label"?: string | undefined;
|
|
433
|
-
property?: string | undefined;
|
|
434
|
-
content?: string | undefined;
|
|
435
|
-
color?: string | undefined;
|
|
436
|
-
accessKey?: string | undefined;
|
|
440
|
+
"aria-label"?: string | undefined | undefined;
|
|
441
|
+
property?: string | undefined | undefined;
|
|
442
|
+
content?: string | undefined | undefined;
|
|
443
|
+
color?: string | undefined | undefined;
|
|
444
|
+
accessKey?: string | undefined | undefined;
|
|
437
445
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
438
|
-
hidden?: boolean | undefined;
|
|
439
|
-
inert?: boolean | undefined;
|
|
440
|
-
lang?: string | undefined;
|
|
441
|
-
popover?: "" | "auto" | "manual" | undefined;
|
|
442
|
-
translate?: "yes" | "no" | undefined;
|
|
443
|
-
className?: string | undefined;
|
|
444
|
-
id?: string | undefined;
|
|
445
|
-
prefix?: string | undefined;
|
|
446
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
447
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
448
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
449
|
-
nonce?: string | undefined;
|
|
450
|
-
tabIndex?: number | undefined;
|
|
446
|
+
hidden?: boolean | undefined | undefined;
|
|
447
|
+
inert?: boolean | undefined | undefined;
|
|
448
|
+
lang?: string | undefined | undefined;
|
|
449
|
+
popover?: "" | "auto" | "manual" | undefined | undefined;
|
|
450
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
451
|
+
className?: string | undefined | undefined;
|
|
452
|
+
id?: string | undefined | undefined;
|
|
453
|
+
prefix?: string | undefined | undefined;
|
|
454
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
455
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
456
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
457
|
+
nonce?: string | undefined | undefined;
|
|
458
|
+
tabIndex?: number | undefined | undefined;
|
|
451
459
|
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
452
|
-
defaultChecked?: boolean | undefined;
|
|
460
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
453
461
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
454
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
455
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
462
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
463
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
456
464
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
457
|
-
rel?: string | undefined;
|
|
465
|
+
rel?: string | undefined | undefined;
|
|
458
466
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
459
|
-
"aria-valuemin"?: number | undefined;
|
|
460
|
-
"aria-valuemax"?: number | undefined;
|
|
461
|
-
"aria-valuetext"?: string | undefined;
|
|
462
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
467
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
468
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
469
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
470
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
463
471
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
464
|
-
"aria-description"?: string | undefined;
|
|
465
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
466
|
-
"aria-describedby"?: string | undefined;
|
|
467
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
472
|
+
"aria-description"?: string | undefined | undefined;
|
|
473
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
474
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
475
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
468
476
|
onToggle?: import("react").ToggleEventHandler<HTMLElement> | undefined;
|
|
469
|
-
resource?: string | undefined;
|
|
470
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
471
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
472
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
473
|
-
autoFocus?: boolean | undefined;
|
|
474
|
-
contextMenu?: string | undefined;
|
|
477
|
+
resource?: string | undefined | undefined;
|
|
478
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
479
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
480
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
481
|
+
autoFocus?: boolean | undefined | undefined;
|
|
482
|
+
contextMenu?: string | undefined | undefined;
|
|
475
483
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
476
|
-
radioGroup?: string | undefined;
|
|
477
|
-
about?: string | undefined;
|
|
478
|
-
datatype?: string | undefined;
|
|
484
|
+
radioGroup?: string | undefined | undefined;
|
|
485
|
+
about?: string | undefined | undefined;
|
|
486
|
+
datatype?: string | undefined | undefined;
|
|
479
487
|
inlist?: any;
|
|
480
|
-
rev?: string | undefined;
|
|
481
|
-
typeof?: string | undefined;
|
|
482
|
-
vocab?: string | undefined;
|
|
483
|
-
autoCorrect?: string | undefined;
|
|
484
|
-
autoSave?: string | undefined;
|
|
485
|
-
itemProp?: string | undefined;
|
|
486
|
-
itemScope?: boolean | undefined;
|
|
487
|
-
itemType?: string | undefined;
|
|
488
|
-
itemID?: string | undefined;
|
|
489
|
-
itemRef?: string | undefined;
|
|
490
|
-
results?: number | undefined;
|
|
491
|
-
security?: string | undefined;
|
|
492
|
-
unselectable?: "on" | "off" | undefined;
|
|
493
|
-
popoverTarget?: string | undefined;
|
|
494
|
-
is?: string | undefined;
|
|
495
|
-
"aria-activedescendant"?: string | undefined;
|
|
488
|
+
rev?: string | undefined | undefined;
|
|
489
|
+
typeof?: string | undefined | undefined;
|
|
490
|
+
vocab?: string | undefined | undefined;
|
|
491
|
+
autoCorrect?: string | undefined | undefined;
|
|
492
|
+
autoSave?: string | undefined | undefined;
|
|
493
|
+
itemProp?: string | undefined | undefined;
|
|
494
|
+
itemScope?: boolean | undefined | undefined;
|
|
495
|
+
itemType?: string | undefined | undefined;
|
|
496
|
+
itemID?: string | undefined | undefined;
|
|
497
|
+
itemRef?: string | undefined | undefined;
|
|
498
|
+
results?: number | undefined | undefined;
|
|
499
|
+
security?: string | undefined | undefined;
|
|
500
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
501
|
+
popoverTarget?: string | undefined | undefined;
|
|
502
|
+
is?: string | undefined | undefined;
|
|
503
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
496
504
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
497
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
498
|
-
"aria-braillelabel"?: string | undefined;
|
|
499
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
505
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
506
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
507
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
500
508
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
501
|
-
"aria-colcount"?: number | undefined;
|
|
502
|
-
"aria-colindex"?: number | undefined;
|
|
503
|
-
"aria-colindextext"?: string | undefined;
|
|
504
|
-
"aria-colspan"?: number | undefined;
|
|
505
|
-
"aria-controls"?: string | undefined;
|
|
506
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
507
|
-
"aria-details"?: string | undefined;
|
|
508
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
509
|
-
"aria-errormessage"?: string | undefined;
|
|
510
|
-
"aria-flowto"?: string | undefined;
|
|
509
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
510
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
511
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
512
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
513
|
+
"aria-controls"?: string | undefined | undefined;
|
|
514
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
515
|
+
"aria-details"?: string | undefined | undefined;
|
|
516
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
517
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
518
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
511
519
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
512
520
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
513
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
514
|
-
"aria-labelledby"?: string | undefined;
|
|
515
|
-
"aria-level"?: number | undefined;
|
|
521
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
522
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
523
|
+
"aria-level"?: number | undefined | undefined;
|
|
516
524
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
517
525
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
518
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
519
|
-
"aria-owns"?: string | undefined;
|
|
520
|
-
"aria-placeholder"?: string | undefined;
|
|
521
|
-
"aria-posinset"?: number | undefined;
|
|
522
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
526
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
527
|
+
"aria-owns"?: string | undefined | undefined;
|
|
528
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
529
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
530
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
523
531
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
524
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
532
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
525
533
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
526
|
-
"aria-roledescription"?: string | undefined;
|
|
527
|
-
"aria-rowcount"?: number | undefined;
|
|
528
|
-
"aria-rowindex"?: number | undefined;
|
|
529
|
-
"aria-rowindextext"?: string | undefined;
|
|
530
|
-
"aria-rowspan"?: number | undefined;
|
|
531
|
-
"aria-setsize"?: number | undefined;
|
|
532
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
533
|
-
"aria-valuenow"?: number | undefined;
|
|
534
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
535
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
536
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
537
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
538
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
539
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
540
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
541
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
534
542
|
dangerouslySetInnerHTML?: {
|
|
535
543
|
__html: string | TrustedHTML;
|
|
536
|
-
} | undefined;
|
|
544
|
+
} | undefined | undefined;
|
|
537
545
|
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
538
546
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
539
547
|
onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-core",
|
|
3
3
|
"description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -73,6 +73,12 @@
|
|
|
73
73
|
"./components/textarea/index.js",
|
|
74
74
|
"./components/text/text.js",
|
|
75
75
|
"./components/text/index.js",
|
|
76
|
+
"./components/tabs/tabs.js",
|
|
77
|
+
"./components/tabs/index.js",
|
|
78
|
+
"./components/tabs/tab-panel/tab-panel.js",
|
|
79
|
+
"./components/tabs/tab-panel/index.js",
|
|
80
|
+
"./components/tabs/tab/tab.js",
|
|
81
|
+
"./components/tabs/tab/index.js",
|
|
76
82
|
"./components/table/table.types.js",
|
|
77
83
|
"./components/table/table.stories.data.js",
|
|
78
84
|
"./components/table/table.js",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const styles = "/* stylelint-disable max-nesting-depth */\n/**\n * Assert that a map is in ascending order\n * @mixin assert-ascending\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Assert that the first breakpoint in a map starts at zero\n * @mixin assert-starts-at-zero\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Check if a value is important\n * @function is-important\n * @param {Boolean} $important - Whether the value is important\n * @return {String} - \"!important\" if true, otherwise an empty string\n */\n/**\n * Replace a substring in a string\n * @function str-replace\n * @param {String} $string - The original string\n * @param {String} $search - The substring to replace\n * @param {String} $replace - The replacement string\n * @return {String} - The updated string\n */\n/**\n * Convert a map to its negative variant\n * @function negativify-map\n * @param {Map} $map - The map to convert\n * @return {Map} - The negative variant of the map\n */\n/**\n * Generate utility classes\n * @mixin generate-utility\n * @param {Map} $utility - Utility map\n * @param {String} $infix - Infix for class names\n * @param {Boolean} $is-rfs-media-query - Whether to use RFS media query\n */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * @function luminance\n * @param {Color} $color - The color to calculate luminance for\n * @return {Number} - The luminance value\n */\n/**\n * Calculate the contrast ratio between two colors.\n * @function color-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @return {Number} - The contrast ratio\n */\n/**\n * Remove the unit of a length\n * @function strip-unit\n * @param {Number} $number - Number to remove unit from\n * @return {Number} - Unitless number\n */\n/**\n * Validate font size\n * @function validate-font-size\n * @param {Number} $size - Font size to validate\n * @return {Number} - Validated font size in pixels\n */\n/**\n * Get ratio for WCAG level\n * @function get-ratio\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @return {Number} - Ratio value\n */\n/**\n * Determine if a color is light or dark\n * @function light-or-dark\n * @param {Color} $color - The color to check\n * @return {String} - \"light\" or \"dark\"\n */\n/**\n * Get the most legible color (black or white) for a given background color\n * @function most-legible-color\n * @param {Color} $color - The background color\n * @return {Color} - The most legible color\n */\n/**\n * Get the desired color combination for foreground and background colors\n * @function desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n * @return {List} - List containing background and foreground colors\n */\n/**\n * @mixin desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n */\n/**\n * Get an accessible color for a given foreground and background color\n * @function a11y-color\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @param {Number} $maxOffset - Maximum offset\n * @param {Boolean} $darkMode - Is dark mode\n * @param {Number} $ratio - Contrast ratio\n * @return {Color} - Accessible color\n */\n/**\n * Get the maximum contrast color\n * @function max-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Color} $max - Maximum contrast color\n * @return {Color} - Maximum contrast color\n */\n/**\n * Get the RGB values of a color as a string\n * @function stripped-rgb\n * @param {Color} $color - The color\n * @return {String} - RGB values as a string\n */\n/**\n * Get the HSL values of a color as a string\n * @function stripped-hsl\n * @param {Color} $color - The color\n * @return {String} - HSL values as a string\n */\n/**\n * Convert a map of colors to a map of HSL values\n * @function hsl-map\n * @param {Map} $colors - Map of colors\n * @return {Map} - Map of HSL values\n */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/**\n * Breakpoint viewport sizes and media queries.\n *\n * Breakpoints are defined as a map of (name: minimum width), order from small to large:\n *\n * (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n *\n * The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n */\n/**\n * Name of the next breakpoint, or null for the last breakpoint.\n *\n * >> breakpoint-next(sm)\n * md\n * >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * md\n * >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n * md\n */\n/**\n * Minimum breakpoint width. Null for the smallest (first) breakpoint.\n *\n * >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 576px\n */\n/**\n * Maximum breakpoint width.\n * The maximum value is reduced by 0.02px to work around the limitations of\n * `min-` and `max-` prefixes and viewports with fractional widths.\n * See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n * Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n * See https://bugs.webkit.org/show_bug.cgi?id=178261\n *\n * >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 767.98px\n */\n/**\n * Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n * Useful for making responsive utilities.\n *\n * >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"\" (Returns a blank string)\n * >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"-sm\"\n */\n/**\n * Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n * Makes the @content apply to the given breakpoint and wider.\n */\n/**\n * Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n * Makes the @content apply to the given breakpoint and narrower.\n */\n/**\n * Media that spans multiple breakpoint widths.\n * Makes the @content apply between the min and max breakpoints\n */\n/**\n * Media between the breakpoint's minimum and maximum widths.\n * No minimum for the smallest breakpoint, and no maximum for the largest one.\n * Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n */\n/** \n * @deprecated in favor of Grouped list component\n */\n/** \n * @deprecated in favor of Grouped list component\n */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n :host {\n padding-left: 0;\n margin-bottom: 0;\n margin-top: 0;\n display: flex;\n flex-direction: column;\n list-style: none;\n }\n :host > li {\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n border: 0;\n display: block;\n position: relative;\n }\n :host > li::before {\n font-weight: 500;\n display: inline-block;\n left: 0;\n position: absolute;\n text-align: center;\n }\n :host {\n overflow-y: auto;\n }\n}";
|
|
1
|
+
const styles = "/* stylelint-disable max-nesting-depth */\n/**\n * Assert that a map is in ascending order\n * @mixin assert-ascending\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Assert that the first breakpoint in a map starts at zero\n * @mixin assert-starts-at-zero\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Check if a value is important\n * @function is-important\n * @param {Boolean} $important - Whether the value is important\n * @return {String} - \"!important\" if true, otherwise an empty string\n */\n/**\n * Replace a substring in a string\n * @function str-replace\n * @param {String} $string - The original string\n * @param {String} $search - The substring to replace\n * @param {String} $replace - The replacement string\n * @return {String} - The updated string\n */\n/**\n * Convert a map to its negative variant\n * @function negativify-map\n * @param {Map} $map - The map to convert\n * @return {Map} - The negative variant of the map\n */\n/**\n * Generate utility classes\n * @mixin generate-utility\n * @param {Map} $utility - Utility map\n * @param {String} $infix - Infix for class names\n * @param {Boolean} $is-rfs-media-query - Whether to use RFS media query\n */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * @function luminance\n * @param {Color} $color - The color to calculate luminance for\n * @return {Number} - The luminance value\n */\n/**\n * Calculate the contrast ratio between two colors.\n * @function color-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @return {Number} - The contrast ratio\n */\n/**\n * Remove the unit of a length\n * @function strip-unit\n * @param {Number} $number - Number to remove unit from\n * @return {Number} - Unitless number\n */\n/**\n * Validate font size\n * @function validate-font-size\n * @param {Number} $size - Font size to validate\n * @return {Number} - Validated font size in pixels\n */\n/**\n * Get ratio for WCAG level\n * @function get-ratio\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @return {Number} - Ratio value\n */\n/**\n * Determine if a color is light or dark\n * @function light-or-dark\n * @param {Color} $color - The color to check\n * @return {String} - \"light\" or \"dark\"\n */\n/**\n * Get the most legible color (black or white) for a given background color\n * @function most-legible-color\n * @param {Color} $color - The background color\n * @return {Color} - The most legible color\n */\n/**\n * Get the desired color combination for foreground and background colors\n * @function desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n * @return {List} - List containing background and foreground colors\n */\n/**\n * @mixin desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n */\n/**\n * Get an accessible color for a given foreground and background color\n * @function a11y-color\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @param {Number} $maxOffset - Maximum offset\n * @param {Boolean} $darkMode - Is dark mode\n * @param {Number} $ratio - Contrast ratio\n * @return {Color} - Accessible color\n */\n/**\n * Get the maximum contrast color\n * @function max-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Color} $max - Maximum contrast color\n * @return {Color} - Maximum contrast color\n */\n/**\n * Get the RGB values of a color as a string\n * @function stripped-rgb\n * @param {Color} $color - The color\n * @return {String} - RGB values as a string\n */\n/**\n * Get the HSL values of a color as a string\n * @function stripped-hsl\n * @param {Color} $color - The color\n * @return {String} - HSL values as a string\n */\n/**\n * Convert a map of colors to a map of HSL values\n * @function hsl-map\n * @param {Map} $colors - Map of colors\n * @return {Map} - Map of HSL values\n */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/**\n * Breakpoint viewport sizes and media queries.\n *\n * Breakpoints are defined as a map of (name: minimum width), order from small to large:\n *\n * (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n *\n * The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n */\n/**\n * Name of the next breakpoint, or null for the last breakpoint.\n *\n * >> breakpoint-next(sm)\n * md\n * >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * md\n * >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n * md\n */\n/**\n * Minimum breakpoint width. Null for the smallest (first) breakpoint.\n *\n * >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 576px\n */\n/**\n * Maximum breakpoint width.\n * The maximum value is reduced by 0.02px to work around the limitations of\n * `min-` and `max-` prefixes and viewports with fractional widths.\n * See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n * Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n * See https://bugs.webkit.org/show_bug.cgi?id=178261\n *\n * >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 767.98px\n */\n/**\n * Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n * Useful for making responsive utilities.\n *\n * >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"\" (Returns a blank string)\n * >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"-sm\"\n */\n/**\n * Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n * Makes the @content apply to the given breakpoint and wider.\n */\n/**\n * Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n * Makes the @content apply to the given breakpoint and narrower.\n */\n/**\n * Media that spans multiple breakpoint widths.\n * Makes the @content apply between the min and max breakpoints\n */\n/**\n * Media between the breakpoint's minimum and maximum widths.\n * No minimum for the smallest breakpoint, and no maximum for the largest one.\n * Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n */\n/** \n * @deprecated in favor of Grouped list component\n */\n/** \n * @deprecated in favor of Grouped list component\n */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n :host {\n padding-left: 0 \"\";\n margin-bottom: 0 \"\";\n margin-top: 0 \"\";\n display: flex;\n flex-direction: column;\n list-style: none;\n }\n :host > li {\n padding-bottom: 0.5rem \"\";\n padding-top: 0.5rem \"\";\n border: 0;\n display: block;\n position: relative;\n }\n :host > li::before {\n font-weight: 500;\n display: inline-block;\n left: 0;\n position: absolute;\n text-align: center;\n }\n :host {\n overflow-y: auto;\n }\n}";
|
|
2
2
|
export default styles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const styles = "/* stylelint-disable max-nesting-depth */\n/**\n * Assert that a map is in ascending order\n * @mixin assert-ascending\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Assert that the first breakpoint in a map starts at zero\n * @mixin assert-starts-at-zero\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Check if a value is important\n * @function is-important\n * @param {Boolean} $important - Whether the value is important\n * @return {String} - \"!important\" if true, otherwise an empty string\n */\n/**\n * Replace a substring in a string\n * @function str-replace\n * @param {String} $string - The original string\n * @param {String} $search - The substring to replace\n * @param {String} $replace - The replacement string\n * @return {String} - The updated string\n */\n/**\n * Convert a map to its negative variant\n * @function negativify-map\n * @param {Map} $map - The map to convert\n * @return {Map} - The negative variant of the map\n */\n/**\n * Generate utility classes\n * @mixin generate-utility\n * @param {Map} $utility - Utility map\n * @param {String} $infix - Infix for class names\n * @param {Boolean} $is-rfs-media-query - Whether to use RFS media query\n */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * @function luminance\n * @param {Color} $color - The color to calculate luminance for\n * @return {Number} - The luminance value\n */\n/**\n * Calculate the contrast ratio between two colors.\n * @function color-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @return {Number} - The contrast ratio\n */\n/**\n * Remove the unit of a length\n * @function strip-unit\n * @param {Number} $number - Number to remove unit from\n * @return {Number} - Unitless number\n */\n/**\n * Validate font size\n * @function validate-font-size\n * @param {Number} $size - Font size to validate\n * @return {Number} - Validated font size in pixels\n */\n/**\n * Get ratio for WCAG level\n * @function get-ratio\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @return {Number} - Ratio value\n */\n/**\n * Determine if a color is light or dark\n * @function light-or-dark\n * @param {Color} $color - The color to check\n * @return {String} - \"light\" or \"dark\"\n */\n/**\n * Get the most legible color (black or white) for a given background color\n * @function most-legible-color\n * @param {Color} $color - The background color\n * @return {Color} - The most legible color\n */\n/**\n * Get the desired color combination for foreground and background colors\n * @function desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n * @return {List} - List containing background and foreground colors\n */\n/**\n * @mixin desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n */\n/**\n * Get an accessible color for a given foreground and background color\n * @function a11y-color\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @param {Number} $maxOffset - Maximum offset\n * @param {Boolean} $darkMode - Is dark mode\n * @param {Number} $ratio - Contrast ratio\n * @return {Color} - Accessible color\n */\n/**\n * Get the maximum contrast color\n * @function max-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Color} $max - Maximum contrast color\n * @return {Color} - Maximum contrast color\n */\n/**\n * Get the RGB values of a color as a string\n * @function stripped-rgb\n * @param {Color} $color - The color\n * @return {String} - RGB values as a string\n */\n/**\n * Get the HSL values of a color as a string\n * @function stripped-hsl\n * @param {Color} $color - The color\n * @return {String} - HSL values as a string\n */\n/**\n * Convert a map of colors to a map of HSL values\n * @function hsl-map\n * @param {Map} $colors - Map of colors\n * @return {Map} - Map of HSL values\n */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/**\n * Breakpoint viewport sizes and media queries.\n *\n * Breakpoints are defined as a map of (name: minimum width), order from small to large:\n *\n * (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n *\n * The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n */\n/**\n * Name of the next breakpoint, or null for the last breakpoint.\n *\n * >> breakpoint-next(sm)\n * md\n * >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * md\n * >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n * md\n */\n/**\n * Minimum breakpoint width. Null for the smallest (first) breakpoint.\n *\n * >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 576px\n */\n/**\n * Maximum breakpoint width.\n * The maximum value is reduced by 0.02px to work around the limitations of\n * `min-` and `max-` prefixes and viewports with fractional widths.\n * See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n * Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n * See https://bugs.webkit.org/show_bug.cgi?id=178261\n *\n * >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 767.98px\n */\n/**\n * Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n * Useful for making responsive utilities.\n *\n * >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"\" (Returns a blank string)\n * >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"-sm\"\n */\n/**\n * Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n * Makes the @content apply to the given breakpoint and wider.\n */\n/**\n * Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n * Makes the @content apply to the given breakpoint and narrower.\n */\n/**\n * Media that spans multiple breakpoint widths.\n * Makes the @content apply between the min and max breakpoints\n */\n/**\n * Media between the breakpoint's minimum and maximum widths.\n * No minimum for the smallest breakpoint, and no maximum for the largest one.\n * Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n .item {\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n line-height: 1.25;\n cursor: pointer;\n }\n .item:hover, .item:focus-visible {\n background-color: var(--gds-sys-color-base-200);\n }\n .item:active {\n background-color: var(--gds-sys-color-base-200);\n }\n .item:focus {\n outline-color: #000;\n outline-offset: -0.25rem;\n }\n .item.active.sg-highlighted, .item[aria-selected=true] {\n background: var(--gds-sys-color-base-800);\n color: #fff;\n }\n .item {\n display: flex;\n gap: 0.75rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n :host(:hover) div,\n :host(:focus-visible) div {\n background-color: var(--gds-sys-color-base-200);\n }\n :host(:active) div {\n background-color: var(--gds-sys-color-base-300);\n }\n :host(:focus-visible) {\n outline-color: #000;\n outline-offset: -0.25rem;\n }\n :host([inert]) {\n display: none;\n }\n :host([highlighted]) .item {\n background: var(--gds-sys-color-base-800);\n color: #fff;\n }\n}";
|
|
1
|
+
const styles = "/* stylelint-disable max-nesting-depth */\n/**\n * Assert that a map is in ascending order\n * @mixin assert-ascending\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Assert that the first breakpoint in a map starts at zero\n * @mixin assert-starts-at-zero\n * @param {Map} $map - The map to check\n * @param {String} $map-name - The name of the map\n */\n/**\n * Check if a value is important\n * @function is-important\n * @param {Boolean} $important - Whether the value is important\n * @return {String} - \"!important\" if true, otherwise an empty string\n */\n/**\n * Replace a substring in a string\n * @function str-replace\n * @param {String} $string - The original string\n * @param {String} $search - The substring to replace\n * @param {String} $replace - The replacement string\n * @return {String} - The updated string\n */\n/**\n * Convert a map to its negative variant\n * @function negativify-map\n * @param {Map} $map - The map to convert\n * @return {Map} - The negative variant of the map\n */\n/**\n * Generate utility classes\n * @mixin generate-utility\n * @param {Map} $utility - Utility map\n * @param {String} $infix - Infix for class names\n * @param {Boolean} $is-rfs-media-query - Whether to use RFS media query\n */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * @function luminance\n * @param {Color} $color - The color to calculate luminance for\n * @return {Number} - The luminance value\n */\n/**\n * Calculate the contrast ratio between two colors.\n * @function color-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @return {Number} - The contrast ratio\n */\n/**\n * Remove the unit of a length\n * @function strip-unit\n * @param {Number} $number - Number to remove unit from\n * @return {Number} - Unitless number\n */\n/**\n * Validate font size\n * @function validate-font-size\n * @param {Number} $size - Font size to validate\n * @return {Number} - Validated font size in pixels\n */\n/**\n * Get ratio for WCAG level\n * @function get-ratio\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @return {Number} - Ratio value\n */\n/**\n * Determine if a color is light or dark\n * @function light-or-dark\n * @param {Color} $color - The color to check\n * @return {String} - \"light\" or \"dark\"\n */\n/**\n * Get the most legible color (black or white) for a given background color\n * @function most-legible-color\n * @param {Color} $color - The background color\n * @return {Color} - The most legible color\n */\n/**\n * Get the desired color combination for foreground and background colors\n * @function desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n * @return {List} - List containing background and foreground colors\n */\n/**\n * @mixin desired-color-combination\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Number} $offsetThreshold - Offset threshold\n * @param {Number} $ratio - Contrast ratio\n */\n/**\n * Get an accessible color for a given foreground and background color\n * @function a11y-color\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {String} $level - WCAG level\n * @param {Number} $size - Font size\n * @param {Boolean} $bold - Is bold\n * @param {Boolean} $graphic - Is graphic\n * @param {Number} $maxOffset - Maximum offset\n * @param {Boolean} $darkMode - Is dark mode\n * @param {Number} $ratio - Contrast ratio\n * @return {Color} - Accessible color\n */\n/**\n * Get the maximum contrast color\n * @function max-contrast\n * @param {Color} $fg - Foreground color\n * @param {Color} $bg - Background color\n * @param {Color} $max - Maximum contrast color\n * @return {Color} - Maximum contrast color\n */\n/**\n * Get the RGB values of a color as a string\n * @function stripped-rgb\n * @param {Color} $color - The color\n * @return {String} - RGB values as a string\n */\n/**\n * Get the HSL values of a color as a string\n * @function stripped-hsl\n * @param {Color} $color - The color\n * @return {String} - HSL values as a string\n */\n/**\n * Convert a map of colors to a map of HSL values\n * @function hsl-map\n * @param {Map} $colors - Map of colors\n * @return {Map} - Map of HSL values\n */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/**\n * Breakpoint viewport sizes and media queries.\n *\n * Breakpoints are defined as a map of (name: minimum width), order from small to large:\n *\n * (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n *\n * The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n */\n/**\n * Name of the next breakpoint, or null for the last breakpoint.\n *\n * >> breakpoint-next(sm)\n * md\n * >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * md\n * >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n * md\n */\n/**\n * Minimum breakpoint width. Null for the smallest (first) breakpoint.\n *\n * >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 576px\n */\n/**\n * Maximum breakpoint width.\n * The maximum value is reduced by 0.02px to work around the limitations of\n * `min-` and `max-` prefixes and viewports with fractional widths.\n * See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n * Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n * See https://bugs.webkit.org/show_bug.cgi?id=178261\n *\n * >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * 767.98px\n */\n/**\n * Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n * Useful for making responsive utilities.\n *\n * >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"\" (Returns a blank string)\n * >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n * \"-sm\"\n */\n/**\n * Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n * Makes the @content apply to the given breakpoint and wider.\n */\n/**\n * Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n * Makes the @content apply to the given breakpoint and narrower.\n */\n/**\n * Media that spans multiple breakpoint widths.\n * Makes the @content apply between the min and max breakpoints\n */\n/**\n * Media between the breakpoint's minimum and maximum widths.\n * No minimum for the smallest breakpoint, and no maximum for the largest one.\n * Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n .item {\n padding-left: 1rem \"\";\n padding-right: 1rem \"\";\n padding-bottom: 0.75rem \"\";\n padding-top: 0.75rem \"\";\n line-height: 1.25;\n cursor: pointer;\n }\n .item:hover, .item:focus-visible {\n background-color: var(--gds-sys-color-base-200);\n }\n .item:active {\n background-color: var(--gds-sys-color-base-200);\n }\n .item:focus {\n outline-color: #000;\n outline-offset: -0.25rem;\n }\n .item.active.sg-highlighted, .item[aria-selected=true] {\n background: var(--gds-sys-color-base-800);\n color: #fff;\n }\n .item {\n display: flex;\n gap: 0.75rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n :host(:hover) div,\n :host(:focus-visible) div {\n background-color: var(--gds-sys-color-base-200);\n }\n :host(:active) div {\n background-color: var(--gds-sys-color-base-300);\n }\n :host(:focus-visible) {\n outline-color: #000;\n outline-offset: -0.25rem;\n }\n :host([inert]) {\n display: none;\n }\n :host([highlighted]) .item {\n background: var(--gds-sys-color-base-800);\n color: #fff;\n }\n}";
|
|
2
2
|
export default styles;
|