@ncino/web-components 2.0.0-preview.3 → 2.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.
Files changed (61) hide show
  1. package/dist/assets/index-chunk11.js +5 -1
  2. package/dist/assets/index-chunk12.js +1 -5
  3. package/dist/assets/index-chunk13.js +1 -1
  4. package/dist/assets/index-chunk5.js +1 -1
  5. package/dist/components/accordion/gator/base/accordion.gator.js +6 -6
  6. package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
  7. package/dist/components/accordion/index.js +1 -1
  8. package/dist/components/button-card/gator/button-card.gator.js +2 -2
  9. package/dist/components/button-card/index.js +1 -1
  10. package/dist/components/card/card.js +1 -1
  11. package/dist/components/card/gator/base/card.gator.js +1 -7
  12. package/dist/components/card/gator/header/card-header.gator.js +1 -0
  13. package/dist/components/card/index.js +1 -1
  14. package/dist/components/combobox/base/combobox.js +1 -1
  15. package/dist/components/combobox/base/combobox.slds.js +1 -1
  16. package/dist/components/combobox/base/index.js +1 -1
  17. package/dist/components/combobox/index.js +1 -1
  18. package/dist/components/display-card/gator/display-card.gator.js +13 -16
  19. package/dist/components/display-card/index.js +1 -1
  20. package/dist/components/headline-card/gator/headline-card.gator.js +12 -13
  21. package/dist/components/headline-card/index.js +1 -1
  22. package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
  23. package/dist/components/input/index.js +1 -1
  24. package/dist/components/list/gator/list/index.js +1 -1
  25. package/dist/components/list/gator/list/list.gator.js +1 -1
  26. package/dist/components/list/gator/list-item/index.js +1 -1
  27. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  28. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  29. package/dist/components/menu/base/index.js +1 -1
  30. package/dist/components/menu/index.js +1 -1
  31. package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
  32. package/dist/components/menu/menu-item/index.js +1 -1
  33. package/dist/components/modal/gator/modal.gator.js +14 -16
  34. package/dist/components/modal/index.js +1 -1
  35. package/dist/components/page-header/gator/page-header.gator.js +2 -2
  36. package/dist/components/page-header/index.js +1 -1
  37. package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
  38. package/dist/components/tabs/index.js +1 -1
  39. package/dist/components/text-detail/gator/text-detail.gator.js +30 -11
  40. package/dist/components/text-detail/index.js +1 -1
  41. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  42. package/dist/components/tooltip/index.js +1 -1
  43. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  44. package/dist/index.gator.js +1 -1
  45. package/dist/index.js +1 -1
  46. package/dist/index.slds.js +1 -1
  47. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +3 -0
  48. package/dist/types/components/card/card.d.ts +5 -0
  49. package/dist/types/components/card/gator/base/card.gator.d.ts +1 -2
  50. package/dist/types/components/card/gator/header/card-header.gator.d.ts +30 -0
  51. package/dist/types/components/card/index.d.ts +1 -2
  52. package/dist/types/components/display-card/gator/display-card.gator.d.ts +2 -2
  53. package/dist/types/components/headline-card/gator/headline-card.gator.d.ts +1 -3
  54. package/dist/types/index.gator.d.ts +2 -2
  55. package/package.json +1 -1
  56. package/web-types.json +64 -19
  57. package/dist/assets/index-chunk14.js +0 -1
  58. package/dist/components/card/gator/subtitle/card-subtitle.gator.js +0 -5
  59. package/dist/components/card/gator/title/card-title.gator.js +0 -5
  60. package/dist/types/components/card/gator/subtitle/card-subtitle.gator.d.ts +0 -5
  61. package/dist/types/components/card/gator/title/card-title.gator.d.ts +0 -5
@@ -1 +1 @@
1
- import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./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"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./assets/index-chunk2.js";import"./assets/index-chunk6.js";import"./assets/index-chunk3.js";import"./assets/index-chunk.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./utils/components/testable-lit-element/testable-lit-element.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/button/button.js";import"./utils/mixins/attribute-deletion.js";import"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/loading-spinner/loading-spinner.js";import"./assets/index-chunk9.js";import"./assets/index-chunk12.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./utils/datatestid-utils.js";import"./components/icon/icon.js";import"./components/icon/gator/templates/arrow-left.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/check.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-down.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/chevron-up.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/eye-crossed.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/link.js";import"./components/icon/gator/templates/overflow-menu.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./assets/index-chunk13.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./components/scoped-notification/scoped-notification.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk14.js";
1
+ import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./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"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./assets/index-chunk2.js";import"./assets/index-chunk6.js";import"./assets/index-chunk3.js";import"./assets/index-chunk.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./utils/components/testable-lit-element/testable-lit-element.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/button/button.js";import"./utils/mixins/attribute-deletion.js";import"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/loading-spinner/loading-spinner.js";import"./assets/index-chunk9.js";import"./assets/index-chunk11.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./utils/datatestid-utils.js";import"./components/icon/icon.js";import"./components/icon/gator/templates/arrow-left.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/check.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-down.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/chevron-up.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/eye-crossed.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/link.js";import"./components/icon/gator/templates/overflow-menu.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./assets/index-chunk12.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./components/scoped-notification/scoped-notification.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk13.js";
@@ -4,8 +4,11 @@ import { NjcAccordion } from '../../accordion.ts';
4
4
  */
5
5
  export declare class NgcAccordion extends NjcAccordion {
6
6
  static styles: import('lit').CSSResult[];
7
+ private _insideCard;
8
+ constructor();
7
9
  render(): import('lit').TemplateResult<1>;
8
10
  get headerMarkup(): import('lit').TemplateResult<1> | null;
11
+ get insideCardClasses(): "" | " accordion-header_inside-card-expanded" | " accordion-header_inside-card";
9
12
  get iconName(): "chevron-down" | "chevron-up";
10
13
  get contentId(): string;
11
14
  get headerId(): string;
@@ -20,4 +20,9 @@ export declare class NjcCard extends TestableLitElement {
20
20
  * @property {boolean} outlined
21
21
  */
22
22
  outlined: boolean;
23
+ /**
24
+ * @description Sets whether the display card shows the skeleton loaders
25
+ * @property {boolean} skeleton
26
+ */
27
+ skeleton: boolean;
23
28
  }
@@ -4,6 +4,5 @@ export declare class NgcCard extends NjcCard {
4
4
  render(): import('lit').TemplateResult<1>;
5
5
  get elevatedClass(): "" | "gator-card_elevated";
6
6
  get outlinedClass(): "" | "gator-card_outlined";
7
- get cardTitleMarkup(): import('lit').TemplateResult<1> | null;
8
- get cardSubtitleMarkup(): import('lit').TemplateResult<1>;
7
+ get cardHeaderMarkup(): import('lit').TemplateResult<1> | null;
9
8
  }
@@ -0,0 +1,30 @@
1
+ import { TestableLitElement } from '../../../../utils/components/testable-lit-element/testable-lit-element';
2
+ export declare class NgcCardHeader extends TestableLitElement {
3
+ static styles: import('lit').CSSResult[];
4
+ /**
5
+ * @description Sets whether the card header shows the skeleton loaders
6
+ * @property {boolean} skeleton
7
+ */
8
+ skeleton: boolean;
9
+ /**
10
+ * @description If true, the text detail will be displayed vertically
11
+ * @property {boolean} vertical
12
+ */
13
+ vertical: boolean;
14
+ /**
15
+ * @description If true, the title and content positions will be inverted
16
+ * @property {boolean} invertTitle
17
+ */
18
+ invertTitle: boolean;
19
+ /**
20
+ * @description The card header subtitle
21
+ * @property {string} subtitle
22
+ */
23
+ subtitle: string;
24
+ /**
25
+ * @description The card header title
26
+ * @property {string} title
27
+ */
28
+ title: string;
29
+ render(): import('lit').TemplateResult<1>;
30
+ }
@@ -1,5 +1,4 @@
1
1
  export * as NgcCard from './gator/base/card.gator.ts';
2
- export * as NgcCardTitle from './gator/title/card-title.gator.ts';
3
- export * as NgcCardSubtitle from './gator/subtitle/card-subtitle.gator.ts';
2
+ export * as NgcCardHeader from './gator/header/card-header.gator.ts';
4
3
  export * as NgcCardContent from './gator/content/card-content.gator.ts';
5
4
  export * as NgcCardFooter from './gator/footer/card-footer.gator.ts';
@@ -4,7 +4,7 @@ export declare class NgcDisplayCard extends NjcDisplayCard {
4
4
  render(): import('lit').TemplateResult<1>;
5
5
  get elevatedClass(): "" | "gator-card_elevated";
6
6
  get outlinedClass(): "" | "gator-card_outlined";
7
- get cardTitleMarkup(): import('lit').TemplateResult<1> | null;
8
- get cardSubtitleMarkup(): import('lit').TemplateResult<1>;
7
+ get slotMarkup(): import('lit').TemplateResult<1>;
8
+ get footerActionsMarkup(): import('lit').TemplateResult<1>;
9
9
  handleActionClick(): void;
10
10
  }
@@ -7,16 +7,14 @@ export declare class NgcHeadlineCard extends NjcHeadlineCard {
7
7
  firstUpdated(): void;
8
8
  updated(): void;
9
9
  render(): import('lit').TemplateResult<1>;
10
+ get illustrationMarkup(): import('lit').TemplateResult<1>;
10
11
  get cardContentClass(): "gator-headline-card-content_vertical" | "gator-headline-card-content";
11
12
  get justifyCenterClass(): "" | "gator-headline-card-justify-content-center";
12
13
  get backgroundMarkup(): import('lit').TemplateResult<1> | null;
13
- get actionsClass(): "gator-headline-card-actions_vertical" | "gator-headline-card-actions";
14
14
  get elevatedClass(): "" | "gator-card_elevated";
15
15
  get outlinedClass(): "" | "gator-card_outlined";
16
16
  get orientationClass(): "" | "gator-headline-card_vertical";
17
17
  get getBackgroundClass(): "gator-headline-card-background-circle_vertical" | "gator-headline-card-background-circle";
18
- get cardTitleMarkup(): import('lit').TemplateResult<1> | null;
19
- get cardSubtitleMarkup(): import('lit').TemplateResult<1>;
20
18
  get shouldBeVertical(): boolean;
21
19
  }
22
20
  declare global {
@@ -7,7 +7,7 @@ import { NgcBreadcrumbs } from './components/breadcrumbs';
7
7
  import { NgcBoolean } from './components/boolean';
8
8
  import { NgcButton } from './components/button';
9
9
  import { NgcButtonCard } from './components/button-card';
10
- import { NgcCard, NgcCardTitle, NgcCardSubtitle, NgcCardContent, NgcCardFooter } from './components/card';
10
+ import { NgcCard, NgcCardHeader, NgcCardContent, NgcCardFooter } from './components/card';
11
11
  import { NgcCheckbox } from './components/checkbox';
12
12
  import { NgcCheckboxGroup } from './components/checkbox-group';
13
13
  import { NgcChip } from './components/chip';
@@ -29,4 +29,4 @@ import { NgcTabs } from './components/tabs';
29
29
  import { NgcTextDetail } from './components/text-detail';
30
30
  import { NgcToast } from './components/toast';
31
31
  import { NgcTooltip } from './components/tooltip';
32
- export { NgcAccordion, NgcAccordionGroup, NgcAlert, NgcAlertSubtitle, NgcAlertTitle, NgcAvatar, NgcBadge, NgcBanner, NgcBreadcrumbs, NgcBoolean, NgcButton, NgcButtonCard, NgcCard, NgcCardContent, NgcCardFooter, NgcCardSubtitle, NgcCardTitle, NgcCheckbox, NgcCheckboxGroup, NgcChip, NgcDisplayCard, NgcFab, NgcPageHeader, NgcHeadlineCard, NgcHelpText, NgcIcon, NgcInputLabel, NgcInputText, NgcMenu, NgcMenuItem, NgcModal, NgcRadio, NgcRadioGroup, NgcSelectionBox, NgcSelectionBoxGroup, NgcSkeletonLoader, NgcSwitch, NgcTabs, NgcTextDetail, NgcToast, NgcTooltip };
32
+ export { NgcAccordion, NgcAccordionGroup, NgcAlert, NgcAlertSubtitle, NgcAlertTitle, NgcAvatar, NgcBadge, NgcBanner, NgcBreadcrumbs, NgcBoolean, NgcButton, NgcButtonCard, NgcCard, NgcCardContent, NgcCardFooter, NgcCardHeader, NgcCheckbox, NgcCheckboxGroup, NgcChip, NgcDisplayCard, NgcFab, NgcPageHeader, NgcHeadlineCard, NgcHelpText, NgcIcon, NgcInputLabel, NgcInputText, NgcMenu, NgcMenuItem, NgcModal, NgcRadio, NgcRadioGroup, NgcSelectionBox, NgcSelectionBoxGroup, NgcSkeletonLoader, NgcSwitch, NgcTabs, NgcTextDetail, NgcToast, NgcTooltip };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "2.0.0-preview.3",
4
+ "version": "2.0.0-preview.4",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@ncino/web-components",
4
- "version": "2.0.0-preview.2",
4
+ "version": "2.0.0-preview.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -73,20 +73,47 @@
73
73
  }
74
74
  },
75
75
  {
76
- "name": "ngc-card-title",
76
+ "name": "ngc-card-header",
77
77
  "description": "\n---\n",
78
78
  "doc-url": "",
79
- "attributes": [],
80
- "events": [],
81
- "js": { "properties": [], "events": [] }
82
- },
83
- {
84
- "name": "ngc-card-subtitle",
85
- "description": "\n---\n",
86
- "doc-url": "",
87
- "attributes": [],
79
+ "attributes": [
80
+ {
81
+ "name": "skeleton",
82
+ "value": { "type": "boolean", "default": "false" }
83
+ },
84
+ {
85
+ "name": "vertical",
86
+ "value": { "type": "boolean", "default": "false" }
87
+ },
88
+ {
89
+ "name": "invert-title",
90
+ "value": { "type": "boolean", "default": "false" }
91
+ },
92
+ {
93
+ "name": "subtitle",
94
+ "value": { "type": "string", "default": "''" }
95
+ },
96
+ { "name": "title", "value": { "type": "string", "default": "''" } },
97
+ {
98
+ "name": "data-testid",
99
+ "value": { "type": "string | undefined", "default": "undefined" }
100
+ }
101
+ ],
88
102
  "events": [],
89
- "js": { "properties": [], "events": [] }
103
+ "js": {
104
+ "properties": [
105
+ { "name": "skeleton", "type": "boolean" },
106
+ { "name": "vertical", "type": "boolean" },
107
+ { "name": "invertTitle", "type": "boolean" },
108
+ { "name": "subtitle", "type": "string" },
109
+ { "name": "title", "type": "string" },
110
+ { "name": "dataTestid", "type": "string | undefined" },
111
+ { "name": "labelDataTestid" },
112
+ { "name": "helpTextDataTestid" },
113
+ { "name": "errorMessageDataTestid" }
114
+ ],
115
+ "events": []
116
+ }
90
117
  },
91
118
  {
92
119
  "name": "ngc-card",
@@ -106,6 +133,10 @@
106
133
  "name": "outlined",
107
134
  "value": { "type": "boolean", "default": "false" }
108
135
  },
136
+ {
137
+ "name": "skeleton",
138
+ "value": { "type": "boolean", "default": "false" }
139
+ },
109
140
  {
110
141
  "name": "data-testid",
111
142
  "value": { "type": "string | undefined", "default": "undefined" }
@@ -116,12 +147,12 @@
116
147
  "properties": [
117
148
  { "name": "elevatedClass" },
118
149
  { "name": "outlinedClass" },
119
- { "name": "cardTitleMarkup" },
120
- { "name": "cardSubtitleMarkup" },
150
+ { "name": "cardHeaderMarkup" },
121
151
  { "name": "title", "type": "string" },
122
152
  { "name": "subtitle", "type": "string" },
123
153
  { "name": "elevated", "type": "boolean" },
124
154
  { "name": "outlined", "type": "boolean" },
155
+ { "name": "skeleton", "type": "boolean" },
125
156
  { "name": "dataTestid", "type": "string | undefined" },
126
157
  { "name": "labelDataTestid" },
127
158
  { "name": "helpTextDataTestid" },
@@ -273,6 +304,7 @@
273
304
  "js": {
274
305
  "properties": [
275
306
  { "name": "headerMarkup" },
307
+ { "name": "insideCardClasses" },
276
308
  { "name": "iconName" },
277
309
  { "name": "contentId" },
278
310
  { "name": "headerId" },
@@ -1091,6 +1123,10 @@
1091
1123
  "name": "outlined",
1092
1124
  "value": { "type": "boolean", "default": "false" }
1093
1125
  },
1126
+ {
1127
+ "name": "skeleton",
1128
+ "value": { "type": "boolean", "default": "false" }
1129
+ },
1094
1130
  {
1095
1131
  "name": "data-testid",
1096
1132
  "value": { "type": "string | undefined", "default": "undefined" }
@@ -1105,6 +1141,7 @@
1105
1141
  { "name": "subtitle", "type": "string" },
1106
1142
  { "name": "elevated", "type": "boolean" },
1107
1143
  { "name": "outlined", "type": "boolean" },
1144
+ { "name": "skeleton", "type": "boolean" },
1108
1145
  { "name": "dataTestid", "type": "string | undefined" },
1109
1146
  { "name": "labelDataTestid" },
1110
1147
  { "name": "helpTextDataTestid" },
@@ -1245,6 +1282,10 @@
1245
1282
  "name": "outlined",
1246
1283
  "value": { "type": "boolean", "default": "false" }
1247
1284
  },
1285
+ {
1286
+ "name": "skeleton",
1287
+ "value": { "type": "boolean", "default": "false" }
1288
+ },
1248
1289
  {
1249
1290
  "name": "data-testid",
1250
1291
  "value": { "type": "string | undefined", "default": "undefined" }
@@ -1255,14 +1296,15 @@
1255
1296
  "properties": [
1256
1297
  { "name": "elevatedClass" },
1257
1298
  { "name": "outlinedClass" },
1258
- { "name": "cardTitleMarkup" },
1259
- { "name": "cardSubtitleMarkup" },
1299
+ { "name": "slotMarkup" },
1300
+ { "name": "footerActionsMarkup" },
1260
1301
  { "name": "actionButtonText", "type": "string" },
1261
1302
  { "name": "hideFooter", "type": "boolean" },
1262
1303
  { "name": "title", "type": "string" },
1263
1304
  { "name": "subtitle", "type": "string" },
1264
1305
  { "name": "elevated", "type": "boolean" },
1265
1306
  { "name": "outlined", "type": "boolean" },
1307
+ { "name": "skeleton", "type": "boolean" },
1266
1308
  { "name": "dataTestid", "type": "string | undefined" },
1267
1309
  { "name": "labelDataTestid" },
1268
1310
  { "name": "helpTextDataTestid" },
@@ -1455,6 +1497,10 @@
1455
1497
  "name": "outlined",
1456
1498
  "value": { "type": "boolean", "default": "false" }
1457
1499
  },
1500
+ {
1501
+ "name": "skeleton",
1502
+ "value": { "type": "boolean", "default": "false" }
1503
+ },
1458
1504
  {
1459
1505
  "name": "data-testid",
1460
1506
  "value": { "type": "string | undefined", "default": "undefined" }
@@ -1464,16 +1510,14 @@
1464
1510
  "js": {
1465
1511
  "properties": [
1466
1512
  { "name": "containerRef", "type": "Ref<HTMLInputElement>" },
1513
+ { "name": "illustrationMarkup" },
1467
1514
  { "name": "cardContentClass" },
1468
1515
  { "name": "justifyCenterClass" },
1469
1516
  { "name": "backgroundMarkup" },
1470
- { "name": "actionsClass" },
1471
1517
  { "name": "elevatedClass" },
1472
1518
  { "name": "outlinedClass" },
1473
1519
  { "name": "orientationClass" },
1474
1520
  { "name": "getBackgroundClass" },
1475
- { "name": "cardTitleMarkup" },
1476
- { "name": "cardSubtitleMarkup" },
1477
1521
  { "name": "shouldBeVertical" },
1478
1522
  { "name": "orientation", "type": "'horizontal' | 'vertical'" },
1479
1523
  { "name": "background", "type": "boolean" },
@@ -1482,6 +1526,7 @@
1482
1526
  { "name": "subtitle", "type": "string" },
1483
1527
  { "name": "elevated", "type": "boolean" },
1484
1528
  { "name": "outlined", "type": "boolean" },
1529
+ { "name": "skeleton", "type": "boolean" },
1485
1530
  { "name": "dataTestid", "type": "string | undefined" },
1486
1531
  { "name": "labelDataTestid" },
1487
1532
  { "name": "helpTextDataTestid" },
@@ -1 +0,0 @@
1
- const St="div[role=tooltip]{position:absolute;width:max-content;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s}#floating{position:absolute;width:max-content;top:0;left:0}",$=Math.min,D=Math.max,M=Math.round,H=Math.floor,T=t=>({x:t,y:t});function Z(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function ut(t){return t==="x"?"y":"x"}function at(t){return t==="y"?"height":"width"}function tt(t){return["top","bottom"].includes(Z(t))?"y":"x"}function dt(t){return ut(tt(t))}function et(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function K(t,e,o){let{reference:n,floating:i}=t;const c=tt(e),r=dt(e),s=at(r),f=Z(e),l=c==="y",a=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,g=n[s]/2-i[s]/2;let u;switch(f){case"top":u={x:a,y:n.y-i.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-i.width,y:d};break;default:u={x:n.x,y:n.y}}switch(ft(e)){case"start":u[r]-=g*(o&&l?-1:1);break;case"end":u[r]+=g*(o&&l?-1:1);break}return u}const ht=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:r}=o,s=c.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:d}=K(l,n,f),g=n,u={},x=0;for(let h=0;h<s.length;h++){const{name:m,fn:p}=s[h],{x:w,y:R,data:F,reset:L}=await p({x:a,y:d,initialPlacement:n,placement:g,strategy:i,middlewareData:u,rects:l,platform:r,elements:{reference:t,floating:e}});a=w??a,d=R??d,u={...u,[m]:{...u[m],...F}},L&&x<=50&&(x++,typeof L=="object"&&(L.placement&&(g=L.placement),L.rects&&(l=L.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):L.rects),{x:a,y:d}=K(l,g,f)),h=-1)}return{x:a,y:d,placement:g,strategy:i,middlewareData:u}};function V(){return typeof window<"u"}function W(t){return nt(t)?(t.nodeName||"").toLowerCase():"#document"}function y(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function E(t){var e;return(e=(nt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nt(t){return V()?t instanceof Node||t instanceof y(t).Node:!1}function v(t){return V()?t instanceof Element||t instanceof y(t).Element:!1}function C(t){return V()?t instanceof HTMLElement||t instanceof y(t).HTMLElement:!1}function G(t){return!V()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof y(t).ShadowRoot}function k(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=b(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function gt(t){return["table","td","th"].includes(W(t))}function z(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function X(t){const e=j(),o=v(t)?b(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function pt(t){let e=O(t);for(;C(e)&&!N(e);){if(X(e))return e;if(z(e))return null;e=O(e)}return null}function j(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function N(t){return["html","body","#document"].includes(W(t))}function b(t){return y(t).getComputedStyle(t)}function _(t){return v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function O(t){if(W(t)==="html")return t;const e=t.assignedSlot||t.parentNode||G(t)&&t.host||E(t);return G(e)?e.host:e}function ot(t){const e=O(t);return N(e)?t.ownerDocument?t.ownerDocument.body:t.body:C(e)&&k(e)?e:ot(e)}function B(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=ot(t),c=i===((n=t.ownerDocument)==null?void 0:n.body),r=y(i);if(c){const s=Y(r);return e.concat(r,r.visualViewport||[],k(i)?i:[],s&&o?B(s):[])}return e.concat(i,B(i,[],o))}function Y(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function it(t){const e=b(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=C(t),c=i?t.offsetWidth:o,r=i?t.offsetHeight:n,s=M(o)!==c||M(n)!==r;return s&&(o=c,n=r),{width:o,height:n,$:s}}function q(t){return v(t)?t:t.contextElement}function S(t){const e=q(t);if(!C(e))return T(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:c}=it(e);let r=(c?M(o.width):o.width)/n,s=(c?M(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!s||!Number.isFinite(s))&&(s=1),{x:r,y:s}}const mt=T(0);function rt(t){const e=y(t);return!j()||!e.visualViewport?mt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wt(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==y(t)?!1:e}function A(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),c=q(t);let r=T(1);e&&(n?v(n)&&(r=S(n)):r=S(t));const s=wt(c,o,n)?rt(c):T(0);let f=(i.left+s.x)/r.x,l=(i.top+s.y)/r.y,a=i.width/r.x,d=i.height/r.y;if(c){const g=y(c),u=n&&v(n)?y(n):n;let x=g,h=Y(x);for(;h&&n&&u!==x;){const m=S(h),p=h.getBoundingClientRect(),w=b(h),R=p.left+(h.clientLeft+parseFloat(w.paddingLeft))*m.x,F=p.top+(h.clientTop+parseFloat(w.paddingTop))*m.y;f*=m.x,l*=m.y,a*=m.x,d*=m.y,f+=R,l+=F,x=y(h),h=Y(x)}}return et({width:a,height:d,x:f,y:l})}function U(t,e){const o=_(t).scrollLeft;return e?e.left+o:A(E(t)).left+o}function st(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(o?0:U(t,n)),c=n.top+e.scrollTop;return{x:i,y:c}}function yt(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const c=i==="fixed",r=E(n),s=e?z(e.floating):!1;if(n===r||s&&c)return o;let f={scrollLeft:0,scrollTop:0},l=T(1);const a=T(0),d=C(n);if((d||!d&&!c)&&((W(n)!=="body"||k(r))&&(f=_(n)),C(n))){const u=A(n);l=S(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}const g=r&&!d&&!c?st(r,f,!0):T(0);return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-f.scrollLeft*l.x+a.x+g.x,y:o.y*l.y-f.scrollTop*l.y+a.y+g.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){const e=E(t),o=_(t),n=t.ownerDocument.body,i=D(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=D(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+U(t);const s=-o.scrollTop;return b(n).direction==="rtl"&&(r+=D(e.clientWidth,n.clientWidth)-i),{width:i,height:c,x:r,y:s}}function bt(t,e){const o=y(t),n=E(t),i=o.visualViewport;let c=n.clientWidth,r=n.clientHeight,s=0,f=0;if(i){c=i.width,r=i.height;const l=j();(!l||l&&e==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:c,height:r,x:s,y:f}}function Rt(t,e){const o=A(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,c=C(t)?S(t):T(1),r=t.clientWidth*c.x,s=t.clientHeight*c.y,f=i*c.x,l=n*c.y;return{width:r,height:s,x:f,y:l}}function J(t,e,o){let n;if(e==="viewport")n=bt(t,o);else if(e==="document")n=vt(E(t));else if(v(e))n=Rt(e,o);else{const i=rt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return et(n)}function ct(t,e){const o=O(t);return o===e||!v(o)||N(o)?!1:b(o).position==="fixed"||ct(o,e)}function Lt(t,e){const o=e.get(t);if(o)return o;let n=B(t,[],!1).filter(s=>v(s)&&W(s)!=="body"),i=null;const c=b(t).position==="fixed";let r=c?O(t):t;for(;v(r)&&!N(r);){const s=b(r),f=X(r);!f&&s.position==="fixed"&&(i=null),(c?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||k(r)&&!f&&ct(t,r))?n=n.filter(a=>a!==r):i=s,r=O(r)}return e.set(t,n),n}function Tt(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?z(e)?[]:Lt(e,this._c):[].concat(o),n],s=r[0],f=r.reduce((l,a)=>{const d=J(e,a,i);return l.top=D(d.top,l.top),l.right=$(d.right,l.right),l.bottom=$(d.bottom,l.bottom),l.left=D(d.left,l.left),l},J(e,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ct(t){const{width:e,height:o}=it(t);return{width:e,height:o}}function Et(t,e,o){const n=C(e),i=E(e),c=o==="fixed",r=A(t,!0,c,e);let s={scrollLeft:0,scrollTop:0};const f=T(0);if(n||!n&&!c)if((W(e)!=="body"||k(i))&&(s=_(e)),n){const g=A(e,!0,c,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else i&&(f.x=U(i));const l=i&&!n&&!c?st(i,s):T(0),a=r.left+s.scrollLeft-f.x-l.x,d=r.top+s.scrollTop-f.y-l.y;return{x:a,y:d,width:r.width,height:r.height}}function P(t){return b(t).position==="static"}function Q(t,e){if(!C(t)||b(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return E(t)===o&&(o=o.ownerDocument.body),o}function lt(t,e){const o=y(t);if(z(t))return o;if(!C(t)){let i=O(t);for(;i&&!N(i);){if(v(i)&&!P(i))return i;i=O(i)}return o}let n=Q(t,e);for(;n&&gt(n)&&P(n);)n=Q(n,e);return n&&N(n)&&P(n)&&!X(n)?o:n||pt(t)||o}const Ot=async function(t){const e=this.getOffsetParent||lt,o=this.getDimensions,n=await o(t.floating);return{reference:Et(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function At(t){return b(t).direction==="rtl"}const Ft={convertOffsetParentRelativeRectToViewportRelativeRect:yt,getDocumentElement:E,getClippingRect:Tt,getOffsetParent:lt,getElementRects:Ot,getClientRects:xt,getDimensions:Ct,getScale:S,isElement:v,isRTL:At};function Dt(t,e){let o=null,n;const i=E(t);function c(){var s;clearTimeout(n),(s=o)==null||s.disconnect(),o=null}function r(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),c();const{left:l,top:a,width:d,height:g}=t.getBoundingClientRect();if(s||e(),!d||!g)return;const u=H(a),x=H(i.clientWidth-(l+d)),h=H(i.clientHeight-(a+g)),m=H(l),w={rootMargin:-u+"px "+-x+"px "+-h+"px "+-m+"px",threshold:D(0,$(1,f))||1};let R=!0;function F(L){const I=L[0].intersectionRatio;if(I!==f){if(!R)return r();I?r(!1,I):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R=!1}try{o=new IntersectionObserver(F,{...w,root:i.ownerDocument})}catch{o=new IntersectionObserver(F,w)}o.observe(t)}return r(!0),c}function Nt(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:c=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,l=q(t),a=i||c?[...l?B(l):[],...B(e)]:[];a.forEach(p=>{i&&p.addEventListener("scroll",o,{passive:!0}),c&&p.addEventListener("resize",o)});const d=l&&s?Dt(l,o):null;let g=-1,u=null;r&&(u=new ResizeObserver(p=>{let[w]=p;w&&w.target===l&&u&&(u.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var R;(R=u)==null||R.observe(e)})),o()}),l&&!f&&u.observe(l),u.observe(e));let x,h=f?A(t):null;f&&m();function m(){const p=A(t);h&&(p.x!==h.x||p.y!==h.y||p.width!==h.width||p.height!==h.height)&&o(),h=p,x=requestAnimationFrame(m)}return o(),()=>{var p;a.forEach(w=>{i&&w.removeEventListener("scroll",o),c&&w.removeEventListener("resize",o)}),d==null||d(),(p=u)==null||p.disconnect(),u=null,f&&cancelAnimationFrame(x)}}const Wt=(t,e,o)=>{const n=new Map,i={platform:Ft,...o},c={...i.platform,_c:n};return ht(t,e,{...i,platform:c})};export{Nt as a,Wt as c,St as t};
@@ -1,5 +0,0 @@
1
- import{a as o,r as n,x as p}from"../../../../assets/index-chunk2.js";import{p as d}from"../../../../assets/index-chunk4.js";import{s as v}from"../../../../assets/index-chunk5.js";import{t as g}from"../../../../assets/index-chunk3.js";const m=":host{--ngc-card-subtitle-padding: 0 var(--spacing-6) var(--spacing-6) var(--spacing-6)}.gator-card-subtitle{padding:var(--ngc-card-subtitle-padding);font-size:.9375rem;color:var(--color-primary-01-placeholder)}";var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,b=(l,s,a,t)=>{for(var r=t>1?void 0:t?u(s,a):s,e=l.length-1,i;e>=0;e--)(i=l[e])&&(r=(t?i(s,a,r):i(r))||r);return t&&r&&f(s,a,r),r};let c=class extends n{render(){return p`
2
- <div class="gator-card-subtitle">
3
- <slot></slot>
4
- </div>
5
- `}};c.styles=[o(m),o(d),o(v)];c=b([g("ngc-card-subtitle")],c);
@@ -1,5 +0,0 @@
1
- import{a as s,r as l,x as g}from"../../../../assets/index-chunk2.js";import{p as d}from"../../../../assets/index-chunk4.js";import{s as f}from"../../../../assets/index-chunk5.js";import{t as v}from"../../../../assets/index-chunk3.js";const p=":host{--ngc-card-title-padding: var(--spacing-6) var(--spacing-6) 0 var(--spacing-6)}.gator-card-title{padding:var(--ngc-card-title-padding);font-size:var(--ngc-card-title-font-size, 2rem);font-weight:var(--ngc-card-title-font-weight, 700);font-family:var(--ngc-card-title-font-family),var(--ngc-font-family-body),sans-serif;color:var(--color-neutral-70);line-height:var(--ngc-card-title-line-height);margin:var(--ngc-card-title-margin)}";var m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,y=(o,t,e,a)=>{for(var r=a>1?void 0:a?h(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(a?n(t,e,r):n(r))||r);return a&&r&&m(t,e,r),r};let c=class extends l{render(){return g`
2
- <div class="gator-card-title">
3
- <slot></slot>
4
- </div>
5
- `}};c.styles=[s(p),s(d),s(f)];c=y([v("ngc-card-title")],c);
@@ -1,5 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class NgcCardSubtitle extends LitElement {
3
- static styles: import('lit').CSSResult[];
4
- render(): import('lit').TemplateResult<1>;
5
- }
@@ -1,5 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class NgcCardTitle extends LitElement {
3
- static styles: import('lit').CSSResult[];
4
- render(): import('lit').TemplateResult<1>;
5
- }