@ncino/web-components 5.1.0-preview.10 → 5.1.0-preview.12
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/dist/components/boolean/boolean.gator.js +8 -9
- package/dist/components/checkbox/checkbox.gator.js +26 -23
- package/dist/components/checkbox-group/checkbox-group.gator.js +7 -8
- package/dist/components/input/gator/input-text/input-text.gator.js +13 -13
- package/dist/components/radio/radio.gator.js +28 -22
- package/dist/components/radio-group/radio-group.gator.js +13 -15
- package/dist/components/selection-box-group/selection-box-group.gator.js +10 -12
- package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio-group/radio-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/selection-box/selection-box.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/table/gator/table-bulk-controls/table-bulk-controls.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
- package/dist/types/components/boolean/boolean.gator.d.ts +2 -36
- package/dist/types/components/checkbox/checkbox.gator.d.ts +5 -10
- package/dist/types/components/checkbox-group/checkbox-group.gator.d.ts +2 -30
- package/dist/types/components/progress-bar/gator/progress-bar.gator.d.ts +1 -1
- package/dist/types/components/radio/radio.gator.d.ts +9 -25
- package/dist/types/components/radio-group/radio-group.gator.d.ts +2 -30
- package/dist/types/components/selection-box-group/selection-box-group.gator.d.ts +2 -32
- package/package.json +1 -1
- package/web-types.json +674 -212
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as l}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as g}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as e}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as f,getElementId as y}from"../../utils/string-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import b from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import $ from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import v from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/add-link.js";import"../icon/gator/templates/airplane.js";import"../icon/gator/templates/alarm.js";import"../icon/gator/templates/apartment.js";import"../icon/gator/templates/arrow-around.js";import"../icon/gator/templates/arrow-down.js";import"../icon/gator/templates/arrow-left.js";import"../icon/gator/templates/arrow-line-left.js";import"../icon/gator/templates/arrow-line-right.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/arrow-up.js";import"../icon/gator/templates/bank.js";import"../icon/gator/templates/bell-disabled.js";import"../icon/gator/templates/bell.js";import"../icon/gator/templates/binoculars.js";import"../icon/gator/templates/book.js";import"../icon/gator/templates/box.js";import"../icon/gator/templates/cake.js";import"../icon/gator/templates/calculator.js";import"../icon/gator/templates/calendar.js";import"../icon/gator/templates/camera.js";import"../icon/gator/templates/caret-up-down.js";import"../icon/gator/templates/case.js";import"../icon/gator/templates/chart-bar-horizontal.js";import"../icon/gator/templates/chart-bar.js";import"../icon/gator/templates/chart-donut.js";import"../icon/gator/templates/chart-line.js";import"../icon/gator/templates/chart-pie.js";import"../icon/gator/templates/chart-rise.js";import"../icon/gator/templates/chart-scatter.js";import"../icon/gator/templates/chat.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkerboard.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-left.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/circle-arrow-down.js";import"../icon/gator/templates/circle-arrow-left.js";import"../icon/gator/templates/circle-arrow-right.js";import"../icon/gator/templates/circle-arrow-up.js";import"../icon/gator/templates/circle-dashed.js";import"../icon/gator/templates/circle-filled.js";import"../icon/gator/templates/circle.js";import"../icon/gator/templates/city.js";import"../icon/gator/templates/clipboard.js";import"../icon/gator/templates/clock-clockwise.js";import"../icon/gator/templates/clock-counter-clockwise.js";import"../icon/gator/templates/clock.js";import"../icon/gator/templates/collapse.js";import"../icon/gator/templates/cone.js";import"../icon/gator/templates/contact-info.js";import"../icon/gator/templates/copy.js";import"../icon/gator/templates/credit-card.js";import"../icon/gator/templates/crop.js";import"../icon/gator/templates/crosshairs.js";import"../icon/gator/templates/currency-dollar-simple.js";import"../icon/gator/templates/currency-eur.js";import"../icon/gator/templates/currency-gbp.js";import"../icon/gator/templates/currency-inr.js";import"../icon/gator/templates/currency-jpy.js";import"../icon/gator/templates/currency-krw.js";import"../icon/gator/templates/currency-kzt.js";import"../icon/gator/templates/currency-ngn.js";import"../icon/gator/templates/currency-rub.js";import"../icon/gator/templates/cursor-arrow.js";import"../icon/gator/templates/cursor-hand.js";import"../icon/gator/templates/cursor.js";import"../icon/gator/templates/dashboard.js";import"../icon/gator/templates/delete.js";import"../icon/gator/templates/dna.js";import"../icon/gator/templates/document-add.js";import"../icon/gator/templates/document-check.js";import"../icon/gator/templates/document-e-sign.js";import"../icon/gator/templates/document-image.js";import"../icon/gator/templates/document-pdf.js";import"../icon/gator/templates/document-sign.js";import"../icon/gator/templates/document-zip.js";import"../icon/gator/templates/document.js";import"../icon/gator/templates/dollar-bills.js";import"../icon/gator/templates/dollar-house.js";import"../icon/gator/templates/down-payment.js";import"../icon/gator/templates/download.js";import"../icon/gator/templates/drag-drop.js";import"../icon/gator/templates/earth.js";import"../icon/gator/templates/exclude-square.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/exit-left.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/expand-arrows.js";import"../icon/gator/templates/expand.js";import"../icon/gator/templates/export.js";import"../icon/gator/templates/eye-closed.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/eye.js";import"../icon/gator/templates/facebook-logo.js";import"../icon/gator/templates/file-code.js";import"../icon/gator/templates/files.js";import"../icon/gator/templates/filter-funnel.js";import"../icon/gator/templates/filters-2.js";import"../icon/gator/templates/filters.js";import"../icon/gator/templates/flags/flag-ad-andorra.js";import"../icon/gator/templates/flags/flag-ae-united-arab-emirates.js";import"../icon/gator/templates/flags/flag-af-afghanistan.js";import"../icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js";import"../icon/gator/templates/flags/flag-ai-anguilla.js";import"../icon/gator/templates/flags/flag-al-albania.js";import"../icon/gator/templates/flags/flag-am-armenia.js";import"../icon/gator/templates/flags/flag-ao-angola.js";import"../icon/gator/templates/flags/flag-aq-antarctica.js";import"../icon/gator/templates/flags/flag-ar-argentina.js";import"../icon/gator/templates/flags/flag-as-american-smoa.js";import"../icon/gator/templates/flags/flag-at-austria.js";import"../icon/gator/templates/flags/flag-au-australia.js";import"../icon/gator/templates/flags/flag-aw-aruba.js";import"../icon/gator/templates/flags/flag-ax-aland-islands.js";import"../icon/gator/templates/flags/flag-az-azerbaijan.js";import"../icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js";import"../icon/gator/templates/flags/flag-bb-barbados.js";import"../icon/gator/templates/flags/flag-bd-bangladesh.js";import"../icon/gator/templates/flags/flag-be-belgium.js";import"../icon/gator/templates/flags/flag-bf-burkina-faso.js";import"../icon/gator/templates/flags/flag-bg-bulgaria.js";import"../icon/gator/templates/flags/flag-bh-bahrain.js";import"../icon/gator/templates/flags/flag-bi-burundi.js";import"../icon/gator/templates/flags/flag-bj-benin.js";import"../icon/gator/templates/flags/flag-bl-saint-barthelemy.js";import"../icon/gator/templates/flags/flag-bm-bermuda.js";import"../icon/gator/templates/flags/flag-bn-brunei-darussalam.js";import"../icon/gator/templates/flags/flag-bo-bolivia.js";import"../icon/gator/templates/flags/flag-bq-bo-bonaire.js";import"../icon/gator/templates/flags/flag-bq-sa-sba.js";import"../icon/gator/templates/flags/flag-bq-se-snt-eustatius.js";import"../icon/gator/templates/flags/flag-br-brazil.js";import"../icon/gator/templates/flags/flag-bs-bahamas.js";import"../icon/gator/templates/flags/flag-bt-bhutan.js";import"../icon/gator/templates/flags/flag-bv-bouvet-island.js";import"../icon/gator/templates/flags/flag-bw-botswana.js";import"../icon/gator/templates/flags/flag-by-belarus.js";import"../icon/gator/templates/flags/flag-bz-belize.js";import"../icon/gator/templates/flags/flag-ca-canada.js";import"../icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js";import"../icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-cf-central-african-republic.js";import"../icon/gator/templates/flags/flag-cg-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-ch-switzerland.js";import"../icon/gator/templates/flags/flag-ci-côte-divoire-ivory-coast.js";import"../icon/gator/templates/flags/flag-ck-cook-islands.js";import"../icon/gator/templates/flags/flag-cl-chile.js";import"../icon/gator/templates/flags/flag-cm-cameroon.js";import"../icon/gator/templates/flags/flag-cn-china.js";import"../icon/gator/templates/flags/flag-co-colombia.js";import"../icon/gator/templates/flags/flag-cr-costa-rica.js";import"../icon/gator/templates/flags/flag-cu-cuba.js";import"../icon/gator/templates/flags/flag-cv-cabo-verde.js";import"../icon/gator/templates/flags/flag-cw-curaçao.js";import"../icon/gator/templates/flags/flag-cx-christmas-island.js";import"../icon/gator/templates/flags/flag-cy-cyprus.js";import"../icon/gator/templates/flags/flag-cz-czech-republic.js";import"../icon/gator/templates/flags/flag-de-germany.js";import"../icon/gator/templates/flags/flag-dj-djibouti.js";import"../icon/gator/templates/flags/flag-dk-denmark.js";import"../icon/gator/templates/flags/flag-dm-dominica.js";import"../icon/gator/templates/flags/flag-do-dominican-republic.js";import"../icon/gator/templates/flags/flag-dz-algeria.js";import"../icon/gator/templates/flags/flag-ec-ecuador.js";import"../icon/gator/templates/flags/flag-ee-estonia.js";import"../icon/gator/templates/flags/flag-eg-egypt.js";import"../icon/gator/templates/flags/flag-eh-western-sahara.js";import"../icon/gator/templates/flags/flag-er-eritrea.js";import"../icon/gator/templates/flags/flag-es-sain.js";import"../icon/gator/templates/flags/flag-et-ethiopia.js";import"../icon/gator/templates/flags/flag-fi-finland.js";import"../icon/gator/templates/flags/flag-fj-fiji.js";import"../icon/gator/templates/flags/flag-fk-falkland-islands.js";import"../icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js";import"../icon/gator/templates/flags/flag-fo-faroe-islands.js";import"../icon/gator/templates/flags/flag-fr-france.js";import"../icon/gator/templates/flags/flag-ga-gabon.js";import"../icon/gator/templates/flags/flag-gb-eng-england.js";import"../icon/gator/templates/flags/flag-gb-nir-northern-ireland.js";import"../icon/gator/templates/flags/flag-gb-sct-sotland.js";import"../icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js";import"../icon/gator/templates/flags/flag-gb-wls-wales.js";import"../icon/gator/templates/flags/flag-gd-grenada.js";import"../icon/gator/templates/flags/flag-ge-georgia.js";import"../icon/gator/templates/flags/flag-gf-french-guiana.js";import"../icon/gator/templates/flags/flag-gg-guernsey.js";import"../icon/gator/templates/flags/flag-gh-ghana.js";import"../icon/gator/templates/flags/flag-gi-gibraltar.js";import"../icon/gator/templates/flags/flag-gl-greenland.js";import"../icon/gator/templates/flags/flag-gm-gambia.js";import"../icon/gator/templates/flags/flag-gn-guinea.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe-2.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe.js";import"../icon/gator/templates/flags/flag-gq-equatorial-guinea.js";import"../icon/gator/templates/flags/flag-gr-greece.js";import"../icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js";import"../icon/gator/templates/flags/flag-gt-guatemala.js";import"../icon/gator/templates/flags/flag-gu-guam.js";import"../icon/gator/templates/flags/flag-gw-guinea-bissau.js";import"../icon/gator/templates/flags/flag-gy-guyana.js";import"../icon/gator/templates/flags/flag-hk-hong-kong.js";import"../icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js";import"../icon/gator/templates/flags/flag-hn-honduras.js";import"../icon/gator/templates/flags/flag-hr-croatia-hrvatska.js";import"../icon/gator/templates/flags/flag-ht-haiti.js";import"../icon/gator/templates/flags/flag-hu-hungary.js";import"../icon/gator/templates/flags/flag-id-indonesia.js";import"../icon/gator/templates/flags/flag-ie-ireland.js";import"../icon/gator/templates/flags/flag-il-isreal.js";import"../icon/gator/templates/flags/flag-im-isle-of-man.js";import"../icon/gator/templates/flags/flag-in-india.js";import"../icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js";import"../icon/gator/templates/flags/flag-iq-iraq.js";import"../icon/gator/templates/flags/flag-ir-iran.js";import"../icon/gator/templates/flags/flag-is-iceland.js";import"../icon/gator/templates/flags/flag-it-italy.js";import"../icon/gator/templates/flags/flag-je-jersey.js";import"../icon/gator/templates/flags/flag-jm-jamaica.js";import"../icon/gator/templates/flags/flag-jo-jordan.js";import"../icon/gator/templates/flags/flag-jp-japan.js";import"../icon/gator/templates/flags/flag-ke-kenia.js";import"../icon/gator/templates/flags/flag-kg-kyrgyzstan.js";import"../icon/gator/templates/flags/flag-kh-cambodia.js";import"../icon/gator/templates/flags/flag-ki--kiribati.js";import"../icon/gator/templates/flags/flag-km-comoros.js";import"../icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js";import"../icon/gator/templates/flags/flag-kp-korea-north.js";import"../icon/gator/templates/flags/flag-kr-korea-south.js";import"../icon/gator/templates/flags/flag-kw-kuwait.js";import"../icon/gator/templates/flags/flag-ky-cayman-islands.js";import"../icon/gator/templates/flags/flag-kz-kazakhstan.js";import"../icon/gator/templates/flags/flag-la-laos.js";import"../icon/gator/templates/flags/flag-lb-lebanon.js";import"../icon/gator/templates/flags/flag-lc-saint-lucia.js";import"../icon/gator/templates/flags/flag-li-liechtenstein.js";import"../icon/gator/templates/flags/flag-lk-sri-lanka.js";import"../icon/gator/templates/flags/flag-lr-liberia.js";import"../icon/gator/templates/flags/flag-ls-lesotho.js";import"../icon/gator/templates/flags/flag-lt-lithuania.js";import"../icon/gator/templates/flags/flag-lu-luxembourg.js";import"../icon/gator/templates/flags/flag-lv-latvia.js";import"../icon/gator/templates/flags/flag-ly-libya.js";import"../icon/gator/templates/flags/flag-ma-morocco.js";import"../icon/gator/templates/flags/flag-mc-monaco.js";import"../icon/gator/templates/flags/flag-md-moldova.js";import"../icon/gator/templates/flags/flag-me-montenegro.js";import"../icon/gator/templates/flags/flag-mf-saint-martin.js";import"../icon/gator/templates/flags/flag-mg-madagascar.js";import"../icon/gator/templates/flags/flag-mh-marshall-islands.js";import"../icon/gator/templates/flags/flag-mk-north-macedonia.js";import"../icon/gator/templates/flags/flag-ml-mali.js";import"../icon/gator/templates/flags/flag-mm-myanmar.js";import"../icon/gator/templates/flags/flag-mn-mongolia.js";import"../icon/gator/templates/flags/flag-mo-macao.js";import"../icon/gator/templates/flags/flag-mp-northern-mariana-islands.js";import"../icon/gator/templates/flags/flag-mq-martinique-2.js";import"../icon/gator/templates/flags/flag-mq-martinique.js";import"../icon/gator/templates/flags/flag-mr-mauritania.js";import"../icon/gator/templates/flags/flag-ms-montserrat.js";import"../icon/gator/templates/flags/flag-mt-malta.js";import"../icon/gator/templates/flags/flag-mu-mauritius.js";import"../icon/gator/templates/flags/flag-mv-maldives.js";import"../icon/gator/templates/flags/flag-mw-malawi.js";import"../icon/gator/templates/flags/flag-mx-mexico.js";import"../icon/gator/templates/flags/flag-my-malaysia.js";import"../icon/gator/templates/flags/flag-mz-mozambique.js";import"../icon/gator/templates/flags/flag-na-namibia.js";import"../icon/gator/templates/flags/flag-nc-new-caledonia.js";import"../icon/gator/templates/flags/flag-ne-niger.js";import"../icon/gator/templates/flags/flag-nf-norfolk-island.js";import"../icon/gator/templates/flags/flag-ng-nigeria.js";import"../icon/gator/templates/flags/flag-ni-nicaragua.js";import"../icon/gator/templates/flags/flag-nl-netherlands.js";import"../icon/gator/templates/flags/flag-no-norway.js";import"../icon/gator/templates/flags/flag-np-nepal.js";import"../icon/gator/templates/flags/flag-nr-nauru.js";import"../icon/gator/templates/flags/flag-nu-niue.js";import"../icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js";import"../icon/gator/templates/flags/flag-om-oman.js";import"../icon/gator/templates/flags/flag-pa-panama.js";import"../icon/gator/templates/flags/flag-pe-peru.js";import"../icon/gator/templates/flags/flag-pf-french-polynesia.js";import"../icon/gator/templates/flags/flag-pg-papua-new-guinea.js";import"../icon/gator/templates/flags/flag-ph-philippines.js";import"../icon/gator/templates/flags/flag-pk-pakistan.js";import"../icon/gator/templates/flags/flag-pl-poland.js";import"../icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pn-pitcairn-islands.js";import"../icon/gator/templates/flags/flag-pr-puerto-rico.js";import"../icon/gator/templates/flags/flag-ps-palestinian-territory.js";import"../icon/gator/templates/flags/flag-pt-portugal.js";import"../icon/gator/templates/flags/flag-pw-palau.js";import"../icon/gator/templates/flags/flag-py-paraguay.js";import"../icon/gator/templates/flags/flag-qa-qatar.js";import"../icon/gator/templates/flags/flag-re-reunion.js";import"../icon/gator/templates/flags/flag-ro-romania.js";import"../icon/gator/templates/flags/flag-rs-srbia.js";import"../icon/gator/templates/flags/flag-ru-russian-federation.js";import"../icon/gator/templates/flags/flag-rw-rwanda.js";import"../icon/gator/templates/flags/flag-sa-sudi-arabia.js";import"../icon/gator/templates/flags/flag-sb-slomon-islands.js";import"../icon/gator/templates/flags/flag-sc-sychelles.js";import"../icon/gator/templates/flags/flag-sd-sdan.js";import"../icon/gator/templates/flags/flag-se-seden.js";import"../icon/gator/templates/flags/flag-sg-sngapore.js";import"../icon/gator/templates/flags/flag-sh-sint-helena.js";import"../icon/gator/templates/flags/flag-si-sovenia.js";import"../icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js";import"../icon/gator/templates/flags/flag-sk-sovakia.js";import"../icon/gator/templates/flags/flag-sl-serra-leone.js";import"../icon/gator/templates/flags/flag-sm-sn-marino.js";import"../icon/gator/templates/flags/flag-sn-snegal.js";import"../icon/gator/templates/flags/flag-so-smalia.js";import"../icon/gator/templates/flags/flag-sr-sriname.js";import"../icon/gator/templates/flags/flag-ss-south-sudan.js";import"../icon/gator/templates/flags/flag-st-so-tome-and-principe.js";import"../icon/gator/templates/flags/flag-sv-el-slvador.js";import"../icon/gator/templates/flags/flag-sx-snt-maarten.js";import"../icon/gator/templates/flags/flag-sy-sria.js";import"../icon/gator/templates/flags/flag-sz-saziland.js";import"../icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js";import"../icon/gator/templates/flags/flag-td-chad.js";import"../icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js";import"../icon/gator/templates/flags/flag-tg-togo.js";import"../icon/gator/templates/flags/flag-th-thailand.js";import"../icon/gator/templates/flags/flag-tj-tajikistan.js";import"../icon/gator/templates/flags/flag-tk-tokelau.js";import"../icon/gator/templates/flags/flag-tl-timor-leste.js";import"../icon/gator/templates/flags/flag-tm-turkmenistan.js";import"../icon/gator/templates/flags/flag-tn-tunisia.js";import"../icon/gator/templates/flags/flag-to-tonga.js";import"../icon/gator/templates/flags/flag-tr-turkey.js";import"../icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js";import"../icon/gator/templates/flags/flag-tv-tuvalu.js";import"../icon/gator/templates/flags/flag-tw-taiwan.js";import"../icon/gator/templates/flags/flag-tz-tanzania.js";import"../icon/gator/templates/flags/flag-ua-ukraine.js";import"../icon/gator/templates/flags/flag-ug-uganda.js";import"../icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js";import"../icon/gator/templates/flags/flag-us-united-states.js";import"../icon/gator/templates/flags/flag-uy-uruguay.js";import"../icon/gator/templates/flags/flag-uz-uzbekistan.js";import"../icon/gator/templates/flags/flag-va-vatican-city-state.js";import"../icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js";import"../icon/gator/templates/flags/flag-ve-venezuela.js";import"../icon/gator/templates/flags/flag-vg-virgin-islands-british.js";import"../icon/gator/templates/flags/flag-vi-virgin-islands-us.js";import"../icon/gator/templates/flags/flag-vn-vietnam.js";import"../icon/gator/templates/flags/flag-vu-vanuatu.js";import"../icon/gator/templates/flags/flag-wf-wallis-and-futuna.js";import"../icon/gator/templates/flags/flag-ws-smoa.js";import"../icon/gator/templates/flags/flag-ye-yemen.js";import"../icon/gator/templates/flags/flag-yt-unf-mayotte.js";import"../icon/gator/templates/flags/flag-za-south-africa.js";import"../icon/gator/templates/flags/flag-zm-zambia.js";import"../icon/gator/templates/flags/flag-zw-zimbabwe.js";import"../icon/gator/templates/flame.js";import"../icon/gator/templates/flash-off.js";import"../icon/gator/templates/flash-on.js";import"../icon/gator/templates/folder.js";import"../icon/gator/templates/gauge.js";import"../icon/gator/templates/grid-four.js";import"../icon/gator/templates/grid-nine.js";import"../icon/gator/templates/hammer.js";import"../icon/gator/templates/hand-pointing.js";import"../icon/gator/templates/heart.js";import"../icon/gator/templates/home-door.js";import"../icon/gator/templates/home-finance-arrow.js";import"../icon/gator/templates/home-finance.js";import"../icon/gator/templates/home-search.js";import"../icon/gator/templates/house-simple.js";import"../icon/gator/templates/house.js";import"../icon/gator/templates/inbox.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/instagram-logo.js";import"../icon/gator/templates/interest-rate.js";import"../icon/gator/templates/invoice.js";import"../icon/gator/templates/kanban.js";import"../icon/gator/templates/label.js";import"../icon/gator/templates/laptop.js";import"../icon/gator/templates/layout.js";import"../icon/gator/templates/lightbulb-filament.js";import"../icon/gator/templates/lightbulb.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/linkedin-logo.js";import"../icon/gator/templates/list-star.js";import"../icon/gator/templates/list.js";import"../icon/gator/templates/loading-spinner-gif.js";import"../icon/gator/templates/loading.js";import"../icon/gator/templates/lock.js";import"../icon/gator/templates/magic-wand.js";import"../icon/gator/templates/mail-open.js";import"../icon/gator/templates/mail.js";import"../icon/gator/templates/mailbox.js";import"../icon/gator/templates/map.js";import"../icon/gator/templates/menu-hamburger.js";import"../icon/gator/templates/microsoft-excel-logo.js";import"../icon/gator/templates/microsoft-outlook-logo.js";import"../icon/gator/templates/microsoft-powerpoint-logo.js";import"../icon/gator/templates/microsoft-teams-logo.js";import"../icon/gator/templates/microsoft-word-logo.js";import"../icon/gator/templates/minus-circle.js";import"../icon/gator/templates/minus-square.js";import"../icon/gator/templates/minus.js";import"../icon/gator/templates/mobile-phone-2.js";import"../icon/gator/templates/monitor.js";import"../icon/gator/templates/move-doc.js";import"../icon/gator/templates/move.js";import"../icon/gator/templates/music.js";import"../icon/gator/templates/number-1.js";import"../icon/gator/templates/number-2.js";import"../icon/gator/templates/number-3.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/paper-airplane.js";import"../icon/gator/templates/paperclip.js";import"../icon/gator/templates/payments/payment-amazon-pay.js";import"../icon/gator/templates/payments/payment-amex.js";import"../icon/gator/templates/payments/payment-apple-pay.js";import"../icon/gator/templates/payments/payment-discover.js";import"../icon/gator/templates/payments/payment-google-pay.js";import"../icon/gator/templates/payments/payment-mastercard.js";import"../icon/gator/templates/payments/payment-visa.js";import"../icon/gator/templates/pen.js";import"../icon/gator/templates/pencil-paper.js";import"../icon/gator/templates/pencil.js";import"../icon/gator/templates/people-multiple.js";import"../icon/gator/templates/people-share.js";import"../icon/gator/templates/percent.js";import"../icon/gator/templates/person-add.js";import"../icon/gator/templates/person-check.js";import"../icon/gator/templates/person-lock.js";import"../icon/gator/templates/person.js";import"../icon/gator/templates/phone-alert.js";import"../icon/gator/templates/phone-mobile.js";import"../icon/gator/templates/phone.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/pin.js";import"../icon/gator/templates/pinterest-logo.js";import"../icon/gator/templates/plus-circle.js";import"../icon/gator/templates/plus.js";import"../icon/gator/templates/printer.js";import"../icon/gator/templates/question-chat-bubble.js";import"../icon/gator/templates/question-circle.js";import"../icon/gator/templates/question-mark.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/receipt.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/sandals.js";import"../icon/gator/templates/save.js";import"../icon/gator/templates/screen.js";import"../icon/gator/templates/search.js";import"../icon/gator/templates/selection.js";import"../icon/gator/templates/send.js";import"../icon/gator/templates/settings.js";import"../icon/gator/templates/share-1.js";import"../icon/gator/templates/share-2.js";import"../icon/gator/templates/shield-lock.js";import"../icon/gator/templates/shield-warning.js";import"../icon/gator/templates/sidebar-simple.js";import"../icon/gator/templates/sidebar.js";import"../icon/gator/templates/smart-home.js";import"../icon/gator/templates/sort-arrow-solid-down.js";import"../icon/gator/templates/sort-arrow-solid-left.js";import"../icon/gator/templates/sort-arrow-solid-right.js";import"../icon/gator/templates/sort-arrow-solid-up-down.js";import"../icon/gator/templates/sort-arrow-solid-up.js";import"../icon/gator/templates/sort-reverse-variant.js";import"../icon/gator/templates/sort-variant.js";import"../icon/gator/templates/sparkle-filled.js";import"../icon/gator/templates/sparkle.js";import"../icon/gator/templates/speech-bubble.js";import"../icon/gator/templates/square-split-horizontal.js";import"../icon/gator/templates/square-split-vertical.js";import"../icon/gator/templates/square.js";import"../icon/gator/templates/stack.js";import"../icon/gator/templates/stamp.js";import"../icon/gator/templates/star-four-filled.js";import"../icon/gator/templates/star-four.js";import"../icon/gator/templates/star.js";import"../icon/gator/templates/stopwatch.js";import"../icon/gator/templates/sun.js";import"../icon/gator/templates/sync.js";import"../icon/gator/templates/tab-arrows.js";import"../icon/gator/templates/table.js";import"../icon/gator/templates/target.js";import"../icon/gator/templates/text-aa.js";import"../icon/gator/templates/thumbs-down.js";import"../icon/gator/templates/thumbs-up.js";import"../icon/gator/templates/tools.js";import"../icon/gator/templates/touch-id.js";import"../icon/gator/templates/trash.js";import"../icon/gator/templates/trend-up.js";import"../icon/gator/templates/twitter-logo.js";import"../icon/gator/templates/unlink.js";import"../icon/gator/templates/unlock.js";import"../icon/gator/templates/upload.js";import"../icon/gator/templates/video.js";import"../icon/gator/templates/waffle.js";import"../icon/gator/templates/warning-circle.js";import"../icon/gator/templates/warning-diamond.js";import"../icon/gator/templates/warning-octagon.js";import"../icon/gator/templates/warning.js";import"../icon/gator/templates/wet-sign.js";import"../icon/gator/templates/wifi-off.js";import"../icon/gator/templates/wifi.js";import"../icon/gator/templates/x-logo.js";import"../icon/gator/templates/yelp-logo.js";import"../icon/gator/templates/youtube-logo.js";import"../icon/gator/templates/zillow-logo.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import{handleDataTestid as x}from"../../utils/datatestid-utils.js";import{TestableLitElement as E}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{ifDefined as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var T=Object.defineProperty,I=Object.getOwnPropertyDescriptor,m=(t,r,s,a)=>{for(var p=a>1?void 0:a?I(r,s):r,n=t.length-1,i;n>=0;n--)(i=t[n])&&(p=(a?i(r,s,p):i(p))||p);return a&&p&&T(r,s,p),p};let o=class extends E{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=f()}render(){return l`
|
|
1
|
+
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as u,getElementId as g}from"../../utils/string-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import f from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import"../radio/radio.gator.js";import{handleDataTestid as b}from"../../utils/datatestid-utils.js";import{ifDefined as y}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as v}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as x}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,I=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,E=Reflect.get,m=(e,t,s,o)=>{for(var i=o>1?void 0:o?I(t,s):t,a=e.length-1,r;a>=0;a--)(r=e[a])&&(i=(o?r(t,s,i):r(i))||i);return o&&i&&$(t,s,i),i},_=(e,t,s)=>E(T(e),s,t);let l=class extends v{constructor(){super(...arguments),this.options=[],this._randomId=u()}render(){return n`
|
|
2
2
|
<div class="gator-radio-group-container">
|
|
3
|
-
${this.label?
|
|
3
|
+
${this.label?n`<ngc-input-label id="${this.elementId}-label" data-testid=${y(this.labelDataTestid)}>${this.label}</ngc-input-label>`:null}
|
|
4
4
|
<div id="${this.elementId}-group"
|
|
5
5
|
role="radiogroup"
|
|
6
6
|
class="gator-radio-group"
|
|
@@ -9,20 +9,18 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
|
|
|
9
9
|
@keydown=${this.handleRadioKeydown}
|
|
10
10
|
@change=${this.handleRadioSelectionChange}
|
|
11
11
|
>
|
|
12
|
-
${this.options.length>0?this.radiosFromOptions:
|
|
12
|
+
${this.options.length>0?this.radiosFromOptions:n`<slot></slot>`}
|
|
13
13
|
</div>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
${this.options.map(t=>l`
|
|
14
|
+
</div>
|
|
15
|
+
${this.bottomText}
|
|
16
|
+
`}get elementId(){return g(this.id,this._randomId)}get radiosFromOptions(){return n`
|
|
17
|
+
${this.options.map(e=>n`
|
|
19
18
|
<ngc-radio
|
|
20
|
-
title-text=${
|
|
21
|
-
value=${
|
|
19
|
+
title-text=${e.title}
|
|
20
|
+
value=${e.value}
|
|
22
21
|
?disabled=${this.disabled}
|
|
23
|
-
?selected=${this.value===
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</ngc-radio>
|
|
22
|
+
?selected=${this.value===e.value}
|
|
23
|
+
error-text=${this.errorText}
|
|
24
|
+
></ngc-radio>
|
|
27
25
|
`)}
|
|
28
|
-
`}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const
|
|
26
|
+
`}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}handleRadioSelectionChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail.value??t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}handleRadioKeydown(e){const t=this.radioElements;if(t){const s=Array.from(t).findIndex(r=>r.selected),o=e.key===d.RIGHT||e.key===d.DOWN,i=e.key===d.LEFT||e.key===d.UP,a=e.key===d.SPACE;if(o||i||a){e.preventDefault();let r=s===-1?0:s;o?r=(r+1)%t.length:i?r=(r-1+t.length)%t.length:a&&s===-1&&(r=0);const h=t[r];h&&(h.focus(),h.click())}}}updated(){this.radioElements?.forEach((e,t)=>{e.selected=this.value===e.value,e.disabled=this.disabled,e.errorText=this.errorText,e.grouped=!0,e.radioTabindex=this.getItemTabindex(t),b(e,this.dataTestid,`radio-${t}`)})}getItemTabindex(e){return e===0&&!this.value?0:-1}};l.styles=[..._(l,l,"styles"),x(f)];m([c({type:Array})],l.prototype,"options",2);l=m([p("ngc-radio-group")],l);export{l as NgcRadioGroup};
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
1
|
+
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as o}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import u from"../../packages/web-components/src/components/selection-box-group/selection-box-group.gator.scss.js";import"../selection-box/selection-box.gator.js";import"../radio-group/radio-group.gator.js";import"../checkbox-group/checkbox-group.gator.js";import{ifDefined as p}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as g}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as m}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,v=Reflect.get,h=(e,t,s,l)=>{for(var i=l>1?void 0:l?b(t,s):t,a=e.length-1,n;a>=0;a--)(n=e[a])&&(i=(l?n(t,s,i):n(i))||i);return l&&i&&x(t,s,i),i},f=(e,t,s)=>v($(e),s,t);let r=class extends g{constructor(){super(...arguments),this.options=[],this.type="single-select"}render(){return o`${this.isSingleSelect?this.radioGroupMarkup:this.checkboxGroupMarkup}`}get radioGroupMarkup(){return o`
|
|
2
2
|
<ngc-radio-group
|
|
3
3
|
id=${this.id}
|
|
4
|
-
value=${
|
|
4
|
+
value=${p(this.value)}
|
|
5
5
|
.disabled=${this.disabled}
|
|
6
6
|
.label=${this.label}
|
|
7
7
|
help-text=${this.helpText}
|
|
8
|
-
|
|
9
|
-
error-message=${this.errorMessage}
|
|
8
|
+
error-text=${this.errorText}
|
|
10
9
|
@change=${this.handleChange}
|
|
11
10
|
.dataTestid=${this.dataTestid}>
|
|
12
11
|
${this.optionsMarkup}
|
|
13
12
|
</ngc-radio-group>
|
|
14
|
-
`}get checkboxGroupMarkup(){return
|
|
13
|
+
`}get checkboxGroupMarkup(){return o`
|
|
15
14
|
<ngc-checkbox-group
|
|
16
15
|
id=${this.id}
|
|
17
|
-
value=${
|
|
16
|
+
value=${p(this.value)}
|
|
18
17
|
.disabled=${this.disabled}
|
|
19
18
|
.label=${this.label}
|
|
20
19
|
help-text=${this.helpText}
|
|
21
|
-
|
|
22
|
-
error-message=${this.errorMessage}
|
|
20
|
+
error-text=${this.errorText}
|
|
23
21
|
@change=${this.handleChange}
|
|
24
22
|
.dataTestid=${this.dataTestid}>
|
|
25
23
|
${this.optionsMarkup}
|
|
26
24
|
</ngc-checkbox-group>
|
|
27
|
-
`}get optionsMarkup(){return
|
|
25
|
+
`}get optionsMarkup(){return o`${this.options.length>0?this.generatedRadiosFromOptionsProperty:o`<slot></slot>`}`}get selectionBoxType(){return this.isSingleSelect?"radio":"checkbox"}get isSingleSelect(){return this.type==="single-select"}get generatedRadiosFromOptionsProperty(){return this.options.map((e,t)=>o`
|
|
28
26
|
<ngc-selection-box
|
|
29
27
|
title-text=${e.title}
|
|
30
28
|
subtitle-text=${e.subtitle}
|
|
31
29
|
value=${e.value}
|
|
32
30
|
?selected=${this.isItemSelected(e.value)}
|
|
33
31
|
?disabled=${this.disabled}
|
|
34
|
-
box-tabindex=${this.getItemTabindex(
|
|
35
|
-
|
|
32
|
+
box-tabindex=${this.getItemTabindex(t)}
|
|
33
|
+
error-text=${this.errorText}
|
|
36
34
|
type=${this.selectionBoxType}>
|
|
37
|
-
</ngc-selection-box>`)}get optionElements(){return this.options.length>0?this.shadowRoot?.querySelectorAll("ngc-selection-box"):this.shadowRoot?.querySelector("slot")?.assignedElements()}isItemSelected(e){return this.value?this.isSingleSelect?this.value===e:this.value?.split(";").includes(e):!1}handleChange(e){const
|
|
35
|
+
</ngc-selection-box>`)}get optionElements(){return this.options.length>0?this.shadowRoot?.querySelectorAll("ngc-selection-box"):this.shadowRoot?.querySelector("slot")?.assignedElements()}isItemSelected(e){return this.value?this.isSingleSelect?this.value===e:this.value?.split(";").includes(e):!1}handleChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}updated(){this.optionElements?.forEach((e,t)=>{const s=e;s.boxTabindex=this.getItemTabindex(t),s.type=this.selectionBoxType,s.disabled=this.disabled,s.selected=this.isItemSelected(s.getAttribute("value")??""),s.hasError=!!this.errorText})}getItemTabindex(e){return this.isSingleSelect?e===0&&!this.value?0:-1:0}};r.styles=[...f(r,r,"styles"),m(u)];h([c({type:Array})],r.prototype,"options",2);h([c({type:String})],r.prototype,"type",2);r=h([d("ngc-selection-box-group")],r);export{r as NgcSelectionBoxGroup};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}:hover:not(.gator-boolean_disabled){z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}:hover:not(.gator-boolean_disabled):not(.gator-boolean_error) ngc-radio:hover{border:var(--ngc-boolean-border-hover)}.gator-boolean_disabled ngc-radio{cursor:not-allowed}ngc-radio:focus-within{z-index:1;border:var(--ngc-boolean-border-focus);outline:var(--ngc-boolean-outline-focus);outline-offset:1px;--ngc-radio-focus-border: none}.gator-boolean_error ngc-radio{border:var(--ngc-boolean-border-error);--ngc-radio-icon-color-error: var(--color-neutral-40)}";export{o as default};
|
|
1
|
+
const o=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}:hover:not(.gator-boolean_disabled){z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}:hover:not(.gator-boolean_disabled):not(.gator-boolean_error) ngc-radio:hover{border:var(--ngc-boolean-border-hover)}.gator-boolean_disabled ngc-radio{cursor:not-allowed}ngc-radio:focus-within{z-index:1;border:var(--ngc-boolean-border-focus, var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus));outline:var(--ngc-boolean-outline-focus, var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus));outline-offset:1px;--ngc-radio-focus-border: none}.gator-boolean_error ngc-radio{border:var(--ngc-boolean-border-error, var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error));--ngc-radio-icon-color-error: var(--color-neutral-40)}";export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-blue-10, #F3F5F7);--ngc-boolean-border-color: var(--color-neutral-40, #BFBFBF);--ngc-boolean-border-color-selected: var(--color-blue-30, #11395B);--ngc-boolean-border-color-hover: var(--color-blue-30, #11395B);--ngc-boolean-border-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-outline-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error
|
|
1
|
+
const o=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-blue-10, #F3F5F7);--ngc-boolean-border-color: var(--color-neutral-40, #BFBFBF);--ngc-boolean-border-color-selected: var(--color-blue-30, #11395B);--ngc-boolean-border-color-hover: var(--color-blue-30, #11395B);--ngc-boolean-border-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-outline-color-focus: var(--color-blue-30, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error);--ngc-boolean-border: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color);--ngc-boolean-border-selected: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-selected);--ngc-boolean-border-hover: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-hover);--ngc-boolean-border-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus);--ngc-boolean-border-error: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error);--ngc-boolean-outline-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus);--ngc-boolean-box-shadow-hover: 0px 5px 10px 0px rgba(31, 31, 31, .1), 0px 7px 14px 0px rgba(31, 31, 31, .08), 0px 3px 6px 0px rgba(31, 31, 31, .08);--ngc-boolean-outer-border-radius: .125rem}";export{o as default};
|
package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const c=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}::slotted(ngc-checkbox),ngc-checkbox{--ngc-input-margin-bottom: 0}";export{c as default};
|
package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=".gator-help-text{display:var(--ngc-help-text-display, flex);align-content:center;gap:.25rem;font-family:var(--gator-help-text-font-family);font-weight:var(--gator-help-text-font-weight);font-size:var(--gator-help-text-font-size);line-height:var(--gator-help-text-line-height);color:var(--gator-help-text-color)}.is-error{color:var(--gator-help-text-error-color)}";export{t as default};
|
|
1
|
+
const t=".gator-help-text{display:var(--ngc-help-text-display, flex);align-content:center;gap:.25rem;font-family:var(--gator-help-text-font-family);font-weight:var(--gator-help-text-font-weight);font-size:var(--gator-help-text-font-size);line-height:var(--gator-help-text-line-height);color:var(--gator-help-text-color);margin-bottom:.5rem}.is-error{color:var(--gator-help-text-error-color)}";export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='input,textarea{border:none;background-color:transparent}input:focus,textarea:focus{outline:none}input[type=time]::-webkit-calendar-picker-indicator{background:none;display:none}.gator-form-element-control:focus-within:not(.gator-disabled){outline:2px solid var(--ngc-input-outline-color-focused, var(--color-stroke-brand, #11395B))!important}.gator-form-element{display:block;margin-bottom:1rem;max-width:var(--ngc-input-max-width, 200px)}.gator-form-element-control{padding:var(--ngc-input-padding);display:flex;flex-direction:column}.gator-input,.gator-faux-input{display:flex;width:100%;height:100%;font-size:var(--ngc-input-font-size, 1.0625rem);font-family:var(--text-family-body, "Open Sans", sans-serif);padding:0;line-height:24px}.gator-form-element-control{margin:.5rem 0;border:1px solid var(--ngc-input-border-color, var(--color-stroke-primary, #6D6D6D));border-radius:var(--ngc-input-border-radius, 2px);flex:1;background-color:var(--ngc-input-background-color, var(--color-surface-primary, #FFFFFF))}.gator-form-element-control:hover:not(.gator-disabled){border:1px solid var(--ngc-input-border-color-hovered, var(--color-stroke-interactive, #0E304D));outline:none}.gator-readonly{border-color:var(--color-stroke-secondary, #BFBFBF);background:var(--color-surface-tertiary, #F2F2F2);color:var(--text-color-primary-base, #1F1F1F)}.gator-has-error:not(.gator-readonly){border-color:var(--ngc-input-error-border, var(--color-stroke-error, #AA330E))!important}.gator-disabled{background:var(--color-surface-secondary, #F7F7F7);border:none;cursor:not-allowed;--ngc-icon-color: var(--color-stroke-secondary, #BFBFBF)}.gator-disabled input,.gator-disabled textarea{cursor:not-allowed}.gator-form-element-control-icon-right{display:flex;align-items:center}.gator-input-container{display:flex;align-items:center;position:relative;width:100%}.gator-input-start,.gator-input-end{display:flex;align-items:center;font-family:var(--text-family-body),sans-serif;font-size:var(--text-size-body-1)}.gator-input-start{margin-right:.5rem}.gator-cursor-pointer{cursor:pointer}';export{r as default};
|
|
1
|
+
const r='input,textarea{border:none;background-color:transparent}input:focus,textarea:focus{outline:none}input[type=time]::-webkit-calendar-picker-indicator{background:none;display:none}.gator-form-element-control:focus-within:not(.gator-disabled){outline:2px solid var(--ngc-input-outline-color-focused, var(--color-stroke-brand, #11395B))!important}.gator-form-element{display:block;margin-bottom:var(--ngc-input-margin-bottom, 1rem);max-width:var(--ngc-input-max-width, 200px)}.gator-form-element-control{padding:var(--ngc-input-padding);display:flex;flex-direction:column}.gator-input,.gator-faux-input{display:flex;width:100%;height:100%;font-size:var(--ngc-input-font-size, 1.0625rem);font-family:var(--text-family-body, "Open Sans", sans-serif);padding:0;line-height:24px}.gator-form-element-control{margin:.5rem 0;border:1px solid var(--ngc-input-border-color, var(--color-stroke-primary, #6D6D6D));border-radius:var(--ngc-input-border-radius, 2px);flex:1;background-color:var(--ngc-input-background-color, var(--color-surface-primary, #FFFFFF))}.gator-form-element-control:hover:not(.gator-disabled){border:1px solid var(--ngc-input-border-color-hovered, var(--color-stroke-interactive, #0E304D));outline:none}.gator-readonly{border-color:var(--color-stroke-secondary, #BFBFBF);background:var(--color-surface-tertiary, #F2F2F2);color:var(--text-color-primary-base, #1F1F1F)}.gator-has-error:not(.gator-readonly){border-color:var(--ngc-input-error-border, var(--color-stroke-error, #AA330E))!important}.gator-disabled{background:var(--color-surface-secondary, #F7F7F7);border:none;cursor:not-allowed;--ngc-icon-color: var(--color-stroke-secondary, #BFBFBF)}.gator-disabled input,.gator-disabled textarea{cursor:not-allowed}.gator-form-element-control-icon-right{display:flex;align-items:center}.gator-input-container{display:flex;align-items:center;position:relative;width:100%}.gator-input-start,.gator-input-end{display:flex;align-items:center;font-family:var(--text-family-body),sans-serif;font-size:var(--text-size-body-1)}.gator-input-start{margin-right:.5rem}.gator-cursor-pointer{cursor:pointer}';export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=":root,:host{--ngc-input-error-border: var(--color-stroke-error, #AA330E);--ngc-input-border-color: var(--color-stroke-primary, #6D6D6D);--ngc-input-border-color-hovered: var(--color-stroke-interactive, #0E304D);--ngc-input-outline-color-focused: var(--color-stroke-brand, #11395B);--ngc-input-background-color: var(--color-surface-primary, #FFFFFF);--ngc-input-min-width: 200px;--ngc-input-padding: var(--spacing-3, .75rem) var(--spacing-4, 1rem);--ngc-input-border-radius: var(--radius-sm, .125rem);--ngc-input-max-width: 100%;--ngc-input-search-max-width: 15.75rem;--ngc-input-font-size: 17px}";export{r as default};
|
|
1
|
+
const r=":root,:host{--ngc-input-error-border: var(--color-stroke-error, #AA330E);--ngc-input-border-color: var(--color-stroke-primary, #6D6D6D);--ngc-input-border-color-hovered: var(--color-stroke-interactive, #0E304D);--ngc-input-outline-color-focused: var(--color-stroke-brand, #11395B);--ngc-input-background-color: var(--color-surface-primary, #FFFFFF);--ngc-input-min-width: 200px;--ngc-input-padding: var(--spacing-3, .75rem) var(--spacing-4, 1rem);--ngc-input-border-radius: var(--radius-sm, .125rem);--ngc-input-max-width: 100%;--ngc-input-search-max-width: 15.75rem;--ngc-input-margin-bottom: 1rem;--ngc-input-font-size: 17px}";export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='.gator-radio{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem}.gator-radio-title{font-family:var(--text-family-body, "Open Sans", sans-serif);color:var(--ngc-radio-title-color-default, #1F1F1F);font-size:var(--ngc-radio-title-font-size);line-height:var(--ngc-radio-title-line-height)}.gator-radio:has(input:disabled) .gator-radio-title{color:var(--ngc-radio-title-color-disabled, #808080)}.gator-radio-input-wrapper:has(:focus-visible){box-shadow:0 0 0 2px var(--color-surface-primary-white, #FFF),0 0 0 4px var(--ngc-radio-color-focus-indicator, var(--shadow-color-focus-border, #11395B))}.gator-radio-input-wrapper:has(:focus-visible) input:focus-visible{outline:none}.gator-radio-hover-overlay{width:100%;height:100%;position:absolute;top:0;border-radius:50%;opacity:.1}.gator-radio-input-wrapper{display:flex;align-items:center;border-radius:50%;outline:1px solid transparent;outline-offset:-1px;transform:scale(1.4);background:var(--color-surface-primary-white, #FFF)}.gator-radio-input-wrapper:has(input:not(:disabled)):has(input:not(:checked,:invalid)){outline-color:var(--ngc-radio-color-border-unselected, #6D6D6D)}.gator-radio-input-wrapper:has(input:not(:disabled)):has(input:not(:checked,:invalid)):hover{outline-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}.gator-radio-input-wrapper:has(input:not(:disabled)):hover .gator-radio-hover-overlay{background-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}input:not(:checked,:disabled){opacity:0}input:checked,input:disabled{opacity:1}input{margin:0;border-radius:4px;accent-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}input:invalid{accent-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}.gator-radio-input-wrapper:has(input:invalid:not(:disabled)):has(input:not(:checked)){outline-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}.gator-radio-input-wrapper:has(input:invalid:not(:disabled)):hover .gator-radio-hover-overlay{background-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}';export{r as default};
|
|
1
|
+
const r='.gator-radio{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem;padding-left:.5rem}.gator-radio-title{font-family:var(--text-family-body, "Open Sans", sans-serif);color:var(--ngc-radio-title-color-default, #1F1F1F);font-size:var(--ngc-radio-title-font-size);line-height:var(--ngc-radio-title-line-height)}.gator-radio:has(input:disabled) .gator-radio-title{color:var(--ngc-radio-title-color-disabled, #808080)}.gator-radio-input-wrapper:has(:focus-visible){box-shadow:0 0 0 2px var(--color-surface-primary-white, #FFF),0 0 0 4px var(--ngc-radio-color-focus-indicator, var(--shadow-color-focus-border, #11395B))}.gator-radio-input-wrapper:has(:focus-visible) input:focus-visible{outline:none}.gator-radio-hover-overlay{width:100%;height:100%;position:absolute;top:0;border-radius:50%;opacity:.1}.gator-radio-input-wrapper{display:flex;align-items:center;border-radius:50%;outline:1px solid transparent;outline-offset:-1px;transform:scale(1.4);background:var(--color-surface-primary-white, #FFF)}.gator-radio-input-wrapper:has(input:not(:disabled)):has(input:not(:checked,:invalid)){outline-color:var(--ngc-radio-color-border-unselected, #6D6D6D)}.gator-radio-input-wrapper:has(input:not(:disabled)):has(input:not(:checked,:invalid)):hover{outline-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}.gator-radio-input-wrapper:has(input:not(:disabled)):hover .gator-radio-hover-overlay{background-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}input:not(:checked,:disabled){opacity:0}input:checked,input:disabled{opacity:1}input{margin:0;border-radius:4px;accent-color:var(--ngc-radio-color-selected, var(--radio-color-selected, #11395B))}input:invalid{accent-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}.gator-radio-input-wrapper:has(input:invalid:not(:disabled)):has(input:not(:checked)){outline-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}.gator-radio-input-wrapper:has(input:invalid:not(:disabled)):hover .gator-radio-hover-overlay{background-color:var(--ngc-radio-color-error, var(--radio-icon-color-error, #AA330E))}';export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a=".gator-radio-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}.gator-radio-group{display:flex;flex-direction:var(--ngc-radio-group-flex-direction, column);gap:var(--ngc-radio-group-gap, var(--spacing-gap-8));flex-wrap:wrap}";export{a as default};
|
|
1
|
+
const a=".gator-radio-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8);margin-bottom:.5rem}.gator-radio-group{display:flex;flex-direction:var(--ngc-radio-group-flex-direction, column);gap:var(--ngc-radio-group-gap, var(--spacing-gap-8));flex-wrap:wrap}::slotted(ngc-radio),ngc-radio{--ngc-input-margin-bottom: 0}";export{a as default};
|
package/dist/packages/web-components/src/components/selection-box/selection-box.gator.tokens.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=":root,:host{--ngc-selection-box-background-color: var(--color-surface-primary);--ngc-selection-box-title-color: var(--color-text-primary-base);--ngc-selection-box-subtitle-color: var(--color-text-secondary);--ngc-selection-box-input-accent-color: var(--color-text-brand);--ngc-selection-box-background-color-selected: var(--color-surface-brand);--ngc-selection-box-background-color-disabled: var(--color-surface-secondary);--ngc-selection-box-icon-color-unselected: var(--color-stroke-primary);--ngc-selection-box-icon-color-disabled: var(--color-stroke-primary);--ngc-selection-box-icon-color-selected: var(--color-stroke-brand);--ngc-selection-box-border-color-error: var(--color-stroke-error);--ngc-selection-box-icon-color-error: var(--color-icon-error);--ngc-selection-box-border: var(--size-stroke-1, 1px) solid var(--color-stroke-primary);--ngc-selection-box-selected-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-hover-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-error-border: var(--size-stroke-1, 1px) solid var(--color-stroke-error-
|
|
1
|
+
const o=":root,:host{--ngc-selection-box-background-color: var(--color-surface-primary);--ngc-selection-box-title-color: var(--color-text-primary-base);--ngc-selection-box-subtitle-color: var(--color-text-secondary);--ngc-selection-box-input-accent-color: var(--color-text-brand);--ngc-selection-box-background-color-selected: var(--color-surface-brand);--ngc-selection-box-background-color-disabled: var(--color-surface-secondary);--ngc-selection-box-icon-color-unselected: var(--color-stroke-primary);--ngc-selection-box-icon-color-disabled: var(--color-stroke-primary);--ngc-selection-box-icon-color-selected: var(--color-stroke-brand);--ngc-selection-box-border-color-error: var(--color-stroke-error);--ngc-selection-box-icon-color-error: var(--color-icon-error);--ngc-selection-box-border: var(--size-stroke-1, 1px) solid var(--color-stroke-primary);--ngc-selection-box-selected-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-hover-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-error-border: var(--size-stroke-1, 1px) solid var(--color-stroke-error, var(--color-red-40, #AA330E));--ngc-selection-box-focus-outline: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-border-radius: var(--radius-selection-control, .125rem);--ngc-selection-box-hover-box-shadow: var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-1-y-offset, 5px) var(--shadow-shadow-2-card-raised-property-1-blur, 10px) var(--shadow-shadow-2-card-raised-property-1-spread, 0px) var(--shadow-shadow-color-10, rgba(31, 31, 31, .1)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-2-y-offset, 7px) var(--shadow-shadow-2-card-raised-property-2-blur, 14px) var(--shadow-shadow-2-card-raised-property-2-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-3-y-offset, 3px) var(--shadow-shadow-2-card-raised-property-3-blur, 6px) var(--shadow-shadow-2-card-raised-property-3-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08));--ngc-selection-box-padding: var(--spacing-padding-margin-16, 1rem);--ngc-selection-box-margin-bottom: var(--spacing-gap-8, .5rem);--ngc-selection-box-focus-outline-offset: .125rem;--ngc-selection-box-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-selection-box-subtitle-font-size: .9375rem;--ngc-selection-box-title-line-height: var(--text-line-height-body-1, 1.5rem);--ngc-selection-box-subtitle-line-height: 1.375rem}";export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='.gator-table-bulk-controls{margin-bottom:1rem;display:flex;flex-direction:row;align-items:center;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-radius:var(--ngc-table-bulk-controls-border-radius, 1rem);gap:1rem;background-color:var(--color-surface-brand, #F3F5F7)}.gator-table-bulk-controls-aria-live-container{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:0}.gator-table-bulk-controls-selection{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-padding-margin-8, .5rem);padding-left:.5rem}.gator-table-bulk-controls-count{font-family:var(--text-family-body),"Open Sans",sans-serif;font-size:var(--text-size-body-2, .875rem);color:var(--text-color-primary-base, #1F1F1F)}.gator-table-bulk-controls-actions{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-padding-margin-8, .5rem)}';export{r as default};
|
|
1
|
+
const r='.gator-table-bulk-controls{margin-bottom:1rem;display:flex;flex-direction:row;align-items:center;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-radius:var(--ngc-table-bulk-controls-border-radius, 1rem);gap:1rem;background-color:var(--color-surface-brand, #F3F5F7)}.gator-table-bulk-controls-aria-live-container{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:0}.gator-table-bulk-controls-selection{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-padding-margin-8, .5rem);padding-left:.5rem}.gator-table-bulk-controls-count{font-family:var(--text-family-body),"Open Sans",sans-serif;font-size:var(--text-size-body-2, .875rem);color:var(--text-color-primary-base, #1F1F1F)}.gator-table-bulk-controls-actions{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-padding-margin-8, .5rem)}ngc-checkbox{--ngc-input-margin-bottom: 0}';export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='.gator-table{font-family:var(--text-family-body),"Open Sans",sans-serif;border-spacing:0;width:100%;overflow:auto;border-radius:var(--ngc-table-border-radius, 1rem);background-color:var(--ngc-table-row-background-color, var(--color-surface-primary-white, #FFF))}.gator-table thead>th,.gator-table thead>tr{height:3rem;min-height:3rem}.gator-table thead>th :first-child,.gator-table thead>tr :first-child{border-top-left-radius:var(--ngc-table-border-radius, 1rem)}.gator-table thead>th :last-child,.gator-table thead>tr :last-child{border-top-right-radius:var(--ngc-table-border-radius, 1rem)}.gator-table tbody>tr,.gator-table tfoot>tr{min-height:3rem;height:3rem}.gator-table th{background:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));text-align:left;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5)}.gator-table th:hover{background:var(--ngc-table-header-background-color-hover, #E4ECF2)}.gator-table [dir=rtl] th.mat-header-cell{text-align:right}.gator-table td{padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-row-border-bottom-color, #E5E5E5)}.gator-table tr:has(td:hover){background:var(--ngc-table-row-background-color-hover, var(--color-surface-hover, #F7F7F7))}.gator-table tbody:last-child>tr:last-child th:first-child,.gator-table tbody:last-child>tr:last-child td:first-child{border-bottom-left-radius:var(--ngc-table-border-radius, 1rem)}.gator-table tbody:last-child>tr:last-child td:last-child{border-bottom-right-radius:var(--ngc-table-border-radius, 1rem)}.gator-table th:first-of-type,.gator-table td:first-of-type{padding-left:24px}.gator-table [dir=rtl] th:first-of-type,.gator-table [dir=rtl] td:first-of-type{padding-left:0;padding-right:24px}.gator-table th:last-of-type,.gator-table td:last-of-type{padding-right:24px}.gator-table [dir=rtl] th:last-of-type,.gator-table [dir=rtl] td:last-of-type{padding-right:0;padding-left:24px}.gator-table-checkbox-column{width:1%}.gator-table-row-selected{background-color:var(--ngc-table-row-background-color-selected, var(--color-surface-brand, var(--color-blue-10, #F3F5F7)))}.gator-table-elevated{box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-table-category-header,.gator-table-category-header:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))}.gator-table-category-header th{border-bottom:none!important;font-weight:700;background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));color:var(--text-color-primary-base, #1F1F1F);line-height:var(--text-line-height-subtitle-2, 1.375rem);letter-spacing:var(--text-letter-spacing-default, 0rem)}.gator-table-total-row{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));font-weight:600}.gator-table-total-row:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))!important}.gator-table-total-row td,.gator-table-total-row th{border-top:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5);border-bottom:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5)!important}.gator-table-total-row th:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))!important}.gator-table-total-label{font-weight:700;color:var(--text-color-primary-base, #1F1F1F)}';export{r as default};
|
|
1
|
+
const r='.gator-table{font-family:var(--text-family-body),"Open Sans",sans-serif;border-spacing:0;width:100%;overflow:auto;border-radius:var(--ngc-table-border-radius, 1rem);background-color:var(--ngc-table-row-background-color, var(--color-surface-primary-white, #FFF))}.gator-table thead>th,.gator-table thead>tr{height:3rem;min-height:3rem}.gator-table thead>th :first-child,.gator-table thead>tr :first-child{border-top-left-radius:var(--ngc-table-border-radius, 1rem)}.gator-table thead>th :last-child,.gator-table thead>tr :last-child{border-top-right-radius:var(--ngc-table-border-radius, 1rem)}.gator-table tbody>tr,.gator-table tfoot>tr{min-height:3rem;height:3rem}.gator-table th{background:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));text-align:left;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5)}.gator-table th:hover{background:var(--ngc-table-header-background-color-hover, #E4ECF2)}.gator-table [dir=rtl] th.mat-header-cell{text-align:right}.gator-table td{padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-row-border-bottom-color, #E5E5E5)}.gator-table tr:has(td:hover){background:var(--ngc-table-row-background-color-hover, var(--color-surface-hover, #F7F7F7))}.gator-table tbody:last-child>tr:last-child th:first-child,.gator-table tbody:last-child>tr:last-child td:first-child{border-bottom-left-radius:var(--ngc-table-border-radius, 1rem)}.gator-table tbody:last-child>tr:last-child td:last-child{border-bottom-right-radius:var(--ngc-table-border-radius, 1rem)}.gator-table th:first-of-type,.gator-table td:first-of-type{padding-left:24px}.gator-table [dir=rtl] th:first-of-type,.gator-table [dir=rtl] td:first-of-type{padding-left:0;padding-right:24px}.gator-table th:last-of-type,.gator-table td:last-of-type{padding-right:24px}.gator-table [dir=rtl] th:last-of-type,.gator-table [dir=rtl] td:last-of-type{padding-right:0;padding-left:24px}.gator-table ngc-checkbox{--ngc-input-margin-bottom: 0}.gator-table-checkbox-column{width:1%}.gator-table-row-selected{background-color:var(--ngc-table-row-background-color-selected, var(--color-surface-brand, var(--color-blue-10, #F3F5F7)))}.gator-table-elevated{box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-table-category-header,.gator-table-category-header:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))}.gator-table-category-header th{border-bottom:none!important;font-weight:700;background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));color:var(--text-color-primary-base, #1F1F1F);line-height:var(--text-line-height-subtitle-2, 1.375rem);letter-spacing:var(--text-letter-spacing-default, 0rem)}.gator-table-total-row{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7));font-weight:600}.gator-table-total-row:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))!important}.gator-table-total-row td,.gator-table-total-row th{border-top:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5);border-bottom:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5)!important}.gator-table-total-row th:hover{background-color:var(--ngc-table-header-background-color, var(--color-blue-10, #F3F5F7))!important}.gator-table-total-label{font-weight:700;color:var(--text-color-primary-base, #1F1F1F)}';export{r as default};
|
|
@@ -1,48 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
2
2
|
export type NGC_BOOLEAN_OPTION = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
5
|
};
|
|
6
|
-
export declare class NgcBoolean extends
|
|
7
|
-
static shadowRootOptions: {
|
|
8
|
-
delegatesFocus: boolean;
|
|
9
|
-
mode: ShadowRootMode;
|
|
10
|
-
serializable?: boolean;
|
|
11
|
-
slotAssignment?: SlotAssignmentMode;
|
|
12
|
-
};
|
|
6
|
+
export declare class NgcBoolean extends NgcInputText {
|
|
13
7
|
static styles: import('lit').CSSResult[];
|
|
14
|
-
/**
|
|
15
|
-
* @property {string} id - The id for the boolean component. If one is not provided, a random id will be generated.
|
|
16
|
-
*/
|
|
17
|
-
id: string;
|
|
18
8
|
/**
|
|
19
9
|
* @property {NGC_BOOLEAN_OPTION[]} options - Options to render as boolean options. Each option must have a label and value property.
|
|
20
10
|
*/
|
|
21
11
|
options: NGC_BOOLEAN_OPTION[];
|
|
22
|
-
/**
|
|
23
|
-
* @property {boolean} disabled - Defines if the boolean component should be disabled. Disabled boolean components cannot be selected.
|
|
24
|
-
*/
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @property {string} value - Defines the current value of the boolean component.
|
|
28
|
-
*/
|
|
29
|
-
value: string;
|
|
30
|
-
/**
|
|
31
|
-
* @property {string} label - Defines the visible label of the boolean component.
|
|
32
|
-
*/
|
|
33
|
-
label: string;
|
|
34
|
-
/**
|
|
35
|
-
* @property {string} helpText - Defines optional help text to be displayed below the boolean component.
|
|
36
|
-
*/
|
|
37
|
-
helpText: string;
|
|
38
|
-
/**
|
|
39
|
-
* @property {boolean} hasError - Defines if the boolean component should be rendered in an error state.
|
|
40
|
-
*/
|
|
41
|
-
hasError: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* @property {string} errorMessage - Defines an optional error message to be displayed below the boolean component when in an error state.
|
|
44
|
-
*/
|
|
45
|
-
errorMessage: string;
|
|
46
12
|
private _randomId;
|
|
47
13
|
firstUpdated(): void;
|
|
48
14
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { PropertyValueMap } from 'lit';
|
|
1
|
+
import { PropertyValueMap, nothing } from 'lit';
|
|
2
2
|
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
3
|
export declare class NgcCheckbox extends NgcInputText {
|
|
4
|
-
static shadowRootOptions: {
|
|
5
|
-
delegatesFocus: boolean;
|
|
6
|
-
mode: ShadowRootMode;
|
|
7
|
-
serializable?: boolean;
|
|
8
|
-
slotAssignment?: SlotAssignmentMode;
|
|
9
|
-
};
|
|
10
4
|
static styles: import('lit').CSSResult[];
|
|
11
5
|
/**
|
|
12
6
|
* @property {string} title - The title text for the checkbox button option.
|
|
@@ -22,13 +16,14 @@ export declare class NgcCheckbox extends NgcInputText {
|
|
|
22
16
|
*/
|
|
23
17
|
hideLabel: boolean;
|
|
24
18
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
* @property {boolean} grouped - Indicates if the checkbox is apart of a checkbox group
|
|
20
|
+
*/
|
|
21
|
+
grouped: boolean;
|
|
28
22
|
private _randomId;
|
|
29
23
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
30
24
|
render(): import('lit').TemplateResult<1>;
|
|
31
25
|
get elementId(): string;
|
|
26
|
+
get bottomText(): import('lit').TemplateResult<1> | typeof nothing;
|
|
32
27
|
handleChange(): void;
|
|
33
28
|
click(): void;
|
|
34
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgcCheckbox } from '../checkbox/checkbox.gator';
|
|
2
|
-
import {
|
|
2
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
3
|
/**
|
|
4
4
|
* @slot - The checkboxes within the group
|
|
5
5
|
*/
|
|
@@ -7,36 +7,8 @@ export type NGC_CHECKBOX_GROUP_OPTION = {
|
|
|
7
7
|
title: string;
|
|
8
8
|
value: string;
|
|
9
9
|
};
|
|
10
|
-
export declare class NgcCheckboxGroup extends
|
|
10
|
+
export declare class NgcCheckboxGroup extends NgcInputText {
|
|
11
11
|
static styles: import('lit').CSSResult[];
|
|
12
|
-
/**
|
|
13
|
-
* @property {string} id - `id` for the checkbox group. If not provided, one will be uniquely generated.
|
|
14
|
-
*/
|
|
15
|
-
id: string;
|
|
16
|
-
/**
|
|
17
|
-
* @property {string} label - Defines the visible label of the checkbox group.
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* @property {string} helpText - Defines optional help text to be displayed below the checkbox group.
|
|
22
|
-
*/
|
|
23
|
-
helpText: string;
|
|
24
|
-
/**
|
|
25
|
-
* @property {string} value - The value of the checkbox group.
|
|
26
|
-
*/
|
|
27
|
-
value: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* @property {boolean} disabled - Indicates whether the checkbox group is disabled.
|
|
30
|
-
*/
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @property {boolean} hasError - Indicates if the checkbox group should render in an error state.
|
|
34
|
-
*/
|
|
35
|
-
hasError: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @property {string} errorMessage - Defines an optional error message to be displayed below the checkbox group when in an error state.
|
|
38
|
-
*/
|
|
39
|
-
errorMessage: string;
|
|
40
12
|
/**
|
|
41
13
|
* @property {NGC_CHECKBOX_GROUP_OPTION[]} options - Options to render as radio buttons. Each option must have a title and value property and can optionally have a subtitle property.
|
|
42
14
|
*/
|
|
@@ -49,7 +49,7 @@ export declare class NgcProgressBar extends TestableLitElement {
|
|
|
49
49
|
rounded: boolean;
|
|
50
50
|
static styles: import('lit').CSSResult[];
|
|
51
51
|
render(): import('lit').TemplateResult<1>;
|
|
52
|
-
get ariaDescribedby(): "
|
|
52
|
+
get ariaDescribedby(): "error-text" | "help-text" | "success-text" | undefined;
|
|
53
53
|
get helpTextMarkup(): import('lit').TemplateResult<1> | null;
|
|
54
54
|
get errorMarkup(): import('lit').TemplateResult<1> | null;
|
|
55
55
|
get successMarkup(): import('lit').TemplateResult<1> | null;
|
|
@@ -1,46 +1,30 @@
|
|
|
1
|
-
import { PropertyValueMap } from 'lit';
|
|
2
|
-
import { TestableLitElement } from '../../utils/components/testable-lit-element/testable-lit-element.ts';
|
|
1
|
+
import { PropertyValueMap, nothing } from 'lit';
|
|
3
2
|
import { Ref } from 'lit/directives/ref.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
delegatesFocus: boolean;
|
|
7
|
-
mode: ShadowRootMode;
|
|
8
|
-
serializable?: boolean;
|
|
9
|
-
slotAssignment?: SlotAssignmentMode;
|
|
10
|
-
};
|
|
3
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
4
|
+
export declare class NgcRadio extends NgcInputText {
|
|
11
5
|
static styles: import('lit').CSSResult[];
|
|
12
6
|
/**
|
|
13
|
-
* @property {string} id - The title text for the radio button option.
|
|
14
|
-
*/
|
|
15
|
-
id: string;
|
|
16
|
-
/**
|
|
17
7
|
* @property {string} title - The title text for the radio button option.
|
|
18
8
|
*/
|
|
19
9
|
titleText: string;
|
|
20
10
|
/**
|
|
21
|
-
* @property {string} value - The text label for the radio button option.
|
|
22
|
-
*/
|
|
23
|
-
value: string;
|
|
24
|
-
/**
|
|
25
11
|
* @property {boolean} selected - Indicates whether the radio button is currently selected.
|
|
26
12
|
*/
|
|
27
13
|
selected: boolean;
|
|
28
14
|
/**
|
|
29
|
-
* @property {boolean} disabled - Indicates whether the radio button is disabled.
|
|
30
|
-
*/
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @property {boolean} hasError - Indicates if the radio button should render in an error state.
|
|
34
|
-
*/
|
|
35
|
-
hasError: boolean;
|
|
36
|
-
/**
|
|
37
15
|
* @property {number} radioTabindex - The tabindex for the radio button.
|
|
38
16
|
*/
|
|
39
17
|
radioTabindex: number;
|
|
18
|
+
/**
|
|
19
|
+
* @property {boolean} grouped - Indicates if the radio is apart of a radio group
|
|
20
|
+
*/
|
|
21
|
+
grouped: boolean;
|
|
40
22
|
inputRef: Ref<HTMLInputElement>;
|
|
41
23
|
private _randomId;
|
|
42
24
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
25
|
+
connectedCallback(): void;
|
|
43
26
|
render(): import('lit').TemplateResult<1>;
|
|
27
|
+
get bottomText(): import('lit').TemplateResult<1> | typeof nothing;
|
|
44
28
|
get elementId(): string;
|
|
45
29
|
get tabindex(): number;
|
|
46
30
|
handleChange(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgcRadio } from '../radio/radio.gator';
|
|
2
|
-
import {
|
|
2
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
3
|
/**
|
|
4
4
|
* @slot - The radios within the group
|
|
5
5
|
*/
|
|
@@ -7,36 +7,8 @@ export type NGC_RADIO_GROUP_OPTION = {
|
|
|
7
7
|
title: string;
|
|
8
8
|
value: string;
|
|
9
9
|
};
|
|
10
|
-
export declare class NgcRadioGroup extends
|
|
10
|
+
export declare class NgcRadioGroup extends NgcInputText {
|
|
11
11
|
static styles: import('lit').CSSResult[];
|
|
12
|
-
/**
|
|
13
|
-
* @property {string} id - `id` for the radio group. If not provided, one will be uniquely generated.
|
|
14
|
-
*/
|
|
15
|
-
id: string;
|
|
16
|
-
/**
|
|
17
|
-
* @property {string} label - Defines the visible label of the radio group.
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* @property {string} helpText - Defines optional help text to be displayed below the radio group.
|
|
22
|
-
*/
|
|
23
|
-
helpText: string;
|
|
24
|
-
/**
|
|
25
|
-
* @property {string} value - The value of the radio group.
|
|
26
|
-
*/
|
|
27
|
-
value: string;
|
|
28
|
-
/**
|
|
29
|
-
* @property {boolean} disabled - Indicates whether the radio group is disabled.
|
|
30
|
-
*/
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @property {boolean} hasError - Indicates if the radio group should render in an error state.
|
|
34
|
-
*/
|
|
35
|
-
hasError: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @property {string} errorMessage - Defines an optional error message to be displayed below the radio group when in an error state.
|
|
38
|
-
*/
|
|
39
|
-
errorMessage: string;
|
|
40
12
|
/**
|
|
41
13
|
* @property {NGC_RADIO_GROUP_OPTION[]} options - Options to render as radio buttons. Each option must have a title and value property.
|
|
42
14
|
*/
|