@ncino/web-components 4.3.0-preview.8 → 5.0.0-preview.1

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 (60) hide show
  1. package/dist/components/accordion/gator/base/accordion.gator.figma.js +10 -0
  2. package/dist/components/accordion/gator/base/accordion.gator.js +8 -6
  3. package/dist/components/accordion/gator/group/accordion-group.gator.figma.js +3 -0
  4. package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
  5. package/dist/components/avatar/gator/avatar.gator.js +5 -5
  6. package/dist/components/banner/gator/banner.gator.figma.js +8 -0
  7. package/dist/components/banner/gator/banner.gator.js +6 -5
  8. package/dist/components/boolean/boolean.gator.figma.js +11 -0
  9. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.figma.js +3 -0
  10. package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.figma.js +5 -0
  11. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +1 -1
  12. package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
  13. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  14. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  15. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  16. package/dist/components/popover/gator/popover.gator.js +1 -1
  17. package/dist/components/text-detail/gator/text-detail.gator.figma.js +30 -0
  18. package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
  19. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  20. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  21. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
  22. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  23. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +1 -0
  24. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +1 -0
  25. package/dist/node_modules/.pnpm/{@storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.5.3_ → @storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.6.2_}/node_modules/@storybook/instrumenter/dist/index.js +1 -1
  26. package/dist/node_modules/.pnpm/{@storybook_test@8.6.14_storybook@8.6.14_prettier@3.5.3_ → @storybook_test@8.6.14_storybook@8.6.14_prettier@3.6.2_}/node_modules/@storybook/test/dist/index.js +1 -1
  27. package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.scss.js +1 -1
  28. package/dist/packages/web-components/src/components/accordion/gator/group/accordion-group.gator.scss.js +1 -1
  29. package/dist/packages/web-components/src/components/banner/gator/banner.gator.scss.js +1 -1
  30. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  31. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +13 -3
  32. package/dist/types/components/accordion/gator/base/accordion.gator.figma.d.ts +1 -0
  33. package/dist/types/components/accordion/gator/group/accordion-group.gator.figma.d.ts +1 -0
  34. package/dist/types/components/avatar/gator/avatar.gator.d.ts +1 -0
  35. package/dist/types/components/banner/gator/banner.gator.d.ts +5 -0
  36. package/dist/types/components/banner/gator/banner.gator.figma.d.ts +1 -0
  37. package/dist/types/components/boolean/boolean.gator.figma.d.ts +1 -0
  38. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.figma.d.ts +1 -0
  39. package/dist/types/components/breadcrumbs/gator/container/breadcrumbs.gator.figma.d.ts +1 -0
  40. package/dist/types/components/text-detail/gator/text-detail.gator.figma.d.ts +1 -0
  41. package/dist/utils/vitest-a11y-utils.js +1 -1
  42. package/package.json +3 -3
  43. package/web-types.json +8 -2
  44. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.1/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -1
  45. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
  46. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -1
  47. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -1
  48. package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.tokens.scss.js +0 -1
  49. package/dist/packages/web-components/src/components/accordion/gator/group/accordion-group.gator.tokens.scss.js +0 -1
  50. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @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 +0 -0
  51. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_}/node_modules/@storybook/core/dist/client-logger/index.js +0 -0
  52. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_}/node_modules/@storybook/core/dist/core-events/index.js +0 -0
  53. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @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 +0 -0
  54. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @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 +0 -0
  55. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_ → @storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_}/node_modules/@storybook/core/dist/preview-errors.js +0 -0
  56. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.1_typescript@5.8.3__playwright@1.53.1__64bf204e83d923e607f171b7f35f4f46 → @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 -0
  57. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.4_@vitest_ui@3._5d5a5c8a4aa2033fceb23b072a94a45b → 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/_commonjsHelpers.BFTU3MAI.js +0 -0
  58. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.4_@vitest_ui@3._5d5a5c8a4aa2033fceb23b072a94a45b → 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/date.Bq6ZW5rf.js +0 -0
  59. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.4_@vitest_ui@3._5d5a5c8a4aa2033fceb23b072a94a45b → 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 +0 -0
  60. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.4_@vitest_ui@3._5d5a5c8a4aa2033fceb23b072a94a45b → 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 +0 -0
@@ -10,14 +10,24 @@ export declare class NgcAccordion extends NjcAccordion {
10
10
  slotAssignment?: SlotAssignmentMode;
11
11
  };
12
12
  static styles: import('lit').CSSResult[];
13
- private _insideCard;
14
- constructor();
13
+ private headerRef;
15
14
  render(): import('lit').TemplateResult<1>;
16
15
  get headerMarkup(): import('lit').TemplateResult<1> | null;
17
- get insideCardClasses(): "" | " accordion-header_inside-card-expanded" | " accordion-header_inside-card";
18
16
  get iconName(): "chevron-down" | "chevron-up";
19
17
  get contentId(): string;
20
18
  get headerId(): string;
19
+ get borderRadius(): {
20
+ borderTopLeftRadius: string;
21
+ borderTopRightRadius: string;
22
+ borderBottomRightRadius: string;
23
+ borderBottomLeftRadius: string;
24
+ } | undefined;
25
+ getBorderRadiusObject(borderRadius: string): {
26
+ borderTopLeftRadius: string;
27
+ borderTopRightRadius: string;
28
+ borderBottomRightRadius: string;
29
+ borderBottomLeftRadius: string;
30
+ } | undefined;
21
31
  updated(): void;
22
32
  }
23
33
  declare global {
@@ -8,6 +8,7 @@ export declare class NgcAvatar extends NjcAvatar {
8
8
  _avatarRef: Ref<HTMLDivElement>;
9
9
  protected _size: number;
10
10
  render(): import('lit').TemplateResult<1>;
11
+ get srcIsPopulated(): boolean | "";
11
12
  updated(): void;
12
13
  applySizeToSlottedIcon(): void;
13
14
  get pixelSize(): number;
@@ -4,6 +4,11 @@ import { Ref } from 'lit/directives/ref.js';
4
4
  * @slot - The content within the banner
5
5
  */
6
6
  export declare class NgcBanner extends NjcBanner {
7
+ /**
8
+ * @property skeleton - If true, the banner will render in a skeleton state.
9
+ * @type {boolean}
10
+ */
11
+ skeleton: boolean;
7
12
  static styles: import('lit').CSSResult[];
8
13
  contentRef: Ref<HTMLDivElement>;
9
14
  render(): import('lit').TemplateResult<1>;
@@ -1 +1 @@
1
- import{page as n}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.1_typescript@5.8.3__playwright@1.53.1__64bf204e83d923e607f171b7f35f4f46/node_modules/@vitest/browser/context.js";import a from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.4_@vitest_ui@3._5d5a5c8a4aa2033fceb23b072a94a45b/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";const p="Supercalifragilisticexpialidocious".repeat(10);async function u(e){return(await a.run(e)).violations}async function x(e){const t=await u(e);o(t,`Expected no axe core violations, but got ${t.length}`).toHaveLength(0)}function h(){return n.viewport(320,256)}function g(e){let t;if(e.scrollWidth!==0?t=e:e.shadowRoot?t=e.shadowRoot.firstElementChild:t=e.firstElementChild,t){const r=t.scrollWidth>t.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function w(e,t,r){var l;let i=e.querySelector(":focus-visible");if(i||(i=(l=e.shadowRoot)==null?void 0:l.querySelector(":focus-visible")),i){const s=getComputedStyle(i).getPropertyValue(t);return o(s).toContain(r)}return o(!0).toBe(!1)}export{w as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,x as expectNoAxeViolations,h as resizeWindowForReflowTest,u as runAxeAndGetViolations,p as superLongStringForReflowTest};
1
+ import{page as n}from"../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";import a from"../_virtual/axe.js";import{a as o}from"../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";const p="Supercalifragilisticexpialidocious".repeat(10);async function u(e){return(await a.run(e)).violations}async function x(e){const t=await u(e);o(t,`Expected no axe core violations, but got ${t.length}`).toHaveLength(0)}function h(){return n.viewport(320,256)}function g(e){let t;if(e.scrollWidth!==0?t=e:e.shadowRoot?t=e.shadowRoot.firstElementChild:t=e.firstElementChild,t){const r=t.scrollWidth>t.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function w(e,t,r){var l;let i=e.querySelector(":focus-visible");if(i||(i=(l=e.shadowRoot)==null?void 0:l.querySelector(":focus-visible")),i){const s=getComputedStyle(i).getPropertyValue(t);return o(s).toContain(r)}return o(!0).toBe(!1)}export{w as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,x as expectNoAxeViolations,h as resizeWindowForReflowTest,u as runAxeAndGetViolations,p as superLongStringForReflowTest};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "4.3.0-preview.8",
4
+ "version": "5.0.0-preview.1",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
@@ -107,11 +107,11 @@
107
107
  "conventional-changelog-conventionalcommits": "^9.0.0",
108
108
  "custom-element-jet-brains-integration": "^1.7.0",
109
109
  "custom-elements-manifest": "^2.1.0",
110
- "eslint": "^9.29.0",
110
+ "eslint": "^9.30.0",
111
111
  "eslint-config-standard": "^17.1.0",
112
112
  "eslint-plugin-import": "^2.32.0",
113
113
  "eslint-plugin-json": "^4.0.1",
114
- "eslint-plugin-n": "^17.20.0",
114
+ "eslint-plugin-n": "^17.21.0",
115
115
  "eslint-plugin-promise": "^7.2.1",
116
116
  "eslint-plugin-storybook": "^0.12.0",
117
117
  "eslint-plugin-yml": "1.18.0",
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": "4.3.0-preview.7",
4
+ "version": "4.3.0-preview.14",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -354,10 +354,10 @@
354
354
  "js": {
355
355
  "properties": [
356
356
  { "name": "headerMarkup" },
357
- { "name": "insideCardClasses" },
358
357
  { "name": "iconName" },
359
358
  { "name": "contentId" },
360
359
  { "name": "headerId" },
360
+ { "name": "borderRadius" },
361
361
  { "name": "isExpanded", "type": "boolean" },
362
362
  { "name": "title", "type": "String" },
363
363
  { "name": "subtitle", "type": "String" },
@@ -601,6 +601,7 @@
601
601
  "js": {
602
602
  "properties": [
603
603
  { "name": "_avatarRef", "type": "Ref<HTMLDivElement>" },
604
+ { "name": "srcIsPopulated" },
604
605
  { "name": "pixelSize", "type": "number" },
605
606
  {
606
607
  "name": "size",
@@ -695,6 +696,10 @@
695
696
  "description": "\n---\n\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.\n\n### **Slots:**\n - _default_ - The content within the banner",
696
697
  "doc-url": "",
697
698
  "attributes": [
699
+ {
700
+ "name": "skeleton",
701
+ "value": { "type": "boolean", "default": "false" }
702
+ },
698
703
  {
699
704
  "name": "variant",
700
705
  "value": {
@@ -713,6 +718,7 @@
713
718
  "events": [],
714
719
  "js": {
715
720
  "properties": [
721
+ { "name": "skeleton", "type": "boolean" },
716
722
  { "name": "contentRef", "type": "Ref<HTMLDivElement>" },
717
723
  { "name": "hasActions", "type": "boolean" },
718
724
  { "name": "variantClass" },
@@ -1 +0,0 @@
1
- import{getSideAxis as L,getAlignmentAxis as H,getSide as F,getAlignment as C,getAxisLength as J,evaluate as _,getOppositePlacement as K,getExpandedPlacements as N,getOppositeAxisPlacements as Q,getAlignmentSides as q,getPaddingObject as U,rectToClientRect as I,placements as X,getOppositeAlignmentPlacement as W}from"../../../../../@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";function Y(n,l,f){let{reference:t,floating:e}=n;const i=L(l),c=H(l),a=J(c),w=F(l),p=i==="y",g=t.x+t.width/2-e.width/2,r=t.y+t.height/2-e.height/2,d=t[a]/2-e[a]/2;let o;switch(w){case"top":o={x:g,y:t.y-e.height};break;case"bottom":o={x:g,y:t.y+t.height};break;case"right":o={x:t.x+t.width,y:r};break;case"left":o={x:t.x-e.width,y:r};break;default:o={x:t.x,y:t.y}}switch(C(l)){case"start":o[c]-=d*(f&&p?-1:1);break;case"end":o[c]+=d*(f&&p?-1:1);break}return o}const te=async(n,l,f)=>{const{placement:t="bottom",strategy:e="absolute",middleware:i=[],platform:c}=f,a=i.filter(Boolean),w=await(c.isRTL==null?void 0:c.isRTL(l));let p=await c.getElementRects({reference:n,floating:l,strategy:e}),{x:g,y:r}=Y(p,t,w),d=t,o={},x=0;for(let h=0;h<a.length;h++){const{name:y,fn:v}=a[h],{x:u,y:P,data:b,reset:s}=await v({x:g,y:r,initialPlacement:t,placement:d,strategy:e,middlewareData:o,rects:p,platform:c,elements:{reference:n,floating:l}});g=u??g,r=P??r,o={...o,[y]:{...o[y],...b}},s&&x<=50&&(x++,typeof s=="object"&&(s.placement&&(d=s.placement),s.rects&&(p=s.rects===!0?await c.getElementRects({reference:n,floating:l,strategy:e}):s.rects),{x:g,y:r}=Y(p,d,w)),h=-1)}return{x:g,y:r,placement:d,strategy:e,middlewareData:o}};async function z(n,l){var f;l===void 0&&(l={});const{x:t,y:e,platform:i,rects:c,elements:a,strategy:w}=n,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:r="floating",altBoundary:d=!1,padding:o=0}=_(l,n),x=U(o),y=a[d?r==="floating"?"reference":"floating":r],v=I(await i.getClippingRect({element:(f=await(i.isElement==null?void 0:i.isElement(y)))==null||f?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:p,rootBoundary:g,strategy:w})),u=r==="floating"?{x:t,y:e,width:c.floating.width,height:c.floating.height}:c.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),b=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},s=I(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:u,offsetParent:P,strategy:w}):u);return{top:(v.top-s.top+x.top)/b.y,bottom:(s.bottom-v.bottom+x.bottom)/b.y,left:(v.left-s.left+x.left)/b.x,right:(s.right-v.right+x.right)/b.x}}function Z(n,l,f){return(n?[...f.filter(e=>C(e)===n),...f.filter(e=>C(e)!==n)]:f.filter(e=>F(e)===e)).filter(e=>n?C(e)===n||(l?W(e)!==e:!1):!0)}const ne=function(n){return n===void 0&&(n={}),{name:"autoPlacement",options:n,async fn(l){var f,t,e;const{rects:i,middlewareData:c,placement:a,platform:w,elements:p}=l,{crossAxis:g=!1,alignment:r,allowedPlacements:d=X,autoAlignment:o=!0,...x}=_(n,l),h=r!==void 0||d===X?Z(r||null,o,d):d,y=await z(l,x),v=((f=c.autoPlacement)==null?void 0:f.index)||0,u=h[v];if(u==null)return{};const P=q(u,i,await(w.isRTL==null?void 0:w.isRTL(p.floating)));if(a!==u)return{reset:{placement:h[0]}};const b=[y[F(u)],y[P[0]],y[P[1]]],s=[...((t=c.autoPlacement)==null?void 0:t.overflows)||[],{placement:u,overflows:b}],T=h[v+1];if(T)return{data:{index:v+1,overflows:s},reset:{placement:T}};const B=s.map(m=>{const O=C(m.placement);return[m.placement,O&&g?m.overflows.slice(0,2).reduce((j,M)=>j+M,0):m.overflows[0],m.overflows]}).sort((m,O)=>m[1]-O[1]),S=((e=B.filter(m=>m[2].slice(0,C(m[0])?2:3).every(O=>O<=0))[0])==null?void 0:e[0])||B[0][0];return S!==a?{data:{index:v+1,overflows:s},reset:{placement:S}}:{}}}},le=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(l){var f,t;const{placement:e,middlewareData:i,rects:c,initialPlacement:a,platform:w,elements:p}=l,{mainAxis:g=!0,crossAxis:r=!0,fallbackPlacements:d,fallbackStrategy:o="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:h=!0,...y}=_(n,l);if((f=i.arrow)!=null&&f.alignmentOffset)return{};const v=F(e),u=L(a),P=F(a)===a,b=await(w.isRTL==null?void 0:w.isRTL(p.floating)),s=d||(P||!h?[K(a)]:N(a)),T=x!=="none";!d&&T&&s.push(...Q(a,h,x,b));const B=[a,...s],$=await z(l,y),S=[];let m=((t=i.flip)==null?void 0:t.overflows)||[];if(g&&S.push($[v]),r){const k=q(e,c,b);S.push($[k[0]],$[k[1]])}if(m=[...m,{placement:e,overflows:S}],!S.every(k=>k<=0)){var O,j;const k=(((O=i.flip)==null?void 0:O.index)||0)+1,V=B[k];if(V&&(!(r==="alignment"?u!==L(V):!1)||m.every(A=>A.overflows[0]>0&&L(A.placement)===u)))return{data:{index:k,overflows:m},reset:{placement:V}};let D=(j=m.filter(E=>E.overflows[0]<=0).sort((E,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:j.placement;if(!D)switch(o){case"bestFit":{var M;const E=(M=m.filter(A=>{if(T){const R=L(A.placement);return R===u||R==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(R=>R>0).reduce((R,G)=>R+G,0)]).sort((A,R)=>A[1]-R[1])[0])==null?void 0:M[0];E&&(D=E);break}case"initialPlacement":D=a;break}if(e!==D)return{reset:{placement:D}}}return{}}}};export{ne as autoPlacement,te as computePosition,z as detectOverflow,le as flip,I as rectToClientRect};
@@ -1 +0,0 @@
1
- import{computePosition as ot,flip as st,autoPlacement as rt}from"../../../../../@floating-ui_core@1.7.1/node_modules/@floating-ui/core/dist/floating-ui.core.js";import{createCoords as w,rectToClientRect as J,floor as A,max as E,round as H,min as z}from"../../../../../@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";import{getOverflowAncestors as M,isElement as v,getDocumentElement as O,getWindow as L,getFrameElement as K,getComputedStyle as R,isHTMLElement as b,isWebKit as Q,isTopLayer as S,getParentNode as W,isLastTraversableNode as N,isTableElement as ct,isContainingBlock as Y,getContainingBlock as lt,getNodeName as _,isOverflowElement as P,getNodeScroll as I}from"../../../../../@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";function Z(t){const e=R(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=b(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,c=H(n)!==r||H(i)!==s;return c&&(n=r,i=s),{width:n,height:i,$:c}}function $(t){return v(t)?t:t.contextElement}function F(t){const e=$(t);if(!b(e))return w(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=Z(e);let s=(r?H(n.width):n.width)/i,c=(r?H(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const ft=w(0);function X(t){const e=L(t);return!Q()||!e.visualViewport?ft:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ut(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function T(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),r=$(t);let s=w(1);e&&(i?v(i)&&(s=F(i)):s=F(t));const c=ut(r,n,i)?X(r):w(0);let l=(o.left+c.x)/s.x,f=(o.top+c.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r){const p=L(r),a=i&&v(i)?L(i):i;let y=p,g=K(y);for(;g&&i&&a!==y;){const m=F(g),d=g.getBoundingClientRect(),x=R(g),C=d.left+(g.clientLeft+parseFloat(x.paddingLeft))*m.x,B=d.top+(g.clientTop+parseFloat(x.paddingTop))*m.y;l*=m.x,f*=m.y,u*=m.x,h*=m.y,l+=C,f+=B,y=L(g),g=K(y)}}return J({width:u,height:h,x:l,y:f})}function q(t,e){const n=I(t).scrollLeft;return e?e.left+n:T(O(t)).left+n}function tt(t,e,n){n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=i.left+e.scrollLeft-(n?0:q(t,i)),r=i.top+e.scrollTop;return{x:o,y:r}}function ht(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r=o==="fixed",s=O(i),c=e?S(e.floating):!1;if(i===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},f=w(1);const u=w(0),h=b(i);if((h||!h&&!r)&&((_(i)!=="body"||P(s))&&(l=I(i)),b(i))){const a=T(i);f=F(i),u.x=a.x+i.clientLeft,u.y=a.y+i.clientTop}const p=s&&!h&&!r?tt(s,l,!0):w(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+u.x+p.x,y:n.y*f.y-l.scrollTop*f.y+u.y+p.y}}function at(t){return Array.from(t.getClientRects())}function dt(t){const e=O(t),n=I(t),i=t.ownerDocument.body,o=E(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=E(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+q(t);const c=-n.scrollTop;return R(i).direction==="rtl"&&(s+=E(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:c}}function gt(t,e){const n=L(t),i=O(t),o=n.visualViewport;let r=i.clientWidth,s=i.clientHeight,c=0,l=0;if(o){r=o.width,s=o.height;const f=Q();(!f||f&&e==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:c,y:l}}function pt(t,e){const n=T(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=b(t)?F(t):w(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=o*r.x,f=i*r.y;return{width:s,height:c,x:l,y:f}}function j(t,e,n){let i;if(e==="viewport")i=gt(t,n);else if(e==="document")i=dt(O(t));else if(v(e))i=pt(e,n);else{const o=X(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function et(t,e){const n=W(t);return n===e||!v(n)||N(n)?!1:R(n).position==="fixed"||et(n,e)}function mt(t,e){const n=e.get(t);if(n)return n;let i=M(t,[],!1).filter(c=>v(c)&&_(c)!=="body"),o=null;const r=R(t).position==="fixed";let s=r?W(t):t;for(;v(s)&&!N(s);){const c=R(s),l=Y(s);!l&&c.position==="fixed"&&(o=null),(r?!l&&!o:!l&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||P(s)&&!l&&et(t,s))?i=i.filter(u=>u!==s):o=c,s=W(s)}return e.set(t,i),i}function wt(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const s=[...n==="clippingAncestors"?S(e)?[]:mt(e,this._c):[].concat(n),i],c=s[0],l=s.reduce((f,u)=>{const h=j(e,u,o);return f.top=E(h.top,f.top),f.right=z(h.right,f.right),f.bottom=z(h.bottom,f.bottom),f.left=E(h.left,f.left),f},j(e,c,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function yt(t){const{width:e,height:n}=Z(t);return{width:e,height:n}}function xt(t,e,n){const i=b(e),o=O(e),r=n==="fixed",s=T(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=w(0);function f(){l.x=q(o)}if(i||!i&&!r)if((_(e)!=="body"||P(o))&&(c=I(e)),i){const a=T(e,!0,r,e);l.x=a.x+e.clientLeft,l.y=a.y+e.clientTop}else o&&f();r&&!i&&o&&f();const u=o&&!i&&!r?tt(o,c):w(0),h=s.left+c.scrollLeft-l.x-u.x,p=s.top+c.scrollTop-l.y-u.y;return{x:h,y:p,width:s.width,height:s.height}}function V(t){return R(t).position==="static"}function G(t,e){if(!b(t)||R(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return O(t)===n&&(n=n.ownerDocument.body),n}function nt(t,e){const n=L(t);if(S(t))return n;if(!b(t)){let o=W(t);for(;o&&!N(o);){if(v(o)&&!V(o))return o;o=W(o)}return n}let i=G(t,e);for(;i&&ct(i)&&V(i);)i=G(i,e);return i&&N(i)&&V(i)&&!Y(i)?n:i||lt(t)||n}const vt=async function(t){const e=this.getOffsetParent||nt,n=this.getDimensions,i=await n(t.floating);return{reference:xt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Rt(t){return R(t).direction==="rtl"}const Ot={convertOffsetParentRelativeRectToViewportRelativeRect:ht,getDocumentElement:O,getClippingRect:wt,getOffsetParent:nt,getElementRects:vt,getClientRects:at,getDimensions:yt,getScale:F,isElement:v,isRTL:Rt};function it(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function bt(t,e){let n=null,i;const o=O(t);function r(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const f=t.getBoundingClientRect(),{left:u,top:h,width:p,height:a}=f;if(c||e(),!p||!a)return;const y=A(h),g=A(o.clientWidth-(u+p)),m=A(o.clientHeight-(h+a)),d=A(u),C={rootMargin:-y+"px "+-g+"px "+-m+"px "+-d+"px",threshold:E(0,z(1,l))||1};let B=!0;function k(U){const D=U[0].intersectionRatio;if(D!==l){if(!B)return s();D?s(!1,D):i=setTimeout(()=>{s(!1,1e-7)},1e3)}D===1&&!it(f,t.getBoundingClientRect())&&s(),B=!1}try{n=new IntersectionObserver(k,{...C,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,C)}n.observe(t)}return s(!0),r}function Et(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=i,f=$(t),u=o||r?[...f?M(f):[],...M(e)]:[];u.forEach(d=>{o&&d.addEventListener("scroll",n,{passive:!0}),r&&d.addEventListener("resize",n)});const h=f&&c?bt(f,n):null;let p=-1,a=null;s&&(a=new ResizeObserver(d=>{let[x]=d;x&&x.target===f&&a&&(a.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=a)==null||C.observe(e)})),n()}),f&&!l&&a.observe(f),a.observe(e));let y,g=l?T(t):null;l&&m();function m(){const d=T(t);g&&!it(g,d)&&n(),g=d,y=requestAnimationFrame(m)}return n(),()=>{var d;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(d=a)==null||d.disconnect(),a=null,l&&cancelAnimationFrame(y)}}const Ft=rt,Wt=st,Bt=(t,e,n)=>{const i=new Map,o={platform:Ot,...n},r={...o.platform,_c:i};return ot(t,e,{...o,platform:r})};export{Ft as autoPlacement,Et as autoUpdate,Bt as computePosition,Wt as flip,M as getOverflowAncestors,Ot as platform};
@@ -1 +0,0 @@
1
- function c(){return typeof window<"u"}function s(n){return p(n)?(n.nodeName||"").toLowerCase():"#document"}function i(n){var t;return(n==null||(t=n.ownerDocument)==null?void 0:t.defaultView)||window}function E(n){var t;return(t=(p(n)?n.ownerDocument:n.document)||window.document)==null?void 0:t.documentElement}function p(n){return c()?n instanceof Node||n instanceof i(n).Node:!1}function m(n){return c()?n instanceof Element||n instanceof i(n).Element:!1}function w(n){return c()?n instanceof HTMLElement||n instanceof i(n).HTMLElement:!1}function a(n){return!c()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof i(n).ShadowRoot}function y(n){const{overflow:t,overflowX:e,overflowY:o,display:r}=b(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!["inline","contents"].includes(r)}function D(n){return["table","td","th"].includes(s(n))}function N(n){return[":popover-open",":modal"].some(t=>{try{return n.matches(t)}catch{return!1}})}function T(n){const t=L(),e=m(n)?b(n):n;return["transform","translate","scale","rotate","perspective"].some(o=>e[o]?e[o]!=="none":!1)||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(e.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(e.contain||"").includes(o))}function k(n){let t=u(n);for(;w(t)&&!g(t);){if(T(t))return t;if(N(t))return null;t=u(t)}return null}function L(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function g(n){return["html","body","#document"].includes(s(n))}function b(n){return i(n).getComputedStyle(n)}function C(n){return m(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function u(n){if(s(n)==="html")return n;const t=n.assignedSlot||n.parentNode||a(n)&&n.host||E(n);return a(t)?t.host:t}function h(n){const t=u(n);return g(t)?n.ownerDocument?n.ownerDocument.body:n.body:w(t)&&y(t)?t:h(t)}function d(n,t,e){var o;t===void 0&&(t=[]),e===void 0&&(e=!0);const r=h(n),S=r===((o=n.ownerDocument)==null?void 0:o.body),l=i(r);if(S){const f=v(l);return t.concat(l,l.visualViewport||[],y(r)?r:[],f&&e?d(f):[])}return t.concat(r,d(r,[],e))}function v(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{b as getComputedStyle,k as getContainingBlock,E as getDocumentElement,v as getFrameElement,h as getNearestOverflowAncestor,s as getNodeName,C as getNodeScroll,d as getOverflowAncestors,u as getParentNode,i as getWindow,T as isContainingBlock,m as isElement,w as isHTMLElement,g as isLastTraversableNode,p as isNode,y as isOverflowElement,a as isShadowRoot,D as isTableElement,N as isTopLayer,L as isWebKit};
@@ -1 +0,0 @@
1
- const a=["top","right","bottom","left"],u=["start","end"],P=a.reduce((t,n)=>t.concat(n,n+"-"+u[0],n+"-"+u[1]),[]),M=Math.min,O=Math.max,S=Math.round,w=Math.floor,j=t=>({x:t,y:t}),m={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function C(t,n){return typeof t=="function"?t(n):t}function g(t){return t.split("-")[0]}function l(t){return t.split("-")[1]}function h(t){return t==="x"?"y":"x"}function b(t){return t==="y"?"height":"width"}function x(t){return["top","bottom"].includes(g(t))?"y":"x"}function d(t){return h(x(t))}function L(t,n,e){e===void 0&&(e=!1);const r=l(t),o=d(t),i=b(o);let c=o==="x"?r===(e?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[i]>n.floating[i]&&(c=f(c)),[c,f(c)]}function E(t){const n=f(t);return[s(t),n,s(n)]}function s(t){return t.replace(/start|end/g,n=>p[n])}function A(t,n,e){const r=["left","right"],o=["right","left"],i=["top","bottom"],c=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:r:n?r:o;case"left":case"right":return n?i:c;default:return[]}}function R(t,n,e,r){const o=l(t);let i=A(g(t),e==="start",r);return o&&(i=i.map(c=>c+"-"+o),n&&(i=i.concat(i.map(s)))),i}function f(t){return t.replace(/left|right|bottom|top/g,n=>m[n])}function y(t){return{top:0,right:0,bottom:0,left:0,...t}}function T(t){return typeof t!="number"?y(t):{top:t,right:t,bottom:t,left:t}}function k(t){const{x:n,y:e,width:r,height:o}=t;return{width:r,height:o,top:e,left:n,right:n+r,bottom:e+o,x:n,y:e}}export{u as alignments,j as createCoords,C as evaluate,y as expandPaddingObject,w as floor,l as getAlignment,d as getAlignmentAxis,L as getAlignmentSides,b as getAxisLength,E as getExpandedPlacements,s as getOppositeAlignmentPlacement,h as getOppositeAxis,R as getOppositeAxisPlacements,f as getOppositePlacement,T as getPaddingObject,g as getSide,x as getSideAxis,O as max,M as min,P as placements,k as rectToClientRect,S as round,a as sides};
@@ -1 +0,0 @@
1
- const r=":host,:root{--ngc-accordion-title-text-color: var(--primary-01-placeholder, var(--color-grey-50, #6D6D6D));--ngc-accordion-subtitle-text-color: var(--primary-03-base, var(--color-grey-70, #1F1F1F));--ngc-accordion-header-background-color-hover: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-background-color-focus: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-border-color-active: var(--color-stroke-brand, #11395B);--ngc-accordion-header-border-color-focus: var(--color-stroke-brand, #11395B);--ngc-accordion-border-bottom: none;--ngc-accordion-header-border-active: 1px solid var(--ngc-accordion-header-border-color-active);--ngc-accordion-header-border-focus: 2px solid var(--ngc-accordion-header-border-color-focus);--ngc-accordion-width: 25.25rem;--ngc-accordion-header-padding: var(--spacing-gap-16, 1rem);--ngc-accordion-content-padding: var(--spacing-gap-16, 1rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-24, 1.5rem) var(--spacing-padding-margin-16, 1rem);--ngc-accordion-title-font-size: var(--text-size-caption, .8125rem);--ngc-accordion-subtitle-font-size: var(--text-size-body-1, 1.0625rem);--ngc-accordion-title-line-height: var(--text-line-height-caption, 1.125rem);--ngc-accordion-subtitle-line-height: var(--text-line-height-body-1, 1.5rem)}";export{r as default};
@@ -1 +0,0 @@
1
- const o=":host,:root{--ngc-accordion-group-divider-color: var(--color-stroke-primary);--ngc-accordion-group-divider: 1px solid var(--ngc-accordion-group-divider-color)}";export{o as default};