@ncino/web-components 3.0.0-preview.2 → 3.0.0-preview.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/gator/base/accordion.gator.js +2 -2
- package/dist/components/button/gator/button.gator.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/index.js +1 -1
- package/dist/components/illustration/gator/illustration.gator.js +1 -1
- package/dist/components/illustration/gator/index.js +1 -1
- package/dist/components/illustration/gator/templates/index.js +1 -1
- package/dist/components/illustration/gator/templates/your-bank.js +26 -0
- package/dist/components/illustration/index.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +2 -3
- package/dist/components/input/gator/input-phone/input-phone.gator.js +8 -8
- package/dist/components/input-rich-text/ckeditor-config.js +154 -154
- package/dist/components/list/gator/list-item/list-item.gator.js +3 -3
- package/dist/components/panel/gator/panel.gator.js +34 -0
- package/dist/components/panel/gator/panel.storybook-test.js +457 -0
- package/dist/components/panel/index.js +1 -0
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/components/illustration/gator/templates/index.d.ts +1 -0
- package/dist/types/components/illustration/gator/templates/your-bank.d.ts +1 -0
- package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +1 -1
- package/dist/types/components/panel/gator/panel.gator.d.ts +27 -0
- package/dist/types/components/panel/gator/panel.gator.test.d.ts +0 -0
- package/dist/types/components/panel/gator/panel.storybook-test.d.ts +4 -0
- package/dist/types/components/panel/index.d.ts +1 -0
- package/dist/types/index.gator.d.ts +1 -0
- package/dist/types/utils/components/slot-placeholder/slot-placeholder.d.ts +2 -0
- package/dist/types/utils/vitest-utils.d.ts +7 -0
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +15 -6
- package/dist/utils/vitest-utils.js +29 -0
- package/package.json +36 -37
- package/web-types.json +84 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "3.0.0-preview.
|
|
4
|
+
"version": "3.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/"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"module": "dist/index.js",
|
|
16
16
|
"engineStrict": false,
|
|
17
17
|
"private": false,
|
|
18
|
-
"packageManager": "pnpm@10.
|
|
18
|
+
"packageManager": "pnpm@10.6.2",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"import": "./dist/index.js",
|
|
@@ -54,18 +54,16 @@
|
|
|
54
54
|
"semantic-release": "npx -p @semantic-release/changelog -p @semantic-release/exec -p @semantic-release/git -p @semantic-release/github -p @semantic-release/npm -p @semantic-release/release-notes-generator semantic-release",
|
|
55
55
|
"storybook:gator": "pnpm run localize:build && pnpm run analyze && storybook dev -c .storybook-gator -p 6006",
|
|
56
56
|
"storybook:slds": "pnpm run analyze && storybook dev -c .storybook-slds -p 6006",
|
|
57
|
-
"storybook:gator:cucumber": "kill $(lsof -ti:6006); pnpm run analyze && storybook dev -c .storybook-gator -p 6006 --no-open",
|
|
58
|
-
"storybook:slds:cucumber": "kill $(lsof -ti:6007); pnpm run analyze && storybook dev -c .storybook-slds -p 6007 --no-open",
|
|
59
57
|
"test": "vitest",
|
|
60
58
|
"test:coverage": "vitest --coverage.enabled true"
|
|
61
59
|
},
|
|
62
60
|
"dependencies": {
|
|
63
61
|
"@deltablot/dropzone": "^7.2.0",
|
|
64
62
|
"@floating-ui/dom": "^1.6.13",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
63
|
+
"@lit/localize": "^0.12.2",
|
|
64
|
+
"ckeditor5": "^44.3.0",
|
|
65
|
+
"libphonenumber-js": "^1.12.5",
|
|
66
|
+
"lit": "^3.2.1"
|
|
69
67
|
},
|
|
70
68
|
"devDependencies": {
|
|
71
69
|
"@actions/core": "^1.11.1",
|
|
@@ -75,53 +73,54 @@
|
|
|
75
73
|
"@lit/react": "^1.0.7",
|
|
76
74
|
"@lit/localize-tools": "^0.8.0",
|
|
77
75
|
"@salesforce-ux/design-system": "^2.26.2",
|
|
78
|
-
"@storybook/addon-a11y": "^8.6.
|
|
79
|
-
"@storybook/addon-actions": "^8.6.
|
|
80
|
-
"@storybook/addon-designs": "^8.2.
|
|
81
|
-
"@storybook/addon-docs": "^8.6.
|
|
82
|
-
"@storybook/addon-essentials": "^8.6.
|
|
83
|
-
"@storybook/addon-interactions": "^8.6.
|
|
84
|
-
"@storybook/addon-links": "^8.6.
|
|
85
|
-
"@storybook/blocks": "^8.6.
|
|
86
|
-
"@storybook/preview-api": "^8.6.
|
|
87
|
-
"@storybook/test": "^8.6.
|
|
88
|
-
"@storybook/web-components": "^8.6.
|
|
89
|
-
"@storybook/web-components-vite": "^8.6.
|
|
76
|
+
"@storybook/addon-a11y": "^8.6.4",
|
|
77
|
+
"@storybook/addon-actions": "^8.6.4",
|
|
78
|
+
"@storybook/addon-designs": "^8.2.1",
|
|
79
|
+
"@storybook/addon-docs": "^8.6.4",
|
|
80
|
+
"@storybook/addon-essentials": "^8.6.4",
|
|
81
|
+
"@storybook/addon-interactions": "^8.6.4",
|
|
82
|
+
"@storybook/addon-links": "^8.6.4",
|
|
83
|
+
"@storybook/blocks": "^8.6.4",
|
|
84
|
+
"@storybook/preview-api": "^8.6.4",
|
|
85
|
+
"@storybook/test": "^8.6.4",
|
|
86
|
+
"@storybook/web-components": "^8.6.4",
|
|
87
|
+
"@storybook/web-components-vite": "^8.6.4",
|
|
90
88
|
"@types/react": "^19.0.10",
|
|
91
|
-
"@typescript-eslint/parser": "^8.
|
|
92
|
-
"@vitest/browser": "^3.0.
|
|
93
|
-
"@vitest/coverage-istanbul": "^3.0.
|
|
94
|
-
"@vitest/ui": "3.0.
|
|
89
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
90
|
+
"@vitest/browser": "^3.0.8",
|
|
91
|
+
"@vitest/coverage-istanbul": "^3.0.8",
|
|
92
|
+
"@vitest/ui": "3.0.8",
|
|
93
|
+
"axe-core": "^4.10.3",
|
|
95
94
|
"cem-plugin-expanded-types": "^1.4.0",
|
|
96
|
-
"chromatic": "^11.
|
|
95
|
+
"chromatic": "^11.27.0",
|
|
97
96
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
98
97
|
"custom-element-jet-brains-integration": "^1.7.0",
|
|
99
98
|
"custom-elements-manifest": "^2.1.0",
|
|
100
|
-
"eslint": "^9.
|
|
99
|
+
"eslint": "^9.22.0",
|
|
101
100
|
"eslint-config-standard": "^17.1.0",
|
|
102
101
|
"eslint-plugin-import": "^2.31.0",
|
|
103
102
|
"eslint-plugin-json": "^4.0.1",
|
|
104
|
-
"eslint-plugin-n": "^17.
|
|
103
|
+
"eslint-plugin-n": "^17.16.2",
|
|
105
104
|
"eslint-plugin-promise": "^7.2.1",
|
|
106
|
-
"eslint-plugin-storybook": "^0.11.
|
|
105
|
+
"eslint-plugin-storybook": "^0.11.4",
|
|
107
106
|
"eslint-plugin-yml": "1.17.0",
|
|
108
107
|
"glob": "^11.0.1",
|
|
109
108
|
"jsdom": "26.0.0",
|
|
110
|
-
"playwright": "1.
|
|
109
|
+
"playwright": "1.51.0",
|
|
111
110
|
"postcss": "^8.5.3",
|
|
112
111
|
"react": "^19.0.0",
|
|
113
112
|
"rimraf": "^6.0.1",
|
|
114
113
|
"sass": "1.85.1",
|
|
115
|
-
"storybook": "^8.6.
|
|
114
|
+
"storybook": "^8.6.4",
|
|
116
115
|
"storybook-dark-mode": "^4.0.2",
|
|
117
|
-
"storybook-design-token": "^3.
|
|
118
|
-
"typescript": "^5.
|
|
119
|
-
"vite": "6.
|
|
120
|
-
"vite-plugin-dts": "4.5.
|
|
121
|
-
"vite-plugin-static-copy": "^2.
|
|
122
|
-
"vitest": "^3.0.
|
|
116
|
+
"storybook-design-token": "^3.2.0",
|
|
117
|
+
"typescript": "^5.8.2",
|
|
118
|
+
"vite": "6.2.1",
|
|
119
|
+
"vite-plugin-dts": "4.5.3",
|
|
120
|
+
"vite-plugin-static-copy": "^2.3.0",
|
|
121
|
+
"vitest": "^3.0.8",
|
|
123
122
|
"wc-storybook-helpers": "2.0.4",
|
|
124
|
-
"yaml-eslint-parser": "^1.
|
|
123
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
125
124
|
},
|
|
126
125
|
"bugs": {
|
|
127
126
|
"url": "https://github.com/ncino/force-sdk-web-components/issues"
|
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": "3.0.0-preview.
|
|
4
|
+
"version": "3.0.0-preview.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2978,6 +2978,85 @@
|
|
|
2978
2978
|
"events": []
|
|
2979
2979
|
}
|
|
2980
2980
|
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "ngc-panel",
|
|
2983
|
+
"description": "\n---\n\n\n### **Events:**\n - **close**\n- **open**",
|
|
2984
|
+
"doc-url": "",
|
|
2985
|
+
"attributes": [
|
|
2986
|
+
{
|
|
2987
|
+
"name": "type",
|
|
2988
|
+
"value": {
|
|
2989
|
+
"type": "'drawer' | 'overlay'",
|
|
2990
|
+
"default": "'overlay'"
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "open",
|
|
2995
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "position",
|
|
2999
|
+
"value": {
|
|
3000
|
+
"type": "'left' | 'right' | 'bottom' | 'bottom-left' | 'bottom-right'",
|
|
3001
|
+
"default": "'left'"
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "skeleton",
|
|
3006
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "outlined",
|
|
3010
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
"name": "anchor-element",
|
|
3014
|
+
"value": { "type": "HTMLElement | null", "default": "null" }
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "aria-label",
|
|
3018
|
+
"value": { "type": "string | null", "default": "null" }
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"name": "aria-labelledby",
|
|
3022
|
+
"value": { "type": "string | null", "default": "null" }
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "data-testid",
|
|
3026
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
3027
|
+
}
|
|
3028
|
+
],
|
|
3029
|
+
"events": [
|
|
3030
|
+
{ "name": "close", "type": "CustomEvent" },
|
|
3031
|
+
{ "name": "open", "type": "CustomEvent" }
|
|
3032
|
+
],
|
|
3033
|
+
"js": {
|
|
3034
|
+
"properties": [
|
|
3035
|
+
{ "name": "type", "type": "'drawer' | 'overlay'" },
|
|
3036
|
+
{ "name": "open", "type": "boolean" },
|
|
3037
|
+
{
|
|
3038
|
+
"name": "position",
|
|
3039
|
+
"type": "'left' | 'right' | 'bottom' | 'bottom-left' | 'bottom-right'"
|
|
3040
|
+
},
|
|
3041
|
+
{ "name": "skeleton", "type": "boolean" },
|
|
3042
|
+
{ "name": "outlined", "type": "boolean" },
|
|
3043
|
+
{ "name": "anchorElement", "type": "HTMLElement | null" },
|
|
3044
|
+
{ "name": "ariaLabel", "type": "string | null" },
|
|
3045
|
+
{ "name": "ariaLabelledBy", "type": "string | null" },
|
|
3046
|
+
{ "name": "panelRef", "type": "Ref<HTMLDivElement>" },
|
|
3047
|
+
{ "name": "gatorPanelContentLoadingMarkup" },
|
|
3048
|
+
{ "name": "gatorPanelFooterLoadingMarkup" },
|
|
3049
|
+
{ "name": "dataTestid", "type": "string | undefined" },
|
|
3050
|
+
{ "name": "labelDataTestid" },
|
|
3051
|
+
{ "name": "helpTextDataTestid" },
|
|
3052
|
+
{ "name": "errorMessageDataTestid" }
|
|
3053
|
+
],
|
|
3054
|
+
"events": [
|
|
3055
|
+
{ "name": "close", "type": "CustomEvent" },
|
|
3056
|
+
{ "name": "open", "type": "CustomEvent" }
|
|
3057
|
+
]
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
2981
3060
|
{
|
|
2982
3061
|
"name": "ngc-progress-bar",
|
|
2983
3062
|
"description": "\n---\n",
|
|
@@ -4007,7 +4086,10 @@
|
|
|
4007
4086
|
],
|
|
4008
4087
|
"events": [],
|
|
4009
4088
|
"js": {
|
|
4010
|
-
"properties": [
|
|
4089
|
+
"properties": [
|
|
4090
|
+
{ "name": "slotName", "type": "string" },
|
|
4091
|
+
{ "name": "namedSlotMarkup" }
|
|
4092
|
+
],
|
|
4011
4093
|
"events": []
|
|
4012
4094
|
}
|
|
4013
4095
|
},
|