@ncino/web-components 7.0.0-preview.7 → 7.0.0-preview.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- 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/badge/gator/badge.gator.js +2 -2
- package/dist/components/banner/gator/banner.gator.js +2 -2
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.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/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
- package/dist/components/fab/gator/fab.gator.js +4 -4
- package/dist/components/guided-nav/gator/guided-nav/guided-nav.gator.js +4 -3
- package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +11 -8
- package/dist/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.js +6 -4
- package/dist/components/guided-nav/guided-nav.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-label/input-label.gator.js +2 -2
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +3 -3
- package/dist/components/list/gator/list-item/list-item.gator.js +10 -8
- package/dist/components/panel/gator/panel.storybook-test.js +1 -1
- package/dist/components/popover/gator/popover.gator.js +2 -2
- 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-container/gator/toast-container.gator.js +3 -3
- package/dist/components/toaster/gator/toaster.gator.js +2 -2
- package/dist/packages/web-components/public/styles/gator/gator-global-styles.css.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/list/gator/list-item/list-item.gator.scss.js +1 -1
- package/dist/packages/web-components/src/tokens/primitive.tokens.scss.js +1 -1
- package/dist/styles/gator/_gator-typography.css +186 -0
- package/dist/styles/gator/gator-global-styles.css +2 -5
- package/dist/types/components/guided-nav/gator/guided-nav/guided-nav.gator.d.ts +9 -0
- package/dist/types/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.d.ts +7 -0
- package/dist/types/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.d.ts +1 -0
- package/dist/types/components/guided-nav/guided-nav.d.ts +18 -0
- package/dist/types/components/list/gator/list-item/list-item.gator.d.ts +1 -1
- package/dist/utils/components/ngc-component.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +5 -5
- package/web-types.json +2449 -2420
- package/dist/assets/nCino_AvenirHv.woff2 +0 -0
- package/dist/assets/nCino_AvenirMd.woff2 +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__250fccbe5ed788e0688ecbf1c4e5e907 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__52d7c6cd144c32d9cfaaa0e5cd39c583}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_413f1e59e14f568767561920c5a87a5f → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1}/node_modules/storybook/dist/client-logger/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_413f1e59e14f568767561920c5a87a5f → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1}/node_modules/storybook/dist/core-events/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_413f1e59e14f568767561920c5a87a5f → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1}/node_modules/storybook/dist/instrumenter/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_413f1e59e14f568767561920c5a87a5f → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1}/node_modules/storybook/dist/test/index.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._ad1109fdae535cd946c9feed44178247 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._ad1109fdae535cd946c9feed44178247 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._ad1109fdae535cd946c9feed44178247 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._ad1109fdae535cd946c9feed44178247 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
@import '../../../src/styles/fonts';
|
|
2
|
+
/* Body Text */
|
|
3
|
+
body {
|
|
4
|
+
font-family: var(--text-family-body, "Open Sans"), sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.gator-body-1 {
|
|
8
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
font-family: var(--text-family-body, "Open Sans");
|
|
12
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
13
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
14
|
+
font-size: var(--text-font-size-body-1, 17px);
|
|
15
|
+
line-height: var(--text-line-height-body-1, 24px);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.gator-body-2 {
|
|
19
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
font-family: var(--text-family-body, "Open Sans");
|
|
23
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
24
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
25
|
+
font-size: var(--text-font-size-body-2, 15px);
|
|
26
|
+
line-height: var(--text-line-height-body-2, 22px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.gator-body-3 {
|
|
30
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
font-family: var(--text-family-body, "Open Sans");
|
|
34
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
35
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
36
|
+
font-size: var(--text-font-size-body-3, 13px);
|
|
37
|
+
line-height: var(--text-line-height-body-3, 18px);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.gator-body-bold {
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.gator-body-semibold {
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.gator-uppercase {
|
|
49
|
+
text-transform: uppercase;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Headings */
|
|
53
|
+
.gator-heading-display-1 {
|
|
54
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-weight: 700;
|
|
57
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
58
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
59
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
60
|
+
font-size: var(--text-font-size-display-1, 72px);
|
|
61
|
+
line-height: var(--text-line-height-display-1, 90px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.gator-heading-display-2 {
|
|
65
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 700;
|
|
68
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
69
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
70
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
71
|
+
font-size: var(--text-font-size-display-2, 64px);
|
|
72
|
+
line-height: var(--text-line-height-display-2, 78px);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.gator-heading-h1 {
|
|
76
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
80
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
81
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
82
|
+
font-size: var(--text-font-size-heading-1, 40px);
|
|
83
|
+
line-height: var(--text-line-height-heading-1, 50px);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.gator-heading-h1 {
|
|
87
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 700;
|
|
90
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
91
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
92
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
93
|
+
font-size: var(--text-font-size-heading-1, 40px);
|
|
94
|
+
line-height: var(--text-line-height-heading-1, 50px);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.gator-heading-h2 {
|
|
98
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
99
|
+
font-style: normal;
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
102
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
103
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
104
|
+
font-size: var(--text-font-size-heading-2, 32px);
|
|
105
|
+
line-height: var(--text-line-height-heading-2, 40px);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.gator-heading-h3 {
|
|
109
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
110
|
+
font-style: normal;
|
|
111
|
+
font-weight: 700;
|
|
112
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
113
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
114
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
115
|
+
font-size: var(--text-font-size-heading-3, 26px);
|
|
116
|
+
line-height: var(--text-line-height-heading-3, 36px);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.gator-heading-h4 {
|
|
120
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
121
|
+
font-style: normal;
|
|
122
|
+
font-weight: 700;
|
|
123
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
124
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
125
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
126
|
+
font-size: var(--text-font-size-heading-4, 22px);
|
|
127
|
+
line-height: var(--text-line-height-heading-4, 32px);
|
|
128
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
129
|
+
}
|
|
130
|
+
.gator-heading-h5 {
|
|
131
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
132
|
+
font-style: normal;
|
|
133
|
+
font-weight: 700;
|
|
134
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
135
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
136
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
137
|
+
font-size: var(--text-font-size-heading-5, 20px);
|
|
138
|
+
line-height: var(--text-line-height-heading-5, 30px);
|
|
139
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
140
|
+
}
|
|
141
|
+
.gator-heading-h6 {
|
|
142
|
+
font-feature-settings: 'liga' off, 'clig' off;
|
|
143
|
+
font-style: normal;
|
|
144
|
+
font-weight: 700;
|
|
145
|
+
letter-spacing: var(--text-letter-spacing-narrow, -1px);
|
|
146
|
+
color: var(--text-color-primary-base, #1F1F1F);
|
|
147
|
+
font-family: var(--text-family-headings, 'nCino+Avenir');
|
|
148
|
+
font-size: var(--text-font-size-heading-6, 18px);
|
|
149
|
+
line-height: var(--text-line-height-28, 28px);
|
|
150
|
+
letter-spacing: var(--text-letter-spacing-default, 0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media (max-width: 768px) {
|
|
154
|
+
.gator-heading-display-1 {
|
|
155
|
+
font-size: var(--text-font-size-sm-display-1, 48px);
|
|
156
|
+
line-height: var(--text-line-height-sm-display-1, 56px);
|
|
157
|
+
}
|
|
158
|
+
.gator-heading-display-2 {
|
|
159
|
+
font-size: var(--text-font-size-sm-display-2, 36px);
|
|
160
|
+
line-height: var(--text-line-height-sm-display-2, 48px);
|
|
161
|
+
}
|
|
162
|
+
.gator-heading-h1 {
|
|
163
|
+
font-size: var(--text-font-size-sm-heading-1, 28px);
|
|
164
|
+
line-height: var(--text-line-height-sm-heading-1, 36px);
|
|
165
|
+
}
|
|
166
|
+
.gator-heading-h2 {
|
|
167
|
+
font-size: var(--text-font-size-sm-heading-2, 24px);
|
|
168
|
+
line-height: var(--text-line-height-sm-heading-2, 32px);
|
|
169
|
+
}
|
|
170
|
+
.gator-heading-h3 {
|
|
171
|
+
font-size: var(--text-font-size-sm-heading-3, 22px);
|
|
172
|
+
line-height: var(--text-line-height-sm-heading-3, 32px);
|
|
173
|
+
}
|
|
174
|
+
.gator-heading-h4 {
|
|
175
|
+
font-size: var(--text-font-size-sm-heading-4, 20px);
|
|
176
|
+
line-height: var(--text-line-height-sm-heading-4, 30px);
|
|
177
|
+
}
|
|
178
|
+
.gator-heading-h5 {
|
|
179
|
+
font-size: var(--text-size-18, 18px);
|
|
180
|
+
line-height: var(--text-line-height-28, 28px);
|
|
181
|
+
}
|
|
182
|
+
.gator-heading-h6 {
|
|
183
|
+
font-size: var(--text-size-17, 17px);
|
|
184
|
+
line-height: var(--text-line-height-24, 24px);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
@import 'tokens/_gator-global-tokens.css';
|
|
2
2
|
@import '_gator-grid.css';
|
|
3
3
|
@import '_gator-sizing.css';
|
|
4
|
-
|
|
5
|
-
body {
|
|
6
|
-
font-family: var(--text-family-body, "Open Sans"), sans-serif;
|
|
7
|
-
}
|
|
4
|
+
@import '_gator-typography.css';
|
|
8
5
|
|
|
9
6
|
.gator-d-flex {
|
|
10
7
|
display: flex;
|
|
@@ -12,4 +9,4 @@ body {
|
|
|
12
9
|
|
|
13
10
|
.gator-d-inline-flex {
|
|
14
11
|
display: inline-flex;
|
|
15
|
-
}
|
|
12
|
+
}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { NjcGuidedNav } from '../../guided-nav.ts';
|
|
2
2
|
export declare class NgcGuidedNav extends NjcGuidedNav {
|
|
3
|
+
connectedCallback(): void;
|
|
3
4
|
render(): import('lit').TemplateResult<1>;
|
|
4
5
|
private _getStepState;
|
|
5
6
|
private _handleStepSelected;
|
|
6
7
|
private _handleSubstepSelected;
|
|
8
|
+
private _moveToStep;
|
|
9
|
+
private _moveToSubstep;
|
|
10
|
+
private _isSubstepCompleteOrNext;
|
|
11
|
+
private _createToaster;
|
|
12
|
+
private _showForwardNavigationErrorToast;
|
|
7
13
|
private _dispatchChangeEvent;
|
|
14
|
+
moveToNextStep(): void;
|
|
15
|
+
moveToPreviousStep(): void;
|
|
16
|
+
getCurrentStepProgress(): number;
|
|
8
17
|
}
|
|
9
18
|
declare global {
|
|
10
19
|
interface HTMLElementTagNameMap {
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { NgcListItem } from '../../../list/gator/list-item/list-item.gator.ts';
|
|
2
2
|
import { NJC_GUIDED_NAV_STEP_STATE, NjcGuidedNavSelectedStep, NjcGuidedNavStep, NjcGuidedNavSubstep } from '../../guided-nav.ts';
|
|
3
3
|
export declare class NgcGuidedNavStep extends NgcListItem {
|
|
4
|
+
static shadowRootOptions: {
|
|
5
|
+
delegatesFocus: boolean;
|
|
6
|
+
mode: ShadowRootMode;
|
|
7
|
+
serializable?: boolean;
|
|
8
|
+
slotAssignment?: SlotAssignmentMode;
|
|
9
|
+
};
|
|
4
10
|
static styles: import('lit').CSSResult[];
|
|
5
11
|
step: NjcGuidedNavStep;
|
|
6
12
|
selectedStep: NjcGuidedNavSelectedStep;
|
|
7
13
|
state: NJC_GUIDED_NAV_STEP_STATE;
|
|
8
14
|
onStepSelected: (event: Event, step: NjcGuidedNavStep) => void;
|
|
9
15
|
onSubstepSelected: (event: Event, step: NjcGuidedNavSubstep) => void;
|
|
16
|
+
badgeContent: string | null;
|
|
10
17
|
render(): import('lit').TemplateResult<1>;
|
|
11
18
|
private get _stepClasses();
|
|
12
19
|
private get _stepListItemClasses();
|
package/dist/types/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare class NgcGuidedNavSubstep extends NgcListItem {
|
|
|
5
5
|
substep: NjcGuidedNavSubstep;
|
|
6
6
|
selected: boolean;
|
|
7
7
|
state: NJC_GUIDED_NAV_STEP_STATE;
|
|
8
|
+
badgeContent: string | undefined;
|
|
8
9
|
onSubstepSelected: (event: Event, step: NjcGuidedNavSubstep) => void;
|
|
9
10
|
render(): import('lit').TemplateResult<1>;
|
|
10
11
|
private get _substepClasses();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
1
2
|
import { TestableLitElement } from '../../utils/components/testable-lit-element/testable-lit-element';
|
|
2
3
|
export type NJC_GUIDED_NAV_STEP_STATE = 'complete' | 'current' | 'incomplete';
|
|
3
4
|
export type NjcGuidedNavSelectedStep = {
|
|
@@ -9,6 +10,7 @@ export type NjcGuidedNavSubstep = {
|
|
|
9
10
|
text: string;
|
|
10
11
|
value: string;
|
|
11
12
|
complete: boolean;
|
|
13
|
+
badgeContent?: string;
|
|
12
14
|
};
|
|
13
15
|
export type NjcGuidedNavStep = {
|
|
14
16
|
id: string;
|
|
@@ -16,8 +18,24 @@ export type NjcGuidedNavStep = {
|
|
|
16
18
|
value: string;
|
|
17
19
|
complete?: boolean;
|
|
18
20
|
substeps?: NjcGuidedNavSubstep[];
|
|
21
|
+
badgeContent?: string;
|
|
19
22
|
};
|
|
20
23
|
export declare class NjcGuidedNav extends TestableLitElement {
|
|
21
24
|
selectedStep: NjcGuidedNavSelectedStep | undefined;
|
|
22
25
|
steps: NjcGuidedNavStep[];
|
|
26
|
+
/**
|
|
27
|
+
* @property {boolean} forwardNavigationDisabled
|
|
28
|
+
* @description If true, disables navigation past the current step.
|
|
29
|
+
*/
|
|
30
|
+
forwardNavigationDisabled: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @property {string} forwardNavigationDisabledErrorMessage
|
|
33
|
+
* @description The error message displayed in an error toast when forward navigation is disabled and a user attempts to navigate forward.
|
|
34
|
+
*/
|
|
35
|
+
forwardNavigationDisabledErrorMessage: string;
|
|
36
|
+
_totalStepsAndSubsteps: number;
|
|
37
|
+
currentStep: NjcGuidedNavStep | undefined;
|
|
38
|
+
currentSubstep: NjcGuidedNavSubstep | undefined;
|
|
39
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
40
|
+
protected _calculateTotalStepsAndSubsteps(): void;
|
|
23
41
|
}
|
|
@@ -92,7 +92,7 @@ export declare class NgcListItem extends NgcComponent {
|
|
|
92
92
|
get subtitleSpacerElement(): import('lit').TemplateResult<1>;
|
|
93
93
|
get interactionIconContent(): import('lit').TemplateResult<1> | null;
|
|
94
94
|
get leftIconContent(): import('lit').TemplateResult<1> | null;
|
|
95
|
-
get
|
|
95
|
+
get endMarkup(): import('lit').TemplateResult<1> | null;
|
|
96
96
|
click(): void;
|
|
97
97
|
handleListItemClicked(): void;
|
|
98
98
|
private handleItemKeyUp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import f from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import y from"../../packages/web-components/src/styles/_gator-utils.scss.js";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"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{TestableLitElement as d}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as v}from"../mixins/attribute-deletion.js";import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var A=Object.defineProperty,n=(s,p,m,h)=>{for(var t=void 0,r=s.length-1,a;r>=0;r--)(a=s[r])&&(t=a(p,m,t)||t);return t&&A(p,m,t),t};const i=class i extends v(d){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}};i.styles=[o(f),o(u),o(y)];let e=i;n([l({type:Boolean})],e.prototype,"delegatesARIA");n([l({type:Boolean})],e.prototype,"skeleton");export{e as NgcComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.
|
|
1
|
+
import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__52d7c6cd144c32d9cfaaa0e5cd39c583/node_modules/@vitest/browser/context.js";import n from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";const d="Supercalifragilisticexpialidocious".repeat(10);async function a(t){return(await n.run(t)).violations}async function p(t){const e=await a(t);o(e,`Expected no axe core violations, but got ${e.length}: ${JSON.stringify(e)}`).toHaveLength(0)}function x(){return s.viewport(320,256)}function h(t){let e;if(t.scrollWidth!==0?e=t:t.shadowRoot?e=t.shadowRoot.firstElementChild:e=t.firstElementChild,e){const r=e.scrollWidth>e.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function g(t,e,r){let i=t.querySelector(":focus-visible");if(i||(i=t.shadowRoot?.querySelector(":focus-visible")),i){const l=getComputedStyle(i).getPropertyValue(e);return o(l).toContain(r)}return o(!0).toBe(!1)}export{g as expectComponentFocusStyle,h as expectComponentNotToHaveHorizontalScrollbar,p as expectNoAxeViolations,x as resizeWindowForReflowTest,a as runAxeAndGetViolations,d as superLongStringForReflowTest};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "7.0.0-preview.
|
|
4
|
+
"version": "7.0.0-preview.9",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -89,14 +89,14 @@
|
|
|
89
89
|
"@custom-elements-manifest/analyzer": "0.10.4",
|
|
90
90
|
"@figma/code-connect": "1.3.4",
|
|
91
91
|
"@lit/localize-tools": "^0.8.0",
|
|
92
|
-
"@salesforce-ux/design-system": "^2.
|
|
92
|
+
"@salesforce-ux/design-system": "^2.28.0",
|
|
93
93
|
"@storybook/addon-a11y": "^9.1.1",
|
|
94
94
|
"@storybook/addon-designs": "^10.0.1",
|
|
95
95
|
"@storybook/addon-docs": "^9.1.1",
|
|
96
96
|
"@storybook/addon-links": "^9.1.1",
|
|
97
97
|
"@storybook/web-components-vite": "^9.1.1",
|
|
98
98
|
"@types/react": "^19.1.8",
|
|
99
|
-
"@typescript-eslint/parser": "^8.
|
|
99
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
100
100
|
"@vitest/browser": "^3.2.4",
|
|
101
101
|
"@vitest/coverage-v8": "^3.2.4",
|
|
102
102
|
"@vitest/ui": "3.2.4",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
107
107
|
"custom-element-jet-brains-integration": "^1.7.0",
|
|
108
108
|
"custom-elements-manifest": "^2.1.0",
|
|
109
|
-
"eslint": "^9.
|
|
109
|
+
"eslint": "^9.35.0",
|
|
110
110
|
"eslint-config-standard": "^17.1.0",
|
|
111
111
|
"eslint-plugin-import": "^2.32.0",
|
|
112
112
|
"eslint-plugin-json": "^4.0.1",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"playwright": "1.55.0",
|
|
120
120
|
"postcss": "^8.5.6",
|
|
121
121
|
"rimraf": "^6.0.1",
|
|
122
|
-
"sass": "1.
|
|
122
|
+
"sass": "1.92.1",
|
|
123
123
|
"storybook": "^9.1.1",
|
|
124
124
|
"storybook-addon-code-editor": "^5.0.0",
|
|
125
125
|
"storybook-design-token": "^4.1.0",
|