@ncino/web-components 5.0.0-preview.2 → 5.0.0-preview.4
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/_virtual/_commonjsHelpers.js +1 -1
- package/dist/_virtual/index_html.js +1 -1
- package/dist/_virtual/index_react.js +1 -1
- package/dist/_virtual/preload-helper.js +1 -1
- package/dist/assets/node_modules/.pnpm/ckeditor5@45.2.1/node_modules/ckeditor5/dist/ckeditor5.css +1 -1
- package/dist/components/accordion/gator/base/accordion.gator.js +6 -6
- package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
- package/dist/components/alert/gator/base/alert.gator.js +2 -2
- package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +2 -2
- package/dist/components/alert/gator/title/alert-title.gator.js +2 -2
- package/dist/components/avatar/gator/avatar.gator.js +2 -2
- package/dist/components/badge/gator/badge.gator.js +2 -2
- package/dist/components/banner/gator/banner.gator.js +2 -2
- package/dist/components/boolean/boolean.gator.js +6 -6
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +2 -2
- package/dist/components/button/gator/button.gator.js +4 -4
- package/dist/components/button-group/gator/button-group.gator.js +2 -2
- package/dist/components/card/gator/footer/card-footer.gator.js +2 -2
- package/dist/components/card/gator/header/card-header.gator.js +2 -2
- package/dist/components/checkbox/checkbox.gator.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.gator.js +8 -8
- package/dist/components/combobox/base/combobox.js +1 -1
- package/dist/components/combobox/base/combobox.slds.js +13 -13
- package/dist/components/date-picker/base/gator/datepicker.gator.js +18 -18
- package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +2 -2
- package/dist/components/headline-card/gator/headline-card.gator.js +2 -2
- package/dist/components/icon/gator/icon.gator.js +2 -2
- package/dist/components/illustration/gator/illustration.gator.js +2 -2
- package/dist/components/input/base/input-base.gator.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +11 -11
- package/dist/components/input/gator/input-currency/input-currency.gator.js +2 -2
- package/dist/components/input/gator/input-date/input-date.gator.js +15 -15
- package/dist/components/input/gator/input-file/input-file.gator.js +3 -3
- package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
- package/dist/components/input/gator/input-phone/input-phone.gator.js +2 -2
- package/dist/components/input/gator/input-search/input-search.gator.js +2 -2
- package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
- package/dist/components/input/gator/input-time/input-time.gator.js +2 -2
- package/dist/components/list/gator/list/list.gator.js +2 -2
- package/dist/components/list/gator/list-item/list-item.gator.js +6 -6
- package/dist/components/menu/base/gator/menu.gator.js +3 -3
- package/dist/components/menu/base/slds/menu.slds.js +2 -2
- package/dist/components/menu/menu-item/gator/menu-item.gator.js +2 -2
- package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +38 -39
- package/dist/components/page-header/gator/page-header.gator.js +2 -2
- package/dist/components/panel/gator/panel.gator.js +13 -13
- package/dist/components/panel/gator/panel.storybook-test.js +1 -1
- package/dist/components/pill/pill.slds.js +3 -3
- package/dist/components/popover/gator/popover.gator.js +10 -10
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.gator.js +2 -2
- package/dist/components/radio-group/radio-group.gator.js +2 -2
- package/dist/components/selection-box-group/selection-box-group.gator.js +5 -5
- package/dist/components/selector/gator/selector.gator.js +2 -2
- package/dist/components/switch/gator/switch.gator.js +2 -2
- package/dist/components/tabs/gator/tabset/tabset.gator.js +3 -3
- package/dist/components/text-detail/gator/text-detail.gator.js +17 -18
- package/dist/components/time-picker/gator/time-picker.gator.js +19 -19
- package/dist/components/toast/gator/base/toast.gator.js +8 -9
- package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +2 -2
- package/dist/components/toast/gator/title/toast-title.gator.js +2 -2
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toast-container/gator/toast-container.gator.js +18 -0
- package/dist/components/toast-container/index.js +1 -0
- package/dist/components/toaster/gator/toaster.gator.js +5 -0
- package/dist/components/toaster/index.js +1 -0
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.services.js +1 -0
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autosave@45.2.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@45.2.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@45.2.1/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +10 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +5 -5
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@45.2.1/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +12 -12
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@45.2.1/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-heading@45.2.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@45.2.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +6 -6
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js +4 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-indent@45.2.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +4 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-link@45.2.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js +5 -5
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +4 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@45.2.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@45.2.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.1/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +9 -9
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@45.2.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@45.2.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-style@45.2.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js +6 -6
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +4 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +10 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-undo@45.2.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-upload@45.2.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +38 -38
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@45.2.1/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@deltablot_dropzone@7.3.1/node_modules/@deltablot/dropzone/dist/dropzone.js +1 -1
- package/dist/node_modules/.pnpm/@fastify_busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js +1 -1
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/common/fetch.js +1 -0
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +1 -0
- package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/connect/helpers.js +1 -1
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/package.json.js +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js +2 -2
- package/dist/node_modules/.pnpm/@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/core/dist/channels/index.js +9 -9
- package/dist/node_modules/.pnpm/@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/core/dist/csf/index.js +1 -1
- package/dist/node_modules/.pnpm/@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/core/dist/preview-api/index.js +22 -22
- package/dist/node_modules/.pnpm/@storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/instrumenter/dist/index.js +36 -36
- package/dist/node_modules/.pnpm/@storybook_test@8.6.14_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/test/dist/index.js +111 -111
- package/dist/node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.10_typescript@5.8.3__playwright@1.53.2_77c47ac19cbe97978028e1e5ac862536/node_modules/@vitest/browser/context.js +1 -0
- package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +8 -8
- package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +5 -5
- package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +11 -11
- package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js +21 -21
- package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js +2 -2
- package/dist/node_modules/.pnpm/axe-core@4.10.3/node_modules/axe-core/axe.js +4 -4
- package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +3 -3
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/get.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/unset.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/debounce.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/cloneDeepWith.js +1 -1
- package/dist/node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js +2 -2
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/async-directive.js +1 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directive-helpers.js +2 -2
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js +2 -2
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js +2 -2
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/repeat.js +5 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js +3 -3
- package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/cache/cache.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/cache/cachestorage.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/cookies/parse.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/constants.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/headers.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/index.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/request.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/response.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/util.js +2 -2
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/webidl.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/connection.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/events.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/frame.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/receiver.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/util.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/websocket.js +1 -1
- package/dist/node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
- package/dist/node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +8 -8
- package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/switch/gator/switch.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/toast/gator/base/toast.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/toast-container/gator/toast-container.gator.scss.js +1 -0
- package/dist/packages/web-components/src/components/toaster/gator/toaster.gator.scss.js +1 -0
- package/dist/packages/web-components/src/index.slds.scss.js +1 -1
- package/dist/services/toaster-service.js +1 -0
- package/dist/types/components/modal/gator/modal.gator.d.ts +1 -1
- package/dist/types/components/text-detail/gator/text-detail.gator.d.ts +4 -2
- package/dist/types/components/toast/toast.d.ts +14 -0
- package/dist/types/components/toast-container/gator/toast-container.gator.d.ts +15 -0
- package/dist/types/components/toast-container/gator/toast-container.gator.test.d.ts +0 -0
- package/dist/types/components/toast-container/index.d.ts +1 -0
- package/dist/types/components/toaster/gator/toaster.gator.d.ts +32 -0
- package/dist/types/components/toaster/gator/toaster.gator.test.d.ts +0 -0
- package/dist/types/components/toaster/index.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.gator.d.ts +2 -0
- package/dist/types/index.services.d.ts +1 -0
- package/dist/types/services/toaster-service.d.ts +117 -0
- package/dist/types/services/toaster-service.test.d.ts +1 -0
- package/dist/utils/accessibility-utils.js +1 -1
- package/dist/utils/datatestid-utils.js +1 -1
- package/dist/utils/lightdom-utils.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/dist/utils/vitest-utils.js +1 -1
- package/package.json +15 -11
- package/web-types.json +182 -110
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/common/fetch.js +0 -1
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +0 -1
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/package.json.js +0 -1
- package/dist/node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.10_typescript@5.8.3__playwright@1.53.1_5fd2997ee9a97429a51e07bc2023c338/node_modules/@vitest/browser/context.js +0 -1
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/client/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/client/figma_client.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/common/logging.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/common/updates.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/connect/external_types.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/connect/index_common.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/html/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/html/index_html.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/html/template_literal.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/react/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.3 → @figma_code-connect@1.3.4}/node_modules/@figma/code-connect/dist/react/index_react.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h}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 u from"../../../packages/web-components/src/components/selector/gator/selector.gator.scss.js";import m from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import f from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{customElement as y}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h}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 u from"../../../packages/web-components/src/components/selector/gator/selector.gator.scss.js";import m from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import f from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{customElement as y}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as l}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{TestableLitElement as b}from"../../../utils/components/testable-lit-element/testable-lit-element.js";import{KEY_CONSTANTS as p}from"../../../consts/key-constants.js";import{unsafeCSS as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var v=Object.defineProperty,g=Object.getOwnPropertyDescriptor,r=(e,i,a,o)=>{for(var s=o>1?void 0:o?g(i,a):i,n=e.length-1,d;n>=0;n--)(d=e[n])&&(s=(o?d(i,a,s):d(s))||s);return o&&s&&v(i,a,s),s};let t=class extends b{constructor(){super(...arguments),this.type=null,this.selected=!1,this.disabled=!1,this.current=!1,this.tabindex=0,this.role=null}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("click",this.handleClick)}updated(e){e.has("selected")&&(this.ariaSelected=this.selected.toString()),e.has("current")&&(this.ariaCurrent=this.current.toString()),e.has("disabled")&&(this.ariaDisabled=this.disabled.toString())}render(){return h`
|
|
2
2
|
<div class="gator-selector gator-selector_${this.type} ${this.selectedClass} ${this.disabledClass} ${this.currentClass}">
|
|
3
3
|
<div class="gator-selector-spacer-start"></div>
|
|
4
4
|
<div class="gator-selector-label">
|
|
@@ -6,4 +6,4 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit
|
|
|
6
6
|
</div>
|
|
7
7
|
<div class="gator-selector-spacer-end"></div>
|
|
8
8
|
</div>
|
|
9
|
-
`}get selectedClass(){return this.selected?"gator-selector_selected":""}get disabledClass(){return this.disabled?"gator-selector_disabled":""}get currentClass(){return this.current?"gator-selector_current":""}handleKeydown(e){if(e.key===p.ENTER||e.key===p.SPACE){e.preventDefault(),this.handleClick(e);return}}handleClick(e){
|
|
9
|
+
`}get selectedClass(){return this.selected?"gator-selector_selected":""}get disabledClass(){return this.disabled?"gator-selector_disabled":""}get currentClass(){return this.current?"gator-selector_current":""}handleKeydown(e){if(e.key===p.ENTER||e.key===p.SPACE){e.preventDefault(),this.handleClick(e);return}}handleClick(e){e.preventDefault(),e.stopPropagation(),!this.disabled&&this.dispatchEvent(new CustomEvent("select",{bubbles:!0,detail:{value:this.textContent?.trim(),selected:this.selected}}))}};t.styles=[c(u),c(m),c(f)];r([l({type:String})],t.prototype,"type",2);r([l({type:Boolean})],t.prototype,"selected",2);r([l({type:Boolean})],t.prototype,"disabled",2);r([l({type:Boolean})],t.prototype,"current",2);r([l({type:Number})],t.prototype,"tabindex",2);r([l({type:String})],t.prototype,"role",2);t=r([y("ngc-selector")],t);export{t as NgcSelector};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcSwitch as
|
|
1
|
+
import{NjcSwitch as c}from"../switch.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as r}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as d}from"../../../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 u from"../../../packages/web-components/src/components/switch/switch.tokens.scss.js";import p from"../../../packages/web-components/src/components/switch/gator/switch.gator.scss.js";import{unsafeCSS as n}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var w=Object.getOwnPropertyDescriptor,m=(t,o,h,a)=>{for(var e=a>1?void 0:a?w(o,h):o,i=t.length-1,l;i>=0;i--)(l=t[i])&&(e=l(e)||e);return e};let s=class extends c{constructor(){super(),this.addEventListener("click",this.handleClick)}updated(){const t=this.shadowRoot?.querySelector(".gator-switch");t?.classList.toggle("gator-switch-on",this.value),t?.classList.toggle("gator-switch-disabled",this.disabled)}render(){return r`
|
|
2
2
|
<div class="gator-switch-container">
|
|
3
3
|
<div id="${this._getContainerId()}" class="gator-switch">
|
|
4
4
|
<input id="${this._getInputId()}" role="switch" type="checkbox" .checked="${this.value}" .disabled="${this.disabled}" @keydown="${this.handleInputKeydown}" @click=${this.handleInputClick} />
|
|
@@ -6,4 +6,4 @@ import{NjcSwitch as d}from"../switch.js";import"../../../node_modules/.pnpm/@lit
|
|
|
6
6
|
</div>
|
|
7
7
|
${this.label?this._getLabelMarkup():""}
|
|
8
8
|
</div>
|
|
9
|
-
`}handleInputKeydown(t){t.key===" "&&(t.preventDefault(),this._toggleSwitch())}handleInputClick(t){t.stopImmediatePropagation()}handleClick(){this._toggleSwitch()}_toggleSwitch(){
|
|
9
|
+
`}handleInputKeydown(t){t.key===" "&&(t.preventDefault(),this._toggleSwitch())}handleInputClick(t){t.stopImmediatePropagation()}handleClick(){this._toggleSwitch()}_toggleSwitch(){if(!this.disabled){this.value=!this.value;const t=this.shadowRoot?.querySelector(".gator-switch");t?.classList.toggle("gator-switch-toggle-on",this.value),t?.classList.toggle("gator-switch-toggle-off",!this.value),this.dispatchEvent(new CustomEvent("change",{detail:this.value,bubbles:!0}))}}_getLabelMarkup(){return r`<label for="${this._getInputId()}">${this.label}</label>`}_getInputId(){return`${this.getElementId()}-input`}_getContainerId(){return`${this.getElementId()}-container`}};s.shadowRootOptions={...d.shadowRootOptions,delegatesFocus:!0};s.styles=[n(u),n(p)];s=m([g("ngc-switch")],s);export{s as NgcSwitch};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as c}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 d}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as v}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import"../tab/tab.gator.js";import{KEY_CONSTANTS as b}from"../../../../consts/key-constants.js";import{createRef as f,ref as u}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{TestableLitElement as m}from"../../../../utils/components/testable-lit-element/testable-lit-element.js";import T from"../../../../packages/web-components/src/components/tabs/gator/tabs.gator.scss.js";import g from"../../../../packages/web-components/src/components/tabs/gator/tabs.gator.tokens.scss.js";import y from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import $ from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import{ifDefined as I}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,S=Object.getOwnPropertyDescriptor,r=(t,e,
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as c}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 d}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as v}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import"../tab/tab.gator.js";import{KEY_CONSTANTS as b}from"../../../../consts/key-constants.js";import{createRef as f,ref as u}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{TestableLitElement as m}from"../../../../utils/components/testable-lit-element/testable-lit-element.js";import T from"../../../../packages/web-components/src/components/tabs/gator/tabs.gator.scss.js";import g from"../../../../packages/web-components/src/components/tabs/gator/tabs.gator.tokens.scss.js";import y from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import $ from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import{ifDefined as I}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,S=Object.getOwnPropertyDescriptor,r=(t,e,i,o)=>{for(var a=o>1?void 0:o?S(e,i):e,n=t.length-1,h;n>=0;n--)(h=t[n])&&(a=(o?h(e,i,a):h(a))||a);return o&&a&&x(e,i,a),a};let s=class extends m{constructor(){super(...arguments),this.tabsetAriaLabelledByElements=[],this.tabsetAriaLabel=void 0,this.size="medium",this.activeTabIndex=0,this._contentRef=f(),this._tablistRef=f()}updated(t){super.updated(t),t.has("tabsetAriaLabelledByElements")&&(this._tablistRef.value.ariaLabelledByElements=this.tabsetAriaLabelledByElements)}render(){return this.tabs||(this.tabs=Array.from(this.querySelectorAll("ngc-tab"))),c`
|
|
2
2
|
<div class="gator-tabset">
|
|
3
3
|
<div ${u(this._tablistRef)} role="tablist" class="gator-tabset-header" aria-label=${I(this.tabsetAriaLabel)}>
|
|
4
4
|
${this.tabs.map((t,e)=>c`
|
|
@@ -6,7 +6,7 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@
|
|
|
6
6
|
id="gator-tab-${e+1}"
|
|
7
7
|
role="tab"
|
|
8
8
|
tabindex="${this.getButtonTabIndex(e)}"
|
|
9
|
-
@keydown="${
|
|
9
|
+
@keydown="${i=>this.handleTabKeydown(i)}"
|
|
10
10
|
@click="${()=>this.activeTabIndex=e}"
|
|
11
11
|
aria-controls="gator-tabpanel-${e+1}"
|
|
12
12
|
aria-selected="${e===this.activeTabIndex}"
|
|
@@ -32,4 +32,4 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@
|
|
|
32
32
|
${this.tabs[this.activeTabIndex]}
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
|
-
`}get tabSizeClass(){return this.size?`gator-tab-button-${this.size}`:""}get tabContainerSizeClass(){return this.size?`gator-tab-container-${this.size}`:""}get tabSpacerClass(){return this.size!="large"?"":"gator-tabset-spacer"}getButtonTabIndex(t){return t===this.activeTabIndex?"0":"-1"}handleTabKeydown(t){
|
|
35
|
+
`}get tabSizeClass(){return this.size?`gator-tab-button-${this.size}`:""}get tabContainerSizeClass(){return this.size?`gator-tab-container-${this.size}`:""}get tabSpacerClass(){return this.size!="large"?"":"gator-tabset-spacer"}getButtonTabIndex(t){return t===this.activeTabIndex?"0":"-1"}handleTabKeydown(t){if(!this.tabs)return;let e=this.shadowRoot?.querySelectorAll(".gator-tabset-header [role=tab]");if(t.key===b.RIGHT){if(this.activeTabIndex===this.tabs.length-1){this.focusFirstTab(),t.preventDefault();return}this.activeTabIndex++,e[this.activeTabIndex].focus()}else if(t.key===b.LEFT){if(this.activeTabIndex===0){this.focusLastTab(),t.preventDefault();return}this.activeTabIndex--,e[this.activeTabIndex].focus(),t.preventDefault()}else t.key===b.HOME?(this.focusFirstTab(),t.preventDefault()):t.key===b.END&&(this.focusLastTab(),t.preventDefault())}focusFirstTab(){let t=this.shadowRoot?.querySelectorAll(".gator-tabset-header [role=tab]");this.activeTabIndex=0,t[this.activeTabIndex].focus()}focusLastTab(){if(!this.tabs)return;let t=this.shadowRoot?.querySelectorAll(".gator-tabset-header [role=tab]");this.activeTabIndex=this.tabs.length-1,t[this.activeTabIndex].focus()}};s.styles=[l(T),l(g),l(y),l($)];r([d({type:String,attribute:"tabset-aria-labelled-by-elements"})],s.prototype,"tabsetAriaLabelledByElements",2);r([d({type:String,attribute:"tabset-aria-label"})],s.prototype,"tabsetAriaLabel",2);r([d({type:String})],s.prototype,"size",2);r([v()],s.prototype,"activeTabIndex",2);s=r([p("ngc-tabset")],s);export{s as NgcTabset};
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import{NjcTextDetail as
|
|
2
|
-
<div class="gator-text-detail ${this.verticalClass}">
|
|
3
|
-
${this.
|
|
1
|
+
import{NjcTextDetail as m}from"../text-detail.js";import"../../chip/gator/chip.gator.js";import"../../card/gator/base/card.gator.js";import"../../card/gator/header/card-header.gator.js";import"../../card/gator/content/card-content.gator.js";import"../../card/gator/footer/card-footer.gator.js";import"../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as e,nothing as u}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 h from"../../../packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js";import g from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import p from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{customElement as x}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{ifDefined as c}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var v=Object.getOwnPropertyDescriptor,f=(t,s,n,l)=>{for(var i=l>1?void 0:l?v(s,n):s,a=t.length-1,d;a>=0;a--)(d=t[a])&&(i=d(i)||i);return i};let r=class extends m{updated(t){super.updated(t),t.has("skeleton")&&this.assignSlottedElementsSkeletonState()}render(){return e`
|
|
2
|
+
<div class="gator-text-detail ${this.verticalClass} ${this.skeleton?" gator-text-detail-loading":""}">
|
|
3
|
+
${this.textDetailMarkup}
|
|
4
4
|
</div>
|
|
5
|
-
`}get textDetailMarkup(){return
|
|
5
|
+
`}get textDetailMarkup(){return e`
|
|
6
6
|
<slot name="prepend"></slot>
|
|
7
7
|
|
|
8
8
|
<div class="gator-text-detail-content gator-text-detail_${this.size} ${this.invertTitleClass}">
|
|
9
9
|
<div class="gator-text-detail-title gator-text-detail-title_${this.size}"
|
|
10
|
-
data-testid=${
|
|
10
|
+
data-testid=${c(this.dataTestid)}-title
|
|
11
11
|
>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
${this.skeleton?e`<ngc-skeleton-loader full-width height="24" radius="100"></ngc-skeleton-loader>`:e`
|
|
13
|
+
<slot name="content">
|
|
14
|
+
${this.title}
|
|
15
|
+
</slot>
|
|
16
|
+
`}
|
|
15
17
|
</div>
|
|
16
18
|
${this.textDetailSubtitleMarkup}
|
|
17
19
|
</div>
|
|
18
20
|
|
|
19
21
|
<slot name="append"></slot>
|
|
20
|
-
`}get verticalClass(){return this.vertical?"gator-text-detail_vertical":""}get invertTitleClass(){return this.invertTitle?"gator-text-detail-content_invert-title":""}get
|
|
21
|
-
<div class="gator-text-detail-loading ${this.invertTitleClass}">
|
|
22
|
-
<ngc-skeleton-loader full-width height="24" radius="100"></ngc-skeleton-loader>
|
|
23
|
-
<ngc-skeleton-loader width="62" height="18" radius="100"></ngc-skeleton-loader>
|
|
24
|
-
</div>
|
|
25
|
-
`}get textDetailSubtitleIconMarkup(){return this.subtitleIcon?t`<ngc-icon class="gator-text-detail-subtitle-icon" name="${this.subtitleIcon}"></ngc-icon>`:null}get textDetailSubtitleMarkup(){return this.subtitle?t`
|
|
22
|
+
`}get verticalClass(){return this.vertical?"gator-text-detail_vertical":""}get invertTitleClass(){return this.invertTitle?"gator-text-detail-content_invert-title":""}get textDetailSubtitleIconMarkup(){return this.subtitleIcon?e`<ngc-icon class="gator-text-detail-subtitle-icon" name="${this.subtitleIcon}"></ngc-icon>`:null}get textDetailSubtitleMarkup(){return this.subtitle?e`
|
|
26
23
|
<div class="gator-text-detail-subtitle gator-text-detail-subtitle_${this.size}"
|
|
27
|
-
data-testid=${
|
|
24
|
+
data-testid=${c(this.dataTestid)}-subtitle
|
|
28
25
|
>
|
|
29
|
-
${this.
|
|
30
|
-
|
|
26
|
+
${this.skeleton?e`<ngc-skeleton-loader width="62" height="18" radius="100"></ngc-skeleton-loader>`:e`
|
|
27
|
+
${this.subtitle}
|
|
28
|
+
${this.textDetailSubtitleIconMarkup}
|
|
29
|
+
`}
|
|
31
30
|
</div>
|
|
32
|
-
`:
|
|
31
|
+
`:u}assignSlottedElementsSkeletonState(){const t=this.shadowRoot?.querySelectorAll("slot");t&&t.forEach(s=>{s.assignedElements().forEach(i=>{i.tagName.toLowerCase().includes("ngc-")&&(i.skeleton=this.skeleton)})})}};r.styles=[o(h),o(g),o(p)];r=f([x("ngc-text-detail")],r);export{r as NgcTextDetail};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
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 m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{NgcComponent as d}from"../../../utils/components/ngc-component.js";import f from"../../../packages/web-components/src/components/time-picker/gator/time-picker.gator.scss.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as g}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{msg as
|
|
2
|
-
<div class="gator-time-picker" role="dialog" aria-modal="true" aria-label="${
|
|
1
|
+
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 m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{NgcComponent as d}from"../../../utils/components/ngc-component.js";import f from"../../../packages/web-components/src/components/time-picker/gator/time-picker.gator.scss.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as g}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{msg as s}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{zeroPad as v}from"../../../utils/string-utils.js";import{KEY_CONSTANTS as r}from"../../../consts/key-constants.js";import"../../selector/gator/selector.gator.js";import"../../icon-button/gator/icon-button.gator.js";import"../../button/gator/button.gator.js";import{unsafeCSS as b}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,k=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,O=Reflect.get,l=(e,t,i,n)=>{for(var o=n>1?void 0:n?k(t,i):t,a=e.length-1,u;a>=0;a--)(u=e[a])&&(o=(n?u(t,i,o):u(o))||o);return n&&o&&y(t,i,o),o},$=(e,t,i)=>O(w(e),i,t);let c=class extends d{constructor(){super(...arguments),this.hour=null,this.minute=null,this.timeOfDay=null}async updated(e){super.updated(e),(e.has("hour")||e.has("minute"))&&(!this.hour&&!this.minute&&this.setToCurrentTime(),this.scrollToOptions())}firstUpdated(e){!this.hour&&!this.minute&&this.setToCurrentTime(),this.scrollToOptions()}setToCurrentTime(){const e=new Date;this.hour=e.getHours()%12||12,this.minute=e.getMinutes()}render(){return h`
|
|
2
|
+
<div class="gator-time-picker" role="dialog" aria-modal="true" aria-label="${s("Select Time")}" @keydown="${this.handleTopLevelKeyUp}">
|
|
3
3
|
<div class="gator-time-picker-selection">
|
|
4
4
|
<div class="gator-time-picker-hours">
|
|
5
5
|
<div class="gator-time-picker-header">
|
|
@@ -8,19 +8,19 @@ import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element
|
|
|
8
8
|
<div class="gator-time-picker-chevron">
|
|
9
9
|
<ngc-icon-button
|
|
10
10
|
@click="${this.selectPreviousHour}"
|
|
11
|
-
aria-label="${
|
|
11
|
+
aria-label="${s("Previous Hour")}"
|
|
12
12
|
size="medium"
|
|
13
13
|
icon-name="chevron-up"
|
|
14
14
|
tabindex="-1"
|
|
15
15
|
></ngc-icon-button>
|
|
16
16
|
</div>
|
|
17
|
-
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${
|
|
17
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${s("Hour Options")}">
|
|
18
18
|
${this.hourOptions}
|
|
19
19
|
</div>
|
|
20
20
|
<div class="gator-time-picker-chevron">
|
|
21
21
|
<ngc-icon-button
|
|
22
22
|
@click="${this.selectNextHour}"
|
|
23
|
-
aria-label="${
|
|
23
|
+
aria-label="${s("Next Hour")}"
|
|
24
24
|
size="medium"
|
|
25
25
|
icon-name="chevron-down"
|
|
26
26
|
tabindex="-1"
|
|
@@ -34,19 +34,19 @@ import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element
|
|
|
34
34
|
<div class="gator-time-picker-chevron">
|
|
35
35
|
<ngc-icon-button
|
|
36
36
|
@click="${this.selectPreviousMinute}"
|
|
37
|
-
aria-label="${
|
|
37
|
+
aria-label="${s("Previous Minute")}"
|
|
38
38
|
size="medium"
|
|
39
39
|
icon-name="chevron-up"
|
|
40
40
|
tabindex="-1"
|
|
41
41
|
></ngc-icon-button>
|
|
42
42
|
</div>
|
|
43
|
-
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${
|
|
43
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${s("Minute Options")}">
|
|
44
44
|
${this.minuteOptions}
|
|
45
45
|
</div>
|
|
46
46
|
<div class="gator-time-picker-chevron">
|
|
47
47
|
<ngc-icon-button
|
|
48
48
|
@click="${this.selectNextMinute}"
|
|
49
|
-
aria-label="${
|
|
49
|
+
aria-label="${s("Next Minute")}"
|
|
50
50
|
size="medium"
|
|
51
51
|
icon-name="chevron-down"
|
|
52
52
|
tabindex="-1"
|
|
@@ -55,7 +55,7 @@ import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element
|
|
|
55
55
|
</div>
|
|
56
56
|
<div class="gator-time-picker-time-of-day">
|
|
57
57
|
<div class="gator-time-picker-header"></div>
|
|
58
|
-
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${
|
|
58
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${s("Time of Day Options")}">
|
|
59
59
|
<ngc-selector
|
|
60
60
|
role="option"
|
|
61
61
|
aria-label="PM"
|
|
@@ -84,7 +84,7 @@ import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element
|
|
|
84
84
|
<div class="gator-time-picker-actions">
|
|
85
85
|
<div class="gator-time-picker-clear">
|
|
86
86
|
<ngc-button variant="base" @click="${this.sendClearEvent}">
|
|
87
|
-
${
|
|
87
|
+
${s("Clear")}
|
|
88
88
|
</ngc-button>
|
|
89
89
|
</div>
|
|
90
90
|
<div class="gator-time-picker-now">
|
|
@@ -93,33 +93,33 @@ import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element
|
|
|
93
93
|
@click="${this.sendNowEvent}"
|
|
94
94
|
@keydown="${this.handleNowButtonKeyDown}"
|
|
95
95
|
>
|
|
96
|
-
${
|
|
96
|
+
${s("Now")}
|
|
97
97
|
</ngc-button>
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
</div>
|
|
101
|
-
`}get pmShouldBeTabbable(){return this.timeOfDay?this.timeOfDay==="PM"?"0":"-1":!0}scrollToOptions(){
|
|
101
|
+
`}get pmShouldBeTabbable(){return this.timeOfDay?this.timeOfDay==="PM"?"0":"-1":!0}scrollToOptions(){const e=this.shadowRoot?.querySelector(".gator-time-picker-hours ngc-selector[selected]");e&&e.scrollIntoView({behavior:"smooth",block:"center"});const t=this.shadowRoot?.querySelector(".gator-time-picker-minutes ngc-selector[selected]");t&&t.scrollIntoView({behavior:"smooth",block:"center"})}get hourOptions(){return Array.from({length:12},(t,i)=>i+1).map(t=>{const i=v(t,2),n=this.hour==t||this.hour===0&&t===12;let o=-1;return(this.hour===t||this.hour===null)&&(o=0),h`
|
|
102
102
|
<ngc-selector
|
|
103
103
|
role="option"
|
|
104
104
|
type="base"
|
|
105
105
|
data-value="${i}"
|
|
106
|
-
?selected="${
|
|
106
|
+
?selected="${n}"
|
|
107
107
|
@select="${a=>this.handleSelectionChange(a,"hour")}"
|
|
108
|
-
tabindex="${
|
|
108
|
+
tabindex="${o}"
|
|
109
109
|
@keydown="${this.handleHourKeyDown}"
|
|
110
110
|
>
|
|
111
111
|
${i}
|
|
112
112
|
</ngc-selector>
|
|
113
|
-
`})}get minuteOptions(){return Array.from({length:60},(t,i)=>i+1).map(t=>{const i=t-1,
|
|
113
|
+
`})}get minuteOptions(){return Array.from({length:60},(t,i)=>i+1).map(t=>{const i=t-1,n=i-1<9?`0${i}`:i;return h`
|
|
114
114
|
<ngc-selector
|
|
115
115
|
role="option"
|
|
116
116
|
type="base"
|
|
117
|
-
data-value="${
|
|
117
|
+
data-value="${n}"
|
|
118
118
|
?selected="${this.minute===i}"
|
|
119
|
-
@select="${
|
|
119
|
+
@select="${o=>this.handleSelectionChange(o,"minute")}"
|
|
120
120
|
tabindex="${this.minute===i?"0":"-1"}"
|
|
121
121
|
@keydown="${this.handleMinuteKeyDown}"
|
|
122
122
|
>
|
|
123
|
-
${
|
|
123
|
+
${n}
|
|
124
124
|
</ngc-selector>
|
|
125
|
-
`})}handleMinuteKeyDown(e){e.key==
|
|
125
|
+
`})}handleMinuteKeyDown(e){e.key==r.UP&&(e.stopPropagation(),e.preventDefault(),this.focusPreviousMinute()),e.key==r.DOWN&&(e.stopPropagation(),e.preventDefault(),this.focusNextMinute())}handleHourKeyDown(e){if(e.key==r.TAB&&e.shiftKey){e.preventDefault();const t=this.shadowRoot?.querySelector(".gator-time-picker-now ngc-button");t&&t.focus()}e.key==r.UP&&(e.stopPropagation(),e.preventDefault(),this.focusPreviousHour()),e.key==r.DOWN&&(e.stopPropagation(),e.preventDefault(),this.focusNextHour())}selectNextHour(){if(this.hour&&this.hour<12){const e=this.hour+1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"hour")}}selectPreviousHour(){if(this.hour&&this.hour>1){const e=this.hour-1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"hour")}}selectNextMinute(){if(this.minute!=null&&this.minute<59){const e=this.minute+1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"minute")}}selectPreviousMinute(){if(this.minute!=null){const e=this.minute-1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"minute")}}handleSelectionChange(e,t){e.stopPropagation(),e.preventDefault();const i=e.detail.value;this.dispatchEvent(new CustomEvent("change",{bubbles:!1,composed:!0,detail:{[t]:i}}))}focusNextHour(){let e=this.shadowRoot?.querySelector(".gator-time-picker-hours .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const t=e.nextElementSibling;t&&this.focusNewOption(t,e)}}focusPreviousHour(){let e=this.shadowRoot?.querySelector(".gator-time-picker-hours .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const t=e.previousElementSibling;t&&this.focusNewOption(t,e)}}focusNextMinute(){let e=this.shadowRoot?.querySelector(".gator-time-picker-minutes .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const t=e.nextElementSibling;t&&this.focusNewOption(t,e)}}focusPreviousMinute(){let e=this.shadowRoot?.querySelector(".gator-time-picker-minutes .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const t=e.previousElementSibling;t&&this.focusNewOption(t,e)}}focusNewOption(e,t){t.setAttribute("tabindex","-1"),e.setAttribute("tabindex","0"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}focusOtherTimeOfDayOption(e){if(e.key!=r.DOWN&&e.key!=r.UP)return;e.stopPropagation(),e.preventDefault();let t=this.shadowRoot?.querySelector(".gator-time-picker-time-of-day ngc-selector[tabindex='0']");if(t){let i=null;e.key==r.DOWN?i=t.nextElementSibling:i=t.previousElementSibling,i&&this.focusNewOption(i,t)}}sendClearEvent(){this.dispatchEvent(new CustomEvent("clear",{composed:!0}))}sendNowEvent(){this.dispatchEvent(new CustomEvent("now",{composed:!0}))}handleNowButtonKeyDown(e){e.key==r.TAB&&!e.shiftKey&&(e.preventDefault(),this.selectedHourElement&&this.selectedHourElement.focus())}get selectedHourElement(){return this.shadowRoot?.querySelector(".gator-time-picker-hours ngc-selector[selected]")}get firstHourElement(){return this.shadowRoot?.querySelector(".gator-time-picker-hours ngc-selector")}focus(){this.selectedHourElement?this.selectedHourElement.focus():this.firstHourElement.focus()}handleTopLevelKeyUp(e){e.key==r.ESCAPE&&(e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("close",{composed:!0})))}};c.shadowRootOptions={...g.shadowRootOptions,delegatesFocus:!0};c.styles=[...$(c,c,"styles"),b(f)];l([m({type:Number})],c.prototype,"hour",2);l([m({type:Number})],c.prototype,"minute",2);l([m({attribute:"time-of-day"})],c.prototype,"timeOfDay",2);c=l([p("ngc-time-picker")],c);export{c as NgcTimePicker};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import{NjcToast as
|
|
1
|
+
import{NjcToast as m}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as l,html as s}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 h from"../../../../packages/web-components/src/components/toast/gator/base/toast.gator.scss.js";import d from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import v from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import"../../../icon-button/gator/icon-button.gator.js";import"../title/toast-title.gator.js";import"../subtitle/toast-subtitle.gator.js";import{unsafeCSS as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var b=Object.getOwnPropertyDescriptor,p=(t,o,u,n)=>{for(var i=n>1?void 0:n?b(o,u):o,e=t.length-1,c;e>=0;e--)(c=t[e])&&(i=c(i)||i);return i};let a=class extends m{render(){return s`
|
|
2
2
|
<div
|
|
3
3
|
class="gator-toast ${this.variantClass}"
|
|
4
4
|
role="${this.ariaRole}"
|
|
5
|
-
aria-live="polite"
|
|
6
5
|
>
|
|
7
6
|
${this.iconMarkup}
|
|
8
7
|
|
|
9
8
|
<div class="gator-toast-content-container">
|
|
10
9
|
<div class="gator-toast-content">
|
|
11
10
|
<slot name="content">
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
${this.title?s`<ngc-toast-title>${this.title}</ngc-toast-title>`:l}
|
|
12
|
+
${this.subtitle?s`<ngc-toast-subtitle>${this.subtitle}</ngc-toast-subtitle>`:l}
|
|
14
13
|
</slot>
|
|
15
14
|
</div>
|
|
16
15
|
|
|
@@ -19,16 +18,16 @@ import{NjcToast as u}from"../../toast.js";import"../../../../node_modules/.pnpm/
|
|
|
19
18
|
|
|
20
19
|
${this.dismissibleMarkup}
|
|
21
20
|
</div>
|
|
22
|
-
`}get ariaRole(){return this.sticky?"alertdialog":"alert"}get actionsSlot(){return this.querySelector('[slot="actions"]')?
|
|
21
|
+
`}get ariaRole(){return this.sticky?"alertdialog":"alert"}get actionsSlot(){return this.querySelector('[slot="actions"]')?s`
|
|
23
22
|
<div class="gator-toast-actions">
|
|
24
23
|
<slot name="actions"></slot>
|
|
25
24
|
</div>
|
|
26
|
-
`:null}get variantClass(){switch(this.variant){case"info":return"gator-toast_info";case"warning":return"gator-toast_warning";case"error":return"gator-toast_error";case"success":return"gator-toast_success";case"inverse":return"gator-toast_inverse";default:return"gator-toast_info"}}get iconMarkup(){let t="info";switch(this.variant){case"info":t="info";break;case"warning":t="warning";break;case"error":t="restricted";break;case"success":t="check-circle";break;case"inverse":t="info";break}return
|
|
25
|
+
`:null}get variantClass(){switch(this.variant){case"info":return"gator-toast_info";case"warning":return"gator-toast_warning";case"error":return"gator-toast_error";case"success":return"gator-toast_success";case"inverse":return"gator-toast_inverse";default:return"gator-toast_info"}}get iconMarkup(){let t="info";switch(this.variant){case"info":t="info";break;case"warning":t="warning";break;case"error":t="restricted";break;case"success":t="check-circle";break;case"inverse":t="info";break}return s`
|
|
27
26
|
<ngc-icon
|
|
28
27
|
name="${t}"
|
|
29
|
-
label="${this.statusIconLabel
|
|
28
|
+
label="${this.statusIconLabel?this.statusIconLabel:t}"
|
|
30
29
|
></ngc-icon>
|
|
31
|
-
`}get dismissibleMarkup(){return this.dismissible?
|
|
30
|
+
`}get dismissibleMarkup(){return this.dismissible?s`
|
|
32
31
|
<div class="gator-toast-dismiss-button">
|
|
33
32
|
<ngc-icon-button
|
|
34
33
|
aria-label="${this.exitIconLabel}"
|
|
@@ -37,4 +36,4 @@ import{NjcToast as u}from"../../toast.js";import"../../../../node_modules/.pnpm/
|
|
|
37
36
|
@click=${this.handleDismiss}
|
|
38
37
|
></ngc-icon-button>
|
|
39
38
|
</div>
|
|
40
|
-
`:null}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss",{bubbles:!0,composed:!0}))}};a.styles=[r(
|
|
39
|
+
`:null}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss",{bubbles:!0,composed:!0,detail:{id:this.id}}))}};a.styles=[r(h),r(d),r(v)];a=p([g("ngc-toast")],a);export{a as NgcToast};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
1
|
+
import{NjcToast as p}from"../../toast.js";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 f}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import c from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../../../packages/web-components/src/components/toast/gator/subtitle/toast-subtitle.gator.scss.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var v=Object.getOwnPropertyDescriptor,g=(s,e,a,m)=>{for(var t=m>1?void 0:m?v(e,a):e,r=s.length-1,i;r>=0;r--)(i=s[r])&&(t=i(t)||t);return t};let o=class extends p{render(){return n`
|
|
2
2
|
<div class="gator-toast-subtitle">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
|
-
`}};
|
|
5
|
+
`}};o.styles=[l(c),l(u)];o=g([f("ngc-toast-subtitle")],o);export{o as NgcToastSubtitle};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
1
|
+
import{NjcToast as p}from"../../toast.js";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 f}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import c from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import v from"../../../../packages/web-components/src/components/toast/gator/title/toast-title.gator.scss.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var g=Object.getOwnPropertyDescriptor,u=(e,s,a,m)=>{for(var t=m>1?void 0:m?g(s,a):s,r=e.length-1,i;r>=0;r--)(i=e[r])&&(t=i(t)||t);return t};let o=class extends p{render(){return n`
|
|
2
2
|
<div class="gator-toast-title">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
|
-
`}};o.styles=[l(c),l(v)];o=u([
|
|
5
|
+
`}};o.styles=[l(c),l(v)];o=u([f("ngc-toast-title")],o);export{o as NgcToastTitle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as
|
|
1
|
+
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as y}from"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{property as i}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{msg as c}from"../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as m}from"../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";var b=Object.defineProperty,f=Object.getOwnPropertyDescriptor,e=(n,r,p,s)=>{for(var o=s>1?void 0:s?f(r,p):r,a=n.length-1,l;a>=0;a--)(l=n[a])&&(o=(s?l(r,p,o):l(o))||o);return s&&o&&b(r,p,o),o};let t=class extends y{constructor(){super(...arguments),this.id="",this.variant="info",this.dismissible=!1,this.sticky=!1,this.exitIconLabel=c("Close Notification"),this.statusIconLabel="",this.title="",this.subtitle=""}};e([i({type:String})],t.prototype,"id",2);e([i()],t.prototype,"variant",2);e([i({type:Boolean})],t.prototype,"dismissible",2);e([i({type:Boolean})],t.prototype,"sticky",2);e([i({type:String,attribute:"exit-icon-label"})],t.prototype,"exitIconLabel",2);e([i({type:String,attribute:"status-icon-label"})],t.prototype,"statusIconLabel",2);e([i({type:String})],t.prototype,"title",2);e([i({type:String})],t.prototype,"subtitle",2);t=e([m()],t);export{t as NjcToast};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as p}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as c}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as f}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as u}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import v from"../../../packages/web-components/src/components/toast-container/gator/toast-container.gator.scss.js";import T from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import _ from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{repeat as b}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/repeat.js";import{ifDefined as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import"../../toast/gator/base/toast.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 $=Object.defineProperty,g=Object.getOwnPropertyDescriptor,l=(t,i,s,r)=>{for(var e=r>1?void 0:r?g(i,s):i,o=t.length-1,d;o>=0;o--)(d=t[o])&&(e=(r?d(i,s,e):d(e))||e);return r&&e&&$(i,s,e),e};let n=class extends c{constructor(){super(...arguments),this.toasts=[],this._renderedToasts=[]}updated(t){if(t.has("toasts")){const i=this.toasts.filter(e=>e.id?!0:(console.warn("[ngc-toast-container] A toast was provided without a required `id` property and will be ignored.",e),!1)),s=[...i],r=new Set(i.map(e=>e.id));this._renderedToasts.forEach((e,o)=>{r.has(e.id)||s.splice(o,0,{...e,initiateRemoval:!0})}),this._renderedToasts=s}}handleAnimationEnd(t){if(t.animationName==="toast-fade-out"){const s=t.target.getAttribute("id");s&&(this._renderedToasts=this._renderedToasts.filter(r=>r.id!==s))}}render(){return p`
|
|
2
|
+
<section class="gator-toast-container" aria-live="polite">
|
|
3
|
+
${b(this._renderedToasts,t=>t.id,t=>p`
|
|
4
|
+
<ngc-toast
|
|
5
|
+
class="${t.initiateRemoval?"toast-fade-out":""}"
|
|
6
|
+
id="${t.id}"
|
|
7
|
+
variant="${a(t.variant)}"
|
|
8
|
+
title="${a(t.title)}"
|
|
9
|
+
subtitle="${a(t.subtitle)}"
|
|
10
|
+
exit-icon-label="${a(t.exitIconLabel)}"
|
|
11
|
+
status-icon-label="${a(t.statusIconLabel)}"
|
|
12
|
+
?sticky="${t.sticky}"
|
|
13
|
+
?dismissible="${t.dismissible}"
|
|
14
|
+
@animationend=${this.handleAnimationEnd}
|
|
15
|
+
></ngc-toast>
|
|
16
|
+
`)}
|
|
17
|
+
</section>
|
|
18
|
+
`}};n.styles=[m(v),m(T),m(_)];l([u({type:Array})],n.prototype,"toasts",2);l([h()],n.prototype,"_renderedToasts",2);n=l([f("ngc-toast-container")],n);export{n as NgcToastContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"./gator/toast-container.gator.js";export{o as NgcToastContainer};
|
|
@@ -0,0 +1,5 @@
|
|
|
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{LitElement as c}from"../../../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 f}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as u}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import h from"../../../packages/web-components/src/components/toaster/gator/toaster.gator.scss.js";import T from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import _ from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import"../../toast-container/gator/toast-container.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 v=Object.defineProperty,y=Object.getOwnPropertyDescriptor,a=(s,t,r,e)=>{for(var o=e>1?void 0:e?y(t,r):t,n=s.length-1,p;n>=0;n--)(p=s[n])&&(o=(e?p(t,r,o):p(o))||o);return e&&o&&v(t,r,o),o};let i=class extends c{constructor(){super(...arguments),this.position="top-right",this.defaultToastOptions={},this._toasts=[]}addToast(s){const t=crypto.randomUUID(),r=s.duration??this.defaultToastOptions?.duration??i.defaultDuration,e=!r||r===0,o={...this.defaultToastOptions,...s,id:t,sticky:e};return this._toasts=[o,...this._toasts],e||setTimeout(()=>{this.removeToast(t)},r),t}removeToast(s){this._toasts=this._toasts.filter(t=>t.id!==s)}clearAll(){this._toasts=[]}handleToastDismiss(s){const t=s.detail.id;t&&this.removeToast(t)}render(){return l`
|
|
2
|
+
<div class="gator-toaster ${this.position}">
|
|
3
|
+
<ngc-toast-container .toasts=${this._toasts} @dismiss=${this.handleToastDismiss}></ngc-toast-container>
|
|
4
|
+
</div>
|
|
5
|
+
`}};i.styles=[m(h),m(T),m(_)];i.defaultDuration=5e3;a([f({type:String})],i.prototype,"position",2);a([f({type:Object,attribute:"default-toast-options"})],i.prototype,"defaultToastOptions",2);a([u()],i.prototype,"_toasts",2);i=a([d("ngc-toaster")],i);export{i as NgcToaster};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"./gator/toaster.gator.js";export{o as NgcToaster};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{KEY_CONSTANTS as m}from"../../consts/key-constants.js";import{generateRandomId as _}from"../../utils/string-utils.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{handleDataTestid as c}from"../../utils/datatestid-utils.js";import{getFirstFocusableElement as y}from"../../utils/accessibility-utils.js";var T=Object.defineProperty,f=(h,e,
|
|
1
|
+
import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{KEY_CONSTANTS as m}from"../../consts/key-constants.js";import{generateRandomId as _}from"../../utils/string-utils.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{handleDataTestid as c}from"../../utils/datatestid-utils.js";import{getFirstFocusableElement as y}from"../../utils/accessibility-utils.js";var T=Object.defineProperty,f=(h,e,i,o)=>{for(var t=void 0,s=h.length-1,r;s>=0;s--)(r=h[s])&&(t=r(e,i,t)||t);return t&&T(e,i,t),t};class d extends v{constructor(){super(...arguments),this.referenceId="",this.placement="top-end",this.xOffset=0,this.yOffset=0,this._tooltipRef=u(),this._forceOpen=!1,this._mousedInsideTooltip=!1,this.tooltipId=_()}firstUpdated(){if(this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0"),!this.referenceId)return;const e=this.referenceElement,i=this._tooltipRef.value;if(e&&i){c(e,this.dataTestid,"trigger"),c(i,this.dataTestid,"tooltip");let o;e.shadowRoot?.delegatesFocus?o=y(e):o=e,o&&(o.ariaDescribedByElements=[this]),e.addEventListener("mouseenter",()=>this.showTooltip()),e.addEventListener("mouseleave",t=>this._handleMouseLeave(t,e,i)),e.addEventListener("focusin",()=>this.showTooltip()),e.addEventListener("focusout",()=>this.hideTooltip()),i.addEventListener("mouseenter",()=>this.showTooltip()),i.addEventListener("mouseleave",t=>{if(this._mousedInsideTooltip){this.hideTooltip();return}this._handleMouseLeave(t,e,i)}),document.addEventListener("keydown",t=>{t.key===m.ESCAPE&&(this._forceOpen=!1,this.hideTooltip())})}}get referenceElement(){let e=document.querySelector(`#${this.referenceId}`);return e||(e=document.querySelector(`[data-id="${this.referenceId}"]`)?.shadowRoot?.querySelector(`#${this.referenceId}`)),e}_handleMouseLeave(e,i,o){const t=i.getBoundingClientRect(),s=o.getBoundingClientRect(),r=this._isMouseInside(e,t,-5),n=this._isMouseInside(e,s,25);!r&&!n&&this.hideTooltip(),n&&(this._mousedInsideTooltip=!0)}_isMouseInside(e,i,o=0){const{left:t,right:s,top:r,bottom:n}=i,a=e.clientX,p=e.clientY;return a>=t-o&&a<=s+o&&p>=r-o&&p<=n+o}toggleTooltip(){this._forceOpen=!this._forceOpen,this._forceOpen?this.showTooltip():this.hideTooltip()}disconnectedCallback(){this._cleanup&&this._cleanup(),super.disconnectedCallback()}showTooltip(){this.assignPosition(),this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="visible",this._tooltipRef.value.style.opacity="1")}hideTooltip(){this._forceOpen||this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0")}assignPosition(){}}f([l({attribute:"reference-id"})],d.prototype,"referenceId");f([l()],d.prototype,"placement");f([l({type:Number,attribute:"x-offset"})],d.prototype,"xOffset");f([l({type:Number,attribute:"y-offset"})],d.prototype,"yOffset");export{d as NjcTooltip};
|
package/dist/index.gator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as g from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import"./components/button/slds/button.slds.js";import*as c from"./components/button/gator/button.gator.js";import*as
|
|
1
|
+
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as g from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import"./components/button/slds/button.slds.js";import*as c from"./components/button/gator/button.gator.js";import*as x from"./components/button-card/gator/button-card.gator.js";import*as u from"./components/button-group/gator/button-group.gator.js";import*as l from"./components/card/gator/base/card.gator.js";import*as d from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as C from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as h from"./components/display-card/gator/display-card.gator.js";import*as I from"./components/divider/gator/divider.gator.js";import*as B from"./components/fab/gator/fab.gator.js";import*as P from"./components/headline-card/gator/headline-card.gator.js";import*as k from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as v from"./components/input/gator/input-label/input-label.gator.js";import*as L from"./components/input/gator/help-text/help-text.gator.js";import*as S from"./components/input/gator/input-text/input-text.gator.js";import*as D from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as w from"./components/input/gator/input-masked/input-masked.gator.js";import*as F from"./components/input/gator/input-percent/input-percent.gator.js";import*as H from"./components/input/gator/input-phone/input-phone.gator.js";import*as y from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as A from"./components/input/gator/input-file/input-file.gator.js";import*as M from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as U from"./components/input/gator/input-search/input-search.gator.js";import*as R from"./components/input/gator/input-time/input-time.gator.js";import"./components/icon/slds/icon.slds.js";import*as q from"./components/icon/gator/icon.gator.js";import*as z from"./components/icon-button/gator/icon-button.gator.js";import*as E from"./components/list/gator/list/list.gator.js";import*as J from"./components/list/gator/list-item/list-item.gator.js";import*as K from"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/menu/base/slds/menu.slds.js";import*as Q from"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import*as X from"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import*as Z from"./components/modal/gator/modal.gator.js";import*as $ from"./components/page-header/gator/page-header.gator.js";import*as oo from"./components/panel/gator/panel.gator.js";import*as to from"./components/popover/gator/popover.gator.js";import*as ro from"./components/progress-bar/gator/progress-bar.gator.js";import*as ao from"./components/radio/radio.gator.js";import*as eo from"./components/radio-group/radio-group.gator.js";import*as po from"./components/selection-box/selection-box.gator.js";import*as _o from"./components/selection-box-group/selection-box-group.gator.js";import*as no from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as so from"./components/switch/gator/switch.gator.js";import*as mo from"./components/tabs/gator/tabset/tabset.gator.js";import*as go from"./components/tabs/gator/tab/tab.gator.js";import*as io from"./components/text-detail/gator/text-detail.gator.js";import*as co from"./components/text-link/gator/text-link.gator.js";import*as xo from"./components/time-picker/gator/time-picker.gator.js";import*as uo from"./components/toast/gator/base/toast.gator.js";import*as lo from"./components/toast-container/gator/toast-container.gator.js";import*as fo from"./components/toaster/gator/toaster.gator.js";import*as No from"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import*as Co from"./components/table/gator/table.gator.js";import*as To from"./components/table/gator/table-pagination/table-pagination.gator.js";import*as ho from"./components/table/gator/table-controls/table-controls.gator.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,n as NgcBadge,s as NgcBanner,m as NgcBoolean,g as NgcBreadcrumbs,c as NgcButton,x as NgcButtonCard,u as NgcButtonGroup,l as NgcCard,f as NgcCardContent,N as NgcCardFooter,d as NgcCardHeader,b as NgcCheckbox,C as NgcCheckboxGroup,T as NgcChip,h as NgcDisplayCard,I as NgcDivider,B as NgcFab,P as NgcHeadlineCard,L as NgcHelpText,q as NgcIcon,z as NgcIconButton,k as NgcInputCurrency,G as NgcInputDate,y as NgcInputDropdown,A as NgcInputFile,M as NgcInputFileUploadedPreview,v as NgcInputLabel,w as NgcInputMasked,F as NgcInputPercent,H as NgcInputPhone,U as NgcInputSearch,S as NgcInputText,D as NgcInputTextarea,R as NgcInputTime,E as NgcList,J as NgcListItem,K as NgcLoadingSpinner,Q as NgcMenu,X as NgcMenuItem,Z as NgcModal,$ as NgcPageHeader,oo as NgcPanel,to as NgcPopover,ro as NgcProgressBar,ao as NgcRadio,eo as NgcRadioGroup,po as NgcSelectionBox,_o as NgcSelectionBoxGroup,no as NgcSkeletonLoader,so as NgcSwitch,go as NgcTab,Co as NgcTable,ho as NgcTableControls,To as NgcTablePagination,mo as NgcTabs,io as NgcTextDetail,co as NgcTextLink,xo as NgcTimePicker,uo as NgcToast,lo as NgcToastContainer,fo as NgcToaster,No as NgcTooltip};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import*as s from"./components/badge/slds/badge.slds.js";import*as _ from"./components/badge/gator/badge.gator.js";import*as n from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import*as c from"./components/button/slds/button.slds.js";import*as g from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/card/gator/base/card.gator.js";import*as d from"./components/card/gator/header/card-header.gator.js";import*as l from"./components/card/gator/content/card-content.gator.js";import*as f from"./components/card/gator/footer/card-footer.gator.js";import*as N from"./components/checkbox/checkbox.gator.js";import*as b from"./components/checkbox-group/checkbox-group.gator.js";import*as I from"./components/chip/gator/chip.gator.js";import*as T from"./components/combobox/base/index.js";import*as h from"./components/combobox/combobox-item/index.js";import*as C from"./components/display-card/gator/display-card.gator.js";import*as B from"./components/divider/gator/divider.gator.js";import*as k from"./components/fab/gator/fab.gator.js";import*as v from"./components/headline-card/gator/headline-card.gator.js";import*as L from"./components/icon/slds/icon.slds.js";import*as D from"./components/icon/gator/icon.gator.js";import*as S from"./components/icon-button/gator/icon-button.gator.js";import*as P from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as M from"./components/input/gator/input-label/input-label.gator.js";import*as w from"./components/input/gator/help-text/help-text.gator.js";import*as F from"./components/input/gator/input-text/input-text.gator.js";import*as H from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as y from"./components/input/gator/input-masked/input-masked.gator.js";import*as A from"./components/input/gator/input-percent/input-percent.gator.js";import*as R from"./components/input/gator/input-phone/input-phone.gator.js";import*as E from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as U from"./components/input/gator/input-file/input-file.gator.js";import*as j from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as q from"./components/input/gator/input-search/input-search.gator.js";import*as z from"./components/input/gator/input-time/input-time.gator.js";import*as J from"./components/input/slds/input-text/input-text.slds.js";import*as K from"./components/input/slds/input-error/input-error.slds.js";import*as O from"./components/input/slds/input-label/input-label.slds.js";import*as Q from"./components/input-rich-text/input-rich-text.slds.js";import*as V from"./components/list/gator/list/list.gator.js";import*as W from"./components/list/gator/list-item/list-item.gator.js";import*as X from"./components/menu/base/slds/menu.slds.js";import*as Y from"./components/menu/base/gator/menu.gator.js";import*as Z from"./components/menu/menu-divider/menu-divider.slds.js";import*as $ from"./components/menu/menu-item/slds/menu-item.slds.js";import*as oo from"./components/menu/menu-item/gator/menu-item.gator.js";import*as to from"./components/menu/menu-submenu/menu-submenu.slds.js";import*as ro from"./components/modal/gator/modal.gator.js";import*as ao from"./components/page-header/gator/page-header.gator.js";import*as eo from"./components/pill/pill.js";import*as po from"./components/popover/gator/popover.gator.js";import*as so from"./components/radio/radio.gator.js";import*as _o from"./components/radio-group/radio-group.gator.js";import*as no from"./components/scoped-notification/scoped-notification.slds.js";import*as mo from"./components/selection-box/selection-box.gator.js";import*as io from"./components/selection-box-group/selection-box-group.gator.js";import*as co from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as go from"./components/switch/gator/switch.gator.js";import*as uo from"./components/tabs/gator/tabset/tabset.gator.js";import*as xo from"./components/tabs/gator/tab/tab.gator.js";import*as lo from"./components/text-detail/gator/text-detail.gator.js";import*as fo from"./components/text-link/gator/text-link.gator.js";import*as No from"./components/toast/gator/base/toast.gator.js";import*as bo from"./components/tooltip/gator/tooltip.gator.js";import*as
|
|
1
|
+
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import*as s from"./components/badge/slds/badge.slds.js";import*as _ from"./components/badge/gator/badge.gator.js";import*as n from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import*as c from"./components/button/slds/button.slds.js";import*as g from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/card/gator/base/card.gator.js";import*as d from"./components/card/gator/header/card-header.gator.js";import*as l from"./components/card/gator/content/card-content.gator.js";import*as f from"./components/card/gator/footer/card-footer.gator.js";import*as N from"./components/checkbox/checkbox.gator.js";import*as b from"./components/checkbox-group/checkbox-group.gator.js";import*as I from"./components/chip/gator/chip.gator.js";import*as T from"./components/combobox/base/index.js";import*as h from"./components/combobox/combobox-item/index.js";import*as C from"./components/display-card/gator/display-card.gator.js";import*as B from"./components/divider/gator/divider.gator.js";import*as k from"./components/fab/gator/fab.gator.js";import*as v from"./components/headline-card/gator/headline-card.gator.js";import*as L from"./components/icon/slds/icon.slds.js";import*as D from"./components/icon/gator/icon.gator.js";import*as S from"./components/icon-button/gator/icon-button.gator.js";import*as P from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as M from"./components/input/gator/input-label/input-label.gator.js";import*as w from"./components/input/gator/help-text/help-text.gator.js";import*as F from"./components/input/gator/input-text/input-text.gator.js";import*as H from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as y from"./components/input/gator/input-masked/input-masked.gator.js";import*as A from"./components/input/gator/input-percent/input-percent.gator.js";import*as R from"./components/input/gator/input-phone/input-phone.gator.js";import*as E from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as U from"./components/input/gator/input-file/input-file.gator.js";import*as j from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as q from"./components/input/gator/input-search/input-search.gator.js";import*as z from"./components/input/gator/input-time/input-time.gator.js";import*as J from"./components/input/slds/input-text/input-text.slds.js";import*as K from"./components/input/slds/input-error/input-error.slds.js";import*as O from"./components/input/slds/input-label/input-label.slds.js";import*as Q from"./components/input-rich-text/input-rich-text.slds.js";import*as V from"./components/list/gator/list/list.gator.js";import*as W from"./components/list/gator/list-item/list-item.gator.js";import*as X from"./components/menu/base/slds/menu.slds.js";import*as Y from"./components/menu/base/gator/menu.gator.js";import*as Z from"./components/menu/menu-divider/menu-divider.slds.js";import*as $ from"./components/menu/menu-item/slds/menu-item.slds.js";import*as oo from"./components/menu/menu-item/gator/menu-item.gator.js";import*as to from"./components/menu/menu-submenu/menu-submenu.slds.js";import*as ro from"./components/modal/gator/modal.gator.js";import*as ao from"./components/page-header/gator/page-header.gator.js";import*as eo from"./components/pill/pill.js";import*as po from"./components/popover/gator/popover.gator.js";import*as so from"./components/radio/radio.gator.js";import*as _o from"./components/radio-group/radio-group.gator.js";import*as no from"./components/scoped-notification/scoped-notification.slds.js";import*as mo from"./components/selection-box/selection-box.gator.js";import*as io from"./components/selection-box-group/selection-box-group.gator.js";import*as co from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as go from"./components/switch/gator/switch.gator.js";import*as uo from"./components/tabs/gator/tabset/tabset.gator.js";import*as xo from"./components/tabs/gator/tab/tab.gator.js";import*as lo from"./components/text-detail/gator/text-detail.gator.js";import*as fo from"./components/text-link/gator/text-link.gator.js";import*as No from"./components/toast/gator/base/toast.gator.js";import*as bo from"./components/toast-container/gator/toast-container.gator.js";import*as Io from"./components/toaster/gator/toaster.gator.js";import*as To from"./components/tooltip/gator/tooltip.gator.js";import*as ho from"./components/tooltip/slds/tooltip.slds.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,_ as NgcBadge,n as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,g as NgcButton,u as NgcButtonCard,x as NgcCard,l as NgcCardContent,f as NgcCardFooter,d as NgcCardHeader,N as NgcCheckbox,b as NgcCheckboxGroup,I as NgcChip,C as NgcDisplayCard,B as NgcDivider,k as NgcFab,v as NgcHeadlineCard,w as NgcHelpText,D as NgcIcon,S as NgcIconButton,P as NgcInputCurrency,G as NgcInputDate,E as NgcInputDropdown,U as NgcInputFile,j as NgcInputFileUploadedPreview,M as NgcInputLabel,y as NgcInputMasked,A as NgcInputPercent,R as NgcInputPhone,q as NgcInputSearch,F as NgcInputText,H as NgcInputTextarea,z as NgcInputTime,V as NgcList,W as NgcListItem,Y as NgcMenu,oo as NgcMenuItem,ro as NgcModal,ao as NgcPageHeader,po as NgcPopover,so as NgcRadio,_o as NgcRadioGroup,mo as NgcSelectionBox,io as NgcSelectionBoxGroup,co as NgcSkeletonLoader,go as NgcSwitch,xo as NgcTab,uo as NgcTabs,lo as NgcTextDetail,fo as NgcTextLink,No as NgcToast,bo as NgcToastContainer,Io as NgcToaster,To as NgcTooltip,s as NscBadge,c as NscButton,T as NscCombobox,h as NscComboboxItem,L as NscIcon,K as NscInputError,O as NscInputLabel,Q as NscInputRichText,J as NscInputText,X as NscMenu,Z as NscMenuDivider,$ as NscMenuItem,to as NscMenuSubmenu,eo as NscPill,no as NscScopedNotification,ho as NscTooltip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{toasterService as o}from"./services/toaster-service.js";export{o as toasterService};
|