@sebgroup/green-core 2.16.1 → 2.17.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/button/button.trans.styles.scss.js +1 -1
- package/components/calendar/calendar.trans.styles.scss.js +1 -1
- package/components/context-menu/context-menu.trans.styles.scss.js +1 -1
- package/components/datepicker/datepicker.component.js +1 -9
- package/components/formatted-text/number/formatted-number.component.d.ts +4 -1
- package/components/formatted-text/number/formatted-number.component.js +9 -1
- package/components/formatted-text/number/number-formatter.d.ts +1 -1
- package/components/formatted-text/number/number-formatter.js +3 -3
- package/components/input/input.component.js +1 -4
- package/components/sensitive/number/sensitive-number.component.d.ts +2 -1
- package/components/sensitive/number/sensitive-number.component.js +6 -1
- package/components/textarea/textarea.component.js +1 -4
- package/gds-element.js +1 -1
- package/generated/react/alert/index.d.ts +22 -15
- package/generated/react/backdrop/index.d.ts +19 -12
- package/generated/react/badge/index.d.ts +22 -15
- package/generated/react/blur/index.d.ts +18 -11
- package/generated/react/breadcrumb/index.d.ts +22 -15
- package/generated/react/breadcrumbs/index.d.ts +19 -12
- package/generated/react/button/index.d.ts +30 -23
- package/generated/react/calendar/index.d.ts +24 -17
- package/generated/react/card/index.d.ts +19 -12
- package/generated/react/card-linked/index.d.ts +21 -14
- package/generated/react/card-pattern-01/index.d.ts +29 -22
- package/generated/react/checkbox/index.d.ts +31 -24
- package/generated/react/checkbox-group/index.d.ts +31 -24
- package/generated/react/coachmark/index.d.ts +21 -14
- package/generated/react/context-menu/index.d.ts +21 -14
- package/generated/react/datepicker/index.d.ts +40 -33
- package/generated/react/details/index.d.ts +21 -14
- package/generated/react/dialog/index.d.ts +20 -13
- package/generated/react/div/index.d.ts +18 -11
- package/generated/react/divider/index.d.ts +18 -11
- package/generated/react/dropdown/index.d.ts +43 -36
- package/generated/react/fab/index.d.ts +30 -23
- package/generated/react/filter-chip/index.d.ts +19 -12
- package/generated/react/filter-chips/index.d.ts +31 -24
- package/generated/react/flex/index.d.ts +18 -11
- package/generated/react/form-control-footer/index.d.ts +18 -11
- package/generated/react/form-control-header/index.d.ts +19 -12
- package/generated/react/form-summary/index.d.ts +21 -14
- package/generated/react/formatted-account/index.d.ts +21 -14
- package/generated/react/formatted-date/index.d.ts +20 -13
- package/generated/react/formatted-number/index.d.ts +22 -14
- package/generated/react/grid/index.d.ts +18 -11
- package/generated/react/grouped-list/index.d.ts +19 -12
- package/generated/react/icons/icon/index.d.ts +20 -13
- package/generated/react/icons/icon-ai/index.d.ts +20 -13
- package/generated/react/icons/icon-airplane-up/index.d.ts +20 -13
- package/generated/react/icons/icon-archive/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-box-left/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-box-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-down/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-inbox/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-left/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-left-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-right-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-share-left/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-share-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-split/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-up/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-wall-down/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-wall-left/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-wall-right/index.d.ts +20 -13
- package/generated/react/icons/icon-arrow-wall-up/index.d.ts +20 -13
- package/generated/react/icons/icon-arrows-repeat/index.d.ts +20 -13
- package/generated/react/icons/icon-at/index.d.ts +20 -13
- package/generated/react/icons/icon-back/index.d.ts +20 -13
- package/generated/react/icons/icon-backward/index.d.ts +20 -13
- package/generated/react/icons/icon-bag/index.d.ts +20 -13
- package/generated/react/icons/icon-bank/index.d.ts +20 -13
- package/generated/react/icons/icon-banknote/index.d.ts +20 -13
- package/generated/react/icons/icon-banknote-2/index.d.ts +20 -13
- package/generated/react/icons/icon-barcode/index.d.ts +20 -13
- package/generated/react/icons/icon-bars-three/index.d.ts +20 -13
- package/generated/react/icons/icon-bars-two/index.d.ts +20 -13
- package/generated/react/icons/icon-basket/index.d.ts +20 -13
- package/generated/react/icons/icon-battery-loading/index.d.ts +20 -13
- package/generated/react/icons/icon-bell/index.d.ts +20 -13
- package/generated/react/icons/icon-block/index.d.ts +20 -13
- package/generated/react/icons/icon-book/index.d.ts +20 -13
- package/generated/react/icons/icon-bookmark/index.d.ts +20 -13
- package/generated/react/icons/icon-bookmark-check/index.d.ts +20 -13
- package/generated/react/icons/icon-bookmark-delete/index.d.ts +20 -13
- package/generated/react/icons/icon-bookmark-plus/index.d.ts +20 -13
- package/generated/react/icons/icon-bookmark-remove/index.d.ts +20 -13
- package/generated/react/icons/icon-books/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-app-store/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-apple-music/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-bankid/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-chrome/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-facebook/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-figma/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-firefox/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-github/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-green/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-instagram/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-linkedin/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-play-store/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-rss-feed/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-seb/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-spotify/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-storybook/index.d.ts +20 -13
- package/generated/react/icons/icon-brand-x/index.d.ts +20 -13
- package/generated/react/icons/icon-brush/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-annotation/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-dots/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-question/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-quotes/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-text/index.d.ts +20 -13
- package/generated/react/icons/icon-bubble-wide-annotation/index.d.ts +20 -13
- package/generated/react/icons/icon-bubbles/index.d.ts +20 -13
- package/generated/react/icons/icon-buildings/index.d.ts +20 -13
- package/generated/react/icons/icon-bullet-list/index.d.ts +20 -13
- package/generated/react/icons/icon-cain-link/index.d.ts +20 -13
- package/generated/react/icons/icon-calculator/index.d.ts +20 -13
- package/generated/react/icons/icon-calendar/index.d.ts +20 -13
- package/generated/react/icons/icon-calendar-check/index.d.ts +20 -13
- package/generated/react/icons/icon-calender-add/index.d.ts +20 -13
- package/generated/react/icons/icon-call/index.d.ts +20 -13
- package/generated/react/icons/icon-car/index.d.ts +20 -13
- package/generated/react/icons/icon-carussel/index.d.ts +20 -13
- package/generated/react/icons/icon-chain-link/index.d.ts +20 -13
- package/generated/react/icons/icon-chain-link-broken/index.d.ts +20 -13
- package/generated/react/icons/icon-charging-station/index.d.ts +20 -13
- package/generated/react/icons/icon-chart-one/index.d.ts +20 -13
- package/generated/react/icons/icon-chart-presentation/index.d.ts +20 -13
- package/generated/react/icons/icon-chart-two/index.d.ts +20 -13
- package/generated/react/icons/icon-checklist/index.d.ts +20 -13
- package/generated/react/icons/icon-checkmark/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-bottom/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-double-down/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-double-left/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-double-right/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-double-up/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-down-small/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-left/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-left-small/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-right/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-right-small/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-top/index.d.ts +20 -13
- package/generated/react/icons/icon-chevron-top-small/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-ban/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-check/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-dots/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-info/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-minus/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-plus/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-questionmark/index.d.ts +20 -13
- package/generated/react/icons/icon-circle-x/index.d.ts +20 -13
- package/generated/react/icons/icon-circles-three/index.d.ts +20 -13
- package/generated/react/icons/icon-clock/index.d.ts +20 -13
- package/generated/react/icons/icon-cloud-download/index.d.ts +20 -13
- package/generated/react/icons/icon-cloud-upload/index.d.ts +20 -13
- package/generated/react/icons/icon-cloudy-sun/index.d.ts +20 -13
- package/generated/react/icons/icon-code/index.d.ts +20 -13
- package/generated/react/icons/icon-code-brackets/index.d.ts +20 -13
- package/generated/react/icons/icon-compass-round/index.d.ts +20 -13
- package/generated/react/icons/icon-cookies/index.d.ts +20 -13
- package/generated/react/icons/icon-copy/index.d.ts +20 -13
- package/generated/react/icons/icon-credit-card/index.d.ts +20 -13
- package/generated/react/icons/icon-cross-large/index.d.ts +20 -13
- package/generated/react/icons/icon-cross-small/index.d.ts +20 -13
- package/generated/react/icons/icon-cup-hot/index.d.ts +20 -13
- package/generated/react/icons/icon-cursor/index.d.ts +20 -13
- package/generated/react/icons/icon-details/index.d.ts +19 -12
- package/generated/react/icons/icon-devices/index.d.ts +20 -13
- package/generated/react/icons/icon-direction/index.d.ts +20 -13
- package/generated/react/icons/icon-dollar/index.d.ts +20 -13
- package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +20 -13
- package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +20 -13
- package/generated/react/icons/icon-dot-grid-three/index.d.ts +20 -13
- package/generated/react/icons/icon-dot-grid-two/index.d.ts +20 -13
- package/generated/react/icons/icon-email/index.d.ts +20 -13
- package/generated/react/icons/icon-emoji-angry/index.d.ts +20 -13
- package/generated/react/icons/icon-emoji-neutral/index.d.ts +20 -13
- package/generated/react/icons/icon-emoji-sad/index.d.ts +20 -13
- package/generated/react/icons/icon-emoji-smile/index.d.ts +20 -13
- package/generated/react/icons/icon-emoji-smiley/index.d.ts +20 -13
- package/generated/react/icons/icon-euro/index.d.ts +20 -13
- package/generated/react/icons/icon-expand/index.d.ts +20 -13
- package/generated/react/icons/icon-eye-open/index.d.ts +20 -13
- package/generated/react/icons/icon-eye-slash/index.d.ts +20 -13
- package/generated/react/icons/icon-fashion/index.d.ts +20 -13
- package/generated/react/icons/icon-fast-forward/index.d.ts +20 -13
- package/generated/react/icons/icon-file-bend/index.d.ts +20 -13
- package/generated/react/icons/icon-file-chart/index.d.ts +20 -13
- package/generated/react/icons/icon-file-text/index.d.ts +20 -13
- package/generated/react/icons/icon-files/index.d.ts +20 -13
- package/generated/react/icons/icon-filter/index.d.ts +20 -13
- package/generated/react/icons/icon-flag/index.d.ts +20 -13
- package/generated/react/icons/icon-floppy-disk/index.d.ts +20 -13
- package/generated/react/icons/icon-focus/index.d.ts +20 -13
- package/generated/react/icons/icon-focus-square/index.d.ts +20 -13
- package/generated/react/icons/icon-folder/index.d.ts +20 -13
- package/generated/react/icons/icon-folder-add-right/index.d.ts +20 -13
- package/generated/react/icons/icon-folder-paper/index.d.ts +20 -13
- package/generated/react/icons/icon-folder-upload/index.d.ts +20 -13
- package/generated/react/icons/icon-fullscreen/index.d.ts +20 -13
- package/generated/react/icons/icon-gift/index.d.ts +20 -13
- package/generated/react/icons/icon-globus/index.d.ts +20 -13
- package/generated/react/icons/icon-graduate-cap/index.d.ts +20 -13
- package/generated/react/icons/icon-green-power/index.d.ts +20 -13
- package/generated/react/icons/icon-group/index.d.ts +20 -13
- package/generated/react/icons/icon-growth/index.d.ts +20 -13
- package/generated/react/icons/icon-headphones/index.d.ts +20 -13
- package/generated/react/icons/icon-heart/index.d.ts +20 -13
- package/generated/react/icons/icon-heart-beat/index.d.ts +20 -13
- package/generated/react/icons/icon-history/index.d.ts +20 -13
- package/generated/react/icons/icon-home-energy-one/index.d.ts +20 -13
- package/generated/react/icons/icon-home-energy-two/index.d.ts +20 -13
- package/generated/react/icons/icon-home-open/index.d.ts +20 -13
- package/generated/react/icons/icon-home-roof/index.d.ts +20 -13
- package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +20 -13
- package/generated/react/icons/icon-hourglass/index.d.ts +20 -13
- package/generated/react/icons/icon-images/index.d.ts +20 -13
- package/generated/react/icons/icon-inbox-empty/index.d.ts +20 -13
- package/generated/react/icons/icon-industry/index.d.ts +20 -13
- package/generated/react/icons/icon-invite/index.d.ts +20 -13
- package/generated/react/icons/icon-jpg/index.d.ts +20 -13
- package/generated/react/icons/icon-key/index.d.ts +20 -13
- package/generated/react/icons/icon-knife-spoon/index.d.ts +20 -13
- package/generated/react/icons/icon-lab/index.d.ts +20 -13
- package/generated/react/icons/icon-law/index.d.ts +20 -13
- package/generated/react/icons/icon-leisure/index.d.ts +20 -13
- package/generated/react/icons/icon-light-bulb/index.d.ts +20 -13
- package/generated/react/icons/icon-light-bulb-simple/index.d.ts +20 -13
- package/generated/react/icons/icon-lightning/index.d.ts +20 -13
- package/generated/react/icons/icon-line-chart-four/index.d.ts +20 -13
- package/generated/react/icons/icon-line-chart-one/index.d.ts +20 -13
- package/generated/react/icons/icon-line-chart-three/index.d.ts +20 -13
- package/generated/react/icons/icon-line-chart-two/index.d.ts +20 -13
- package/generated/react/icons/icon-lock/index.d.ts +20 -13
- package/generated/react/icons/icon-macbook-air/index.d.ts +20 -13
- package/generated/react/icons/icon-magnifying-glass/index.d.ts +20 -13
- package/generated/react/icons/icon-maintenance/index.d.ts +20 -13
- package/generated/react/icons/icon-map-pin/index.d.ts +20 -13
- package/generated/react/icons/icon-megaphone/index.d.ts +20 -13
- package/generated/react/icons/icon-menu-sidebar/index.d.ts +20 -13
- package/generated/react/icons/icon-mic-off/index.d.ts +20 -13
- package/generated/react/icons/icon-mic-on/index.d.ts +20 -13
- package/generated/react/icons/icon-minimize/index.d.ts +20 -13
- package/generated/react/icons/icon-minus-large/index.d.ts +20 -13
- package/generated/react/icons/icon-minus-small/index.d.ts +20 -13
- package/generated/react/icons/icon-money-hand/index.d.ts +20 -13
- package/generated/react/icons/icon-moneybag/index.d.ts +20 -13
- package/generated/react/icons/icon-moon/index.d.ts +20 -13
- package/generated/react/icons/icon-mute/index.d.ts +20 -13
- package/generated/react/icons/icon-office/index.d.ts +20 -13
- package/generated/react/icons/icon-other/index.d.ts +20 -13
- package/generated/react/icons/icon-page-add/index.d.ts +20 -13
- package/generated/react/icons/icon-page-text/index.d.ts +20 -13
- package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +20 -13
- package/generated/react/icons/icon-paperclip/index.d.ts +20 -13
- package/generated/react/icons/icon-pause/index.d.ts +20 -13
- package/generated/react/icons/icon-pdf/index.d.ts +20 -13
- package/generated/react/icons/icon-pencel-line/index.d.ts +20 -13
- package/generated/react/icons/icon-pencil-sign/index.d.ts +20 -13
- package/generated/react/icons/icon-pencil-sparkle/index.d.ts +20 -13
- package/generated/react/icons/icon-pencil-wave/index.d.ts +20 -13
- package/generated/react/icons/icon-pension/index.d.ts +20 -13
- package/generated/react/icons/icon-people/index.d.ts +20 -13
- package/generated/react/icons/icon-people-a11y/index.d.ts +20 -13
- package/generated/react/icons/icon-people-add/index.d.ts +20 -13
- package/generated/react/icons/icon-people-added/index.d.ts +20 -13
- package/generated/react/icons/icon-people-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-people-copy/index.d.ts +20 -13
- package/generated/react/icons/icon-people-profile/index.d.ts +20 -13
- package/generated/react/icons/icon-people-remove/index.d.ts +20 -13
- package/generated/react/icons/icon-percent/index.d.ts +20 -13
- package/generated/react/icons/icon-phone/index.d.ts +20 -13
- package/generated/react/icons/icon-phone-dynamic-island/index.d.ts +20 -13
- package/generated/react/icons/icon-pie-chart/index.d.ts +20 -13
- package/generated/react/icons/icon-piggy-bank/index.d.ts +20 -13
- package/generated/react/icons/icon-pin/index.d.ts +20 -13
- package/generated/react/icons/icon-pinch/index.d.ts +20 -13
- package/generated/react/icons/icon-play/index.d.ts +20 -13
- package/generated/react/icons/icon-play-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-plus-large/index.d.ts +20 -13
- package/generated/react/icons/icon-plus-small/index.d.ts +20 -13
- package/generated/react/icons/icon-png/index.d.ts +20 -13
- package/generated/react/icons/icon-poop/index.d.ts +20 -13
- package/generated/react/icons/icon-postcard/index.d.ts +20 -13
- package/generated/react/icons/icon-pound/index.d.ts +20 -13
- package/generated/react/icons/icon-power-plant/index.d.ts +20 -13
- package/generated/react/icons/icon-printer/index.d.ts +20 -13
- package/generated/react/icons/icon-push/index.d.ts +20 -13
- package/generated/react/icons/icon-qr-code/index.d.ts +20 -13
- package/generated/react/icons/icon-rainy/index.d.ts +20 -13
- package/generated/react/icons/icon-raising-hand/index.d.ts +20 -13
- package/generated/react/icons/icon-reading-list/index.d.ts +20 -13
- package/generated/react/icons/icon-receipt-bill/index.d.ts +20 -13
- package/generated/react/icons/icon-receiption-bell/index.d.ts +20 -13
- package/generated/react/icons/icon-record/index.d.ts +20 -13
- package/generated/react/icons/icon-refund/index.d.ts +20 -13
- package/generated/react/icons/icon-robot/index.d.ts +20 -13
- package/generated/react/icons/icon-rocket/index.d.ts +20 -13
- package/generated/react/icons/icon-run-shortcut/index.d.ts +20 -13
- package/generated/react/icons/icon-safari/index.d.ts +20 -13
- package/generated/react/icons/icon-school/index.d.ts +20 -13
- package/generated/react/icons/icon-scissors/index.d.ts +20 -13
- package/generated/react/icons/icon-search-menu/index.d.ts +20 -13
- package/generated/react/icons/icon-seb/index.d.ts +20 -13
- package/generated/react/icons/icon-settings-gear/index.d.ts +20 -13
- package/generated/react/icons/icon-settings-slider-hor/index.d.ts +20 -13
- package/generated/react/icons/icon-settings-slider-three/index.d.ts +20 -13
- package/generated/react/icons/icon-settings-slider-ver/index.d.ts +20 -13
- package/generated/react/icons/icon-shapes/index.d.ts +20 -13
- package/generated/react/icons/icon-share/index.d.ts +20 -13
- package/generated/react/icons/icon-shield/index.d.ts +20 -13
- package/generated/react/icons/icon-shield-checked/index.d.ts +20 -13
- package/generated/react/icons/icon-shield-crossed/index.d.ts +20 -13
- package/generated/react/icons/icon-shopping-bag/index.d.ts +20 -13
- package/generated/react/icons/icon-signature/index.d.ts +20 -13
- package/generated/react/icons/icon-smartwatch/index.d.ts +20 -13
- package/generated/react/icons/icon-solar/index.d.ts +20 -13
- package/generated/react/icons/icon-solar-panel/index.d.ts +20 -13
- package/generated/react/icons/icon-sort/index.d.ts +20 -13
- package/generated/react/icons/icon-sort-ascending/index.d.ts +20 -13
- package/generated/react/icons/icon-sort-descending/index.d.ts +20 -13
- package/generated/react/icons/icon-sort-down/index.d.ts +20 -13
- package/generated/react/icons/icon-sort-up/index.d.ts +20 -13
- package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +20 -13
- package/generated/react/icons/icon-square-behind-square/index.d.ts +20 -13
- package/generated/react/icons/icon-square-check/index.d.ts +20 -13
- package/generated/react/icons/icon-square-grid-circle/index.d.ts +20 -13
- package/generated/react/icons/icon-square-info/index.d.ts +20 -13
- package/generated/react/icons/icon-square-minus/index.d.ts +20 -13
- package/generated/react/icons/icon-square-placeholder/index.d.ts +20 -13
- package/generated/react/icons/icon-square-plus/index.d.ts +20 -13
- package/generated/react/icons/icon-square-x/index.d.ts +20 -13
- package/generated/react/icons/icon-star/index.d.ts +20 -13
- package/generated/react/icons/icon-store/index.d.ts +20 -13
- package/generated/react/icons/icon-suitcase-work/index.d.ts +20 -13
- package/generated/react/icons/icon-sun/index.d.ts +20 -13
- package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +20 -13
- package/generated/react/icons/icon-tag/index.d.ts +20 -13
- package/generated/react/icons/icon-target-arrow/index.d.ts +20 -13
- package/generated/react/icons/icon-television/index.d.ts +20 -13
- package/generated/react/icons/icon-tennis/index.d.ts +20 -13
- package/generated/react/icons/icon-text-edit/index.d.ts +20 -13
- package/generated/react/icons/icon-thermostat/index.d.ts +20 -13
- package/generated/react/icons/icon-thumbs-down/index.d.ts +20 -13
- package/generated/react/icons/icon-thumbs-up/index.d.ts +20 -13
- package/generated/react/icons/icon-ticket/index.d.ts +20 -13
- package/generated/react/icons/icon-todos/index.d.ts +20 -13
- package/generated/react/icons/icon-trading-view-candles/index.d.ts +20 -13
- package/generated/react/icons/icon-trash-can/index.d.ts +20 -13
- package/generated/react/icons/icon-tree/index.d.ts +20 -13
- package/generated/react/icons/icon-trending-four/index.d.ts +20 -13
- package/generated/react/icons/icon-trending-one/index.d.ts +20 -13
- package/generated/react/icons/icon-trending-three/index.d.ts +20 -13
- package/generated/react/icons/icon-trending-two/index.d.ts +20 -13
- package/generated/react/icons/icon-triangle-exclamation/index.d.ts +20 -13
- package/generated/react/icons/icon-truck/index.d.ts +20 -13
- package/generated/react/icons/icon-umbrella-security/index.d.ts +20 -13
- package/generated/react/icons/icon-unlocked/index.d.ts +20 -13
- package/generated/react/icons/icon-vertical-alignment-right/index.d.ts +20 -13
- package/generated/react/icons/icon-volume-full/index.d.ts +20 -13
- package/generated/react/icons/icon-volume-half/index.d.ts +20 -13
- package/generated/react/icons/icon-volume-off/index.d.ts +20 -13
- package/generated/react/icons/icon-wallet/index.d.ts +20 -13
- package/generated/react/icons/icon-warning-sign/index.d.ts +20 -13
- package/generated/react/icons/icon-wifi-full/index.d.ts +20 -13
- package/generated/react/icons/icon-youtube/index.d.ts +20 -13
- package/generated/react/icons/icon-zap/index.d.ts +20 -13
- package/generated/react/icons/icon-zoom-in/index.d.ts +20 -13
- package/generated/react/icons/icon-zoom-out/index.d.ts +20 -13
- package/generated/react/img/index.d.ts +20 -13
- package/generated/react/index.d.ts +5 -5
- package/generated/react/index.js +5 -5
- package/generated/react/input/index.d.ts +40 -33
- package/generated/react/link/index.d.ts +21 -14
- package/generated/react/list-item/index.d.ts +18 -11
- package/generated/react/mask/index.d.ts +21 -14
- package/generated/react/menu-button/index.d.ts +24 -17
- package/generated/react/menu-heading/index.d.ts +18 -11
- package/generated/react/menu-item/index.d.ts +18 -11
- package/generated/react/option/index.d.ts +22 -15
- package/generated/react/popover/index.d.ts +22 -15
- package/generated/react/radio/index.d.ts +24 -17
- package/generated/react/radio-group/index.d.ts +31 -24
- package/generated/react/rich-text/index.d.ts +18 -11
- package/generated/react/segment/index.d.ts +22 -15
- package/generated/react/segmented-control/index.d.ts +20 -13
- package/generated/react/select/index.d.ts +33 -26
- package/generated/react/sensitive-account/index.d.ts +22 -15
- package/generated/react/sensitive-date/index.d.ts +21 -14
- package/generated/react/sensitive-number/index.d.ts +23 -15
- package/generated/react/signal/index.d.ts +18 -11
- package/generated/react/spinner/index.d.ts +21 -14
- package/generated/react/text/index.d.ts +19 -12
- package/generated/react/textarea/index.d.ts +38 -31
- package/generated/react/theme/index.d.ts +18 -11
- package/generated/react/video/index.d.ts +18 -11
- package/package.json +2 -1
- package/primitives/field-base/field-base.trans.styles.scss.js +1 -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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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 */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _ranks, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n .button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n box-sizing: border-box;\n font-size: inherit;\n overflow: hidden;\n display: flex;\n gap: 0.5rem;\n text-decoration: none;\n width: 100%;\n }\n .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n .button:focus, .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n @media (max-width: 35.98em) {\n .button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n .button {\n border: 2px solid currentcolor;\n }\n }\n .button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n .button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .button slot:not([name]) {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n :host(:not([variant=ghost])) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: rgb(0, 122, 199);\n border-color: rgb(0, 122, 199);\n color: #fff;\n --color: #fff;\n }\n :host(:not([variant=ghost])) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host(:not([variant=ghost])) .button[aria-selected=true], :host(:not([variant=ghost])) .button:active, :host(:not([variant=ghost])) .button.active, :host(:not([variant=ghost])) .button.active:hover, :host(:not([variant=ghost])) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host(:not([variant=ghost])) .button:focus-visible {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169) !important;\n }\n :host(:not([variant=ghost])) .button:disabled, :host(:not([variant=ghost])) .button.disabled, :host(:not([variant=ghost])) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host(:not([variant=ghost])) .button:disabled::-moz-placeholder, :host(:not([variant=ghost])) .button.disabled::-moz-placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: transparent;\n border-color: rgb(0, 122, 199);\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=secondary]) .button:focus, :host([rank*=secondary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=secondary]) .button[aria-selected=true], :host([rank*=secondary]) .button:active, :host([rank*=secondary]) .button.active, :host([rank*=secondary]) .button.active:hover, :host([rank*=secondary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:disabled, :host([rank*=secondary]) .button.disabled, :host([rank*=secondary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=secondary]) .button:disabled::-moz-placeholder, :host([rank*=secondary]) .button.disabled::-moz-placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:disabled::placeholder, :host([rank*=secondary]) .button.disabled::placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: transparent;\n border-color: transparent;\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=tertiary]) .button:focus, :host([rank*=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=tertiary]) .button[aria-selected=true], :host([rank*=tertiary]) .button:active, :host([rank*=tertiary]) .button.active, :host([rank*=tertiary]) .button.active:hover, :host([rank*=tertiary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:disabled, :host([rank*=tertiary]) .button.disabled, :host([rank*=tertiary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=tertiary]) .button:disabled::-moz-placeholder, :host([rank*=tertiary]) .button.disabled::-moz-placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:disabled::placeholder, :host([rank*=tertiary]) .button.disabled::placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-disable */\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button,\n :host([variant=negative][rank=primary]) .button {\n background: rgb(187, 0, 12);\n border-color: rgb(187, 0, 12);\n color: #fff;\n --color: #fff;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=primary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected=true], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected=true],\n :host([variant=negative][rank=primary]) .button:active,\n :host([variant=negative][rank=primary]) .button.active,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected]:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=primary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus-visible,\n :host([variant=negative][rank=primary]) .button:focus,\n :host([variant=negative][rank=primary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true],\n :host([variant=negative][rank=primary]) .button:disabled,\n :host([variant=negative][rank=primary]) .button.disabled,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::-moz-placeholder, :host([variant=negative][rank=primary]) .button:disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button.disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::placeholder,\n :host([variant=negative][rank=primary]) .button:disabled::placeholder,\n :host([variant=negative][rank=primary]) .button.disabled::placeholder,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-enable */\n :host([variant=negative][rank=secondary]) .button,\n :host([variant=negative][rank=tertiary]) .button {\n color: rgb(187, 0, 12);\n --color: rgb(187, 0, 12);\n border-color: transparent;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative][rank=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected=true], :host([variant=negative][rank=secondary]) .button:active, :host([variant=negative][rank=secondary]) .button.active, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected=true],\n :host([variant=negative][rank=tertiary]) .button:active,\n :host([variant=negative][rank=tertiary]) .button.active,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected]:hover, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative][rank=secondary]) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative][rank=secondary]) .button:focus, :host([variant=negative][rank=secondary]) .button:focus-visible,\n :host([variant=negative][rank=tertiary]) .button:focus,\n :host([variant=negative][rank=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative][rank=secondary]) .button {\n border-color: rgb(187, 0, 12);\n }\n :host([variant=ghost]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n border-color: rgb(51, 51, 51);\n color: rgb(51, 51, 51);\n --color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected=true], :host([variant=ghost]) .button:active, :host([variant=ghost]) .button.active, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected]:hover, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=ghost]) .button:focus-visible {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51) !important;\n }\n :host([variant=ghost]) .button:disabled, :host([variant=ghost]) .button.disabled, :host([variant=ghost]) .button[aria-disabled=true] {\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=ghost]) .button:disabled::-moz-placeholder, :host([variant=ghost]) .button.disabled::-moz-placeholder, :host([variant=ghost]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=ghost]) .button:disabled::placeholder, :host([variant=ghost]) .button.disabled::placeholder, :host([variant=ghost]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n }\n @layer _overrides {\n :host .button.icon {\n padding: 0.75rem;\n background: transparent;\n border-width: 0px;\n color: currentColor;\n }\n :host .button.icon:hover {\n color: currentColor;\n background: var(--grey-500);\n }\n :host .button.icon slot {\n display: contents;\n }\n .button.icon.xs {\n min-height: 1.5rem;\n line-height: 0.75rem;\n padding: 0.25rem;\n }\n .button.icon.small {\n padding: 0.5rem;\n }\n .button.icon.large {\n padding: 1rem;\n }\n }\n}";
|
|
1
|
+
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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 */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _ranks, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n .button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n }\n .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n .button:focus, .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n .button {\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n .button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n .button {\n border: 2px solid currentcolor;\n }\n }\n .button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n .button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .button {\n box-sizing: border-box;\n font-size: inherit;\n overflow: hidden;\n display: flex;\n gap: 0.5rem;\n text-decoration: none;\n width: 100%;\n }\n .button slot:not([name]) {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n :host(:not([variant=ghost])) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host(:not([variant=ghost])) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host(:not([variant=ghost])) .button[aria-selected=true], :host(:not([variant=ghost])) .button:active, :host(:not([variant=ghost])) .button.active, :host(:not([variant=ghost])) .button.active:hover, :host(:not([variant=ghost])) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host(:not([variant=ghost])) .button:focus-visible {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169) !important;\n }\n :host(:not([variant=ghost])) .button {\n background: rgb(0, 122, 199);\n border-color: rgb(0, 122, 199);\n color: #fff;\n --color: #fff;\n }\n :host(:not([variant=ghost])) .button:disabled, :host(:not([variant=ghost])) .button.disabled, :host(:not([variant=ghost])) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host(:not([variant=ghost])) .button:disabled::-moz-placeholder, :host(:not([variant=ghost])) .button.disabled::-moz-placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=secondary]) .button:focus, :host([rank*=secondary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=secondary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([rank*=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=secondary]) .button[aria-selected=true], :host([rank*=secondary]) .button:active, :host([rank*=secondary]) .button.active, :host([rank*=secondary]) .button.active:hover, :host([rank*=secondary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button {\n background: transparent;\n border-color: rgb(0, 122, 199);\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:disabled, :host([rank*=secondary]) .button.disabled, :host([rank*=secondary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=secondary]) .button:disabled::-moz-placeholder, :host([rank*=secondary]) .button.disabled::-moz-placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:disabled::placeholder, :host([rank*=secondary]) .button.disabled::placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=tertiary]) .button:focus, :host([rank*=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=tertiary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([rank*=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=tertiary]) .button[aria-selected=true], :host([rank*=tertiary]) .button:active, :host([rank*=tertiary]) .button.active, :host([rank*=tertiary]) .button.active:hover, :host([rank*=tertiary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button {\n background: transparent;\n border-color: transparent;\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:disabled, :host([rank*=tertiary]) .button.disabled, :host([rank*=tertiary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=tertiary]) .button:disabled::-moz-placeholder, :host([rank*=tertiary]) .button.disabled::-moz-placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:disabled::placeholder, :host([rank*=tertiary]) .button.disabled::placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-disable */\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button,\n :host([variant=negative][rank=primary]) .button {\n background: rgb(187, 0, 12);\n border-color: rgb(187, 0, 12);\n color: #fff;\n --color: #fff;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=primary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected=true], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected=true],\n :host([variant=negative][rank=primary]) .button:active,\n :host([variant=negative][rank=primary]) .button.active,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected]:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=primary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus-visible,\n :host([variant=negative][rank=primary]) .button:focus,\n :host([variant=negative][rank=primary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true],\n :host([variant=negative][rank=primary]) .button:disabled,\n :host([variant=negative][rank=primary]) .button.disabled,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::-moz-placeholder, :host([variant=negative][rank=primary]) .button:disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button.disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::placeholder,\n :host([variant=negative][rank=primary]) .button:disabled::placeholder,\n :host([variant=negative][rank=primary]) .button.disabled::placeholder,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-enable */\n :host([variant=negative][rank=secondary]) .button,\n :host([variant=negative][rank=tertiary]) .button {\n color: rgb(187, 0, 12);\n --color: rgb(187, 0, 12);\n border-color: transparent;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative][rank=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected=true], :host([variant=negative][rank=secondary]) .button:active, :host([variant=negative][rank=secondary]) .button.active, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected=true],\n :host([variant=negative][rank=tertiary]) .button:active,\n :host([variant=negative][rank=tertiary]) .button.active,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected]:hover, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative][rank=secondary]) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative][rank=secondary]) .button:focus, :host([variant=negative][rank=secondary]) .button:focus-visible,\n :host([variant=negative][rank=tertiary]) .button:focus,\n :host([variant=negative][rank=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative][rank=secondary]) .button {\n border-color: rgb(187, 0, 12);\n }\n :host([variant=ghost]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=ghost]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected=true], :host([variant=ghost]) .button:active, :host([variant=ghost]) .button.active, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected]:hover, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=ghost]) .button:focus-visible {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51) !important;\n }\n :host([variant=ghost]) .button {\n border-color: rgb(51, 51, 51);\n color: rgb(51, 51, 51);\n --color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button:disabled, :host([variant=ghost]) .button.disabled, :host([variant=ghost]) .button[aria-disabled=true] {\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=ghost]) .button:disabled::-moz-placeholder, :host([variant=ghost]) .button.disabled::-moz-placeholder, :host([variant=ghost]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=ghost]) .button:disabled::placeholder, :host([variant=ghost]) .button.disabled::placeholder, :host([variant=ghost]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n }\n @layer _overrides {\n :host .button.icon {\n padding: 0.75rem;\n background: transparent;\n border-width: 0px;\n color: currentColor;\n }\n :host .button.icon:hover {\n color: currentColor;\n background: var(--grey-500);\n }\n :host .button.icon slot {\n display: contents;\n }\n .button.icon.xs {\n min-height: 1.5rem;\n line-height: 0.75rem;\n padding: 0.25rem;\n }\n .button.icon.small {\n padding: 0.5rem;\n }\n .button.icon.large {\n padding: 1rem;\n }\n }\n}";
|
|
2
2
|
export default styles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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/* medium */\n/* regular */\n/* regular */\n/* regular */\n/* hover */\n/* focus */\n/* selected */\n/* highlighted */\n/* active */\n/* disabled */\n/* today */\n/* weekend */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base {\n :host {\n display: flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n :host {\n flex-wrap: wrap;\n overflow-y: auto;\n }\n }\n :host table {\n border-spacing: 0;\n }\n :host th,\n :host td {\n box-sizing: border-box;\n height: 2.75rem;\n text-align: center;\n width: 2.75rem;\n }\n :host thead {\n /* days */\n }\n :host thead th {\n background: var(--sg-bg-level-2);\n border-bottom: solid 1px var(--sg-grey-300);\n font-weight: 400;\n top: 0;\n }\n @media (max-width: 35.98em) {\n :host thead th {\n position: sticky;\n }\n }\n :host tbody {\n /* week numbers */\n
|
|
1
|
+
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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/* medium */\n/* regular */\n/* regular */\n/* regular */\n/* hover */\n/* focus */\n/* selected */\n/* highlighted */\n/* active */\n/* disabled */\n/* today */\n/* weekend */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base {\n :host {\n display: flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n :host {\n flex-wrap: wrap;\n overflow-y: auto;\n }\n }\n :host table {\n border-spacing: 0;\n }\n :host th,\n :host td {\n box-sizing: border-box;\n height: 2.75rem;\n text-align: center;\n width: 2.75rem;\n }\n :host thead {\n /* days */\n }\n :host thead th {\n background: var(--sg-bg-level-2);\n border-bottom: solid 1px var(--sg-grey-300);\n font-weight: 400;\n top: 0;\n }\n @media (max-width: 35.98em) {\n :host thead th {\n position: sticky;\n }\n }\n :host tbody {\n /* week numbers */\n }\n :host tbody th {\n font-weight: 400;\n }\n :host tbody {\n /* dates */\n }\n :host tbody td {\n border: solid 1px transparent;\n font-weight: 500;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n /* weekend */\n }\n :host tbody td.sg-date-holiday:not(.disabled) {\n background: var(--sg-bg-level-2);\n color: hsl(var(--sg-hsl-red-2));\n }\n :host tbody td {\n /* today */\n }\n :host tbody td.today {\n background: transparent;\n border-radius: 4px;\n box-shadow: inset 0 0 0 2px var(--grey-1000);\n color: var(--grey-1000);\n }\n :host tbody td {\n /* hover */\n }\n :host tbody td:hover:not(.disabled) {\n background: var(--grey-500);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: var(--gds-sys-color-font);\n cursor: pointer;\n }\n :host tbody td {\n /* focus */\n }\n :host tbody td:focus-visible:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host tbody td:focus-visible:focus, :host tbody td:focus-visible:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host tbody td:focus-visible:not(.disabled) {\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n cursor: pointer;\n position: relative;\n z-index: 0;\n }\n :host tbody td {\n /* selected */\n }\n :host tbody td[aria-selected=true] {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td {\n /* highlighted */\n }\n :host tbody td[tabindex=\"0\"] {\n border-radius: 4px;\n }\n :host tbody td {\n /* active (pressed) */\n }\n :host tbody td:hover:active:not(.disabled) {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td {\n /* disabled */\n }\n :host tbody td.disabled {\n background: hsl(var(--sg-hsl-disabled-background));\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-disabled-color));\n cursor: not-allowed;\n font-weight: 400;\n }\n :host tbody td.disabled.sg-date-holiday {\n color: hsla(var(--sg-hsl-red-2), 0.25);\n }\n :host tbody td.disabled .number,\n :host tbody td.disabled .indicator-dot {\n --_color: hsl(var(--sg-hsl-disabled-color)) !important;\n }\n :host tbody td.custom-date {\n position: relative;\n }\n :host tbody .number {\n color: var(--_color, \"currentColor\");\n }\n :host tbody .indicator-dot {\n display: block;\n width: 0.375rem;\n height: 0.375rem;\n top: 1.5rem;\n border-radius: 50%;\n margin: auto;\n position: absolute;\n inset-block-end: 0.125rem;\n inset-inline: 0;\n background-color: var(--_color);\n }\n :host table {\n flex-grow: 1;\n width: 100%;\n }\n :host table td {\n width: 3rem;\n height: 3rem;\n }\n }\n @layer _modifiers {\n .week-number {\n border-right: solid 1px var(--gds-ref-pallet-base300);\n font-weight: 400;\n pointer-events: none;\n }\n }\n}";
|
|
2
2
|
export default styles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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 */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: 0.0625rem solid transparent;\n padding: 0.625rem;\n height: 2.75rem;\n width: 2.75rem;\n min-width: auto;\n --color: var(--gds-sys-color-base-800);\n }\n button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n button:focus, button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n @media (max-width: 35.98em) {\n button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n button {\n border: 2px solid currentcolor;\n }\n }\n button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .form-group button {\n margin-top: -0.625rem;\n }\n button.small {\n height: 2rem;\n width: 2rem;\n padding: 0.4375rem;\n line-height: 1.125rem;\n }\n button svg {\n height: 1rem;\n width: 1rem;\n }\n button path,\n button line,\n button circle,\n button rect,\n button ellipse,\n button polyline,\n button text {\n fill: var(--gds-sys-color-base-800);\n stroke: var(--gds-sys-color-base-800);\n transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);\n }\n button:hover, button.highlighted {\n background-color: rgba(0, 0, 0, 0.1);\n border-color: transparent;\n }\n button:active, button.highlighted:hover {\n background-color: rgba(0, 0, 0, 0.2);\n border-color: transparent;\n }\n }\n @layer _overrides {\n button {\n border-color: transparent;\n color: var(--gds-ref-pallet-base800);\n display: flex;\n gap: 0.5rem;\n line-height: 0.75;\n padding-inline: 0.4375rem;\n width: auto;\n }\n button.highlighted {\n background-color: var(--gds-ref-pallet-base300);\n }\n }\n}";
|
|
1
|
+
const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\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 */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n }\n button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n button:focus, button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n button {\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n button {\n border: 2px solid currentcolor;\n }\n }\n button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n button {\n background-color: transparent;\n border: 0.0625rem solid transparent;\n padding: 0.625rem;\n height: 2.75rem;\n width: 2.75rem;\n min-width: auto;\n --color: var(--gds-sys-color-base-800);\n }\n .form-group button {\n margin-top: -0.625rem;\n }\n button.small {\n height: 2rem;\n width: 2rem;\n padding: 0.4375rem;\n line-height: 1.125rem;\n }\n button svg {\n height: 1rem;\n width: 1rem;\n }\n button path,\n button line,\n button circle,\n button rect,\n button ellipse,\n button polyline,\n button text {\n fill: var(--gds-sys-color-base-800);\n stroke: var(--gds-sys-color-base-800);\n transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);\n }\n button:hover, button.highlighted {\n background-color: rgba(0, 0, 0, 0.1);\n border-color: transparent;\n }\n button:active, button.highlighted:hover {\n background-color: rgba(0, 0, 0, 0.2);\n border-color: transparent;\n }\n }\n @layer _overrides {\n button {\n border-color: transparent;\n color: var(--gds-ref-pallet-base800);\n display: flex;\n gap: 0.5rem;\n line-height: 0.75;\n padding-inline: 0.4375rem;\n width: auto;\n }\n button.highlighted {\n background-color: var(--gds-ref-pallet-base300);\n }\n }\n}";
|
|
2
2
|
export default styles;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__privateMethod,
|
|
6
6
|
__privateSet
|
|
7
7
|
} from "../../chunks/chunk.QU3DSPNU.js";
|
|
8
|
-
var _utcHours, _valueOnOpen, _Datepicker_instances, shouldShowFooter_fn, renderBackToValidRangeButton_fn, focusDate_fn, getSpinnerLabel_fn, getMinSpinnerValue_fn, getMaxSpinnerValue_fn, dispatchChangeEvent_fn, dispatchInputEvent_fn,
|
|
8
|
+
var _utcHours, _valueOnOpen, _Datepicker_instances, shouldShowFooter_fn, renderBackToValidRangeButton_fn, focusDate_fn, getSpinnerLabel_fn, getMinSpinnerValue_fn, getMaxSpinnerValue_fn, dispatchChangeEvent_fn, dispatchInputEvent_fn, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, years_get, isValueOutsideRange_get;
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
10
|
import { nothing } from "lit";
|
|
11
11
|
import { property, query, queryAll, queryAsync, state } from "lit/decorators.js";
|
|
@@ -62,13 +62,6 @@ let Datepicker = class extends GdsFormControlElement {
|
|
|
62
62
|
this._focusedYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
63
63
|
this._dateFormatLayout = __privateMethod(this, _Datepicker_instances, parseDateFormat_fn).call(this, "y-m-d");
|
|
64
64
|
__privateAdd(this, _valueOnOpen);
|
|
65
|
-
__privateAdd(this, _handleFieldFocusOut, (e) => {
|
|
66
|
-
this._elTrigger.then((_) => {
|
|
67
|
-
const parent = e.relatedTarget?.parentElement;
|
|
68
|
-
if (parent === e.target) return;
|
|
69
|
-
document.getSelection()?.removeAllRanges();
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
65
|
__privateAdd(this, _handleSpinnerFocus, (e) => {
|
|
73
66
|
this._elTrigger.then((field) => {
|
|
74
67
|
document.getSelection()?.removeAllRanges();
|
|
@@ -620,7 +613,6 @@ dispatchInputEvent_fn = function() {
|
|
|
620
613
|
})
|
|
621
614
|
);
|
|
622
615
|
};
|
|
623
|
-
_handleFieldFocusOut = new WeakMap();
|
|
624
616
|
_handleSpinnerFocus = new WeakMap();
|
|
625
617
|
_handleClipboardCopy = new WeakMap();
|
|
626
618
|
_handleClipboardPaste = new WeakMap();
|
|
@@ -11,7 +11,8 @@ import { NumberFormats } from '../formatters';
|
|
|
11
11
|
* <gds-formatted-number
|
|
12
12
|
* value="1234.5"
|
|
13
13
|
* locale="sv-SE"
|
|
14
|
-
* currency="SEK"
|
|
14
|
+
* currency="SEK"
|
|
15
|
+
* decimals={3}>
|
|
15
16
|
* </gds-formatted-number>
|
|
16
17
|
*/
|
|
17
18
|
export declare class GdsFormattedNumber extends GdsFormattedText {
|
|
@@ -21,6 +22,8 @@ export declare class GdsFormattedNumber extends GdsFormattedText {
|
|
|
21
22
|
locale?: string;
|
|
22
23
|
/** The currency used when formatting numbers. */
|
|
23
24
|
currency?: string;
|
|
25
|
+
/** The number of decimal places to display. */
|
|
26
|
+
decimals?: number;
|
|
24
27
|
/**
|
|
25
28
|
* Specifies the number format.
|
|
26
29
|
* @default 'decimalsAndThousands'
|
|
@@ -11,7 +11,12 @@ let GdsFormattedNumber = class extends GdsFormattedText {
|
|
|
11
11
|
this.format = "decimalsAndThousands";
|
|
12
12
|
}
|
|
13
13
|
get formattedValue() {
|
|
14
|
-
return numberFormats[this.format](
|
|
14
|
+
return numberFormats[this.format](
|
|
15
|
+
this.value,
|
|
16
|
+
this.locale,
|
|
17
|
+
this.currency,
|
|
18
|
+
this.decimals
|
|
19
|
+
);
|
|
15
20
|
}
|
|
16
21
|
firstUpdated(_changedProperties) {
|
|
17
22
|
super.firstUpdated(_changedProperties);
|
|
@@ -29,6 +34,9 @@ __decorateClass([
|
|
|
29
34
|
__decorateClass([
|
|
30
35
|
property({ type: String })
|
|
31
36
|
], GdsFormattedNumber.prototype, "currency", 2);
|
|
37
|
+
__decorateClass([
|
|
38
|
+
property({ type: Number })
|
|
39
|
+
], GdsFormattedNumber.prototype, "decimals", 2);
|
|
32
40
|
__decorateClass([
|
|
33
41
|
property({ type: String })
|
|
34
42
|
], GdsFormattedNumber.prototype, "format", 2);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type NumberFormats = keyof typeof numberFormats;
|
|
2
2
|
export declare const numberFormats: {
|
|
3
|
-
decimalsAndThousands: (value: string | number | undefined, locale: string | undefined, currency: string | undefined) => string;
|
|
3
|
+
decimalsAndThousands: (value: string | number | undefined, locale: string | undefined, currency: string | undefined, decimals: number | undefined) => string;
|
|
4
4
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../chunks/chunk.QU3DSPNU.js";
|
|
2
2
|
const numberFormats = {
|
|
3
|
-
decimalsAndThousands: (value, locale, currency) => {
|
|
3
|
+
decimalsAndThousands: (value, locale, currency, decimals) => {
|
|
4
4
|
const options = {
|
|
5
|
-
maximumFractionDigits: 2,
|
|
6
|
-
minimumFractionDigits: 2
|
|
5
|
+
maximumFractionDigits: decimals ?? 2,
|
|
6
|
+
minimumFractionDigits: decimals ?? 2
|
|
7
7
|
};
|
|
8
8
|
if (currency) {
|
|
9
9
|
return new Intl.NumberFormat(locale, {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__privateMethod,
|
|
6
6
|
__privateSet
|
|
7
7
|
} from "../../chunks/chunk.QU3DSPNU.js";
|
|
8
|
-
var _charCounterComputed, _Input_instances, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleFieldClick, _handleClearBtnClick, renderFieldContents_fn, renderSlotLead_fn, renderSlotTrail_fn, renderNativeInput_fn, renderClearButton_fn
|
|
8
|
+
var _charCounterComputed, _Input_instances, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleFieldClick, _handleClearBtnClick, renderFieldContents_fn, renderSlotLead_fn, renderSlotTrail_fn, renderNativeInput_fn, renderClearButton_fn;
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
10
|
import { property, query, queryAsync } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
@@ -203,9 +203,6 @@ renderClearButton_fn = function() {
|
|
|
203
203
|
</gds-button>`;
|
|
204
204
|
else return nothing;
|
|
205
205
|
};
|
|
206
|
-
shouldShowRemainingChars_get = function() {
|
|
207
|
-
return __privateGet(this, _charCounterComputed)[1] !== false;
|
|
208
|
-
};
|
|
209
206
|
Input.styles = [tokens, formControlHostStyles, InputStyles];
|
|
210
207
|
__decorateClass([
|
|
211
208
|
property({ attribute: "supporting-text" })
|
|
@@ -16,7 +16,8 @@ import { GdsFormattedNumber } from '../../formatted-text/number/formatted-number
|
|
|
16
16
|
* <gds-sensitive-number
|
|
17
17
|
* hide
|
|
18
18
|
* value="1234"
|
|
19
|
-
* locale="sv-SE"
|
|
19
|
+
* locale="sv-SE"
|
|
20
|
+
* decimals={3}>
|
|
20
21
|
* </gds-sensitive-number>
|
|
21
22
|
*/
|
|
22
23
|
export declare class GdsSensitiveNumber extends GdsFormattedNumber {
|
|
@@ -14,7 +14,12 @@ let GdsSensitiveNumber = class extends GdsFormattedNumber {
|
|
|
14
14
|
}
|
|
15
15
|
get formattedValue() {
|
|
16
16
|
if (this.hide) {
|
|
17
|
-
return numberFormats[this.format](
|
|
17
|
+
return numberFormats[this.format](
|
|
18
|
+
0,
|
|
19
|
+
this.locale,
|
|
20
|
+
this.currency,
|
|
21
|
+
this.decimals
|
|
22
|
+
);
|
|
18
23
|
}
|
|
19
24
|
return super.formattedValue;
|
|
20
25
|
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__privateMethod,
|
|
6
6
|
__privateSet
|
|
7
7
|
} from "../../chunks/chunk.QU3DSPNU.js";
|
|
8
|
-
var _charCounterComputed, _Textarea_instances, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleOnPaste, _handleFieldClick, _handleClearBtnClick, renderFieldContents_fn, renderSlotLead_fn, renderSlotTrail_fn, renderNativeTextarea_fn, renderClearButton_fn
|
|
8
|
+
var _charCounterComputed, _Textarea_instances, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleOnPaste, _handleFieldClick, _handleClearBtnClick, renderFieldContents_fn, renderSlotLead_fn, renderSlotTrail_fn, renderNativeTextarea_fn, renderClearButton_fn;
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
10
|
import { property, query, queryAsync } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
@@ -302,9 +302,6 @@ renderClearButton_fn = function() {
|
|
|
302
302
|
`;
|
|
303
303
|
else return nothing;
|
|
304
304
|
};
|
|
305
|
-
shouldShowRemainingChars_get = function() {
|
|
306
|
-
return __privateGet(this, _charCounterComputed)[1] !== false;
|
|
307
|
-
};
|
|
308
305
|
Textarea.styles = [tokens, formControlHostStyle, TextareaStyles];
|
|
309
306
|
__decorateClass([
|
|
310
307
|
styleExpressionProperty({
|
package/gds-element.js
CHANGED
|
@@ -14,7 +14,7 @@ class GdsElement extends LitElement {
|
|
|
14
14
|
/**
|
|
15
15
|
* The semantic version of this element. Can be used for troubleshooting to verify the version being used.
|
|
16
16
|
*/
|
|
17
|
-
this.semanticVersion = "2.
|
|
17
|
+
this.semanticVersion = "2.17.0";
|
|
18
18
|
this._isUsingTransitionalStyles = false;
|
|
19
19
|
this._dynamicStylesController = new DynamicStylesController(this);
|
|
20
20
|
}
|
|
@@ -2,15 +2,15 @@ import { getReactComponent } from "../../../utils/react";
|
|
|
2
2
|
import { GdsAlert as GdsAlertClass } from "../../../components/alert/alert.component";
|
|
3
3
|
export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof getReactComponent<GdsAlertClass>>>) => import("react").ReactElement<Omit<{
|
|
4
4
|
variant?: "positive" | "negative" | "notice" | "warning" | "information" | undefined;
|
|
5
|
-
label?: string
|
|
5
|
+
label?: string;
|
|
6
6
|
role?: "alert" | "status" | undefined;
|
|
7
|
-
dismissible?: boolean
|
|
8
|
-
timeout?: number
|
|
9
|
-
buttonLabel?: string
|
|
7
|
+
dismissible?: boolean;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
buttonLabel?: string;
|
|
10
10
|
render?: (() => any) | undefined;
|
|
11
|
-
readonly semanticVersion?: "__GDS_SEM_VER__"
|
|
11
|
+
readonly semanticVersion?: "__GDS_SEM_VER__";
|
|
12
12
|
gdsElementName?: string | undefined;
|
|
13
|
-
_isUsingTransitionalStyles?: boolean
|
|
13
|
+
_isUsingTransitionalStyles?: boolean;
|
|
14
14
|
_dynamicStylesController?: import("../../../utils/controllers/dynamic-styles-controller").DynamicStylesController | undefined;
|
|
15
15
|
connectedCallback?: (() => void) | undefined;
|
|
16
16
|
disconnectedCallback?: (() => void) | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
24
24
|
removeController?: ((controller: import("lit").ReactiveController) => void) | undefined;
|
|
25
25
|
attributeChangedCallback?: ((name: string, _old: string | null, value: string | null) => void) | undefined;
|
|
26
26
|
requestUpdate?: ((name?: PropertyKey, oldValue?: unknown, options?: import("lit").PropertyDeclaration) => void) | undefined;
|
|
27
|
-
readonly updateComplete?: Promise<boolean
|
|
27
|
+
readonly updateComplete?: Promise<boolean>;
|
|
28
28
|
accessKey?: string | undefined;
|
|
29
29
|
readonly accessKeyLabel?: string | undefined;
|
|
30
30
|
autocapitalize?: string | undefined;
|
|
@@ -44,6 +44,7 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
44
44
|
spellcheck?: boolean | undefined;
|
|
45
45
|
title?: string | undefined;
|
|
46
46
|
translate?: boolean | undefined;
|
|
47
|
+
writingSuggestions?: string | undefined;
|
|
47
48
|
attachInternals?: (() => ElementInternals) | undefined;
|
|
48
49
|
click?: (() => void) | undefined;
|
|
49
50
|
hidePopover?: (() => void) | undefined;
|
|
@@ -64,7 +65,9 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
64
65
|
readonly clientLeft?: number | undefined;
|
|
65
66
|
readonly clientTop?: number | undefined;
|
|
66
67
|
readonly clientWidth?: number | undefined;
|
|
68
|
+
readonly currentCSSZoom?: number | undefined;
|
|
67
69
|
id?: string | undefined;
|
|
70
|
+
innerHTML?: string | undefined;
|
|
68
71
|
readonly localName?: string | undefined;
|
|
69
72
|
readonly namespaceURI?: string | null | undefined;
|
|
70
73
|
onfullscreenchange?: ((this: Element, ev: Event) => any) | null | undefined;
|
|
@@ -110,12 +113,13 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
110
113
|
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
111
114
|
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
112
115
|
} | undefined;
|
|
116
|
+
getHTML?: ((options?: GetHTMLOptions) => string) | undefined;
|
|
113
117
|
hasAttribute?: ((qualifiedName: string) => boolean) | undefined;
|
|
114
118
|
hasAttributeNS?: ((namespace: string | null, localName: string) => boolean) | undefined;
|
|
115
119
|
hasAttributes?: (() => boolean) | undefined;
|
|
116
120
|
hasPointerCapture?: ((pointerId: number) => boolean) | undefined;
|
|
117
121
|
insertAdjacentElement?: ((where: InsertPosition, element: Element) => Element | null) | undefined;
|
|
118
|
-
insertAdjacentHTML?: ((position: InsertPosition,
|
|
122
|
+
insertAdjacentHTML?: ((position: InsertPosition, string: string) => void) | undefined;
|
|
119
123
|
insertAdjacentText?: ((where: InsertPosition, data: string) => void) | undefined;
|
|
120
124
|
matches?: ((selectors: string) => boolean) | undefined;
|
|
121
125
|
releasePointerCapture?: ((pointerId: number) => void) | undefined;
|
|
@@ -123,7 +127,7 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
123
127
|
removeAttributeNS?: ((namespace: string | null, localName: string) => void) | undefined;
|
|
124
128
|
removeAttributeNode?: ((attr: Attr) => Attr) | undefined;
|
|
125
129
|
requestFullscreen?: ((options?: FullscreenOptions) => Promise<void>) | undefined;
|
|
126
|
-
requestPointerLock?: (() => void) | undefined;
|
|
130
|
+
requestPointerLock?: ((options?: PointerLockOptions) => Promise<void>) | undefined;
|
|
127
131
|
scroll?: {
|
|
128
132
|
(options?: ScrollToOptions): void;
|
|
129
133
|
(x: number, y: number): void;
|
|
@@ -200,6 +204,7 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
200
204
|
ariaChecked?: string | null | undefined;
|
|
201
205
|
ariaColCount?: string | null | undefined;
|
|
202
206
|
ariaColIndex?: string | null | undefined;
|
|
207
|
+
ariaColIndexText?: string | null | undefined;
|
|
203
208
|
ariaColSpan?: string | null | undefined;
|
|
204
209
|
ariaCurrent?: string | null | undefined;
|
|
205
210
|
ariaDescription?: string | null | undefined;
|
|
@@ -224,6 +229,7 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
224
229
|
ariaRoleDescription?: string | null | undefined;
|
|
225
230
|
ariaRowCount?: string | null | undefined;
|
|
226
231
|
ariaRowIndex?: string | null | undefined;
|
|
232
|
+
ariaRowIndexText?: string | null | undefined;
|
|
227
233
|
ariaRowSpan?: string | null | undefined;
|
|
228
234
|
ariaSelected?: string | null | undefined;
|
|
229
235
|
ariaSetSize?: string | null | undefined;
|
|
@@ -238,7 +244,6 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
238
244
|
before?: ((...nodes: (Node | string)[]) => void) | undefined;
|
|
239
245
|
remove?: (() => void) | undefined;
|
|
240
246
|
replaceWith?: ((...nodes: (Node | string)[]) => void) | undefined;
|
|
241
|
-
innerHTML?: string | undefined;
|
|
242
247
|
readonly nextElementSibling?: Element | null | undefined;
|
|
243
248
|
readonly previousElementSibling?: Element | null | undefined;
|
|
244
249
|
readonly childElementCount?: number | undefined;
|
|
@@ -284,7 +289,9 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
284
289
|
onchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
285
290
|
onclick?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
286
291
|
onclose?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
292
|
+
oncontextlost?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
287
293
|
oncontextmenu?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
294
|
+
oncontextrestored?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
288
295
|
oncopy?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
289
296
|
oncuechange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
290
297
|
oncut?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
@@ -350,10 +357,10 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
350
357
|
onsuspend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
351
358
|
ontimeupdate?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
352
359
|
ontoggle?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
353
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
354
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
355
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
356
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
360
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
361
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
362
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
363
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
357
364
|
ontransitioncancel?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
358
365
|
ontransitionend?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
359
366
|
ontransitionrun?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
@@ -372,5 +379,5 @@ export declare const GdsAlert: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
372
379
|
blur?: (() => void) | undefined;
|
|
373
380
|
focus?: ((options?: FocusOptions) => void) | undefined;
|
|
374
381
|
}, "children"> & {
|
|
375
|
-
children?:
|
|
382
|
+
children?: React.ReactNode;
|
|
376
383
|
} & Omit<import("react").HTMLAttributes<HTMLElement>, "children"> & import("react").RefAttributes<HTMLElement>, string | import("react").JSXElementConstructor<any>>;
|